Searched refs:reg_rw (Results 1 – 4 of 4) sorted by relevance
/drivers/media/usb/gspca/ |
D | dtcs033.c | 34 static void reg_rw(struct gspca_dev *gspca_dev, in reg_rw() function 69 reg_rw(gspca_dev, preq->bRequestType, preq->bRequest, in reg_reqs() 176 reg_rw(gspca_dev, in dtcs033_setexposure() 181 reg_rw(gspca_dev, in dtcs033_setexposure()
|
/drivers/net/wireless/mwifiex/ |
D | sta_ioctl.c | 1198 struct mwifiex_ds_reg_rw *reg_rw, in mwifiex_reg_mem_ioctl_reg_rw() argument 1203 switch (le32_to_cpu(reg_rw->type)) { in mwifiex_reg_mem_ioctl_reg_rw() 1223 return mwifiex_send_cmd(priv, cmd_no, action, 0, reg_rw, true); in mwifiex_reg_mem_ioctl_reg_rw() 1236 struct mwifiex_ds_reg_rw reg_rw; in mwifiex_reg_write() local 1238 reg_rw.type = cpu_to_le32(reg_type); in mwifiex_reg_write() 1239 reg_rw.offset = cpu_to_le32(reg_offset); in mwifiex_reg_write() 1240 reg_rw.value = cpu_to_le32(reg_value); in mwifiex_reg_write() 1242 return mwifiex_reg_mem_ioctl_reg_rw(priv, ®_rw, HostCmd_ACT_GEN_SET); in mwifiex_reg_write() 1256 struct mwifiex_ds_reg_rw reg_rw; in mwifiex_reg_read() local 1258 reg_rw.type = cpu_to_le32(reg_type); in mwifiex_reg_read() [all …]
|
D | sta_cmdresp.c | 785 struct mwifiex_ds_reg_rw *reg_rw; in mwifiex_ret_reg_access() local 798 reg_rw = data_buf; in mwifiex_ret_reg_access() 803 reg_rw->offset = cpu_to_le32((u32) le16_to_cpu(r.mac->offset)); in mwifiex_ret_reg_access() 804 reg_rw->value = r.mac->value; in mwifiex_ret_reg_access() 808 reg_rw->offset = cpu_to_le32((u32) le16_to_cpu(r.bbp->offset)); in mwifiex_ret_reg_access() 809 reg_rw->value = cpu_to_le32((u32) r.bbp->value); in mwifiex_ret_reg_access() 814 reg_rw->offset = cpu_to_le32((u32) le16_to_cpu(r.rf->offset)); in mwifiex_ret_reg_access() 815 reg_rw->value = cpu_to_le32((u32) r.bbp->value); in mwifiex_ret_reg_access() 819 reg_rw->offset = cpu_to_le32((u32) le16_to_cpu(r.pmic->offset)); in mwifiex_ret_reg_access() 820 reg_rw->value = cpu_to_le32((u32) r.pmic->value); in mwifiex_ret_reg_access() [all …]
|
D | sta_cmd.c | 1123 struct mwifiex_ds_reg_rw *reg_rw = data_buf; in mwifiex_cmd_reg_access() local 1134 cpu_to_le16((u16) le32_to_cpu(reg_rw->offset)); in mwifiex_cmd_reg_access() 1135 mac_reg->value = reg_rw->value; in mwifiex_cmd_reg_access() 1146 cpu_to_le16((u16) le32_to_cpu(reg_rw->offset)); in mwifiex_cmd_reg_access() 1147 bbp_reg->value = (u8) le32_to_cpu(reg_rw->value); in mwifiex_cmd_reg_access() 1157 rf_reg->offset = cpu_to_le16((u16) le32_to_cpu(reg_rw->offset)); in mwifiex_cmd_reg_access() 1158 rf_reg->value = (u8) le32_to_cpu(reg_rw->value); in mwifiex_cmd_reg_access() 1169 cpu_to_le16((u16) le32_to_cpu(reg_rw->offset)); in mwifiex_cmd_reg_access() 1170 pmic_reg->value = (u8) le32_to_cpu(reg_rw->value); in mwifiex_cmd_reg_access() 1181 cpu_to_le16((u16) le32_to_cpu(reg_rw->offset)); in mwifiex_cmd_reg_access() [all …]
|