Home
last modified time | relevance | path

Searched refs:phandle (Results 1 – 17 of 17) sorted by relevance

/qemu/hw/arm/
H A Dxlnx-versal-virt.c46 } phandle; member
68 s->phandle.gic = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
69 for (i = 0; i < ARRAY_SIZE(s->phandle.ethernet_phy); i++) { in fdt_create()
70 s->phandle.ethernet_phy[i] = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
72 s->phandle.clk_25Mhz = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
73 s->phandle.clk_125Mhz = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
75 s->phandle.usb = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
76 s->phandle.dwc = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
81 qemu_fdt_setprop_cell(s->fdt, "/", "interrupt-parent", s->phandle.gic); in fdt_create()
89 unsigned int freq_hz, uint32_t phandle) in fdt_add_clk_node() argument
[all …]
H A Dvirt.c1020 uint32_t phandle) in create_gpio_keys() argument
1035 "gpios", phandle, GPIO_PIN_POWER_BUTTON, 0); in create_gpio_keys()
1042 uint32_t phandle) in create_secure_gpio_pwr() argument
1059 "gpios", phandle, SECURE_GPIO_POWEROFF, 0); in create_secure_gpio_pwr()
1068 "gpios", phandle, SECURE_GPIO_RESET, 0); in create_secure_gpio_pwr()
1095 uint32_t phandle = qemu_fdt_alloc_phandle(ms->fdt); in create_gpio_devices() local
1108 qemu_fdt_setprop_cell(ms->fdt, nodename, "phandle", phandle); in create_gpio_devices()
1119 create_gpio_keys(ms->fdt, pl061_dev, phandle); in create_gpio_devices()
1121 create_secure_gpio_pwr(ms->fdt, pl061_dev, phandle); in create_gpio_devices()
/qemu/hw/ppc/
H A Dvof.c46 uint32_t phandle; member
351 static uint32_t vof_nextprop(const void *fdt, uint32_t phandle, in vof_nextprop() argument
354 int offset, nodeoff = fdt_node_offset_by_phandle(fdt, phandle); in vof_nextprop()
387 static uint32_t vof_peer(const void *fdt, uint32_t phandle) in vof_peer() argument
392 if (phandle == 0) { in vof_peer()
395 rc = fdt_next_subnode(fdt, fdt_node_offset_by_phandle(fdt, phandle)); in vof_peer()
405 static uint32_t vof_child(const void *fdt, uint32_t phandle) in vof_child() argument
408 int rc = fdt_first_subnode(fdt, fdt_node_offset_by_phandle(fdt, phandle)); in vof_child()
417 static uint32_t vof_parent(const void *fdt, uint32_t phandle) in vof_parent() argument
420 int rc = fdt_parent_offset(fdt, fdt_node_offset_by_phandle(fdt, phandle)); in vof_parent()
[all …]
H A Dspapr_irq.c277 void *fdt, uint32_t phandle) in spapr_irq_dt() argument
282 sicc->dt(spapr->active_intc, nr_servers, fdt, phandle); in spapr_irq_dt()
462 int offset, phandle; in spapr_irq_get_phandle() local
471 phandle = fdt_get_phandle(fdt, offset); in spapr_irq_get_phandle()
472 if (!phandle) { in spapr_irq_get_phandle()
477 return phandle; in spapr_irq_get_phandle()
H A Dpnv.c616 uint32_t phandle; in pnv_dt_isa() local
620 phandle = qemu_fdt_alloc_phandle(fdt); in pnv_dt_isa()
621 assert(phandle > 0); in pnv_dt_isa()
622 _FDT((fdt_setprop_cell(fdt, isa_offset, "phandle", phandle))); in pnv_dt_isa()
/qemu/pc-bios/vof/
H A Dvof.h14 typedef unsigned long phandle; typedef
32 phandle ci_finddevice(const char *path);
33 uint32_t ci_getprop(phandle ph, const char *propname, void *prop, int len);
H A Dci.c18 phandle rtas; in prom_handle()
83 phandle ci_finddevice(const char *path) in ci_finddevice()
88 uint32_t ci_getprop(phandle ph, const char *propname, void *prop, int len) in ci_getprop()
H A Dbootmem.c6 phandle chosen = ci_finddevice("/chosen"); in boot_from_memory()
/qemu/system/
H A Ddevice_tree.c487 uint32_t phandle = qemu_fdt_get_phandle(fdt, target_node_path); in qemu_fdt_setprop_phandle() local
488 return qemu_fdt_setprop_cell(fdt, node_path, property, phandle); in qemu_fdt_setprop_phandle()
493 static int phandle = 0x0; in qemu_fdt_alloc_phandle() local
499 if (!phandle) { in qemu_fdt_alloc_phandle()
500 phandle = machine_phandle_start(current_machine); in qemu_fdt_alloc_phandle()
503 if (!phandle) { in qemu_fdt_alloc_phandle()
508 phandle = 0x8000; in qemu_fdt_alloc_phandle()
511 return phandle++; in qemu_fdt_alloc_phandle()
/qemu/hw/riscv/
H A Dvirt.c233 char *clust_name, uint32_t *phandle, in create_fdt_socket_cpus() argument
249 cpu_phandle = (*phandle)++; in create_fdt_socket_cpus()
286 intc_phandles[cpu] = (*phandle)++; in create_fdt_socket_cpus()
445 uint32_t *phandle, uint32_t *intc_phandles, in create_fdt_socket_plic() argument
457 plic_phandles[socket] = (*phandle)++; in create_fdt_socket_plic()
596 uint32_t *phandle, uint32_t *intc_phandles, in create_fdt_imsic() argument
599 *msi_m_phandle = (*phandle)++; in create_fdt_imsic()
600 *msi_s_phandle = (*phandle)++; in create_fdt_imsic()
689 uint32_t *phandle, in create_fdt_socket_aplic() argument
698 aplic_m_phandle = (*phandle)++; in create_fdt_socket_aplic()
[all …]
H A Dsifive_u.c104 uint32_t plic_phandle, prci_phandle, gpio_phandle, phandle = 1; in create_fdt() local
132 hfclk_phandle = phandle++; in create_fdt()
143 rtcclk_phandle = phandle++; in create_fdt()
170 int cpu_phandle = phandle++; in create_fdt()
233 prci_phandle = phandle++; in create_fdt()
248 plic_phandle = phandle++; in create_fdt()
285 gpio_phandle = phandle++; in create_fdt()
400 phy_phandle = phandle++; in create_fdt()
H A Dspike.c61 uint32_t cpu_phandle, intc_phandle, phandle = 1; in create_fdt() local
106 cpu_phandle = phandle++; in create_fdt()
127 intc_phandle = phandle++; in create_fdt()
/qemu/include/hw/ppc/
H A Dspapr_irq.h78 void *fdt, uint32_t phandle);
90 void *fdt, uint32_t phandle);
/qemu/hw/intc/
H A Dxics_spapr.c311 void *fdt, uint32_t phandle) in xics_spapr_dt() argument
328 _FDT(fdt_setprop_cell(fdt, node, "linux,phandle", phandle)); in xics_spapr_dt()
329 _FDT(fdt_setprop_cell(fdt, node, "phandle", phandle)); in xics_spapr_dt()
H A Dspapr_xive.c715 void *fdt, uint32_t phandle) in spapr_xive_dt() argument
766 _FDT(fdt_setprop_cell(fdt, node, "linux,phandle", phandle)); in spapr_xive_dt()
767 _FDT(fdt_setprop_cell(fdt, node, "phandle", phandle)); in spapr_xive_dt()
/qemu/net/
H A Dtap-win32.c592 static int tap_win32_open(tap_win32_overlapped_t **phandle, in tap_win32_open() argument
650 *phandle = &tap_overlapped; in tap_win32_open()
/qemu/pc-bios/dtb/
H A Dpetalogix-s3adsp1800.dts265 linux,phandle = <0x01>;