/arch/powerpc/platforms/pseries/ |
D | phyp_dump.c | 86 static unsigned long init_dump_header(struct phyp_dump_header *ph) in init_dump_header() argument 91 ph->version = DUMP_HEADER_VERSION; in init_dump_header() 92 ph->num_of_sections = NUM_DUMP_SECTIONS; in init_dump_header() 93 ph->status = 0; in init_dump_header() 95 ph->first_offset_section = in init_dump_header() 97 ph->dump_disk_section = 0; in init_dump_header() 98 ph->block_num_dd = 0; in init_dump_header() 99 ph->num_of_blocks_dd = 0; in init_dump_header() 100 ph->offset_dd = 0; in init_dump_header() 102 ph->maxtime_to_auto = 0; /* disabled */ in init_dump_header() [all …]
|
/arch/powerpc/boot/ |
D | addnote.c | 95 int ph, ps, np; in main() local 127 ph = GET_32BE(E_PHOFF); in main() 130 if (ph < E_HSIZE || ps < PH_HSIZE || np < 1) in main() 132 if (ph + (np + 2) * ps + nnote + nnote2 > n) in main() 136 if (GET_32BE(ph + PH_TYPE) == PT_NOTE) { in main() 141 ph += ps; in main() 146 if (buf[ph + i] != 0) in main() 150 ns = ph + 2 * ps; in main() 151 PUT_32BE(ph + PH_TYPE, PT_NOTE); in main() 152 PUT_32BE(ph + PH_OFFSET, ns); in main() [all …]
|
/arch/mips/boot/ |
D | elf2ecoff.c | 268 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() 348 qsort(ph, ex.e_phnum, sizeof(Elf32_Phdr), phcmp); in main() 352 if (ph[i].p_type == PT_NULL || ph[i].p_type == PT_NOTE || in main() 353 ph[i].p_type == PT_PHDR in main() 354 || ph[i].p_type == PT_MIPS_REGINFO) in main() 357 else if (ph[i].p_type != PT_LOAD) { in main() 360 ex.e_phnum, ph[i].p_type); in main() 364 if (ph[i].p_flags & PF_W) { in main() [all …]
|
/arch/powerpc/sysdev/ |
D | mv64x60_dev.c | 42 const phandle *ph; in mv64x60_mpsc_register_shared_pdev() local 46 ph = of_get_property(np, "mpscrouting", NULL); in mv64x60_mpsc_register_shared_pdev() 47 mpscrouting = of_find_node_by_phandle(*ph); in mv64x60_mpsc_register_shared_pdev() 56 ph = of_get_property(np, "mpscintr", NULL); in mv64x60_mpsc_register_shared_pdev() 57 mpscintr = of_find_node_by_phandle(*ph); in mv64x60_mpsc_register_shared_pdev() 98 const phandle *ph; in mv64x60_mpsc_device_setup() local 115 ph = of_get_property(np, "sdma", NULL); in mv64x60_mpsc_device_setup() 116 sdma = of_find_node_by_phandle(*ph); in mv64x60_mpsc_device_setup() 126 ph = of_get_property(np, "brg", NULL); in mv64x60_mpsc_device_setup() 127 brg = of_find_node_by_phandle(*ph); in mv64x60_mpsc_device_setup() [all …]
|
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_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/kernel/ |
D | of_platform.c | 216 phandle *ph = data; in of_dev_phandle_match() local 217 return to_of_device(dev)->node->linux_phandle == *ph; in of_dev_phandle_match() 220 struct of_device *of_find_device_by_phandle(phandle ph) in of_find_device_by_phandle() argument 225 NULL, &ph, of_dev_phandle_match); in of_find_device_by_phandle()
|
D | prom_init.c | 1963 phandle ph; in fixup_device_tree_chrp() local 1970 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp() 1971 if (!PHANDLE_VALID(ph)) { in fixup_device_tree_chrp() 1973 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp() 1976 if (PHANDLE_VALID(ph)) { in fixup_device_tree_chrp() 1977 rc = prom_getproplen(ph, "ranges"); in fixup_device_tree_chrp() 1987 prom_setprop(ph, name, "ranges", prop, sizeof(prop)); in fixup_device_tree_chrp() 1992 ph = call_prom("finddevice", 1, 1, ADDR(name)); in fixup_device_tree_chrp() 1993 if (PHANDLE_VALID(ph)) { in fixup_device_tree_chrp() 1997 prom_setprop(ph, name, "interrupts", prop, 2*sizeof(u32)); in fixup_device_tree_chrp() [all …]
|
/arch/powerpc/sysdev/qe_lib/ |
D | qe_io.c | 155 const phandle *ph; in par_io_of_config() local 164 ph = of_get_property(np, "pio-handle", NULL); in par_io_of_config() 165 if (ph == NULL) { in par_io_of_config() 170 pio = of_find_node_by_phandle(*ph); in par_io_of_config()
|
/arch/powerpc/platforms/cell/ |
D | axon_msi.c | 154 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/ |
D | of_platform.h | 35 extern struct of_device *of_find_device_by_phandle(phandle ph);
|
D | sfp-machine.h | 297 #define umul_ppmm(ph, pl, m0, m1) \ argument 301 : "=r" ((USItype)(ph)) \
|
/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()
|