Searched refs:ocp_read (Results 1 – 1 of 1) sorted by relevance
/linux-4.4.14/drivers/net/ethernet/realtek/ |
D | r8169.c | 1302 static u32 ocp_read(struct rtl8169_private *tp, u8 mask, u16 reg) in ocp_read() function 1377 return ocp_read(tp, 0x0f, reg) & 0x00000800; in DECLARE_RTL_COND() 1382 return ocp_read(tp, 0x0f, 0x124) & 0x00000001; in DECLARE_RTL_COND() 1411 ocp_write(tp, 0x01, 0x30, ocp_read(tp, 0x01, 0x30) | 0x01); in rtl8168ep_driver_start() 1444 ocp_write(tp, 0x01, 0x30, ocp_read(tp, 0x01, 0x30) | 0x01); in rtl8168ep_driver_stop() 1471 return (ocp_read(tp, 0x0f, reg) & 0x00008000) ? 1 : 0; in r8168dp_check_dash() 1476 return (ocp_read(tp, 0x0f, 0x128) & 0x00000001) ? 1 : 0; in r8168ep_check_dash()
|