Searched refs:WPI_READ (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/wpi/ |
H A D | if_wpi.c | 780 if ((WPI_READ(sc, WPI_GP_CNTRL) & in wpi_nic_lock() 806 return WPI_READ(sc, WPI_PRPH_RDATA); in wpi_prph_read() 842 return WPI_READ(sc, WPI_MEM_RDATA); in wpi_mem_read() 868 val = WPI_READ(sc, WPI_EEPROM); in wpi_read_prom_data() 1092 if (WPI_READ(sc, WPI_GP_CNTRL) & WPI_GP_CNTRL_SLEEP) { in wpi_update_rx_ring_ps() 1114 if (WPI_READ(sc, WPI_FH_RX_STATUS) & in wpi_reset_rx_ring() 1247 if (WPI_READ(sc, WPI_GP_CNTRL) & WPI_GP_CNTRL_SLEEP) { in wpi_update_tx_ring_ps() 1340 if ((WPI_READ(sc, WPI_EEPROM_GP) & 0x6) == 0) { in wpi_read_eeprom() 2441 wpi_get_csr_string(csr_tbl[i]), WPI_READ(sc, csr_tbl[i])); in wpi_debug_registers() 2542 r1 = WPI_READ(sc, WPI_INT); in wpi_intr() [all …]
|
H A D | if_wpireg.h | 1010 #define WPI_READ(sc, reg) \ macro 1021 WPI_WRITE(sc, reg, WPI_READ(sc, reg) | (mask)) 1024 WPI_WRITE(sc, reg, WPI_READ(sc, reg) & ~(mask))
|