/linux-6.3-rc2/drivers/net/can/cc770/ |
A D | cc770_platform.c | 78 prop = of_get_property(np, "bosch,external-clock-frequency", in cc770_get_of_node_data() 96 if (of_get_property(np, "bosch,divide-memory-clock", NULL)) in cc770_get_of_node_data() 98 if (of_get_property(np, "bosch,iso-low-speed-mux", NULL)) in cc770_get_of_node_data() 101 if (!of_get_property(np, "bosch,no-comperator-bypass", NULL)) in cc770_get_of_node_data() 103 if (of_get_property(np, "bosch,disconnect-rx0-input", NULL)) in cc770_get_of_node_data() 105 if (of_get_property(np, "bosch,disconnect-rx1-input", NULL)) in cc770_get_of_node_data() 107 if (of_get_property(np, "bosch,disconnect-tx1-output", NULL)) in cc770_get_of_node_data() 109 if (of_get_property(np, "bosch,polarity-dominant", 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()
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | legacy_serial.c | 86 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() 174 if (of_get_property(np, "clock-frequency", NULL) == NULL) in add_legacy_soc_port() 178 if ((of_get_property(np, "reg-offset", NULL) != NULL)) in add_legacy_soc_port() 182 if (of_get_property(np, "used-by-rtas", NULL) != NULL) in add_legacy_soc_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() 240 of_get_property(isa_brg, "ranges", NULL)) { in add_legacy_isa_port() 297 const __be32 *reg = of_get_property(np, "reg", NULL); in add_legacy_pci_port() [all …]
|
A D | btext.c | 169 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() [all …]
|
A D | prom_parse.c | 22 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()
|
/linux-6.3-rc2/drivers/misc/lis3lv02d/ |
A D | lis3lv02d.c | 997 if (of_get_property(np, "st,irq1-disable", NULL)) in lis3lv02d_init_dt() 999 if (of_get_property(np, "st,irq1-ff-wu-1", NULL)) in lis3lv02d_init_dt() 1001 if (of_get_property(np, "st,irq1-ff-wu-2", NULL)) in lis3lv02d_init_dt() 1005 if (of_get_property(np, "st,irq1-click", NULL)) in lis3lv02d_init_dt() 1016 if (of_get_property(np, "st,irq2-click", NULL)) in lis3lv02d_init_dt() 1029 if (of_get_property(np, "st,wakeup-x-lo", NULL)) in lis3lv02d_init_dt() 1031 if (of_get_property(np, "st,wakeup-x-hi", NULL)) in lis3lv02d_init_dt() 1033 if (of_get_property(np, "st,wakeup-y-lo", NULL)) in lis3lv02d_init_dt() 1035 if (of_get_property(np, "st,wakeup-y-hi", NULL)) in lis3lv02d_init_dt() 1037 if (of_get_property(np, "st,wakeup-z-lo", NULL)) in lis3lv02d_init_dt() [all …]
|
/linux-6.3-rc2/drivers/usb/misc/ |
A D | usb251xb.c | 413 if (of_get_property(np, "skip-config", NULL)) in usb251xb_get_ofdata() 434 if (of_get_property(np, "self-powered", NULL)) { in usb251xb_get_ofdata() 439 if (of_get_property(np, "ganged-sensing", NULL)) in usb251xb_get_ofdata() 450 if (of_get_property(np, "disable-hi-speed", NULL)) in usb251xb_get_ofdata() 453 if (of_get_property(np, "multi-tt", NULL)) in usb251xb_get_ofdata() 455 else if (of_get_property(np, "single-tt", NULL)) in usb251xb_get_ofdata() 458 if (of_get_property(np, "disable-eop", NULL)) in usb251xb_get_ofdata() 490 if (of_get_property(np, "compound-device", NULL)) in usb251xb_get_ofdata() 494 if (of_get_property(np, "port-mapping-mode", NULL)) in usb251xb_get_ofdata() 500 if (of_get_property(np, "string-support", NULL)) in usb251xb_get_ofdata() [all …]
|
/linux-6.3-rc2/drivers/mtd/parsers/ |
A D | ofpart_core.c | 38 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.3-rc2/arch/powerpc/platforms/cell/ |
A D | spu_manage.c | 42 prop = of_get_property(spe, "physical-id", &proplen); in find_spu_unit_number() 47 prop = of_get_property(spe, "unit-id", &proplen); in find_spu_unit_number() 52 prop = of_get_property(spe, "reg", &proplen); in find_spu_unit_number() 76 tmp = of_get_property(np, "isrc", NULL); in spu_map_interrupts_old() 81 tmp = of_get_property(np->parent->parent, "node-id", NULL); in spu_map_interrupts_old() 113 prop = of_get_property(n, name, &proplen); in spu_map_prop_old() 127 spu->name = of_get_property(node, "name", NULL); in spu_map_device_old() 131 prop = of_get_property(node, "local-store", NULL); in spu_map_device_old() 142 prop = of_get_property(node, "problem", NULL); in spu_map_device_old() 215 spu->name = of_get_property(np, "name", NULL); in spu_map_device() [all …]
|
/linux-6.3-rc2/arch/powerpc/sysdev/ |
A D | dcr.c | 21 if (of_get_property(par, "dcr-controller", NULL)) in find_dcr_parent() 23 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()
|
A D | tsi108_dev.c | 49 const void *prop = of_get_property(tsi, "reg", &size); in get_csrbase() 105 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() 135 if (of_get_property(phy, "txc-rxc-delay-disable", NULL)) in tsi108_eth_of_init()
|
/linux-6.3-rc2/arch/powerpc/platforms/83xx/ |
A D | usb.c | 45 prop = of_get_property(np, "phy_type", NULL); in mpc834x_usb_cfg() 53 dr_mode = of_get_property(np, "dr_mode", NULL); in mpc834x_usb_cfg() 71 prop = of_get_property(np, "port0", NULL); in mpc834x_usb_cfg() 78 prop = of_get_property(np, "port1", NULL); in mpc834x_usb_cfg() 115 prop = of_get_property(np, "phy_type", NULL); in mpc831x_usb_cfg() 193 dr_mode = of_get_property(np, "dr_mode", NULL); in mpc831x_usb_cfg() 224 prop = of_get_property(np, "phy_type", NULL); in mpc837x_usb_cfg()
|
/linux-6.3-rc2/arch/sparc/kernel/ |
A D | prom_32.c | 59 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()
|
A D | prom_irqtrans.c | 80 regs = of_get_property(dp, "reg", NULL); in psycho_irq_trans_init() 204 parent_model = of_get_property(parent, in sabre_device_needs_wsync() 211 parent_compat = of_get_property(parent, in sabre_device_needs_wsync() 258 regs = of_get_property(dp, "reg", NULL); in sabre_irq_build() 280 regs = of_get_property(dp, "reg", NULL); in sabre_irq_trans_init() 437 regs = of_get_property(dp, "reg", NULL); in __schizo_irq_trans_init() 475 regs = of_get_property(dp, "reg", NULL); in pci_sun4v_irq_trans_init() 552 regs = of_get_property(dp, "reg", NULL); in fire_irq_trans_init() 660 regs = of_get_property(dp, "reg", NULL); in sbus_of_build_irq() 712 regs = of_get_property(dp, "reg", NULL); in sbus_irq_trans_init() [all …]
|
A D | prom_64.c | 68 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 …]
|
A D | pci_msi.c | 326 val = of_get_property(pbm->op->dev.of_node, "#msi-eqs", &len); in sparc64_pbm_msi_init() 349 val = of_get_property(pbm->op->dev.of_node, "msi-eq-size", &len); in sparc64_pbm_msi_init() 355 mqp = of_get_property(pbm->op->dev.of_node, in sparc64_pbm_msi_init() 358 mqp = of_get_property(pbm->op->dev.of_node, in sparc64_pbm_msi_init() 366 val = of_get_property(pbm->op->dev.of_node, "#msi", &len); in sparc64_pbm_msi_init() 371 mrng = of_get_property(pbm->op->dev.of_node, "msi-ranges", &len); in sparc64_pbm_msi_init() 376 val = of_get_property(pbm->op->dev.of_node, "msi-data-mask", &len); in sparc64_pbm_msi_init() 381 val = of_get_property(pbm->op->dev.of_node, "msix-data-width", &len); in sparc64_pbm_msi_init() 386 arng = of_get_property(pbm->op->dev.of_node, "msi-address-ranges", in sparc64_pbm_msi_init()
|
/linux-6.3-rc2/drivers/cpufreq/ |
A D | pmac32-cpufreq.c | 381 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() 549 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_7447A() 579 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_750FX() 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() 635 of_get_property(cpunode, "dynamic-power-step", NULL) && in pmac_cpufreq_setup()
|
A D | pmac64-cpufreq.c | 364 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.3-rc2/arch/powerpc/platforms/powermac/ |
A D | setup.c | 105 pp = of_get_property(np, "model", NULL); in pmac_show_cpuinfo() 110 pp = of_get_property(np, "compatible", &plen); in pmac_show_cpuinfo() 135 of_get_property(np, "i-cache-size", NULL); in pmac_show_cpuinfo() 137 of_get_property(np, "d-cache-size", NULL); in pmac_show_cpuinfo() 140 if (of_get_property(np, "cache-unified", NULL) && dc) { in pmac_show_cpuinfo() 149 pp = of_get_property(np, "ram-type", NULL); in pmac_show_cpuinfo() 235 of_get_property(np, "l2cr-value", NULL); in l2cr_init() 263 fp = of_get_property(cpu, "clock-frequency", NULL); in pmac_setup_arch() 519 name = of_get_property(of_chosen, "linux,stdout-path", NULL); in check_pmac_serial_console()
|
/linux-6.3-rc2/arch/powerpc/platforms/chrp/ |
A D | setup.c | 107 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()
|
/linux-6.3-rc2/arch/powerpc/platforms/maple/ |
A D | setup.c | 107 maple_nvram_offset = of_get_property(sp, "restart-addr", NULL); in maple_restart() 108 maple_nvram_command = of_get_property(sp, "restart-value", NULL); in maple_restart() 135 maple_nvram_offset = of_get_property(sp, "power-off-addr", NULL); in maple_power_off() 136 maple_nvram_command = of_get_property(sp, "power-off-value", NULL); in maple_power_off() 227 opprop = of_get_property(root, "platform-open-pic", &opplen); in maple_init_IRQ() 238 if (of_get_property(np, "big-endian", NULL) != NULL) in maple_init_IRQ()
|
/linux-6.3-rc2/drivers/video/fbdev/ |
A D | offb.c | 552 if (of_get_property(dp, "little-endian", NULL)) in offb_init_nodriver() 555 if (of_get_property(dp, "big-endian", NULL)) in offb_init_nodriver() 559 pp = of_get_property(dp, "linux,bootx-depth", &len); in offb_init_nodriver() 561 pp = of_get_property(dp, "depth", &len); in offb_init_nodriver() 567 pp = of_get_property(dp, "width", &len); in offb_init_nodriver() 573 pp = of_get_property(dp, "height", &len); in offb_init_nodriver() 579 pp = of_get_property(dp, "linebytes", &len); in offb_init_nodriver() 597 up = of_get_property(dp, "linux,bootx-addr", &len); in offb_init_nodriver() 599 up = of_get_property(dp, "address", &len); in offb_init_nodriver() 642 vidp = of_get_property(dp, "vendor-id", NULL); in offb_init_nodriver() [all …]
|
/linux-6.3-rc2/arch/powerpc/platforms/52xx/ |
A D | efika.c | 96 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.3-rc2/drivers/video/fbdev/nvidia/ |
A D | nv_of.c | 46 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.3-rc2/drivers/usb/host/ |
A D | fsl-mph-dr-of.c | 47 prop = of_get_property(np, "dr_mode", NULL); in get_dr_mode_data() 203 if (of_get_property(np, "port0", NULL)) in fsl_usb2_mph_dr_of_probe() 206 if (of_get_property(np, "port1", NULL)) in fsl_usb2_mph_dr_of_probe() 211 if (of_get_property(np, "fsl,invert-drvvbus", NULL)) in fsl_usb2_mph_dr_of_probe() 214 if (of_get_property(np, "fsl,invert-pwr-fault", NULL)) in fsl_usb2_mph_dr_of_probe() 221 prop = of_get_property(np, "phy_type", NULL); in fsl_usb2_mph_dr_of_probe()
|
/linux-6.3-rc2/drivers/misc/cxl/ |
A D | of.c | 21 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()
|