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.h177 typedef struct pcicfg { struct
178 devpcicfg global() argument
182 subvendorpcicfg global() argument
183 subdevicepcicfg global() argument
184 vendorpcicfg global() argument
185 devicepcicfg global() argument
187 cmdregpcicfg global() argument
188 statregpcicfg global() argument
190 baseclasspcicfg global() argument
214 bridgepcicfg global() argument
215 pppcicfg global() argument
216 vpdpcicfg global() argument
217 msipcicfg global() argument
218 msixpcicfg global() argument
219 htpcicfg global() argument
220 pciepcicfg global() argument
221 pcixpcicfg global() argument
222 iovpcicfg global() argument
223 vfpcicfg global() argument
224 eapcicfg global() argument