Home
last modified time | relevance | path

Searched refs:reg_rw (Results 1 – 3 of 3) sorted by relevance

/drivers/net/wireless/mwifiex/
Dsta_cmdresp.c694 struct mwifiex_ds_reg_rw *reg_rw; in mwifiex_ret_reg_access() local
707 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 …]
Dsta_ioctl.c1143 struct mwifiex_ds_reg_rw *reg_rw, in mwifiex_reg_mem_ioctl_reg_rw() argument
1148 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() local
1184 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, &reg_rw, HostCmd_ACT_GEN_SET); in mwifiex_reg_write()
1202 struct mwifiex_ds_reg_rw reg_rw; in mwifiex_reg_read() local
1204 reg_rw.type = cpu_to_le32(reg_type); in mwifiex_reg_read()
[all …]
Dsta_cmd.c837 struct mwifiex_ds_reg_rw *reg_rw = data_buf; in mwifiex_cmd_reg_access() local
848 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 …]