Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/staging/rtl8712/
Drtl871x_mp_ioctl.c542 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 …]