Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_mp_ioctl.c590 struct mp_rw_reg *RegRWStruct; in oid_rt_pro_read_register_hdl() local
595 RegRWStruct = (struct mp_rw_reg *)poid_par_priv->information_buf; in oid_rt_pro_read_register_hdl()
596 if ((RegRWStruct->offset >= 0x10250800) && in oid_rt_pro_read_register_hdl()
597 (RegRWStruct->offset <= 0x10250FFF)) { in oid_rt_pro_read_register_hdl()
600 offset = (u16)(RegRWStruct->offset) & 0xFFF; in oid_rt_pro_read_register_hdl()
601 RegRWStruct->value = r8712_bb_reg_read(Adapter, offset); in oid_rt_pro_read_register_hdl()
603 switch (RegRWStruct->width) { in oid_rt_pro_read_register_hdl()
605 RegRWStruct->value = r8712_read8(Adapter, in oid_rt_pro_read_register_hdl()
606 RegRWStruct->offset); in oid_rt_pro_read_register_hdl()
609 RegRWStruct->value = r8712_read16(Adapter, in oid_rt_pro_read_register_hdl()
[all …]