Home
last modified time | relevance | path

Searched refs:pcicfgread (Results 1 – 21 of 21) sorted by relevance

/netbsd/src/sys/arch/sandpoint/stand/altboot/
Dbrdsetup.c261 else if (PCI_CLASS(pcicfgread(dev11, PCI_CLASS_REG)) == PCI_CLASS_ETH) { in brdsetup()
263 if (PCI_VENDOR(pcicfgread(dev11, PCI_ID_REG)) == 0x1317) in brdsetup()
265 else if (PCI_VENDOR(pcicfgread(dev11, PCI_ID_REG)) == 0x10ec) { in brdsetup()
266 if (PCI_PRODUCT(pcicfgread(dev12,PCI_ID_REG)) != 0x3512) in brdsetup()
272 else if (PCI_VENDOR(pcicfgread(dev15, PCI_ID_REG)) == 0x1148 in brdsetup()
273 || PCI_VENDOR(pcicfgread(dev15, PCI_ID_REG)) == 0x11ab) { in brdsetup()
277 else if (PCI_VENDOR(pcicfgread(dev13, PCI_ID_REG)) == 0x1106) { in brdsetup()
281 else if (PCI_VENDOR(pcicfgread(dev16, PCI_ID_REG)) == 0x1191) { in brdsetup()
285 else if (PCI_VENDOR(pcicfgread(dev16, PCI_ID_REG)) == 0x1283 in brdsetup()
286 || PCI_VENDOR(pcicfgread(dev16, PCI_ID_REG)) == 0x1095) { in brdsetup()
[all …]
Dpciide.c59 v = pcicfgread(tag, PCI_ID_REG); in pciide_match()
99 val = pcicfgread(tag, PCI_CLASS_REG); in pciide_init()
105 l->bar[0] = pciiobase + (pcicfgread(tag, 0x10) &~ 01); in pciide_init()
106 l->bar[1] = pciiobase + (pcicfgread(tag, 0x14) &~ 01); in pciide_init()
107 l->bar[2] = pciiobase + (pcicfgread(tag, 0x18) &~ 01); in pciide_init()
108 l->bar[3] = pciiobase + (pcicfgread(tag, 0x1c) &~ 01); in pciide_init()
109 l->bar[4] = pciiobase + (pcicfgread(tag, 0x20) &~ 01); in pciide_init()
171 v = pcicfgread(l->tag, 0x80); in cmdidefix()
173 v = pcicfgread(l->tag, 0x84); in cmdidefix()
175 v = pcicfgread(l->tag, 0xa4); in cmdidefix()
[all …]
Dsiisata.c55 v = pcicfgread(tag, PCI_ID_REG); in siisata_match()
77 idreg = pcicfgread(tag, PCI_ID_REG); in siisata_init()
78 l->bar[0] = pciiobase + (pcicfgread(tag, 0x10) &~ 01); in siisata_init()
79 l->bar[1] = pciiobase + (pcicfgread(tag, 0x14) &~ 01); in siisata_init()
80 l->bar[2] = pciiobase + (pcicfgread(tag, 0x18) &~ 01); in siisata_init()
81 l->bar[3] = pciiobase + (pcicfgread(tag, 0x1c) &~ 01); in siisata_init()
82 l->bar[4] = pciiobase + (pcicfgread(tag, 0x20) &~ 01); in siisata_init()
83 l->bar[5] = pcicfgread(tag, 0x24) &~ 0x3ff; in siisata_init()
Dkse.c116 v = pcicfgread(tag, PCI_ID_REG); in kse_match()
135 l->csr = DEVTOV(pcicfgread(tag, 0x10)); in kse_init()
155 val = pcicfgread(tag, PCI_ID_REG); in kse_init()
Dstg.c150 v = pcicfgread(tag, PCI_ID_REG); in stg_match()
173 l->csr = DEVTOV(pcicfgread(tag, 0x14)); /* first try mem space */ in stg_init()
175 l->csr = DEVTOV(PCI_XIOBASE + (pcicfgread(tag, 0x10) & ~01)); in stg_init()
242 if (PCI_REVISION(pcicfgread(tag, PCI_CLASS_REG)) >= 6) { in stg_init()
Dsip.c124 v = pcicfgread(tag, PCI_ID_REG); in sip_match()
141 val = pcicfgread(tag, PCI_ID_REG); in sip_init()
147 l->csr = DEVTOV(pcicfgread(tag, 0x14)); /* use mem space */ in sip_init()
Dskg.c194 v = pcicfgread(tag, PCI_ID_REG); in skg_match()
214 l->csr = DEVTOV(pcicfgread(tag, 0x10)); /* use mem space */ in skg_init()
217 i = pcicfgread(tag, 0x44); in skg_init()
Dsme.c110 v = pcicfgread(tag, PCI_ID_REG); in sme_match()
128 l->csr = DEVTOV(pcicfgread(tag, 0x1c)); /* BAR3 mem space, LE */ in sme_init()
Dnvt.c161 v = pcicfgread(tag, PCI_ID_REG); in nvt_match()
180 l->csr = ~01 & DEVTOV(pcicfgread(tag, 0x10)); /* use IO space */ in nvt_init()
Drge.c137 v = pcicfgread(tag, PCI_ID_REG); in rge_match()
157 l->csr = DEVTOV(pcicfgread(tag, 0x14)); /* use mem space */ in rge_init()
Dtlp.c120 v = pcicfgread(tag, PCI_ID_REG); in tlp_match()
138 l->csr = DEVTOV(pcicfgread(tag, 0x14)); /* use mem space */ in tlp_init()
Dfxp.c179 v = pcicfgread(tag, PCI_ID_REG); in fxp_match()
200 sc->iobase = DEVTOV(pcicfgread(tag, 0x10)); /* use mem space */ in fxp_init()
Dpcn.c139 v = pcicfgread(tag, PCI_ID_REG); in pcn_match()
154 l->csr = DEVTOV(pcicfgread(tag, 0x14)); /* use mem space */ in pcn_init()
Dwm.c127 v = pcicfgread(tag, PCI_ID_REG); in wm_match()
146 l->csr = pcicfgread(tag, 0x10); /* use mem space */ in wm_init()
Dglobals.h95 unsigned pcicfgread(unsigned, int);
Dvge.c207 v = pcicfgread(tag, PCI_ID_REG); in vge_match()
227 l->csr = DEVTOV(pcicfgread(tag, 0x14)); /* use mem space */ in vge_init()
Dpci.c116 pcicfgread(unsigned tag, int off) in pcicfgread() function
/netbsd/src/sys/arch/cobalt/stand/boot/
Dpci.c40 pcicfgread(uint32_t tag, uint32_t off) in pcicfgread() function
Dboot.h99 uint32_t pcicfgread(uint32_t, uint32_t);
Dboot.c398 reg = pcicfgread(tag, PCIB_BOARD_ID_REG); in read_board_id()
Dtlp.c191 l->csr = MIPS_PHYS_TO_KSEG1(pcicfgread(tag, 0x10) & ~3U); in tlp_init()