Home
last modified time | relevance | path

Searched refs:WPI_READ (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/dev/wpi/
H A Dif_wpi.c780 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()
1114 if (WPI_READ(sc, WPI_FH_RX_STATUS) & in wpi_reset_rx_ring()
1340 if ((WPI_READ(sc, WPI_EEPROM_GP) & 0x6) == 0) { in wpi_read_eeprom()
2542 r1 = WPI_READ(sc, WPI_INT); in wpi_intr()
2548 r2 = WPI_READ(sc, WPI_FH_INT); in wpi_intr()
3648 temp = (int)WPI_READ(sc, WPI_UCODE_GP2); in wpi_power_calibration()
5323 (void)WPI_READ(sc, WPI_FH_TX_BASE); /* barrier */ in wpi_hw_init()
[all …]
H A Dif_wpireg.h1010 #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))