/netbsd-6-1-5-RELEASE/sys/arch/x86/pci/ |
H A D | pci_intr_machdep.c | 114 pci_intr_map(const struct pci_attach_args *pa, pci_intr_handle_t *ihp) argument 116 int pin = pa->pa_intrpin; 117 int line = pa->pa_intrline; 118 pci_chipset_tag_t ipc, pc = pa->pa_pc; 120 int rawpin = pa->pa_rawintrpin; 127 return (*ipc->pc_ov->ov_intr_map)(ipc->pc_ctx, pa, ihp); 143 pci_decompose_tag(pc, pa->pa_tag, &bus, &dev, &func); 360 pci_msi_establish(struct pci_attach_args *pa, int level, argument 370 if (!pci_get_capability(pa->pa_pc, pa [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/mips/bonito/ |
H A D | bonito_iobc.c | 103 bonito_iobc_wbinv_range(paddr_t pa, psize_t size) argument 116 if (tagaddr < (pa + size) && 117 (tagaddr + IOBC_LINESIZE) > pa) 132 bonito_iobc_inv_range(paddr_t pa, psize_t size) argument 145 if (tagaddr < (pa + size) && 146 (tagaddr + IOBC_LINESIZE) > pa)
|
/netbsd-6-1-5-RELEASE/sys/arch/evbarm/ixm1200/ |
H A D | ixm1200_pci.c | 74 ixm1200_pci_intr_map(const struct pci_attach_args *pa, pci_intr_handle_t *ihp) argument 77 void *v = pa->pa_pc; 78 int pin = pa->pa_intrpin; 79 int line = pa->pa_intrline; 80 int dev=pa->pa_device; 81 pcitag_t intrtag = pa->pa_intrtag;
|
/netbsd-6-1-5-RELEASE/sys/arch/arm/mpcore/ |
H A D | mpcore_pmr.c | 108 struct pmr_attach_args pa; local 110 pa.pa_iot = sc->sc_iot; 111 pa.pa_ioh = sc->sc_ioh; 112 pa.pa_irq = cf->cf_loc[MPCOREPMRCF_IRQ]; 114 if (config_match(parent, cf, &pa) > 0) 115 config_attach(parent, cf, &pa, NULL);
|
/netbsd-6-1-5-RELEASE/sys/dev/pci/ |
H A D | vga_pci.c | 125 vga_pci_lookup_quirks(struct pci_attach_args *pa) argument 131 if (vga_pci_quirks[i].id == pa->pa_id) 136 if (vga_pci_vquirks[i].vid == PCI_VENDOR(pa->pa_id)) 145 struct pci_attach_args *pa = aux; local 154 if (PCI_CLASS(pa->pa_class) == PCI_CLASS_PREHISTORIC && 155 PCI_SUBCLASS(pa->pa_class) == PCI_SUBCLASS_PREHISTORIC_VGA) 157 if (PCI_CLASS(pa->pa_class) == PCI_CLASS_DISPLAY && 158 PCI_SUBCLASS(pa->pa_class) == PCI_SUBCLASS_DISPLAY_VGA) 165 if ((pci_conf_read(pa->pa_pc, pa 188 struct pci_attach_args *pa = aux; local [all...] |
H A D | if_rtk_pci.c | 121 rtk_pci_lookup(const struct pci_attach_args *pa) argument 126 if (PCI_VENDOR(pa->pa_id) != rtk_pci_devs[i].rtk_vid) 128 if (PCI_PRODUCT(pa->pa_id) == rtk_pci_devs[i].rtk_did) 138 struct pci_attach_args *pa = aux; local 140 if (rtk_pci_lookup(pa) != NULL) 155 struct pci_attach_args *pa = aux; local 156 pci_chipset_tag_t pc = pa->pa_pc; 167 psc->sc_pc = pa->pa_pc; 169 t = rtk_pci_lookup(pa); 172 pci_aprint_devinfo_fancy(pa, NUL [all...] |
H A D | if_ex_pci.c | 177 ex_pci_lookup(const struct pci_attach_args *pa) argument 181 if (PCI_VENDOR(pa->pa_id) != PCI_VENDOR_3COM) 185 if (PCI_PRODUCT(pa->pa_id) == epp->epp_prodid) 194 struct pci_attach_args *pa = (struct pci_attach_args *) aux; local 196 if (ex_pci_lookup(pa) != NULL) 207 struct pci_attach_args *pa = aux; local 208 pci_chipset_tag_t pc = pa->pa_pc; 219 if (pci_mapreg_map(pa, PCI_CBIO, PCI_MAPREG_TYPE_IO, 0, 225 epp = ex_pci_lookup(pa); 231 rev = PCI_REVISION(pci_conf_read(pc, pa [all...] |
H A D | if_gem_pci.c | 97 struct pci_attach_args *pa = aux; local 99 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_SUN && 100 (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_SUN_ERINETWORK || 101 PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_SUN_GEMNETWORK)) 104 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_APPLE && 105 (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_GMAC || 106 PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_GMAC2 || 107 PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_GMAC3 || 108 PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_APPLE_SHASTA_GMAC || 109 PCI_PRODUCT(pa 148 struct pci_attach_args *pa = aux; local [all...] |
H A D | if_esh_pci.c | 88 struct pci_attach_args *pa = (struct pci_attach_args *) aux; local 90 if (PCI_VENDOR(pa->pa_id) != PCI_VENDOR_ESSENTIAL) 93 switch (PCI_PRODUCT(pa->pa_id)) { 107 struct pci_attach_args *pa = aux; local 108 pci_chipset_tag_t pc = pa->pa_pc; 115 if (pci_mapreg_map(pa, MEM_MAP_REG, 122 sc->sc_dmat = pa->pa_dmat; 124 switch (PCI_PRODUCT(pa->pa_id)) { 144 pci_conf_write(pc, pa->pa_tag, PCI_COMMAND_STATUS_REG, 145 pci_conf_read(pc, pa [all...] |
H A D | schide.c | 95 struct pci_attach_args *pa = aux; local 97 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_INTEL) { 98 if (pciide_lookup_product(pa->pa_id, pciide_sch_products)) 107 struct pci_attach_args *pa = aux; local 112 pciide_common_attach(sc, pa, 113 pciide_lookup_product(pa->pa_id, pciide_sch_products)); 118 sch_chip_map(struct pciide_softc *sc, const struct pci_attach_args *pa) argument 124 if (pciide_chipen(sc, pa) == 0) 129 pciide_mapreg_dma(sc, pa); 150 interface = PCI_INTERFACE(pa [all...] |
H A D | stpcide.c | 65 struct pci_attach_args *pa = aux; local 67 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_SGSTHOMSON) { 68 if (pciide_lookup_product(pa->pa_id, pciide_stpc_products)) 77 struct pci_attach_args *pa = aux; local 82 pciide_common_attach(sc, pa, 83 pciide_lookup_product(pa->pa_id, pciide_stpc_products)); 88 stpc_chip_map(struct pciide_softc *sc, const struct pci_attach_args *pa) argument 92 pcireg_t interface = PCI_INTERFACE(pa->pa_class); 94 if (pciide_chipen(sc, pa) == 0) 99 pciide_mapreg_dma(sc, pa); [all...] |
H A D | igsfb_pci.c | 147 struct pci_attach_args *pa = aux; local 149 return igsfb_pci_match_by_id(pa->pa_id); 157 struct pci_attach_args *pa = aux; local 162 pci_aprint_devinfo(pa, NULL); 166 if (PCITAG_NODE(pa->pa_tag) == prom_instance_to_package(prom_stdout())) 170 pci_decompose_tag(pa->pa_pc, pa->pa_tag, &b, &d, &f); 171 igsfb_pci_cnattach(pa->pa_iot, pa->pa_memt, pa [all...] |
H A D | agp_amd64.c | 102 agp_amd64_match(const struct pci_attach_args *pa) argument 105 switch (PCI_VENDOR(pa->pa_id)) { 107 switch (PCI_PRODUCT(pa->pa_id)) { 114 switch (PCI_PRODUCT(pa->pa_id)) { 122 switch (PCI_PRODUCT(pa->pa_id)) { 129 switch (PCI_PRODUCT(pa->pa_id)) { 131 return agp_amd64_nvidia_match(pa, 137 return agp_amd64_nvidia_match(pa, 145 switch (PCI_PRODUCT(pa->pa_id)) { 159 agp_amd64_nvidia_match(const struct pci_attach_args *pa, uint16_ argument 179 agp_amd64_via_match(const struct pci_attach_args *pa) argument 204 struct pci_attach_args *pa = aux; local [all...] |
H A D | jmide.c | 138 struct pci_attach_args *pa = aux; local 140 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_JMICRON) { 141 if (jmide_lookup(pa->pa_id)) 150 struct pci_attach_args *pa = aux; local 155 u_int32_t pcictrl0 = pci_conf_read(pa->pa_pc, pa->pa_tag, 157 u_int32_t pcictrl1 = pci_conf_read(pa->pa_pc, pa->pa_tag, 164 jp = jmide_lookup(pa->pa_id); 172 pci_aprint_devinfo(pa, "JMICRO 307 jmpata_chip_map(struct pciide_softc *sc, const struct pci_attach_args *pa) argument 449 const struct pci_attach_args *pa = jma->jma_pa; local [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/podulebus/ |
H A D | acemidi.c | 67 struct podulebus_attach_args *pa = aux; local 69 if (pa->pa_product == PODULE_MIDICONNECT) 78 /* struct podulebus_attach_args *pa = aux; */ 96 struct podulebus_attach_args *pa = aux; local 101 iot = pa->pa_fast_t; 102 iobase = pa->pa_fast_base + ACEMIDI_16550_BASE; 113 podulebus_irq_establish(pa->pa_ih, IPL_SERIAL, comintr, sc,
|
H A D | if_eb.c | 93 struct podulebus_attach_args *pa = aux; local 95 return pa->pa_product == PODULE_ETHERB; 107 struct podulebus_attach_args *pa = aux; local 113 podulebus_shift_tag(pa->pa_mod_t, EB_8004_SHIFT, &sc->sc_8005.sc_iot); 114 bus_space_map(sc->sc_8005.sc_iot, pa->pa_mod_base + EB_8004_BASE, 129 sc->sc_ih = podulebus_irq_establish(pa->pa_ih, IPL_NET, seeq8005intr,
|
H A D | dtide.c | 74 struct podulebus_attach_args *pa = aux; local 76 return pa->pa_product == PODULE_DTSOFT_IDE; 82 struct podulebus_attach_args *pa = aux; local 96 sc->sc_magict = pa->pa_fast_t; 97 bus_space_map(pa->pa_fast_t, pa->pa_fast_base + DTIDE_MAGICBASE, 0, 1, 99 podulebus_shift_tag(pa->pa_fast_t, DTIDE_REGSHIFT, &bst); 110 bus_space_map(pa->pa_fast_t, 111 pa->pa_fast_base + dtide_cmdoffsets[i], 0, 8, 117 bus_space_map(pa [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/xen/include/ |
H A D | xenpmap.h | 68 #define xpq_queue_pin_l1_table(pa) \ 69 xpq_queue_pin_table(pa, MMUEXT_PIN_L1_TABLE) 70 #define xpq_queue_pin_l2_table(pa) \ 71 xpq_queue_pin_table(pa, MMUEXT_PIN_L2_TABLE) 72 #define xpq_queue_pin_l3_table(pa) \ 73 xpq_queue_pin_table(pa, MMUEXT_PIN_L3_TABLE) 74 #define xpq_queue_pin_l4_table(pa) \ 75 xpq_queue_pin_table(pa, MMUEXT_PIN_L4_TABLE)
|
/netbsd-6-1-5-RELEASE/sys/arch/powerpc/include/oea/ |
H A D | sr_601.h | 64 #define SR601_PA_MATCH_P(sr, pa) \ 65 (((sr) & SR601_PACKET1) == ((pa) >> ADDR_SR_SHFT))
|
/netbsd-6-1-5-RELEASE/sys/arch/sandpoint/sandpoint/ |
H A D | autoconf.c | 92 struct pci_attach_args *pa; local 98 pa = aux; 99 if (bi_rdev != NULL && bi_rdev->cookie == pa->pa_tag) { 101 boot_tag = pa->pa_tag; 103 if (bi_net != NULL && bi_net->cookie == pa->pa_tag) { 105 net_tag = pa->pa_tag; 111 pa = aux; 112 tag = pa->pa_tag;
|
/netbsd-6-1-5-RELEASE/sys/dev/isapnp/ |
H A D | isapnpres.c | 176 struct isapnp_attach_args *dev, *conf, *d, *c, *pa; local 189 pa = d; 196 for (pa = d->ipa_child; pa; pa = pa->ipa_sibling) 197 isapnp_merge(pa, d); 199 pa = d->ipa_child; 204 c = conf = pa; 206 c->ipa_sibling = pa; 224 struct isapnp_attach_args *pa; local [all...] |
/netbsd-6-1-5-RELEASE/crypto/dist/ipsec-tools/src/racoon/ |
H A D | isakmp_newg.c | 90 struct isakmp_parse_t *pa; 95 for (pa = (struct isakmp_parse_t *)pbuf->v; 96 pa->type != ISAKMP_NPTYPE_NONE; 97 pa++) { 99 switch (pa->type) { 105 pa->type); 109 hash = (struct isakmp_pl_hash *)pa->ptr; 116 pa->type); 120 sa = (struct isakmp_pl_sa *)pa->ptr; 123 (void)check_vendorid(pa [all...] |
/netbsd-6-1-5-RELEASE/lib/libkvm/ |
H A D | kvm_i386.c | 113 _kvm_kvatop(kvm_t *kd, vaddr_t va, paddr_t *pa) argument 124 return _kvm_kvatop_i386(kd, va, pa); 126 return _kvm_kvatop_i386pae(kd, va, pa); 137 _kvm_kvatop_i386(kvm_t *kd, vaddr_t va, paddr_t *pa) argument 171 *pa = (pde & PG_LGFRAME) + page_off; 188 *pa = (pte & PG_FRAME) + page_off; 192 *pa = (paddr_t)~0L; 200 _kvm_pa2off(kvm_t *kd, paddr_t pa) argument 212 if (pa >= ramsegs[i].start && 213 (pa [all...] |
/netbsd-6-1-5-RELEASE/sys/external/bsd/drm/dist/bsd-core/ |
H A D | mga_drv.c | 51 static int mgadev_match(const struct pci_attach_args *pa); 53 mgadev_match(const struct pci_attach_args *pa) argument 56 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_HINT && 57 PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_HINT_HB1) 103 struct pci_attach_args pa; 105 if (PCI_PRODUCT(dev->pa.pa_id) == PCI_PRODUCT_MATROX_G400_AGP && 106 pci_find_device(&pa, mgadev_match)) 207 struct pci_attach_args *pa = aux; local 209 return drm_probe(pa, mga_pciidlist); 215 struct pci_attach_args *pa local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/sparc/stand/boot/ |
H A D | boot.c | 142 paddr_t pa = (paddr_t)pmemarr[i].addr; local 146 if (pa < bstart && len >= size && (bstart - pa) >= size) 147 return (pa); 150 if (pa < bend) { 151 if (len < bend - pa) 156 len -= bend - pa; 157 pa = bend; 162 return (pa); 172 paddr_t pa; local [all...] |