Searched refs:RGE_READ_2 (Results 1 - 2 of 2) sorted by relevance

/openbsd-current/sys/dev/pci/
H A Dif_rge.c693 val = RGE_READ_2(sc, RGE_RXQUEUE_CTRL) & ~0x001c;
977 status = RGE_READ_2(sc, RGE_PHYSTAT);
1446 if ((RGE_READ_2(sc, RGE_IM) & 0x0103) == 0x0103)
2144 *(uint16_t *)&addr[4] = RGE_READ_2(sc, RGE_ADDR1);
2391 if (RGE_READ_2(sc, RGE_TWICMD) & 0x0200)
2401 if (RGE_READ_2(sc, RGE_TWICMD) & 0x0200)
2586 return ((RGE_READ_2(sc, RGE_PHYSTAT) & RGE_PHYSTAT_LINK) ? 1 : 0);
H A Dif_rgereg.h433 #define RGE_READ_2(sc, reg) \
441 RGE_WRITE_2(sc, reg, RGE_READ_2(sc, reg) | (val))
448 RGE_WRITE_2(sc, reg, RGE_READ_2(sc, reg) & ~(val))
428 #define RGE_READ_2 macro

Completed in 198 milliseconds