Home
last modified time | relevance | path

Searched refs:PCI_MAPREG_START (Results 1 – 25 of 98) sorted by relevance

1234

/netbsd/src/sys/arch/evbmips/loongson/dev/
Dglx.c337 static const pcireg_t pcib_bar_sizes[(4 + PCI_MAPREG_END - PCI_MAPREG_START) / 4] = {
346 static pcireg_t pcib_bar_values[(4 + PCI_MAPREG_END - PCI_MAPREG_START) / 4];
348 static const uint64_t pcib_bar_msr[(4 + PCI_MAPREG_END - PCI_MAPREG_START) / 4] = {
388 case PCI_MAPREG_START + 0x00: in glx_fn0_read()
389 case PCI_MAPREG_START + 0x04: in glx_fn0_read()
390 case PCI_MAPREG_START + 0x08: in glx_fn0_read()
391 case PCI_MAPREG_START + 0x0c: in glx_fn0_read()
392 case PCI_MAPREG_START + 0x10: in glx_fn0_read()
393 case PCI_MAPREG_START + 0x14: in glx_fn0_read()
394 case PCI_MAPREG_START + 0x18: in glx_fn0_read()
[all …]
/netbsd/src/sys/dev/pci/
Dpciide_sl82c105_reg.h40 #define SYMPH_PORT0_P (PCI_MAPREG_START + 0x00) /* port 0 primary */
41 #define SYMPH_PORT0_S (PCI_MAPREG_START + 0x04) /* port 0 secondary */
42 #define SYMPH_PORT1_P (PCI_MAPREG_START + 0x08) /* port 1 primary */
43 #define SYMPH_PORT1_S (PCI_MAPREG_START + 0x0c) /* port 1 secondary */
44 #define SYMPH_BMIDER (PCI_MAPREG_START + 0x10) /* bus master regs */
Dif_fxp_pci.c273 pci_conf_write(psc->psc_pc, psc->psc_tag, PCI_MAPREG_START+0x0, in fxp_pci_confreg_restore()
274 psc->psc_regs[(PCI_MAPREG_START+0x0)>>2]); in fxp_pci_confreg_restore()
275 pci_conf_write(psc->psc_pc, psc->psc_tag, PCI_MAPREG_START+0x4, in fxp_pci_confreg_restore()
276 psc->psc_regs[(PCI_MAPREG_START+0x4)>>2]); in fxp_pci_confreg_restore()
277 pci_conf_write(psc->psc_pc, psc->psc_tag, PCI_MAPREG_START+0x8, in fxp_pci_confreg_restore()
278 psc->psc_regs[(PCI_MAPREG_START+0x8)>>2]); in fxp_pci_confreg_restore()
501 psc->psc_regs[(PCI_MAPREG_START+0x0)>>2] = in fxp_pci_attach()
502 pci_conf_read(pc, pa->pa_tag, PCI_MAPREG_START+0x0); in fxp_pci_attach()
503 psc->psc_regs[(PCI_MAPREG_START+0x4)>>2] = in fxp_pci_attach()
504 pci_conf_read(pc, pa->pa_tag, PCI_MAPREG_START+0x4); in fxp_pci_attach()
[all …]
Dif_pcnreg.h54 #define PCN_PCI_CBIO (PCI_MAPREG_START + 0x00)
55 #define PCN_PCI_CBMEM (PCI_MAPREG_START + 0x04)
Dif_rgereg.h20 #define RGE_PCI_BAR0 PCI_MAPREG_START
21 #define RGE_PCI_BAR1 (PCI_MAPREG_START + 4)
22 #define RGE_PCI_BAR2 (PCI_MAPREG_START + 8)
Dif_sipreg.h181 #define SIP_PCI_CFGIOA (PCI_MAPREG_START + 0x00)
183 #define SIP_PCI_CFGMA (PCI_MAPREG_START + 0x04)
186 #define SIP_PCI_CFGMA1 (PCI_MAPREG_START + 0x08)
Dpwdog.c87 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); in pwdog_attach()
88 if (pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &sc->sc_iot, in pwdog_attach()
Dif_stereg.h100 #define STE_PCI_IOBA (PCI_MAPREG_START + 0x00)
101 #define STE_PCI_MMBA (PCI_MAPREG_START + 0x04)
Dsisfb.c258 if (pci_mapreg_map(pa, PCI_MAPREG_START, PCI_MAPREG_TYPE_MEM, in sisfb_attach()
265 if (pci_mapreg_map(pa, PCI_MAPREG_START + 4, in sisfb_attach()
272 if (pci_mapreg_map(pa, PCI_MAPREG_START + 8, PCI_MAPREG_TYPE_IO, in sisfb_attach()
782 if (pci_mapreg_info(pc, tag, PCI_MAPREG_START, in sisfb_cnattach()
798 if (pci_mapreg_info(pc, tag, PCI_MAPREG_START + 4, in sisfb_cnattach()
813 if (pci_mapreg_info(pc, tag, PCI_MAPREG_START + 8, in sisfb_cnattach()
Dnjs_pci.c53 #define NJSC32_PCI_BASEADDR_IO PCI_MAPREG_START
54 #define NJSC32_PCI_BASEADDR_MEM (PCI_MAPREG_START + 4)
Dibmcd.c106 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); in ibmcd_attach()
107 if (pci_mapreg_map(pa, PCI_MAPREG_START, memtype, 0, &sc->sc_iot, in ibmcd_attach()
Dif_stgereg.h123 #define STGE_PCI_IOBA (PCI_MAPREG_START + 0x00)
124 #define STGE_PCI_MMBA (PCI_MAPREG_START + 0x04)
/netbsd/src/sys/arch/arm/xscale/
Di80321.c126 PCI_MAPREG_START, sc->sc_iwin[0].iwin_base_lo); in i80321_attach()
128 PCI_MAPREG_START + 0x04, sc->sc_iwin[0].iwin_base_hi); in i80321_attach()
131 sc->sc_atu_sh, PCI_MAPREG_START); in i80321_attach()
133 sc->sc_atu_sh, PCI_MAPREG_START + 0x04); in i80321_attach()
143 PCI_MAPREG_START + 0x08, sc->sc_iwin[1].iwin_base_lo); in i80321_attach()
145 PCI_MAPREG_START + 0x0c, sc->sc_iwin[1].iwin_base_hi); in i80321_attach()
148 sc->sc_atu_sh, PCI_MAPREG_START + 0x08); in i80321_attach()
150 sc->sc_atu_sh, PCI_MAPREG_START + 0x0c); in i80321_attach()
161 PCI_MAPREG_START + 0x10, sc->sc_iwin[2].iwin_base_lo); in i80321_attach()
163 PCI_MAPREG_START + 0x14, sc->sc_iwin[2].iwin_base_hi); in i80321_attach()
[all …]
Dbecc.c119 becc_pcicore_write(sc, PCI_MAPREG_START + 0, in becc_attach()
122 reg = becc_pcicore_read(sc, PCI_MAPREG_START + 0); in becc_attach()
125 becc_pcicore_write(sc, PCI_MAPREG_START + 4, in becc_attach()
128 reg = becc_pcicore_read(sc, PCI_MAPREG_START + 4); in becc_attach()
135 becc_pcicore_write(sc, PCI_MAPREG_START + 8, in becc_attach()
138 reg = becc_pcicore_read(sc, PCI_MAPREG_START + 8); in becc_attach()
/netbsd/src/sys/arch/iyonix/iyonix/
Di80321_mainbus.c139 b0l = bus_space_read_4(sc->sc_st, sc->sc_atu_sh, PCI_MAPREG_START+0x0); in i80321_mainbus_attach()
140 b0u = bus_space_read_4(sc->sc_st, sc->sc_atu_sh, PCI_MAPREG_START+0x4); in i80321_mainbus_attach()
141 b1l = bus_space_read_4(sc->sc_st, sc->sc_atu_sh, PCI_MAPREG_START+0x8); in i80321_mainbus_attach()
142 b1u = bus_space_read_4(sc->sc_st, sc->sc_atu_sh, PCI_MAPREG_START+0xc); in i80321_mainbus_attach()
Dautoconf.c148 bar0 = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_MAPREG_START); in device_register()
150 PCI_MAPREG_START + 0x04); in device_register()
/netbsd/src/sys/arch/evbarm/hdl_g/
Di80321_mainbus.c123 b0l = bus_space_read_4(sc->sc_st, sc->sc_atu_sh, PCI_MAPREG_START+0x0); in hdlg_mainbus_attach()
124 b0u = bus_space_read_4(sc->sc_st, sc->sc_atu_sh, PCI_MAPREG_START+0x4); in hdlg_mainbus_attach()
125 b1l = bus_space_read_4(sc->sc_st, sc->sc_atu_sh, PCI_MAPREG_START+0x8); in hdlg_mainbus_attach()
126 b1u = bus_space_read_4(sc->sc_st, sc->sc_atu_sh, PCI_MAPREG_START+0xc); in hdlg_mainbus_attach()
/netbsd/src/sys/arch/evbarm/iq80321/
Di80321_mainbus.c140 b0l = bus_space_read_4(sc->sc_st, sc->sc_atu_sh, PCI_MAPREG_START+0x0); in i80321_mainbus_attach()
141 b0u = bus_space_read_4(sc->sc_st, sc->sc_atu_sh, PCI_MAPREG_START+0x4); in i80321_mainbus_attach()
142 b1l = bus_space_read_4(sc->sc_st, sc->sc_atu_sh, PCI_MAPREG_START+0x8); in i80321_mainbus_attach()
143 b1u = bus_space_read_4(sc->sc_st, sc->sc_atu_sh, PCI_MAPREG_START+0xc); in i80321_mainbus_attach()
/netbsd/src/sys/arch/evbmips/gdium/
Dmachdep.c159 v = pci_conf_read(pba->pba_pc, high_dev, PCI_MAPREG_START); in gdium_pci_attach_hook()
165 pci_mapreg_info(pba->pba_pc, high_dev, PCI_MAPREG_START, in gdium_pci_attach_hook()
167 pci_mapreg_info(pba->pba_pc, ralink_dev, PCI_MAPREG_START, in gdium_pci_attach_hook()
178 pci_conf_write(pba->pba_pc, ralink_dev, PCI_MAPREG_START, v); in gdium_pci_attach_hook()
/netbsd/src/sys/arch/dreamcast/dev/g2/
Dgapspci_pci.c109 PCI_MAPREG_START + 4, 0x01000000); in gaps_attach_hook()
168 if (reg == (PCI_MAPREG_START + 4)) { in gaps_conf_read()
191 if (reg == (PCI_MAPREG_START + 4) && val != 0x01000000) in gaps_conf_write()
/netbsd/src/sys/arch/hpcmips/dev/
Dmq200_pci.c92 res = pci_mapreg_map(pa, PCI_MAPREG_START, PCI_MAPREG_TYPE_MEM, in mq200_pci_attach()
100 res = pci_mapreg_info(psc->sc_pc, psc->sc_pcitag, PCI_MAPREG_START+4, in mq200_pci_attach()
/netbsd/src/sys/arch/evbmips/loongson/
Dgdium_machdep.c119 for (bar = PCI_MAPREG_START; bar < PCI_MAPREG_END; bar += 4) in gdium_attach_hook()
128 pci_conf_write(pc, tag, PCI_MAPREG_START, 0x06228000); in gdium_attach_hook()
355 reg = pci_conf_read(pc, tag, PCI_MAPREG_START); in gdium_cnattach()
/netbsd/src/sys/arch/x86/pci/
Dpci_addr_fixup.c181 reg_start = PCI_MAPREG_START; in pciaddr_resource_manage()
185 reg_start = PCI_MAPREG_START; in pciaddr_resource_manage()
189 reg_start = PCI_MAPREG_START; in pciaddr_resource_manage()
/netbsd/src/sys/arch/atari/pci/
Dpci_tseng.c89 pci_conf_write(pc, tag, PCI_MAPREG_START, PCI_LINMEMBASE); in tseng_init()
91 pci_conf_write(pc, tag, PCI_MAPREG_START + 4, in tseng_init()
/netbsd/src/sys/dev/cardbus/
Dcardbus_map.c88 if(reg < PCI_MAPREG_START || reg >= PCI_MAPREG_END || (reg & 3)) { in cardbus_io_find()
148 (reg < PCI_MAPREG_START || reg >= PCI_MAPREG_END || (reg & 3))) { in cardbus_mem_find()

1234