Home
last modified time | relevance | path

Searched refs:ph (Results 1 – 23 of 23) sorted by relevance

/arch/powerpc/boot/
Daddnote.c118 unsigned long ph, ps, np; in main() local
151 ph = (e_class == ELFCLASS32 ? GET_32(E_PHOFF) : GET_64(E_PHOFF)); in main()
154 if (ph < E_HSIZE || ps < PH_HSIZE || np < 1) in main()
156 if (ph + (np + 2) * ps + nnote + nnote2 > n) in main()
160 if (GET_32(ph + PH_TYPE) == PT_NOTE) { in main()
165 ph += ps; in main()
170 if (buf[ph + i] != 0) in main()
174 ns = ph + 2 * ps; in main()
175 PUT_32(ph + PH_TYPE, PT_NOTE); in main()
177 PUT_32(ph + PH_OFFSET, ns); in main()
[all …]
/arch/mips/boot/
Delf2ecoff.c271 Elf32_Phdr *ph; in main() local
329 ph = (Elf32_Phdr *) saveRead(infile, ex.e_phoff, in main()
333 convert_elf_phdrs(ph, ex.e_phnum); in main()
347 qsort(ph, ex.e_phnum, sizeof(Elf32_Phdr), phcmp); in main()
351 switch (ph[i].p_type) { in main()
361 if (ph[i].p_flags & PF_W) { in main()
364 ndata.vaddr = ph[i].p_vaddr; in main()
365 ndata.len = ph[i].p_filesz; in main()
366 nbss.vaddr = ph[i].p_vaddr + ph[i].p_filesz; in main()
367 nbss.len = ph[i].p_memsz - ph[i].p_filesz; in main()
[all …]
/arch/x86/kernel/
Dirq_32.c116 struct page *ph, *ps; in irq_init_percpu_irqstack() local
121 ph = alloc_pages_node(node, THREADINFO_GFP, THREAD_SIZE_ORDER); in irq_init_percpu_irqstack()
122 if (!ph) in irq_init_percpu_irqstack()
126 __free_pages(ph, THREAD_SIZE_ORDER); in irq_init_percpu_irqstack()
130 per_cpu(hardirq_stack_ptr, cpu) = page_address(ph); in irq_init_percpu_irqstack()
/arch/powerpc/sysdev/
Dtsi108_dev.c76 const phandle *ph; in tsi108_eth_of_init() local
105 ph = of_get_property(np, "mdio-handle", NULL); in tsi108_eth_of_init()
106 mdio = of_find_node_by_phandle(*ph); in tsi108_eth_of_init()
112 ph = of_get_property(np, "phy-handle", NULL); in tsi108_eth_of_init()
113 phy = of_find_node_by_phandle(*ph); in tsi108_eth_of_init()
/arch/powerpc/platforms/cell/
Daxon_msi.c154 const phandle *ph; in find_msi_translator() local
164 ph = of_get_property(dn, "msi-translator", NULL); in find_msi_translator()
165 if (ph) in find_msi_translator()
169 if (!ph) { in find_msi_translator()
176 dn = of_find_node_by_phandle(*ph); in find_msi_translator()
/arch/powerpc/include/asm/
Dsfp-machine.h265 #define umul_ppmm(ph, pl, m0, m1) \ argument
268 __asm__ ("mulhwu %0,%1,%2" : "=r" (ph) : "%r" (m0), "r" (m1)); \
/arch/powerpc/kernel/
Dprom_init.c2883 phandle ph; in fixup_device_tree_chrp() local
2890 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp()
2891 if (!PHANDLE_VALID(ph)) { in fixup_device_tree_chrp()
2893 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp()
2896 if (PHANDLE_VALID(ph)) { in fixup_device_tree_chrp()
2897 rc = prom_getproplen(ph, "ranges"); in fixup_device_tree_chrp()
2907 prom_setprop(ph, name, "ranges", prop, sizeof(prop)); in fixup_device_tree_chrp()
2912 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp()
2913 if (PHANDLE_VALID(ph)) { in fixup_device_tree_chrp()
2917 prom_setprop(ph, name, "interrupts", prop, 2*sizeof(u32)); in fixup_device_tree_chrp()
[all …]
/arch/arm/boot/dts/
Dsun4i-a10-topwise-a721.dts167 vcc-ph-supply = <&reg_vcc3v3>;
Dsun7i-a20.dtsi788 can_ph_pins: can-ph-pins {
828 csi1_24bits_ph_pins: csi1-24bits-ph-pins {
855 emac_ph_pins: emac-ph-pins {
985 ps2_1_ph_pins: ps2-1-ph-pins {
1124 uart3_ph_pins: uart3-ph-pins {
1130 uart3_cts_rts_ph_pins: uart3-cts-rts-ph-pins {
1142 uart4_ph_pins: uart4-ph-pins {
1148 uart5_ph_pins: uart5-ph-pins {
Dsun4i-a10.dtsi678 can0_ph_pins: can0-ph-pins {
692 csi1_24bits_ph_pins: csi1-24bits-ph-pins {
765 ps2_ch1_ph_pins: ps2-ch1-ph-pins {
Dsun9i-a80-optimus.dts198 vcc-ph-supply = <&reg_dcdc1>;
Dsun9i-a80-cubieboard4.dts201 vcc-ph-supply = <&reg_dcdc1>;
Dsun9i-a80.dtsi1033 uart0_ph_pins: uart0-ph-pins {
Dsun8i-a83t.dtsi770 i2c2_ph_pins: i2c2-ph-pins {
Dsun8i-r40.dtsi682 uart5_ph_pins: uart5-ph-pins {
Dsun6i-a31.dtsi739 uart0_ph_pins: uart0-ph-pins {
/arch/powerpc/platforms/powermac/
Dpfunc_core.c816 u32 ph; in __pmf_find_function() local
826 ph = *prop; in __pmf_find_function()
827 if (ph == 0) in __pmf_find_function()
835 actor = of_find_node_by_phandle(ph); in __pmf_find_function()
/arch/arm64/boot/dts/allwinner/
Dsun50i-a100-allwinner-perf1.dts30 vcc-ph-supply = <&reg_dcdc1>;
Dsun50i-a64-olinuxino.dts178 vcc-ph-supply = <&reg_dcdc1>;
Dsun50i-a64-pinephone.dtsi282 vcc-ph-supply = <&reg_dcdc1>;
Dsun50i-h6.dtsi402 uart0_ph_pins: uart0-ph-pins {
/arch/mips/cavium-octeon/
Docteon-platform.c600 u32 ph = be32_to_cpup(phy_handle); in octeon_fdt_rm_ethernet() local
601 int p = fdt_node_offset_by_phandle(initial_boot_params, ph); in octeon_fdt_rm_ethernet()
/arch/x86/
DKconfig2264 dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!