Lines Matching refs:mesh_access

163 	struct cmd_ds_mesh_access mesh_access;  in anycast_mask_show()  local
166 memset(&mesh_access, 0, sizeof(mesh_access)); in anycast_mask_show()
168 ret = lbs_mesh_access(priv, CMD_ACT_MESH_GET_ANYCAST, &mesh_access); in anycast_mask_show()
172 return sysfs_emit(buf, "0x%X\n", le32_to_cpu(mesh_access.data[0])); in anycast_mask_show()
187 struct cmd_ds_mesh_access mesh_access; in anycast_mask_store() local
195 memset(&mesh_access, 0, sizeof(mesh_access)); in anycast_mask_store()
196 mesh_access.data[0] = cpu_to_le32(datum); in anycast_mask_store()
198 ret = lbs_mesh_access(priv, CMD_ACT_MESH_SET_ANYCAST, &mesh_access); in anycast_mask_store()
215 struct cmd_ds_mesh_access mesh_access; in prb_rsp_limit_show() local
219 memset(&mesh_access, 0, sizeof(mesh_access)); in prb_rsp_limit_show()
220 mesh_access.data[0] = cpu_to_le32(CMD_ACT_GET); in prb_rsp_limit_show()
223 &mesh_access); in prb_rsp_limit_show()
227 retry_limit = le32_to_cpu(mesh_access.data[1]); in prb_rsp_limit_show()
243 struct cmd_ds_mesh_access mesh_access; in prb_rsp_limit_store() local
253 memset(&mesh_access, 0, sizeof(mesh_access)); in prb_rsp_limit_store()
254 mesh_access.data[0] = cpu_to_le32(CMD_ACT_SET); in prb_rsp_limit_store()
255 mesh_access.data[1] = cpu_to_le32(retry_limit); in prb_rsp_limit_store()
258 &mesh_access); in prb_rsp_limit_store()
1113 struct cmd_ds_mesh_access mesh_access; in lbs_mesh_ethtool_get_stats() local
1117 ret = lbs_mesh_access(priv, CMD_ACT_MESH_GET_STATS, &mesh_access); in lbs_mesh_ethtool_get_stats()
1124 priv->mstats.fwd_drop_rbt = le32_to_cpu(mesh_access.data[0]); in lbs_mesh_ethtool_get_stats()
1125 priv->mstats.fwd_drop_ttl = le32_to_cpu(mesh_access.data[1]); in lbs_mesh_ethtool_get_stats()
1126 priv->mstats.fwd_drop_noroute = le32_to_cpu(mesh_access.data[2]); in lbs_mesh_ethtool_get_stats()
1127 priv->mstats.fwd_drop_nobuf = le32_to_cpu(mesh_access.data[3]); in lbs_mesh_ethtool_get_stats()
1128 priv->mstats.fwd_unicast_cnt = le32_to_cpu(mesh_access.data[4]); in lbs_mesh_ethtool_get_stats()
1129 priv->mstats.fwd_bcast_cnt = le32_to_cpu(mesh_access.data[5]); in lbs_mesh_ethtool_get_stats()
1130 priv->mstats.drop_blind = le32_to_cpu(mesh_access.data[6]); in lbs_mesh_ethtool_get_stats()
1131 priv->mstats.tx_failed_cnt = le32_to_cpu(mesh_access.data[7]); in lbs_mesh_ethtool_get_stats()