Lines Matching defs:reg
416 iwn_read(struct iwn_softc *sc, int reg)
419 return (ddi_get32(sc->sc_regh, (uint32_t *)(sc->sc_base + reg)));
423 iwn_write(struct iwn_softc *sc, int reg, uint32_t val)
426 ddi_put32(sc->sc_regh, (uint32_t *)(sc->sc_base + reg), val);
430 iwn_write_1(struct iwn_softc *sc, int reg, uint8_t val)
432 ddi_put8(sc->sc_regh, (uint8_t *)(sc->sc_base + reg), val);
774 uint32_t reg;
841 reg = pci_config_get8(sc->sc_pcih, 0x41);
842 if (reg)
5312 uint32_t reg;
5329 reg = pci_config_get32(sc->sc_pcih,
5331 if (!(reg & PCIE_LINKCTL_ASPM_CTL_L0S)) /* L0s Entry disabled. */
7097 uint32_t reg;
7112 reg = pci_config_get32(sc->sc_pcih,
7115 if (reg & PCIE_LINKCTL_ASPM_CTL_L1) /* L1 Entry enabled. */