Searched refs:WPI_READ (Results 1 – 2 of 2) sorted by relevance
/dragonfly/sys/dev/netif/wpi/ |
H A D | if_wpi.c | 799 if ((WPI_READ(sc, WPI_GP_CNTRL) & in wpi_nic_lock() 825 return WPI_READ(sc, WPI_PRPH_RDATA); in wpi_prph_read() 861 return WPI_READ(sc, WPI_MEM_RDATA); in wpi_mem_read() 887 val = WPI_READ(sc, WPI_EEPROM); in wpi_read_prom_data() 1145 if (WPI_READ(sc, WPI_FH_RX_STATUS) & in wpi_reset_rx_ring() 1377 if ((WPI_READ(sc, WPI_EEPROM_GP) & 0x6) == 0) { in wpi_read_eeprom() 2564 r1 = WPI_READ(sc, WPI_INT); in wpi_intr() 2570 r2 = WPI_READ(sc, WPI_FH_INT); in wpi_intr() 3695 temp = (int)WPI_READ(sc, WPI_UCODE_GP2); in wpi_power_calibration() 5385 (void)WPI_READ(sc, WPI_FH_TX_BASE); /* barrier */ [all …]
|
H A D | if_wpireg.h | 1016 #define WPI_READ(sc, reg) \ macro 1027 WPI_WRITE(sc, reg, WPI_READ(sc, reg) | (mask)) 1030 WPI_WRITE(sc, reg, WPI_READ(sc, reg) & ~(mask))
|