Home
last modified time | relevance | path

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

/freebsd-12-stable/tools/bus_space/examples/
Dam79c900_diag.py122 pcicfg = bus.map(dev, 'pcicfg') variable
123 logging.debug('pcicfg=%s (%s)' % (pcicfg, dev))
125 vendor = bus.read_2(pcicfg, 0)
126 device = bus.read_2(pcicfg, 2)
132 command = bus.read_2(pcicfg, 4)
136 bus.write_2(pcicfg, 4, command)
141 bus.write_2(pcicfg, 4, command)
143 bus.unmap(pcicfg)
/freebsd-12-stable/sys/dev/ath/ath_hal/ar5210/
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()
Dar5210_misc.c639 uint32_t pcicfg; in ar5210GetDiagState() local
649 pcicfg = OS_REG_READ(ah, AR_PCICFG); in ar5210GetDiagState()
650 OS_REG_WRITE(ah, AR_PCICFG, pcicfg | AR_PCICFG_EEPROMSEL); in ar5210GetDiagState()
652 OS_REG_WRITE(ah, AR_PCICFG, pcicfg); in ar5210GetDiagState()
/freebsd-12-stable/sys/dev/pci/
Dpcivar.h179 typedef struct pcicfg { struct