Home
last modified time | relevance | path

Searched refs:pcicfg (Results 1 – 4 of 4) sorted by relevance

/freebsd/tools/bus_space/examples/
H A Dam79c900_diag.py121 pcicfg = bus.map(dev, 'pcicfg') variable
122 logging.debug('pcicfg=%s (%s)' % (pcicfg, dev))
124 vendor = bus.read_2(pcicfg, 0)
125 device = bus.read_2(pcicfg, 2)
131 command = bus.read_2(pcicfg, 4)
135 bus.write_2(pcicfg, 4, command)
140 bus.write_2(pcicfg, 4, command)
142 bus.unmap(pcicfg)
/freebsd/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_attach.c194 uint32_t revid, pcicfg; in ar5210Attach() local
259 pcicfg = OS_REG_READ(ah, AR_PCICFG); in ar5210Attach()
260 OS_REG_WRITE(ah, AR_PCICFG, pcicfg | AR_PCICFG_EEPROMSEL); in ar5210Attach()
279 OS_REG_WRITE(ah, AR_PCICFG, pcicfg); /* disable EEPROM access */ in ar5210Attach()
292 OS_REG_WRITE(ah, AR_PCICFG, pcicfg); /* disable EEPROM access */ in ar5210Attach()
H A Dar5210_misc.c637 uint32_t pcicfg; in ar5210GetDiagState() local
647 pcicfg = OS_REG_READ(ah, AR_PCICFG); in ar5210GetDiagState()
648 OS_REG_WRITE(ah, AR_PCICFG, pcicfg | AR_PCICFG_EEPROMSEL); in ar5210GetDiagState()
650 OS_REG_WRITE(ah, AR_PCICFG, pcicfg); in ar5210GetDiagState()
/freebsd/sys/dev/pci/
H A Dpcivar.h181 typedef struct pcicfg { struct