Home
last modified time | relevance | path

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

/linux/drivers/media/usb/gspca/
H A 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()
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dsta_cfg.c946 struct nxpwifi_ds_reg_rw *reg_rw, in nxpwifi_reg_mem_ioctl_reg_rw() argument
951 switch (reg_rw->type) { in nxpwifi_reg_mem_ioctl_reg_rw()
971 return nxpwifi_send_cmd(priv, cmd_no, action, 0, reg_rw, true); in nxpwifi_reg_mem_ioctl_reg_rw()
979 struct nxpwifi_ds_reg_rw reg_rw; in nxpwifi_reg_write() local
981 reg_rw.type = reg_type; in nxpwifi_reg_write()
982 reg_rw.offset = reg_offset; in nxpwifi_reg_write()
983 reg_rw.value = reg_value; in nxpwifi_reg_write()
985 return nxpwifi_reg_mem_ioctl_reg_rw(priv, &reg_rw, HOST_ACT_GEN_SET); in nxpwifi_reg_write()
994 struct nxpwifi_ds_reg_rw reg_rw; in nxpwifi_reg_read() local
996 reg_rw.type = reg_type; in nxpwifi_reg_read()
[all …]
H A Dsta_cmd.c447 struct nxpwifi_ds_reg_rw *reg_rw = data_buf; in nxpwifi_cmd_sta_reg_access() local
459 mac_reg->offset = cpu_to_le16((u16)reg_rw->offset); in nxpwifi_cmd_sta_reg_access()
460 mac_reg->value = cpu_to_le32(reg_rw->value); in nxpwifi_cmd_sta_reg_access()
470 bbp_reg->offset = cpu_to_le16((u16)reg_rw->offset); in nxpwifi_cmd_sta_reg_access()
471 bbp_reg->value = (u8)reg_rw->value; in nxpwifi_cmd_sta_reg_access()
481 rf_reg->offset = cpu_to_le16((u16)reg_rw->offset); in nxpwifi_cmd_sta_reg_access()
482 rf_reg->value = (u8)reg_rw->value; in nxpwifi_cmd_sta_reg_access()
492 pmic_reg->offset = cpu_to_le16((u16)reg_rw->offset); in nxpwifi_cmd_sta_reg_access()
493 pmic_reg->value = (u8)reg_rw->value; in nxpwifi_cmd_sta_reg_access()
503 cau_reg->offset = cpu_to_le16((u16)reg_rw->offset); in nxpwifi_cmd_sta_reg_access()
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_ioctl.c1274 struct mwifiex_ds_reg_rw *reg_rw, in mwifiex_reg_mem_ioctl_reg_rw() argument
1279 switch (reg_rw->type) { in mwifiex_reg_mem_ioctl_reg_rw()
1299 return mwifiex_send_cmd(priv, cmd_no, action, 0, reg_rw, true); in mwifiex_reg_mem_ioctl_reg_rw()
1312 struct mwifiex_ds_reg_rw reg_rw; in mwifiex_reg_write() local
1314 reg_rw.type = reg_type; in mwifiex_reg_write()
1315 reg_rw.offset = reg_offset; in mwifiex_reg_write()
1316 reg_rw.value = reg_value; in mwifiex_reg_write()
1318 return mwifiex_reg_mem_ioctl_reg_rw(priv, &reg_rw, HostCmd_ACT_GEN_SET); in mwifiex_reg_write()
1332 struct mwifiex_ds_reg_rw reg_rw; in mwifiex_reg_read() local
1334 reg_rw.type = reg_type; in mwifiex_reg_read()
[all …]
H A Dsta_cmdresp.c786 struct mwifiex_ds_reg_rw *reg_rw; in mwifiex_ret_reg_access() local
799 reg_rw = data_buf; in mwifiex_ret_reg_access()
804 reg_rw->offset = (u32) le16_to_cpu(r.mac->offset); in mwifiex_ret_reg_access()
805 reg_rw->value = le32_to_cpu(r.mac->value); in mwifiex_ret_reg_access()
809 reg_rw->offset = (u32) le16_to_cpu(r.bbp->offset); in mwifiex_ret_reg_access()
810 reg_rw->value = (u32) r.bbp->value; in mwifiex_ret_reg_access()
815 reg_rw->offset = (u32) le16_to_cpu(r.rf->offset); in mwifiex_ret_reg_access()
816 reg_rw->value = (u32) r.bbp->value; in mwifiex_ret_reg_access()
820 reg_rw->offset = (u32) le16_to_cpu(r.pmic->offset); in mwifiex_ret_reg_access()
821 reg_rw->value = (u32) r.pmic->value; in mwifiex_ret_reg_access()
[all …]
H A Dsta_cmd.c1125 struct mwifiex_ds_reg_rw *reg_rw = data_buf; in mwifiex_cmd_reg_access() local
1135 mac_reg->offset = cpu_to_le16((u16) reg_rw->offset); in mwifiex_cmd_reg_access()
1136 mac_reg->value = cpu_to_le32(reg_rw->value); in mwifiex_cmd_reg_access()
1146 bbp_reg->offset = cpu_to_le16((u16) reg_rw->offset); in mwifiex_cmd_reg_access()
1147 bbp_reg->value = (u8) reg_rw->value; in mwifiex_cmd_reg_access()
1157 rf_reg->offset = cpu_to_le16((u16) reg_rw->offset); in mwifiex_cmd_reg_access()
1158 rf_reg->value = (u8) reg_rw->value; in mwifiex_cmd_reg_access()
1168 pmic_reg->offset = cpu_to_le16((u16) reg_rw->offset); in mwifiex_cmd_reg_access()
1169 pmic_reg->value = (u8) reg_rw->value; in mwifiex_cmd_reg_access()
1179 cau_reg->offset = cpu_to_le16((u16) reg_rw->offset); in mwifiex_cmd_reg_access()
[all …]