Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8712/
Drtl871x_mp_ioctl.c537 struct mp_rw_reg *RegRWStruct; in oid_rt_pro_read_register_hdl() local
542 RegRWStruct = (struct mp_rw_reg *)poid_par_priv->information_buf; in oid_rt_pro_read_register_hdl()
543 if ((RegRWStruct->offset >= 0x10250800) && in oid_rt_pro_read_register_hdl()
544 (RegRWStruct->offset <= 0x10250FFF)) { in oid_rt_pro_read_register_hdl()
547 offset = (u16)(RegRWStruct->offset) & 0xFFF; in oid_rt_pro_read_register_hdl()
548 RegRWStruct->value = r8712_bb_reg_read(Adapter, offset); in oid_rt_pro_read_register_hdl()
550 switch (RegRWStruct->width) { in oid_rt_pro_read_register_hdl()
552 RegRWStruct->value = r8712_read8(Adapter, in oid_rt_pro_read_register_hdl()
553 RegRWStruct->offset); in oid_rt_pro_read_register_hdl()
556 RegRWStruct->value = r8712_read16(Adapter, in oid_rt_pro_read_register_hdl()
[all …]