/arch/powerpc/boot/ |
D | addnote.c | 122 unsigned long ph, ps, np; in main() local 155 ph = (e_class == ELFCLASS32 ? GET_32(E_PHOFF) : GET_64(E_PHOFF)); in main() 158 if (ph < E_HSIZE || ps < PH_HSIZE || np < 1) in main() 160 if (ph + (np + 2) * ps + nnote + nnote2 > n) in main() 164 if (GET_32(ph + PH_TYPE) == PT_NOTE) { in main() 169 ph += ps; in main() 174 if (buf[ph + i] != 0) in main() 178 ns = ph + 2 * ps; in main() 179 PUT_32(ph + PH_TYPE, PT_NOTE); in main() 181 PUT_32(ph + PH_OFFSET, ns); in main() [all …]
|
/arch/mips/boot/ |
D | elf2ecoff.c | 269 Elf32_Phdr *ph; in main() local 327 ph = (Elf32_Phdr *) saveRead(infile, ex.e_phoff, in main() 331 convert_elf_phdrs(ph, ex.e_phnum); in main() 345 qsort(ph, ex.e_phnum, sizeof(Elf32_Phdr), phcmp); in main() 349 switch (ph[i].p_type) { in main() 359 if (ph[i].p_flags & PF_W) { in main() 362 ndata.vaddr = ph[i].p_vaddr; in main() 363 ndata.len = ph[i].p_filesz; in main() 364 nbss.vaddr = ph[i].p_vaddr + ph[i].p_filesz; in main() 365 nbss.len = ph[i].p_memsz - ph[i].p_filesz; in main() [all …]
|
/arch/powerpc/sysdev/ |
D | tsi108_dev.c | 80 const phandle *ph; in tsi108_eth_of_init() local 111 ph = of_get_property(np, "mdio-handle", NULL); in tsi108_eth_of_init() 112 mdio = of_find_node_by_phandle(*ph); in tsi108_eth_of_init() 118 ph = of_get_property(np, "phy-handle", NULL); in tsi108_eth_of_init() 119 phy = of_find_node_by_phandle(*ph); in tsi108_eth_of_init()
|
D | mv64x60_dev.c | 39 const phandle *ph; in mv64x60_mpsc_register_shared_pdev() local 43 ph = of_get_property(np, "mpscrouting", NULL); in mv64x60_mpsc_register_shared_pdev() 44 mpscrouting = of_find_node_by_phandle(*ph); in mv64x60_mpsc_register_shared_pdev() 53 ph = of_get_property(np, "mpscintr", NULL); in mv64x60_mpsc_register_shared_pdev() 54 mpscintr = of_find_node_by_phandle(*ph); in mv64x60_mpsc_register_shared_pdev() 95 const phandle *ph; in mv64x60_mpsc_device_setup() local 112 ph = of_get_property(np, "sdma", NULL); in mv64x60_mpsc_device_setup() 113 sdma = of_find_node_by_phandle(*ph); in mv64x60_mpsc_device_setup() 123 ph = of_get_property(np, "brg", NULL); in mv64x60_mpsc_device_setup() 124 brg = of_find_node_by_phandle(*ph); in mv64x60_mpsc_device_setup() [all …]
|
D | mv64x60_udbg.c | 74 const phandle *ph; in mv64x60_udbg_init() local 116 ph = of_get_property(np, "mpscintr", NULL); in mv64x60_udbg_init() 117 mpscintr = of_find_node_by_phandle(*ph); in mv64x60_udbg_init()
|
/arch/powerpc/sysdev/qe_lib/ |
D | qe_io.c | 154 const phandle *ph; in par_io_of_config() local 163 ph = of_get_property(np, "pio-handle", NULL); in par_io_of_config() 164 if (ph == NULL) { in par_io_of_config() 169 pio = of_find_node_by_phandle(*ph); in par_io_of_config()
|
/arch/powerpc/platforms/cell/ |
D | axon_msi.c | 157 const phandle *ph; in find_msi_translator() local 167 ph = of_get_property(dn, "msi-translator", NULL); in find_msi_translator() 168 if (ph) in find_msi_translator() 172 if (!ph) { in find_msi_translator() 179 dn = of_find_node_by_phandle(*ph); in find_msi_translator()
|
/arch/powerpc/include/asm/ |
D | sfp-machine.h | 297 #define umul_ppmm(ph, pl, m0, m1) \ argument 301 : "=r" ((USItype)(ph)) \
|
/arch/powerpc/kernel/ |
D | prom_init.c | 2386 phandle ph; in fixup_device_tree_chrp() local 2393 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp() 2394 if (!PHANDLE_VALID(ph)) { in fixup_device_tree_chrp() 2396 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp() 2399 if (PHANDLE_VALID(ph)) { in fixup_device_tree_chrp() 2400 rc = prom_getproplen(ph, "ranges"); in fixup_device_tree_chrp() 2410 prom_setprop(ph, name, "ranges", prop, sizeof(prop)); in fixup_device_tree_chrp() 2415 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp() 2416 if (PHANDLE_VALID(ph)) { in fixup_device_tree_chrp() 2420 prom_setprop(ph, name, "interrupts", prop, 2*sizeof(u32)); in fixup_device_tree_chrp() [all …]
|
/arch/powerpc/platforms/powermac/ |
D | pfunc_core.c | 815 u32 ph; in __pmf_find_function() local 825 ph = *prop; in __pmf_find_function() 826 if (ph == 0) in __pmf_find_function() 834 actor = of_find_node_by_phandle(ph); in __pmf_find_function()
|
/arch/mips/cavium-octeon/ |
D | octeon-platform.c | 299 u32 ph = be32_to_cpup(phy_handle); in octeon_fdt_rm_ethernet() local 300 int p = fdt_node_offset_by_phandle(initial_boot_params, ph); in octeon_fdt_rm_ethernet()
|
/arch/x86/ |
D | Kconfig | 1934 dl_main: Assertion `(void *) ph->p_vaddr == _rtld_local._dl_sysinfo_dso' failed!
|