Searched refs:reg_rw (Results 1 – 3 of 3) sorted by relevance
694 struct mwifiex_ds_reg_rw *reg_rw; in mwifiex_ret_reg_access() local707 reg_rw = data_buf; in mwifiex_ret_reg_access()712 reg_rw->offset = cpu_to_le32((u32) le16_to_cpu(r.mac->offset)); in mwifiex_ret_reg_access()713 reg_rw->value = r.mac->value; in mwifiex_ret_reg_access()717 reg_rw->offset = cpu_to_le32((u32) le16_to_cpu(r.bbp->offset)); in mwifiex_ret_reg_access()718 reg_rw->value = cpu_to_le32((u32) r.bbp->value); in mwifiex_ret_reg_access()723 reg_rw->offset = cpu_to_le32((u32) le16_to_cpu(r.rf->offset)); in mwifiex_ret_reg_access()724 reg_rw->value = cpu_to_le32((u32) r.bbp->value); in mwifiex_ret_reg_access()728 reg_rw->offset = cpu_to_le32((u32) le16_to_cpu(r.pmic->offset)); in mwifiex_ret_reg_access()729 reg_rw->value = cpu_to_le32((u32) r.pmic->value); in mwifiex_ret_reg_access()[all …]
1143 struct mwifiex_ds_reg_rw *reg_rw, in mwifiex_reg_mem_ioctl_reg_rw() argument1148 switch (le32_to_cpu(reg_rw->type)) { in mwifiex_reg_mem_ioctl_reg_rw()1168 return mwifiex_send_cmd_sync(priv, cmd_no, action, 0, reg_rw); in mwifiex_reg_mem_ioctl_reg_rw()1182 struct mwifiex_ds_reg_rw reg_rw; in mwifiex_reg_write() local1184 reg_rw.type = cpu_to_le32(reg_type); in mwifiex_reg_write()1185 reg_rw.offset = cpu_to_le32(reg_offset); in mwifiex_reg_write()1186 reg_rw.value = cpu_to_le32(reg_value); in mwifiex_reg_write()1188 return mwifiex_reg_mem_ioctl_reg_rw(priv, ®_rw, HostCmd_ACT_GEN_SET); in mwifiex_reg_write()1202 struct mwifiex_ds_reg_rw reg_rw; in mwifiex_reg_read() local1204 reg_rw.type = cpu_to_le32(reg_type); in mwifiex_reg_read()[all …]
837 struct mwifiex_ds_reg_rw *reg_rw = data_buf; in mwifiex_cmd_reg_access() local848 cpu_to_le16((u16) le32_to_cpu(reg_rw->offset)); in mwifiex_cmd_reg_access()849 mac_reg->value = reg_rw->value; in mwifiex_cmd_reg_access()860 cpu_to_le16((u16) le32_to_cpu(reg_rw->offset)); in mwifiex_cmd_reg_access()861 bbp_reg->value = (u8) le32_to_cpu(reg_rw->value); in mwifiex_cmd_reg_access()871 rf_reg->offset = cpu_to_le16((u16) le32_to_cpu(reg_rw->offset)); in mwifiex_cmd_reg_access()872 rf_reg->value = (u8) le32_to_cpu(reg_rw->value); in mwifiex_cmd_reg_access()883 cpu_to_le16((u16) le32_to_cpu(reg_rw->offset)); in mwifiex_cmd_reg_access()884 pmic_reg->value = (u8) le32_to_cpu(reg_rw->value); in mwifiex_cmd_reg_access()895 cpu_to_le16((u16) le32_to_cpu(reg_rw->offset)); in mwifiex_cmd_reg_access()[all …]