Home
last modified time | relevance | path

Searched refs:of_get_property (Results 1 – 25 of 417) sorted by relevance

12345678910>>...17

/linux-6.6.21/drivers/mtd/parsers/
Dofpart_core.c38 return of_get_property(pp, "compatible", NULL); in node_has_compatible()
110 reg = of_get_property(pp, "reg", &len); in parse_fixed_partitions()
155 partname = of_get_property(pp, "label", &len); in parse_fixed_partitions()
157 partname = of_get_property(pp, "name", &len); in parse_fixed_partitions()
160 if (of_get_property(pp, "read-only", &len)) in parse_fixed_partitions()
163 if (of_get_property(pp, "lock", &len)) in parse_fixed_partitions()
224 part = of_get_property(dp, "partitions", &plen); in parse_ofoldpart_partitions()
236 names = of_get_property(dp, "partition-names", &plen); in parse_ofoldpart_partitions()
/linux-6.6.21/arch/powerpc/platforms/cell/
Dspu_manage.c43 prop = of_get_property(spe, "physical-id", &proplen); in find_spu_unit_number()
48 prop = of_get_property(spe, "unit-id", &proplen); in find_spu_unit_number()
53 prop = of_get_property(spe, "reg", &proplen); in find_spu_unit_number()
77 tmp = of_get_property(np, "isrc", NULL); in spu_map_interrupts_old()
82 tmp = of_get_property(np->parent->parent, "node-id", NULL); in spu_map_interrupts_old()
114 prop = of_get_property(n, name, &proplen); in spu_map_prop_old()
128 spu->name = of_get_property(node, "name", NULL); in spu_map_device_old()
132 prop = of_get_property(node, "local-store", NULL); in spu_map_device_old()
143 prop = of_get_property(node, "problem", NULL); in spu_map_device_old()
216 spu->name = of_get_property(np, "name", NULL); in spu_map_device()
[all …]
/linux-6.6.21/arch/sparc/kernel/
Dprom_32.c59 const char *name = of_get_property(dp, "name", NULL); in sparc32_path_component()
76 const char *name = of_get_property(dp, "name", NULL); in sbus_path_component()
94 const char *name = of_get_property(dp, "name", NULL); in pci_path_component()
120 const char *name = of_get_property(dp, "name", NULL); in ebus_path_component()
138 const char *name = of_get_property(dp, "name", NULL); in ambapp_path_component()
190 const char *name = of_get_property(dp, "name", NULL); in build_path_component()
297 path = of_get_property(dp, "stdout-path", NULL); in of_console_init()
Dprom_irqtrans.c81 regs = of_get_property(dp, "reg", NULL); in psycho_irq_trans_init()
205 parent_model = of_get_property(parent, in sabre_device_needs_wsync()
212 parent_compat = of_get_property(parent, in sabre_device_needs_wsync()
259 regs = of_get_property(dp, "reg", NULL); in sabre_irq_build()
281 regs = of_get_property(dp, "reg", NULL); in sabre_irq_trans_init()
284 busrange = of_get_property(dp, "bus-range", NULL); in sabre_irq_trans_init()
438 regs = of_get_property(dp, "reg", NULL); in __schizo_irq_trans_init()
476 regs = of_get_property(dp, "reg", NULL); in pci_sun4v_irq_trans_init()
553 regs = of_get_property(dp, "reg", NULL); in fire_irq_trans_init()
661 regs = of_get_property(dp, "reg", NULL); in sbus_of_build_irq()
[all …]
Dprom_64.c68 const char *name = of_get_property(dp, "name", NULL); in sun4v_path_component()
110 const char *name = of_get_property(dp, "name", NULL); in sun4u_path_component()
146 const char *name = of_get_property(dp, "name", NULL); in sbus_path_component()
164 const char *name = of_get_property(dp, "name", NULL); in pci_path_component()
190 const char *name = of_get_property(dp, "name", NULL); in upa_path_component()
213 const char *name = of_get_property(dp, "name", NULL); in vdev_path_component()
229 const char *name = of_get_property(dp, "name", NULL); in ebus_path_component()
248 const char *name = of_get_property(dp, "name", NULL); in i2c_path_component()
268 const char *name = of_get_property(dp, "name", NULL); in usb_path_component()
290 const char *name = of_get_property(dp, "name", NULL); in ieee1394_path_component()
[all …]
Dpci_msi.c328 val = of_get_property(pbm->op->dev.of_node, "#msi-eqs", &len); in sparc64_pbm_msi_init()
351 val = of_get_property(pbm->op->dev.of_node, "msi-eq-size", &len); in sparc64_pbm_msi_init()
357 mqp = of_get_property(pbm->op->dev.of_node, in sparc64_pbm_msi_init()
360 mqp = of_get_property(pbm->op->dev.of_node, in sparc64_pbm_msi_init()
368 val = of_get_property(pbm->op->dev.of_node, "#msi", &len); in sparc64_pbm_msi_init()
373 mrng = of_get_property(pbm->op->dev.of_node, "msi-ranges", &len); in sparc64_pbm_msi_init()
378 val = of_get_property(pbm->op->dev.of_node, "msi-data-mask", &len); in sparc64_pbm_msi_init()
383 val = of_get_property(pbm->op->dev.of_node, "msix-data-width", &len); in sparc64_pbm_msi_init()
388 arng = of_get_property(pbm->op->dev.of_node, "msi-address-ranges", in sparc64_pbm_msi_init()
Dof_device_64.c50 const char *model = of_get_property(np, "model", NULL); in of_bus_pci_match()
72 const char *model = of_get_property(np, "model", NULL); in of_bus_simba_match()
251 ranges = of_get_property(parent, "ranges", &rlen); in build_one_resource()
332 preg = of_get_property(op->dev.of_node, bus->addr_prop_name, &num_reg); in build_device_resources()
435 reg = of_get_property(dp, "reg", &num_reg); in apply_interrupt_map()
490 regs = of_get_property(dp, "reg", NULL); in pci_irq_swizzle()
571 imap = of_get_property(pp, "interrupt-map", &imlen); in build_one_device_irq()
572 imsk = of_get_property(pp, "interrupt-map-mask", NULL); in build_one_device_irq()
652 irq = of_get_property(dp, "interrupts", &len); in scan_one_device()
/linux-6.6.21/arch/powerpc/sysdev/
Ddcr.c23 p = of_get_property(par, "dcr-parent", NULL); in find_dcr_parent()
62 prop = of_get_property(dp, "dcr-access-method", NULL); in dcr_map_generic()
119 const u32 *dr = of_get_property(np, "dcr-reg", &ds); in dcr_resource_start()
131 const u32 *dr = of_get_property(np, "dcr-reg", &ds); in dcr_resource_len()
156 p = of_get_property(dp, "dcr-mmio-stride", NULL); in of_translate_dcr_address()
160 p = of_get_property(dp, "dcr-mmio-range", NULL); in of_translate_dcr_address()
162 p = of_get_property(dp, "dcr-mmio-space", NULL); in of_translate_dcr_address()
Dtsi108_dev.c105 ph = of_get_property(np, "mdio-handle", NULL); in tsi108_eth_of_init()
112 ph = of_get_property(np, "phy-handle", NULL); in tsi108_eth_of_init()
120 phy_id = of_get_property(phy, "reg", NULL); in tsi108_eth_of_init()
/linux-6.6.21/arch/powerpc/platforms/83xx/
Dusb_834x.c42 prop = of_get_property(np, "phy_type", NULL); in mpc834x_usb_cfg()
50 dr_mode = of_get_property(np, "dr_mode", NULL); in mpc834x_usb_cfg()
68 prop = of_get_property(np, "port0", NULL); in mpc834x_usb_cfg()
74 prop = of_get_property(np, "port1", NULL); in mpc834x_usb_cfg()
/linux-6.6.21/arch/powerpc/kernel/
Dbtext.c169 prop = of_get_property(np, "linux,bootx-width", NULL); in btext_initialize()
171 prop = of_get_property(np, "width", NULL); in btext_initialize()
175 prop = of_get_property(np, "linux,bootx-height", NULL); in btext_initialize()
177 prop = of_get_property(np, "height", NULL); in btext_initialize()
181 prop = of_get_property(np, "linux,bootx-depth", NULL); in btext_initialize()
183 prop = of_get_property(np, "depth", NULL); in btext_initialize()
188 prop = of_get_property(np, "linux,bootx-linebytes", NULL); in btext_initialize()
190 prop = of_get_property(np, "linebytes", NULL); in btext_initialize()
195 prop = of_get_property(np, "linux,bootx-addr", NULL); in btext_initialize()
197 prop = of_get_property(np, "address", NULL); in btext_initialize()
Dlegacy_serial.c86 clk = of_get_property(np, "clock-frequency", NULL); in add_legacy_port()
91 spd = of_get_property(np, "current-speed", NULL); in add_legacy_port()
94 rs = of_get_property(np, "reg-shift", NULL); in add_legacy_port()
216 reg = of_get_property(np, "reg", NULL); in add_legacy_isa_port()
227 typep = of_get_property(np, "ibm,aix-loc", NULL); in add_legacy_isa_port()
297 const __be32 *reg = of_get_property(np, "reg", NULL); in add_legacy_pci_port()
402 path = of_get_property(of_chosen, "linux,stdout-path", NULL); in find_legacy_serial_ports()
404 path = of_get_property(of_chosen, "stdout-path", NULL); in find_legacy_serial_ports()
635 name = of_get_property(of_chosen, "linux,stdout-path", NULL); in check_legacy_serial_console()
637 name = of_get_property(of_chosen, "stdout-path", NULL); in check_legacy_serial_console()
[all …]
Dprom_parse.c22 prop = of_get_property(dn, "ibm,#dma-address-cells", NULL); in of_parse_dma_window()
24 prop = of_get_property(dn, "#address-cells", NULL); in of_parse_dma_window()
31 prop = of_get_property(dn, "ibm,#dma-size-cells", NULL); in of_parse_dma_window()
Dpci_of_scan.c27 prop = of_get_property(np, name, &len); in get_int_prop()
128 addrs = of_get_property(node, "assigned-addresses", &proplen); in of_pci_parse_addrs()
130 addrs = of_get_property(node, "reg", &proplen); in of_pci_parse_addrs()
265 busrange = of_get_property(node, "bus-range", &len); in of_scan_pci_bridge()
271 ranges = of_get_property(node, "ranges", &len); in of_scan_pci_bridge()
362 reg = of_get_property(dn, "reg", &reglen); in of_scan_pci_dev()
/linux-6.6.21/arch/powerpc/platforms/chrp/
Dsetup.c107 model = of_get_property(root, "model", NULL); in chrp_show_cpuinfo()
205 model = of_get_property(root, "model", NULL); in sio_init()
228 const unsigned int *l2cr = of_get_property(np, "l2cr", NULL); in pegasos_set_l2cr()
271 property = of_get_property(node, "model", NULL); in chrp_init()
277 property = of_get_property(of_chosen, "linux,stdout-path", NULL); in chrp_init()
306 machine = of_get_property(root, "model", NULL); in chrp_setup_arch()
380 opprop = of_get_property(root, "platform-open-pic", &oplen); in chrp_find_openpic()
397 iranges = of_get_property(np, "interrupt-ranges", &len); in chrp_find_openpic()
473 const unsigned int *addrp = of_get_property(np, in chrp_find_8259()
Dpci.c223 machine = of_get_property(root, "model", NULL); in chrp_find_bridges()
242 bus_range = of_get_property(dev, "bus-range", &len); in chrp_find_bridges()
267 model = of_get_property(dev, "model", NULL); in chrp_find_bridges()
290 dma = of_get_property(dev, "system-dma-base", in chrp_find_bridges()
309 dma = of_get_property(dev, "ibm,dma-ranges", &len); in chrp_find_bridges()
/linux-6.6.21/arch/powerpc/platforms/powermac/
Dsetup.c106 pp = of_get_property(np, "model", NULL); in pmac_show_cpuinfo()
111 pp = of_get_property(np, "compatible", &plen); in pmac_show_cpuinfo()
136 of_get_property(np, "i-cache-size", NULL); in pmac_show_cpuinfo()
138 of_get_property(np, "d-cache-size", NULL); in pmac_show_cpuinfo()
150 pp = of_get_property(np, "ram-type", NULL); in pmac_show_cpuinfo()
236 of_get_property(np, "l2cr-value", NULL); in l2cr_init()
264 fp = of_get_property(cpu, "clock-frequency", NULL); in pmac_setup_arch()
520 name = of_get_property(of_chosen, "linux,stdout-path", NULL); in check_pmac_serial_console()
/linux-6.6.21/arch/powerpc/platforms/52xx/
Defika.c96 bus_range = of_get_property(pcictrl, "bus-range", &len); in efika_pcisetup()
152 revision = of_get_property(root, "revision", NULL); in efika_show_cpuinfo()
153 codegendescription = of_get_property(root, "CODEGEN,description", NULL); in efika_show_cpuinfo()
154 codegenvendor = of_get_property(root, "CODEGEN,vendor", NULL); in efika_show_cpuinfo()
198 const char *model = of_get_property(of_root, "model", NULL); in efika_probe()
/linux-6.6.21/drivers/video/fbdev/nvidia/
Dnv_of.c46 pname = of_get_property(dp, "name", NULL); in nvidia_probe_of_connector()
53 pedid = of_get_property(dp, in nvidia_probe_of_connector()
65 pedid = of_get_property(parent, propnames[i], NULL); in nvidia_probe_of_connector()
/linux-6.6.21/drivers/video/fbdev/
Doffb.c362 vid = of_get_property(pciparent, "vendor-id", NULL); in offb_init_palette_hacks()
363 did = of_get_property(pciparent, "device-id", NULL); in offb_init_palette_hacks()
557 pp = of_get_property(dp, "linux,bootx-depth", &len); in offb_init_nodriver()
559 pp = of_get_property(dp, "depth", &len); in offb_init_nodriver()
563 pp = of_get_property(dp, "linux,bootx-width", &len); in offb_init_nodriver()
565 pp = of_get_property(dp, "width", &len); in offb_init_nodriver()
569 pp = of_get_property(dp, "linux,bootx-height", &len); in offb_init_nodriver()
571 pp = of_get_property(dp, "height", &len); in offb_init_nodriver()
575 pp = of_get_property(dp, "linux,bootx-linebytes", &len); in offb_init_nodriver()
577 pp = of_get_property(dp, "linebytes", &len); in offb_init_nodriver()
[all …]
/linux-6.6.21/arch/powerpc/platforms/maple/
Dsetup.c108 maple_nvram_offset = of_get_property(sp, "restart-addr", NULL); in maple_restart()
109 maple_nvram_command = of_get_property(sp, "restart-value", NULL); in maple_restart()
136 maple_nvram_offset = of_get_property(sp, "power-off-addr", NULL); in maple_power_off()
137 maple_nvram_command = of_get_property(sp, "power-off-value", NULL); in maple_power_off()
228 opprop = of_get_property(root, "platform-open-pic", &opplen); in maple_init_IRQ()
/linux-6.6.21/drivers/cpufreq/
Dpmac32-cpufreq.c381 const u32 *reg = of_get_property(np, "reg", NULL); in read_gpio()
484 freqs = of_get_property(cpunode, "bus-frequencies", &lenp); in pmac_cpufreq_init_MacRISC3()
490 ratio = of_get_property(cpunode, "processor-to-bus-ratio*2", in pmac_cpufreq_init_MacRISC3()
526 value = of_get_property(cpunode, "min-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3()
535 value = of_get_property(cpunode, "max-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3()
583 value = of_get_property(cpunode, "reduced-clock-frequency", NULL); in pmac_cpufreq_init_750FX()
628 value = of_get_property(cpunode, "clock-frequency", NULL); in pmac_cpufreq_setup()
Dpmac64-cpufreq.c364 valp = of_get_property(cpunode, "cpu-version", NULL); in g5_neo2_cpufreq_init()
376 g5_pmode_data = of_get_property(cpunode, "power-mode-data",&psize); in g5_neo2_cpufreq_init()
433 valp = of_get_property(cpunode, "clock-frequency", NULL); in g5_neo2_cpufreq_init()
493 eeprom = of_get_property(cpuid, "cpuid", NULL); in g5_pm72_cpufreq_init()
502 const char *loc = of_get_property(hwclock, in g5_pm72_cpufreq_init()
508 if (!of_get_property(hwclock, "platform-get-frequency", NULL)) in g5_pm72_cpufreq_init()
567 valp = of_get_property(cpunode, "clock-frequency", NULL); in g5_pm72_cpufreq_init()
/linux-6.6.21/drivers/misc/cxl/
Dof.c21 prop = of_get_property(np, prop_name, NULL); in read_prop_string()
32 prop = of_get_property(np, prop_name, NULL); in read_prop_dword()
45 prop = of_get_property(np, prop_name, NULL); in read_prop64_dword()
79 prop = of_get_property(np, prop_name, &len); in read_phys_addr()
153 prop = of_get_property(np, "compatible", &len); in cxl_of_read_afu_properties()
289 ranges = of_get_property(np, "interrupt-ranges", &len); in read_adapter_irq_config()
361 prop = of_get_property(np, "compatible", &len); in cxl_of_read_adapter_properties()
371 prop = of_get_property(np, "reg", NULL); in cxl_of_read_adapter_properties()
/linux-6.6.21/drivers/net/can/cc770/
Dcc770_platform.c78 prop = of_get_property(np, "bosch,external-clock-frequency", in cc770_get_of_node_data()
101 if (!of_get_property(np, "bosch,no-comperator-bypass", NULL)) in cc770_get_of_node_data()
112 prop = of_get_property(np, "bosch,clock-out-frequency", &prop_size); in cc770_get_of_node_data()
121 prop = of_get_property(np, "bosch,slew-rate", in cc770_get_of_node_data()

12345678910>>...17