Searched refs:smi_read (Results 1 – 1 of 1) sorted by relevance
| /NextBSD/sys/dev/etherswitch/rtl8366/ |
| HD | rtl8366rb.c | 120 static int smi_read(device_t dev, uint16_t addr, uint16_t *data, int sleep); 201 smi_read(dev, RTL8366RB_CVCR, &rev, RTL_WAITOK); in rtl8366rb_attach() 301 if (smi_read(sc->dev, RTL8366RB_PLSR_BASE + i/2, &value, RTL_NOWAIT) != 0) { in rtl833rb_miipollstat() 482 smi_read(device_t dev, uint16_t addr, uint16_t *data, int sleep) in smi_read() function 546 smi_read(dev, reg, &data, RTL_WAITOK); in rtl_readreg() 582 smi_read(dev, RTL8366RB_PLSR_BASE + (RTL8366RB_NUM_PHYS)/2, &v, RTL_WAITOK); in rtl_getport()
|