Searched refs:ocp_read (Results 1 – 1 of 1) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/realtek/ |
D | r8169.c | 1108 static u32 ocp_read(struct rtl8169_private *tp, u8 mask, u16 reg) in ocp_read() function 1181 return ocp_read(tp, 0x0f, reg) & 0x00000800; in DECLARE_RTL_COND() 1186 return ocp_read(tp, 0x0f, 0x124) & 0x00000001; in DECLARE_RTL_COND() 1211 ocp_write(tp, 0x01, 0x30, ocp_read(tp, 0x01, 0x30) | 0x01); in rtl8168ep_driver_start() 1244 ocp_write(tp, 0x01, 0x30, ocp_read(tp, 0x01, 0x30) | 0x01); in rtl8168ep_driver_stop() 1271 return !!(ocp_read(tp, 0x0f, reg) & 0x00008000); in r8168dp_check_dash() 1276 return !!(ocp_read(tp, 0x0f, 0x128) & 0x00000001); in r8168ep_check_dash()
|