/freebsd-11-stable/sys/dev/drm/ |
H A D | drm_vm.c | 41 vm_paddr_t phys; local 65 unsigned long phys = dma->pagelist[page]; local 68 *paddr = phys; 116 phys = map->offset + offset; 123 phys = vtophys((char *)map->virtual + offset); 130 *paddr = phys;
|
/freebsd-11-stable/sys/dev/drm2/ |
H A D | drm_vm.c | 55 vm_paddr_t phys; local 79 unsigned long phys = dma->pagelist[page]; local 82 *paddr = phys; 130 phys = map->offset + offset; 137 phys = vtophys((char *)map->virtual + offset); 144 *paddr = phys;
|
/freebsd-11-stable/stand/mips/beri/common/ |
H A D | mips.h | 59 mips_phys_to_cached(paddr_t phys) argument 62 return (phys | MIPS_XKPHYS_CACHED_NC_BASE); 66 mips_phys_to_uncached(paddr_t phys) argument 69 return (phys | MIPS_XKPHYS_UNCACHED_BASE);
|
/freebsd-11-stable/bin/sh/ |
H A D | cd.c | 86 int ch, phys, print = 0, getcwderr = 0; local 90 phys = Pflag; 97 phys = 0; 100 phys = 1; 139 rc = docd(p, print, phys); 157 docd(char *dest, int print, int phys) argument 161 TRACE(("docd(\"%s\", %d, %d) called\n", dest, print, phys)); 164 if ((phys || (rc = cdlogical(dest)) < 0) && (rc = cdphysical(dest)) < 0) 328 int ch, phys; local 330 phys [all...] |
/freebsd-11-stable/contrib/gdb/include/gdb/ |
H A D | sim-d10v.h | 60 unsigned long *phys, 67 unsigned long *phys, 74 unsigned long *phys,
|
/freebsd-11-stable/libexec/bootpd/ |
H A D | getether.c | 47 struct ifdevea phys; local 48 bzero(&phys, sizeof(phys)); 49 strcpy(phys.ifr_name, ifname); 54 if (ioctl(fd, SIOCRPHYSADDR, &phys) < 0) { 57 bcopy(&phys.current_pa[0], eap, EALEN); 350 struct ifreq phys; 352 memset(&phys, 0, sizeof(phys)); 353 strcpy(phys 346 struct ifreq phys; local [all...] |
/freebsd-11-stable/sys/x86/isa/ |
H A D | isa_dma.c | 232 vm_paddr_t phys; local 280 phys = pmap_extract(kernel_pmap, (vm_offset_t)addr); 311 outb(waport, phys); 312 outb(waport, phys>>8); 313 outb(dmapageport[chan], phys>>16); 344 outb(waport, phys>>1); 345 outb(waport, phys>>9); 346 outb(dmapageport[chan], phys>>16); 399 vm_paddr_t phys, priorpage = 0; local 405 phys [all...] |
/freebsd-11-stable/sys/sparc64/sparc64/ |
H A D | ofw_machdep.c | 106 /* The phys.hi cells of the other busses only contain space bits. */ 119 * consisting of max. 2 phys cells (phys.hi and phys.lo). If we encounter 120 * a 3 phys cells address (as with PCI addresses) we assume phys.hi can 121 * be ignored except for the space bits (generally contained in phys.hi) 122 * and treat phys.mid as phys.hi. 128 uint64_t cend, cstart, end, phys, pphy local [all...] |
/freebsd-11-stable/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_nettomedia.c | 63 mib_arp_create(const struct mibif *ifp, struct in_addr in, const u_char *phys, argument 79 if ((at->physlen = physlen) > sizeof(at->phys)) 80 at->physlen = sizeof(at->phys); 81 memcpy(at->phys, phys, at->physlen); 136 return (string_get(value, at->phys, at->physlen));
|
/freebsd-11-stable/sys/pc98/cbus/ |
H A D | cbus_dma.c | 194 vm_paddr_t phys; local 200 phys = pmap_extract(kernel_pmap, (vm_offset_t)addr); 270 outb(waport, phys); 271 outb(waport, phys>>8); 272 outb(dmapageport[chan], phys>>16); 331 vm_paddr_t phys, priorpage = 0; local 337 phys = trunc_page(pmap_extract(kernel_pmap, (vm_offset_t)va)); 343 if (phys == 0) 345 if (phys >= ISARAM_END) 348 if (priorpage + PAGE_SIZE != phys) [all...] |
/freebsd-11-stable/sys/powerpc/booke/ |
H A D | platform_bare.c | 48 static void bare_mem_regions(platform_t, struct mem_region *phys, int *physsz, 83 bare_mem_regions(platform_t plat, struct mem_region *phys, int *physsz, argument 87 ofw_mem_regions(phys, physsz, avail, availsz);
|
/freebsd-11-stable/sys/powerpc/ps3/ |
H A D | platform_ps3.c | 62 static void ps3_mem_regions(platform_t, struct mem_region *phys, int *physsz, 134 ps3_mem_regions(platform_t plat, struct mem_region *phys, int *physsz, argument 164 if (phys != NULL) { 165 memcpy(phys, avail_regions, sizeof(*phys)*2); 256 struct mem_region *phys, *avail; local 259 mem_regions(&phys, &nphys, &avail, &navail); 261 return (phys[0].mr_start + phys[0].mr_size);
|
/freebsd-11-stable/sys/dev/isci/scil/ |
H A D | scu_bios_definitions.h | 246 * This field specifies the phys to be contained inside a port. 248 * to be contained in the port. Multiple bits (i.e. phys) 341 } phys[SCI_MAX_PHYS]; // 4 PHYs per SCU controller unit member in struct:SCI_BIOS_OEM_PARAM_ELEMENT 443 * This field specifies the phys to be contained inside a port. 445 * to be contained in the port. Multiple bits (i.e. phys) 538 } phys[SCI_MAX_PHYS]; // 4 PHYs per SCU controller unit member in struct:SCI_BIOS_OEM_PARAM_ELEMENT_v_1_1 653 * This field specifies the phys to be contained inside a port. 655 * to be contained in the port. Multiple bits (i.e. phys) 748 } phys[SCI_MAX_PHYS]; // 4 PHYs per SCU controller unit member in struct:SCI_BIOS_OEM_PARAM_ELEMENT_v_1_2 874 * This field specifies the phys t 969 } phys[SCI_MAX_PHYS]; // 4 PHYs per SCU controller unit member in struct:SCI_BIOS_OEM_PARAM_ELEMENT_v_1_3 [all...] |
H A D | scic_config_parameters.h | 137 * by phys in the supplied port. 144 } phys[SCI_MAX_PHYS]; member in struct:SCIC_SDS_USER_PARAMETERS
|
/freebsd-11-stable/sys/powerpc/powermac/ |
H A D | platform_powermac.c | 60 void powermac_mem_regions(platform_t, struct mem_region *phys, int *physsz, 119 powermac_mem_regions(platform_t plat, struct mem_region *phys, int *physsz, argument 138 phys[j].mr_start = memoryprop[i]; 147 phys[j].mr_start <<= 32; 149 phys[j].mr_start |= memoryprop[i+1]; 151 phys[j].mr_size = memoryprop[i + physacells]; 160 avail[i].mr_start = phys[i].mr_start; 161 avail[i].mr_size = phys[i].mr_size; 175 if (phys[i].mr_start > BUS_SPACE_MAXADDR_32BIT) { 176 avail[j].mr_start = phys[ [all...] |
/freebsd-11-stable/sys/dev/beri/virtio/ |
H A D | virtio.h | 63 void * paddr_map(uint32_t offset, uint32_t phys, uint32_t size); 64 void paddr_unmap(void *phys, uint32_t size);
|
H A D | virtio.c | 90 paddr_map(uint32_t offset, uint32_t phys, uint32_t size) argument 94 if (bus_space_map(fdtbus_bs_tag, (phys + offset), 96 panic("Couldn't map 0x%08x\n", (phys + offset)); 103 paddr_unmap(void *phys, uint32_t size) argument 106 bus_space_unmap(fdtbus_bs_tag, (bus_space_handle_t)phys, size);
|
/freebsd-11-stable/sys/dev/sym/ |
H A D | sym_fw2.h | 317 offsetof (struct sym_ccb, phys.head.savep), 322 offsetof (struct sym_ccb, phys.head.status), 631 offsetof (struct sym_ccb, phys.head.lastp), 656 offsetof (struct sym_ccb, phys.head.status), 666 offsetof (struct sym_ccb, phys.head.status), 742 offsetof (struct sym_ccb, phys.head.savep), 751 offsetof (struct sym_ccb, phys.head.savep), 779 offsetof (struct sym_ccb, phys.head.status), 796 offsetof (struct sym_ccb, phys.head.savep), 990 offsetof(struct sym_ccb, phys [all...] |
/freebsd-11-stable/sys/amd64/vmm/ |
H A D | vmm_lapic.c | 105 bool phys; local 126 phys = ((addr & (MSI_X86_ADDR_RH | MSI_X86_ADDR_LOG)) != 132 phys ? "physical" : "logical", dest, vec); 134 vlapic_deliver_intr(vm, LAPIC_TRIG_EDGE, dest, phys, delmode, vec);
|
/freebsd-11-stable/sys/powerpc/pseries/ |
H A D | platform_chrp.c | 67 void chrp_mem_regions(platform_t, struct mem_region *phys, int *physsz, 131 struct mem_region *phys, *avail; local 133 mem_regions(&phys, &nphys, &avail, &navail); 134 realmaxaddr = phys[0].mr_size; 245 chrp_mem_regions(platform_t plat, struct mem_region *phys, int *physsz, argument 251 ofw_mem_regions(phys, physsz, avail, availsz); 252 parse_drconf_memory(phys, physsz, avail, availsz); 262 if (phys[i].mr_start + phys[i].mr_size > maxphysaddr) 263 maxphysaddr = phys[ [all...] |
/freebsd-11-stable/sys/amd64/vmm/io/ |
H A D | vlapic.h | 83 void vlapic_deliver_intr(struct vm *vm, bool level, uint32_t dest, bool phys, 91 * the (dest,phys,delmode) tuple resolves to an interrupt being delivered to 94 void vlapic_set_tmr_level(struct vlapic *vlapic, uint32_t dest, bool phys,
|
/freebsd-11-stable/sys/contrib/ena-com/ |
H A D | ena_plat.h | 329 #define ENA_MEM_ALLOC_COHERENT_NODE_ALIGNED(dmadev, size, virt, phys, \ 336 #define ENA_MEM_ALLOC_COHERENT_NODE(dmadev, size, virt, phys, handle, \ 339 phys, handle, node, dev_node, DEFAULT_ALLOC_ALIGNMENT) 341 #define ENA_MEM_ALLOC_COHERENT_ALIGNED(dmadev, size, virt, phys, dma, \ 346 (phys) = (dma).paddr; \ 349 #define ENA_MEM_ALLOC_COHERENT(dmadev, size, virt, phys, dma) \ 351 phys, dma, DEFAULT_ALLOC_ALIGNMENT) 353 #define ENA_MEM_FREE_COHERENT(dmadev, size, virt, phys, dma) \
|
/freebsd-11-stable/sys/sparc64/include/ |
H A D | iommuvar.h | 109 void iommu_decode_fault(struct iommu_state *is, vm_offset_t phys);
|
/freebsd-11-stable/sys/dev/sound/pci/ |
H A D | maestro.c | 108 bus_addr_t phys; /* channel buffer physical address */ member in struct:agg_chinfo 129 bus_addr_t phys; /* channel buffer physical address */ member in struct:agg_rchinfo 167 bus_addr_t phys; /* status buffer physical address */ member in struct:agg_info 703 wc_wrreg(ess, data, ess->phys >> WAVCACHE_BASEADDR_SHIFT); 851 wpwa = (ch->phys - ch->base) >> 1; 853 wcreg = (ch->phys - 16) & WAVCACHE_CHCTL_ADDRTAG_MASK; 971 wpwa = (ch->phys - ch->base) >> 1; 973 wcreg = (ch->phys - 16) & WAVCACHE_CHCTL_ADDRTAG_MASK; 1126 cur -= 0xffff & ((ch->phys - ch->base) >> 1); 1301 ch->phys 1711 bus_addr_t *phys = arg; local 1723 dma_malloc(bus_dma_tag_t dmat, u_int32_t sz, bus_addr_t *phys, bus_dmamap_t *map) argument [all...] |
/freebsd-11-stable/sys/dev/ct/ |
H A D | bshw_machdep.c | 393 vaddr_t va, endva, phys, nphys; local 401 phys = vtophys((vaddr_t) sp->scp_data); 402 if (phys >= bs->sc_minphys) 418 bs->sc_segaddr = (u_int8_t *) phys; 421 for (va = (vaddr_t) sp->scp_data; ; phys = nphys) 430 if (phys + PAGE_SIZE != nphys || nphys >= bs->sc_minphys) 528 u_int8_t regv, *phys = bs->sc_segaddr; local 550 bshw_dma_write_1(chp, waport, (u_int) phys); 551 bshw_dma_write_1(chp, waport, ((u_int) phys) >> 8); 552 bshw_dma_write_1(chp, dmapageport[chan], ((u_int) phys) >> 1 [all...] |