Home
last modified time | relevance | path

Searched refs:ph (Results 1 – 18 of 18) 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.c115 struct page *ph, *ps; in irq_init_percpu_irqstack() local
120 ph = alloc_pages_node(node, THREADINFO_GFP, THREAD_SIZE_ORDER); in irq_init_percpu_irqstack()
121 if (!ph) in irq_init_percpu_irqstack()
125 __free_pages(ph, THREAD_SIZE_ORDER); in irq_init_percpu_irqstack()
129 per_cpu(hardirq_stack_ptr, cpu) = page_address(ph); in irq_init_percpu_irqstack()
/arch/powerpc/sysdev/
Dtsi108_dev.c77 const phandle *ph; in tsi108_eth_of_init() local
108 ph = of_get_property(np, "mdio-handle", NULL); in tsi108_eth_of_init()
109 mdio = of_find_node_by_phandle(*ph); in tsi108_eth_of_init()
115 ph = of_get_property(np, "phy-handle", NULL); in tsi108_eth_of_init()
116 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.c2811 phandle ph; in fixup_device_tree_chrp() local
2818 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp()
2819 if (!PHANDLE_VALID(ph)) { in fixup_device_tree_chrp()
2821 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp()
2824 if (PHANDLE_VALID(ph)) { in fixup_device_tree_chrp()
2825 rc = prom_getproplen(ph, "ranges"); in fixup_device_tree_chrp()
2835 prom_setprop(ph, name, "ranges", prop, sizeof(prop)); in fixup_device_tree_chrp()
2840 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp()
2841 if (PHANDLE_VALID(ph)) { in fixup_device_tree_chrp()
2845 prom_setprop(ph, name, "interrupts", prop, 2*sizeof(u32)); in fixup_device_tree_chrp()
[all …]
/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/arm/boot/dts/
Dsun7i-a20.dtsi774 can_ph_pins: can-ph-pins {
816 emac_ph_pins: emac-ph-pins {
932 ps2_1_ph_pins: ps2-1-ph-pins {
1071 uart3_ph_pins: uart3-ph-pins {
1077 uart3_cts_rts_ph_pins: uart3-cts-rts-ph-pins {
1089 uart4_ph_pins: uart4-ph-pins {
1095 uart5_ph_pins: uart5-ph-pins {
Dsun9i-a80-cubieboard4.dts201 vcc-ph-supply = <&reg_dcdc1>;
Dsun9i-a80-optimus.dts198 vcc-ph-supply = <&reg_dcdc1>;
Dsun4i-a10.dtsi668 can0_ph_pins: can0-ph-pins {
730 ps2_ch1_ph_pins: ps2-ch1-ph-pins {
Dsun8i-a83t.dtsi732 i2c2_ph_pins: i2c2-ph-pins {
Dsun9i-a80.dtsi1021 uart0_ph_pins: uart0-ph-pins {
Dsun6i-a31.dtsi730 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/arm64/boot/dts/allwinner/
Dsun50i-h6.dtsi307 uart0_ph_pins: uart0-ph-pins {
/arch/x86/
DKconfig2359 dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!