Home
last modified time | relevance | path

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

/drivers/media/usb/gspca/
Ddtcs033.c25 static void reg_rw(struct gspca_dev *gspca_dev, in reg_rw() function
60 reg_rw(gspca_dev, preq->bRequestType, preq->bRequest, in reg_reqs()
165 reg_rw(gspca_dev, in dtcs033_setexposure()
170 reg_rw(gspca_dev, in dtcs033_setexposure()
/drivers/net/wireless/marvell/mwifiex/
Dsta_ioctl.c1220 struct mwifiex_ds_reg_rw *reg_rw, in mwifiex_reg_mem_ioctl_reg_rw() argument
1225 switch (reg_rw->type) { in mwifiex_reg_mem_ioctl_reg_rw()
1245 return mwifiex_send_cmd(priv, cmd_no, action, 0, reg_rw, true); in mwifiex_reg_mem_ioctl_reg_rw()
1258 struct mwifiex_ds_reg_rw reg_rw; in mwifiex_reg_write() local
1260 reg_rw.type = reg_type; in mwifiex_reg_write()
1261 reg_rw.offset = reg_offset; in mwifiex_reg_write()
1262 reg_rw.value = reg_value; in mwifiex_reg_write()
1264 return mwifiex_reg_mem_ioctl_reg_rw(priv, &reg_rw, HostCmd_ACT_GEN_SET); in mwifiex_reg_write()
1278 struct mwifiex_ds_reg_rw reg_rw; in mwifiex_reg_read() local
1280 reg_rw.type = reg_type; in mwifiex_reg_read()
[all …]
Dsta_cmdresp.c774 struct mwifiex_ds_reg_rw *reg_rw; in mwifiex_ret_reg_access() local
787 reg_rw = data_buf; in mwifiex_ret_reg_access()
792 reg_rw->offset = (u32) le16_to_cpu(r.mac->offset); in mwifiex_ret_reg_access()
793 reg_rw->value = le32_to_cpu(r.mac->value); in mwifiex_ret_reg_access()
797 reg_rw->offset = (u32) le16_to_cpu(r.bbp->offset); in mwifiex_ret_reg_access()
798 reg_rw->value = (u32) r.bbp->value; in mwifiex_ret_reg_access()
803 reg_rw->offset = (u32) le16_to_cpu(r.rf->offset); in mwifiex_ret_reg_access()
804 reg_rw->value = (u32) r.bbp->value; in mwifiex_ret_reg_access()
808 reg_rw->offset = (u32) le16_to_cpu(r.pmic->offset); in mwifiex_ret_reg_access()
809 reg_rw->value = (u32) r.pmic->value; in mwifiex_ret_reg_access()
[all …]
Dsta_cmd.c1148 struct mwifiex_ds_reg_rw *reg_rw = data_buf; in mwifiex_cmd_reg_access() local
1158 mac_reg->offset = cpu_to_le16((u16) reg_rw->offset); in mwifiex_cmd_reg_access()
1159 mac_reg->value = cpu_to_le32(reg_rw->value); in mwifiex_cmd_reg_access()
1169 bbp_reg->offset = cpu_to_le16((u16) reg_rw->offset); in mwifiex_cmd_reg_access()
1170 bbp_reg->value = (u8) reg_rw->value; in mwifiex_cmd_reg_access()
1180 rf_reg->offset = cpu_to_le16((u16) reg_rw->offset); in mwifiex_cmd_reg_access()
1181 rf_reg->value = (u8) reg_rw->value; in mwifiex_cmd_reg_access()
1191 pmic_reg->offset = cpu_to_le16((u16) reg_rw->offset); in mwifiex_cmd_reg_access()
1192 pmic_reg->value = (u8) reg_rw->value; in mwifiex_cmd_reg_access()
1202 cau_reg->offset = cpu_to_le16((u16) reg_rw->offset); in mwifiex_cmd_reg_access()
[all …]