Home
last modified time | relevance | path

Searched refs:phys (Results 1 – 25 of 486) sorted by relevance

12345678910>>...20

/freebsd-13.1/sys/powerpc/ps3/
H A Dplatform_ps3.c140 ps3_mem_regions(platform_t plat, struct mem_region *phys, int *physsz, in ps3_mem_regions() argument
148 ofw_mem_regions(phys, physsz, avail_regions, availsz); in ps3_mem_regions()
151 phys[0].mr_start = 0; in ps3_mem_regions()
152 phys[0].mr_size = ps3_real_maxaddr(plat); in ps3_mem_regions()
154 avail_regions[0] = phys[0]; in ps3_mem_regions()
162 &phys[*physsz].mr_size, &junk); in ps3_mem_regions()
164 phys[*physsz].mr_size -= phys[i].mr_size; in ps3_mem_regions()
167 phys[*physsz].mr_size -= phys[*physsz].mr_size % (16*1024*1024); in ps3_mem_regions()
170 lv1_allocate_memory(phys[*physsz].mr_size, 24 /* 16 MB pages */, in ps3_mem_regions()
171 0, 0x04 /* any address */, &phys[*physsz].mr_start, &junk); in ps3_mem_regions()
[all …]
/freebsd-13.1/bin/sh/
H A Dcd.c86 int ch, phys, print = 0, getcwderr = 0; in cdcmd() local
90 phys = Pflag; in cdcmd()
97 phys = 0; in cdcmd()
100 phys = 1; in cdcmd()
139 rc = docd(p, print, phys); in cdcmd()
157 docd(char *dest, int print, int phys) in docd() argument
337 int ch, phys; in pwdcmd() local
339 phys = Pflag; in pwdcmd()
343 phys = 0; in pwdcmd()
346 phys = 1; in pwdcmd()
[all …]
/freebsd-13.1/libexec/bootpd/
H A Dgetether.c47 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);
346 struct ifreq phys; local
348 memset(&phys, 0, sizeof(phys));
349 strcpy(phys.ifr_name, ifname);
354 if (ioctl(fd, SIOCGIFHWADDR, &phys) < 0) {
357 memcpy(eap, &phys.ifr_hwaddr.sa_data, EALEN);
/freebsd-13.1/sys/x86/isa/
H A Disa_dma.c233 vm_paddr_t phys; in isa_dmastart() local
312 outb(waport, phys); in isa_dmastart()
313 outb(waport, phys>>8); in isa_dmastart()
314 outb(dmapageport[chan], phys>>16); in isa_dmastart()
345 outb(waport, phys>>1); in isa_dmastart()
346 outb(waport, phys>>9); in isa_dmastart()
347 outb(dmapageport[chan], phys>>16); in isa_dmastart()
400 vm_paddr_t phys, priorpage = 0; in isa_dmarangecheck() local
407 if (phys == 0) in isa_dmarangecheck()
409 if (phys >= ISARAM_END) in isa_dmarangecheck()
[all …]
/freebsd-13.1/sys/dev/sym/
H A Dsym_fw2.h1095 offsetof (struct sym_ccb, phys.pm0.sg),
1115 offsetof (struct sym_ccb, phys.pm0.sg),
1129 offsetof (struct sym_ccb, phys.pm0.ret),
1160 offsetof (struct sym_ccb, phys.pm1.sg),
1180 offsetof (struct sym_ccb, phys.pm1.sg),
1644 offsetof(struct sym_ccb, phys.pm0.ret),
1648 offsetof(struct sym_ccb, phys.pm1.ret),
1676 offsetof(struct sym_ccb, phys.pm0.ret),
1703 offsetof(struct sym_ccb, phys.pm1.ret),
1787 offsetof (struct sym_ccb, phys.wresid),
[all …]
/freebsd-13.1/sys/dev/drm2/
H A Ddrm_vm.c55 vm_paddr_t phys; in drm_mmap() local
79 unsigned long phys = dma->pagelist[page]; in drm_mmap() local
82 *paddr = phys; in drm_mmap()
130 phys = map->offset + offset; in drm_mmap()
137 phys = vtophys((char *)map->virtual + offset); in drm_mmap()
144 *paddr = phys; in drm_mmap()
/freebsd-13.1/sys/powerpc/powermac/
H A Dplatform_powermac.c62 void powermac_mem_regions(platform_t, struct mem_region *phys, int *physsz,
127 powermac_mem_regions(platform_t plat, struct mem_region *phys, int *physsz, in powermac_mem_regions() argument
146 phys[j].mr_start = memoryprop[i]; in powermac_mem_regions()
155 phys[j].mr_start <<= 32; in powermac_mem_regions()
157 phys[j].mr_start |= memoryprop[i+1]; in powermac_mem_regions()
159 phys[j].mr_size = memoryprop[i + physacells]; in powermac_mem_regions()
168 avail[i].mr_start = phys[i].mr_start; in powermac_mem_regions()
169 avail[i].mr_size = phys[i].mr_size; in powermac_mem_regions()
183 if (phys[i].mr_start > BUS_SPACE_MAXADDR_32BIT) { in powermac_mem_regions()
184 avail[j].mr_start = phys[i].mr_start; in powermac_mem_regions()
[all …]
/freebsd-13.1/sys/contrib/dev/iwlwifi/pcie/
H A Dctxt-info.c14 dma_addr_t *phys, in _iwl_pcie_ctxt_info_dma_alloc_coherent() argument
23 result = dma_alloc_coherent(trans->dev, size, phys, GFP_KERNEL); in _iwl_pcie_ctxt_info_dma_alloc_coherent()
28 if (unlikely(iwl_txq_crosses_4g_boundary(*phys, size))) { in _iwl_pcie_ctxt_info_dma_alloc_coherent()
30 dma_addr_t oldphys = *phys; in _iwl_pcie_ctxt_info_dma_alloc_coherent()
33 phys, in _iwl_pcie_ctxt_info_dma_alloc_coherent()
43 dma_addr_t *phys) in iwl_pcie_ctxt_info_dma_alloc_coherent() argument
45 return _iwl_pcie_ctxt_info_dma_alloc_coherent(trans, size, phys, 0); in iwl_pcie_ctxt_info_dma_alloc_coherent()
170 dma_addr_t phys; in iwl_pcie_ctxt_info_init() local
175 &phys); in iwl_pcie_ctxt_info_init()
179 trans_pcie->ctxt_info_dma_addr = phys; in iwl_pcie_ctxt_info_init()
/freebsd-13.1/contrib/bsnmp/snmp_mibII/
H A DmibII_nettomedia.c63 mib_arp_create(const struct mibif *ifp, struct in_addr in, const u_char *phys, in mib_arp_create() argument
79 if ((at->physlen = physlen) > sizeof(at->phys)) in mib_arp_create()
80 at->physlen = sizeof(at->phys); in mib_arp_create()
81 memcpy(at->phys, phys, at->physlen); in mib_arp_create()
136 return (string_get(value, at->phys, at->physlen)); in op_nettomedia()
/freebsd-13.1/sys/vm/
H A Dphys_pager.c122 object->un_pager.phys.ops = ops; in phys_pager_allocate()
123 object->un_pager.phys.data_ptr = data; in phys_pager_allocate()
137 object->un_pager.phys.ops = ops; in phys_pager_allocate()
138 object->un_pager.phys.data_ptr = data; in phys_pager_allocate()
168 if (object->un_pager.phys.ops->phys_pg_dtor != NULL) in phys_pager_dealloc()
169 object->un_pager.phys.ops->phys_pg_dtor(object); in phys_pager_dealloc()
204 return (object->un_pager.phys.ops->phys_pg_getpages(object, m, in phys_pager_getpages()
267 return (object->un_pager.phys.ops->phys_pg_populate(object, pidx, in phys_pager_populate()
298 return (object->un_pager.phys.ops->phys_pg_haspage(object, pindex, in phys_pager_haspage()
/freebsd-13.1/sys/powerpc/pseries/
H A Dplatform_chrp.c71 void chrp_mem_regions(platform_t, struct mem_region *phys, int *physsz,
145 struct mem_region *phys, *avail; in chrp_attach() local
149 mem_regions(&phys, &nphys, &avail, &navail); in chrp_attach()
153 off = phys[i].mr_start + phys[i].mr_size; in chrp_attach()
286 chrp_mem_regions(platform_t plat, struct mem_region *phys, int *physsz, in chrp_mem_regions() argument
292 ofw_mem_regions(phys, physsz, avail, availsz); in chrp_mem_regions()
293 parse_drconf_memory(phys, physsz, avail, availsz); in chrp_mem_regions()
303 if (phys[i].mr_start + phys[i].mr_size > maxphysaddr) in chrp_mem_regions()
304 maxphysaddr = phys[i].mr_start + phys[i].mr_size; in chrp_mem_regions()
/freebsd-13.1/stand/mips/beri/common/
H A Dmips.h59 mips_phys_to_cached(paddr_t phys) in mips_phys_to_cached() argument
62 return (phys | MIPS_XKPHYS_CACHED_NC_BASE); in mips_phys_to_cached()
66 mips_phys_to_uncached(paddr_t phys) in mips_phys_to_uncached() argument
69 return (phys | MIPS_XKPHYS_UNCACHED_BASE); in mips_phys_to_uncached()
/freebsd-13.1/sys/contrib/device-tree/Bindings/phy/
H A Dphy-bindings.txt19 phys: phy {
37 phys : the phandle for the PHY device (used by the PHY subsystem; not to be
41 *phys* phandle
49 phys = <&usb2_phy>, <&usb3_phy>;
64 phys = <&phys 1>;
/freebsd-13.1/sys/contrib/device-tree/src/arm64/marvell/
H A Darmada-8040-db.dts106 phys = <&cp0_comphy0 0>;
113 phys = <&cp0_comphy5 2>;
147 phys = <&cp0_comphy1 0>;
151 phys = <&cp0_comphy3 1>;
171 phys = <&cp0_comphy4 1>;
206 phys = <&cp1_comphy0 0>;
213 phys = <&cp1_comphy4 1>;
220 phys = <&cp1_comphy5 2>;
300 phys = <&cp1_comphy1 0>;
304 phys = <&cp1_comphy3 1>;
H A Darmada-8040-mcbin.dtsi186 phys = <&cp0_comphy0 0>, <&cp0_comphy1 0>,
239 phys = <&cp0_comphy4 0>;
247 phys = <&cp0_comphy5 1>;
278 phys = <&cp1_comphy4 0>;
288 phys = <&cp1_comphy0 1>;
298 phys = <&cp1_comphy5 2>;
337 phys = <&cp1_comphy1 0>;
343 phys = <&cp1_comphy3 1>;
369 phys = <&cp1_comphy2 0>;
/freebsd-13.1/sys/powerpc/powerpc/
H A Dplatform.c123 numa_mem_regions(struct numa_mem_region **phys, int *physsz) in numa_mem_regions() argument
133 if (phys != NULL) in numa_mem_regions()
134 *phys = numa_pregions; in numa_mem_regions()
135 if (physsz == NULL || phys == NULL) { in numa_mem_regions()
171 mem_regions(struct mem_region **phys, int *physsz, struct mem_region **avail, in mem_regions() argument
214 if (phys != NULL) in mem_regions()
215 *phys = pregions; in mem_regions()
/freebsd-13.1/sys/contrib/device-tree/src/arm64/broadcom/stingray/
H A Dstingray-usb.dtsi23 phys = <&usbphy0 1>, <&usbphy0 0>;
33 phys = <&usbphy0 0>, <&usbphy0 1>;
57 phys = <&usbphy1 1>, <&usbphy2>, <&usbphy1 0>;
67 phys = <&usbphy2>;
H A Dstingray-sata.dtsi50 phys = <&sata0_phy0>;
80 phys = <&sata1_phy0>;
110 phys = <&sata2_phy0>;
140 phys = <&sata3_phy0>;
170 phys = <&sata4_phy0>;
200 phys = <&sata5_phy0>;
230 phys = <&sata6_phy0>;
260 phys = <&sata7_phy0>;
/freebsd-13.1/sys/contrib/device-tree/Bindings/ata/
H A Dmarvell.txt10 - phys : List of phandles to sata phys
19 phys = <&sata_phy0>, <&sata_phy1>;
/freebsd-13.1/sys/dev/isci/scil/
H A Dscu_bios_definitions.h343 } phys[SCI_MAX_PHYS]; // 4 PHYs per SCU controller unit member
540 } phys[SCI_MAX_PHYS]; // 4 PHYs per SCU controller unit member
750 } phys[SCI_MAX_PHYS]; // 4 PHYs per SCU controller unit member
971 } phys[SCI_MAX_PHYS]; // 4 PHYs per SCU controller unit member
/freebsd-13.1/sys/mips/ingenic/
H A Djz4780_pinctrl.c114 bus_addr_t phys; in jz4780_pinctrl_attach() local
124 phys = CHIP_REG_OFFSET(re->start, i); in jz4780_pinctrl_attach()
126 if (phys + size - 1 <= re->end) { in jz4780_pinctrl_attach()
129 phys, phys + size - 1, size); in jz4780_pinctrl_attach()
/freebsd-13.1/sys/contrib/device-tree/src/mips/mscc/
H A Docelot_pcb120.dts90 phys = <&serdes 4 SERDES1G(2)>;
96 phys = <&serdes 5 SERDES1G(5)>;
102 phys = <&serdes 6 SERDES1G(3)>;
108 phys = <&serdes 9 SERDES1G(4)>;
/freebsd-13.1/sys/contrib/ena-com/
H A Dena_plat.h319 #define ENA_MEM_ALLOC_COHERENT_NODE_ALIGNED(dmadev, size, virt, phys, \ argument
325 (phys) = (dma).paddr; \
329 #define ENA_MEM_ALLOC_COHERENT_NODE(dmadev, size, virt, phys, handle, \ argument
332 phys, handle, node, dev_node, DEFAULT_ALLOC_ALIGNMENT)
334 #define ENA_MEM_ALLOC_COHERENT_ALIGNED(dmadev, size, virt, phys, dma, \ argument
340 (phys) = (dma).paddr; \
343 #define ENA_MEM_ALLOC_COHERENT(dmadev, size, virt, phys, dma) \ argument
345 phys, dma, DEFAULT_ALLOC_ALIGNMENT)
347 #define ENA_MEM_FREE_COHERENT(dmadev, size, virt, phys, dma) \ argument
/freebsd-13.1/sys/contrib/device-tree/Bindings/usb/
H A Dbrcm,bdc.txt16 - phys: phandle to one or two USB PHY blocks
18 USB 2.0 and USB 3.0 phys
27 phys = <&usbphy_0 0x0>;
H A Dbrcm,bcm7445-ehci.yaml32 phys:
42 - phys
53 phys = <&usbphy_0 0x0>;

12345678910>>...20