Searched refs:RegRWStruct (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/drivers/staging/rtl8712/ |
| D | rtl871x_mp_ioctl.c | 542 struct mp_rw_reg *RegRWStruct; in oid_rt_pro_read_register_hdl() local 547 RegRWStruct = (struct mp_rw_reg *)poid_par_priv->information_buf; in oid_rt_pro_read_register_hdl() 548 if ((RegRWStruct->offset >= 0x10250800) && in oid_rt_pro_read_register_hdl() 549 (RegRWStruct->offset <= 0x10250FFF)) { in oid_rt_pro_read_register_hdl() 552 offset = (u16)(RegRWStruct->offset) & 0xFFF; in oid_rt_pro_read_register_hdl() 553 RegRWStruct->value = r8712_bb_reg_read(Adapter, offset); in oid_rt_pro_read_register_hdl() 555 switch (RegRWStruct->width) { in oid_rt_pro_read_register_hdl() 557 RegRWStruct->value = r8712_read8(Adapter, in oid_rt_pro_read_register_hdl() 558 RegRWStruct->offset); in oid_rt_pro_read_register_hdl() 561 RegRWStruct->value = r8712_read16(Adapter, in oid_rt_pro_read_register_hdl() [all …]
|
| /Linux-v5.15/drivers/staging/r8188eu/core/ |
| D | rtw_mp_ioctl.c | 631 struct mp_rw_reg *RegRWStruct; in rtl8188eu_oid_rt_pro_read_register_hdl() local 639 RegRWStruct = (struct mp_rw_reg *)poid_par_priv->information_buf; in rtl8188eu_oid_rt_pro_read_register_hdl() 640 offset = RegRWStruct->offset; in rtl8188eu_oid_rt_pro_read_register_hdl() 641 width = RegRWStruct->width; in rtl8188eu_oid_rt_pro_read_register_hdl() 650 RegRWStruct->value = rtw_read8(Adapter, offset); in rtl8188eu_oid_rt_pro_read_register_hdl() 653 RegRWStruct->value = rtw_read16(Adapter, offset); in rtl8188eu_oid_rt_pro_read_register_hdl() 657 RegRWStruct->value = rtw_read32(Adapter, offset); in rtl8188eu_oid_rt_pro_read_register_hdl() 670 struct mp_rw_reg *RegRWStruct; in rtl8188eu_oid_rt_pro_write_register_hdl() local 678 RegRWStruct = (struct mp_rw_reg *)poid_par_priv->information_buf; in rtl8188eu_oid_rt_pro_write_register_hdl() 679 offset = RegRWStruct->offset; in rtl8188eu_oid_rt_pro_write_register_hdl() [all …]
|
| /Linux-v5.15/drivers/staging/r8188eu/os_dep/ |
| D | ioctl_linux.c | 2235 struct mp_rw_reg *RegRWStruct; in rtw_dbg_mode_hdl() local 2248 RegRWStruct = (struct mp_rw_reg *)pdata; in rtw_dbg_mode_hdl() 2249 switch (RegRWStruct->width) { in rtw_dbg_mode_hdl() 2251 RegRWStruct->value = rtw_read8(padapter, RegRWStruct->offset); in rtw_dbg_mode_hdl() 2254 RegRWStruct->value = rtw_read16(padapter, RegRWStruct->offset); in rtw_dbg_mode_hdl() 2257 RegRWStruct->value = rtw_read32(padapter, RegRWStruct->offset); in rtw_dbg_mode_hdl() 2265 RegRWStruct = (struct mp_rw_reg *)pdata; in rtw_dbg_mode_hdl() 2266 switch (RegRWStruct->width) { in rtw_dbg_mode_hdl() 2268 rtw_write8(padapter, RegRWStruct->offset, (u8)RegRWStruct->value); in rtw_dbg_mode_hdl() 2271 rtw_write16(padapter, RegRWStruct->offset, (u16)RegRWStruct->value); in rtw_dbg_mode_hdl() [all …]
|