/src/sys/arch/sbmips/include/ |
pmap.h | 7 #define PMAP_PAGEIDLEZERO(pa) (pmap_zero_page(pa), true) 12 #define PMAP_CCA_FOR_PA(pa) sbmips_cca_for_pa(pa)
|
/src/sys/arch/amigappc/include/ |
param.h | 48 #define MD_BTOP(pa) (pa)
|
/src/sys/arch/algor/algor/ |
autoconf.c | 84 #define BUILTIN_ETHERNET_P(pa) \ 85 ((pa)->pa_bus == 0 && (pa)->pa_device == 5 && (pa)->pa_function == 0) 87 #define BUILTIN_ETHERNET_P(pa) \ 88 ((pa)->pa_bus == 0 && (pa)->pa_device == 0 && (pa)->pa_function == 0) 90 #define BUILTIN_ETHERNET_P(pa) \ 91 ((pa)->pa_bus == 0 && (pa)->pa_device == 16 && (pa)->pa_function == 0 111 struct pci_attach_args *pa = aux; local in function:device_register [all...] |
/src/sys/external/gpl2/dts/dist/include/dt-bindings/pinctrl/ |
omap.h | 59 #define OMAP_IOPAD_OFFSET(pa, offset) (((pa) & 0xffff) - (offset)) 61 #define OMAP2420_CORE_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x0030) (val) 62 #define OMAP2430_CORE_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2030) (val) 63 #define OMAP3_CORE1_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x2030) (val) 64 #define OMAP3430_CORE2_IOPAD(pa, val) OMAP_IOPAD_OFFSET((pa), 0x25d8) (val [all...] |
keystone.h | 37 #define KEYSTONE_IOPAD_OFFSET(pa, offset) (((pa) & 0xffff) - (offset)) 39 #define K2G_CORE_IOPAD(pa) KEYSTONE_IOPAD_OFFSET((pa), 0x1000)
|
k3.h | 34 #define AM65X_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) 35 #define AM65X_WKUP_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) 37 #define J721E_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) 38 #define J721E_WKUP_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode)) 40 #define AM64X_IOPAD(pa, val, muxmode) (((pa) & 0x1fff)) ((val) | (muxmode) [all...] |
/src/sys/arch/acorn32/mainbus/ |
pioc.c | 185 struct pioc_attach_args *pa = aux; local in function:piocprint 188 if (pa->pa_offset) 189 aprint_normal(" offset 0x%x", pa->pa_offset >> 2); 190 if (pa->pa_iosize > 1) 192 ((pa->pa_offset >> 2) + pa->pa_iosize) - 1); 193 if (pa->pa_irq != -1) 194 aprint_normal(" irq %d", pa->pa_irq); 195 if (pa->pa_drq != -1) 196 aprint_normal(" drq 0x%08x", pa->pa_drq) 258 struct pioc_attach_args *pa = aux; local in function:piocsubmatch 294 struct pioc_attach_args pa; local in function:piocattach [all...] |
atppc_pioc.c | 68 struct pioc_attach_args *pa = aux; local in function:atppc_pioc_probe 69 bus_space_tag_t iot = pa->pa_iot; 70 int addr = pa->pa_iobase + pa->pa_offset; 73 if (pa->pa_name && strcmp(pa->pa_name, "lpt") != 0) 76 if (pa->pa_offset == PIOCCF_OFFSET_DEFAULT) { 99 struct pioc_attach_args *pa = aux; local in function:atppc_pioc_attach 103 sc->sc_iot = pa->pa_iot; 105 iobase = pa->pa_iobase + pa->pa_offset [all...] |
/src/common/lib/libprop/ |
prop_array.c | 104 prop_array_t pa = *obj; local in function:_prop_array_free 107 _PROP_ASSERT(pa->pa_count <= pa->pa_capacity); 108 _PROP_ASSERT((pa->pa_capacity == 0 && pa->pa_array == NULL) || 109 (pa->pa_capacity != 0 && pa->pa_array != NULL)); 112 if (pa->pa_count == 0) { 113 if (pa->pa_array != NULL) 114 _PROP_FREE(pa->pa_array, M_PROP_ARRAY) 149 prop_array_t pa = obj; local in function:_prop_array_emergency_free 159 prop_array_t pa = v; local in function:_prop_array_externalize 276 prop_array_t pa; local in function:_prop_array_alloc 334 prop_array_t pa = pai->pai_base.pi_obj; local in function:_prop_array_iterator_next_object_locked 373 prop_array_t pa = pai->pai_base.pi_obj; local in function:_prop_array_iterator_reset_locked 426 prop_array_t pa; local in function:prop_array_copy 456 prop_array_t pa; local in function:prop_array_copy_mutable [all...] |
/src/sys/arch/m68k/include/ |
cacheops_60.h | 141 DCIAS_60(paddr_t pa) 143 register uint8_t *r_pa __asm("%a0") = (void *)pa; 156 #define ICPL_60(pa) ICPL_40(pa) 157 #define ICPP_60(pa) ICPP_40(pa) 158 #define DCPL_60(pa) DCPL_40(pa) 159 #define DCPP_60(pa) DCPP_40(pa) [all...] |
cacheops.h | 54 #define DCIAS(pa) DCIAS_20((pa)) 68 #define DCIAS(pa) DCIAS_30((pa)) 82 #define DCIAS(pa) DCIAS_40((pa)) 96 #define DCIAS(pa) DCIAS_60((pa)) 112 #define DCIAS(pa) _DCIAS((pa)) [all...] |
cacheops_40.h | 121 DCIAS_40(paddr_t pa) 123 register uint8_t *r_pa __asm("%a0") = (void *)pa; 142 ICPL_40(paddr_t pa) 144 register uint8_t *r_pa __asm("%a0") = (void *)pa; 151 ICPP_40(paddr_t pa) 153 register uint8_t *r_pa __asm("%a0") = (void *)pa; 160 DCPL_40(paddr_t pa) 162 register uint8_t *r_pa __asm("%a0") = (void *)pa; 169 DCPP_40(paddr_t pa) 171 register uint8_t *r_pa __asm("%a0") = (void *)pa; [all...] |
/src/sys/arch/x86/pci/ |
aapic.c | 31 struct pci_attach_args *pa = aux; local in function:aapic_match 33 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_AMD && 34 PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_AMD_PCIX8131_APIC) 43 struct pci_attach_args *pa = aux; local in function:aapic_attach 49 pci_devinfo(pa->pa_id, pa->pa_class, 0, devinfo, sizeof(devinfo)); 50 rev = PCI_REVISION(pa->pa_class); 61 reg = pci_conf_read(pa->pa_pc, pa->pa_tag, AMD8131_IOAPIC_CTL); 63 pci_conf_write(pa->pa_pc, pa->pa_tag, AMD8131_IOAPIC_CTL, reg) [all...] |
pcib.c | 63 struct pci_attach_args *pa = aux; local in function:pcibmatch 71 switch (PCI_VENDOR(pa->pa_id)) { 73 switch (PCI_PRODUCT(pa->pa_id)) { 81 switch (PCI_PRODUCT(pa->pa_id)) { 88 switch (PCI_PRODUCT(pa->pa_id)) { 95 switch (PCI_PRODUCT(pa->pa_id)) { 101 switch (PCI_PRODUCT(pa->pa_id)) { 113 switch (PCI_VENDOR(pa->pa_id)) { 115 switch (PCI_PRODUCT(pa->pa_id)) { 135 switch (PCI_PRODUCT(pa->pa_id)) 188 struct pci_attach_args *pa = aux; local in function:pcibattach [all...] |
/src/sys/arch/x68k/include/ |
cpu.h | 84 #define IIOV(pa) ((u_int)(pa) - INTIOBASE + (u_int)intiobase) 86 #define IIOPOFF(pa) ((int)(pa)-INTIOBASE)
|
/src/sys/arch/evbmips/malta/pci/ |
pchb.c | 59 struct pci_attach_args *pa = aux; local in function:pchb_match 64 if (PCI_CLASS(pa->pa_class) == PCI_CLASS_BRIDGE && 65 PCI_SUBCLASS(pa->pa_class) == PCI_SUBCLASS_BRIDGE_HOST) { 66 switch (PCI_VENDOR(pa->pa_id)) { 68 switch (PCI_PRODUCT(pa->pa_id)) { 81 struct pci_attach_args *pa = aux; local in function:pchb_attach 92 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_MARVELL && 93 PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_MARVELL_GT64120) { 103 PCI_REVISION(pa->pa_class) >= 0x10 ? "A" : ""); 105 pci_devinfo(pa->pa_id, pa->pa_class, 0, devinfo [all...] |
/src/sys/arch/sun3/include/ |
pte3x.h | 99 #define MMU_ROUND_A(pa)\ 100 ((unsigned long) (pa) & MMU_TIA_MASK) 101 #define MMU_ROUND_UP_A(pa)\ 102 ((unsigned long) (pa + MMU_TIA_RANGE - 1) & MMU_TIA_MASK) 103 #define MMU_ROUND_B(pa)\ 104 ((unsigned long) (pa) & (MMU_TIA_MASK|MMU_TIB_MASK)) 105 #define MMU_ROUND_UP_B(pa)\ 106 ((unsigned long) (pa + MMU_TIB_RANGE - 1) & (MMU_TIA_MASK|MMU_TIB_MASK)) 107 #define MMU_ROUND_C(pa)\ 108 ((unsigned long) (pa) & MMU_PAGE_MASK [all...] |
/src/sys/arch/m68k/m68k/ |
sys_machdep.c | 77 paddr_t pa = 0; local in function:cachectl1 106 (pa == 0 || m68k_page_offset(addr) == 0)) { 108 addr, &pa) == false) 118 DCFL(pa); 119 ICPL(pa); 121 DCFP(pa); 122 ICPP(pa); 131 DCPL(pa); 133 DCPP(pa); 141 DCFL(pa); 207 int pa = 0; local in function:dma_cachectl [all...] |
/src/sys/arch/amiga/dev/ |
zbusvar.h | 36 void *pa; member in struct:zbus_args 61 #define ztwomap(pa) \ 62 ((volatile void *)((u_int)ZTWOROMADDR - ZTWOROMBASE + (u_int)(pa))) 65 #define ztwomap(pa) ((volatile void *)(u_int)(pa)) 76 #define isztwopa(pa) ((u_int)(pa) >= ZTWOROMBASE && (u_int)(pa) <= ZTWOROMTOP) 85 #define iszthreepa(pa) ((u_int)(pa) >= ZTHREEBASE && (u_int)(pa) <= ZTHREETOP [all...] |
/src/sys/dev/pci/ |
iop_pci.c | 69 struct pci_attach_args *pa; local in function:iop_pci_match 73 pa = aux; 80 if (PCI_CLASS(pa->pa_class) == PCI_CLASS_I2O && 81 PCI_SUBCLASS(pa->pa_class) == PCI_SUBCLASS_I2O_STANDARD && 82 PCI_INTERFACE(pa->pa_class) == PCI_INTERFACE_I2O_INTRDRIVEN) 88 vendor = PCI_VENDOR(pa->pa_id); 89 product = PCI_PRODUCT(pa->pa_id); 99 reg = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_SUBSYS_ID_REG); 110 struct pci_attach_args *pa; local in function:iop_pci_attach [all...] |
mpt_pci.c | 113 struct pci_attach_args *pa = aux; local in function:mpt_pci_match 117 if (PCI_VENDOR(pa->pa_id) == mpp->mpp_vendor && 118 PCI_PRODUCT(pa->pa_id) == mpp->mpp_product) 130 struct pci_attach_args *pa = aux; local in function:mpt_pci_attach 139 pci_aprint_devinfo(pa, NULL); 141 psc->sc_pc = pa->pa_pc; 142 psc->sc_tag = pa->pa_tag; 145 mpt->sc_dmat = pa->pa_dmat; 150 memtype = pci_mapreg_type(pa->pa_pc, pa->pa_tag, MPT_PCI_MMBA) [all...] |
puccn.c | 92 struct pci_attach_args pa; local in function:pucprobe_doit 103 if (cpu_puc_cnprobe(cn, &pa) != 0) 107 pci_decompose_tag(pa.pa_pc, pa.pa_tag, &bus, &maxdev, NULL); 111 pa.pa_tag = pci_make_tag(pa.pa_pc, bus, dev, 0); 112 reg = pci_conf_read(pa.pa_pc, pa.pa_tag, PCI_ID_REG); 116 bhlcr = pci_conf_read(pa.pa_pc, pa.pa_tag, PCI_BHLC_REG) [all...] |
adv_pci.c | 94 struct pci_attach_args *pa = aux; local in function:adv_pci_match 96 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_ADVSYS) 97 switch (PCI_PRODUCT(pa->pa_id)) { 110 struct pci_attach_args *pa = aux; local in function:adv_pci_attach 115 pci_chipset_tag_t pc = pa->pa_pc; 124 if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_ADVSYS) 125 switch (PCI_PRODUCT(pa->pa_id)) { 135 switch (PCI_REVISION(pa->pa_class)) { 157 command = pci_conf_read(pa->pa_pc, pa->pa_tag, PCI_COMMAND_STATUS_REG) [all...] |
/src/sys/arch/evbarm/iq80310/ |
iq80310_pci.c | 83 iq80310_pci_intr_map(const struct pci_attach_args *pa, pci_intr_handle_t *ihp) 85 struct i80312_softc *sc = pa->pa_pc->pc_intr_v; 101 if (pa->pa_bus != sbus) { 103 pa->pa_bus, pa->pa_device, pa->pa_function); 107 switch (pa->pa_device) { 119 pa->pa_bus, pa->pa_device, pa->pa_function) [all...] |
/src/sys/arch/arc/arc/ |
wired_map_machdep.c | 43 static bool arc_wired_map_paddr_entry(paddr_t pa, vaddr_t *vap, 83 arc_wired_enter_page(vaddr_t va, paddr_t pa, vaddr_t pg_size) 105 mips3_wired_enter_page(va, pa, pg_size); 109 arc_wired_map_paddr_entry(paddr_t pa, vaddr_t *vap, vsize_t *sizep) 119 pa >= entry->pa0 && pa < entry->pa0 + size) { 125 pa >= entry->pa1 && pa < entry->pa1 + size) { 146 paddr_t pa = (va < entry->va + size) local in function:arc_wired_map_vaddr_entry 149 if (pa != 0) 232 paddr_t pa; local in function:arc_wired_map_extract [all...] |