Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/
H A Dif_wpi.c443 if ((WPI_READ(sc, WPI_GP_CNTRL) & in wpi_nic_lock()
463 return WPI_READ(sc, WPI_PRPH_RDATA); in wpi_prph_read()
501 return WPI_READ(sc, WPI_MEM_RDATA); in wpi_mem_read()
537 val = WPI_READ(sc, WPI_EEPROM); in wpi_read_prom_data()
712 if (WPI_READ(sc, WPI_FH_RX_STATUS) & in wpi_reset_rx_ring()
860 if ((WPI_READ(sc, WPI_EEPROM_GP) & 0x6) == 0) { in wpi_read_eeprom()
1604 r1 = WPI_READ(sc, WPI_INT); in wpi_intr()
1605 r2 = WPI_READ(sc, WPI_FH_INT); in wpi_intr()
2205 temp = (int)WPI_READ(sc, WPI_UCODE_GP2); in wpi_power_calibration()
3163 (void)WPI_READ(sc, WPI_FH_TX_BASE); /* barrier */ in wpi_hw_init()
[all …]
H A Dif_wpireg.h818 #define WPI_READ(sc, reg) \ macro
829 WPI_WRITE(sc, reg, WPI_READ(sc, reg) | (mask))
832 WPI_WRITE(sc, reg, WPI_READ(sc, reg) & ~(mask))