/linux/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/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 | 170 prop = of_get_property(np, "linux,bootx-width", NULL); in btext_initialize() 172 prop = of_get_property(np, "width", NULL); in btext_initialize() 176 prop = of_get_property(np, "linux,bootx-height", NULL); in btext_initialize() 178 prop = of_get_property(np, "height", NULL); in btext_initialize() 182 prop = of_get_property(np, "linux,bootx-depth", NULL); in btext_initialize() 184 prop = of_get_property(np, "depth", NULL); in btext_initialize() 189 prop = of_get_property(np, "linux,bootx-linebytes", NULL); in btext_initialize() 191 prop = of_get_property(np, "linebytes", NULL); in btext_initialize() 196 prop = of_get_property(np, "linux,bootx-addr", NULL); in btext_initialize() 198 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/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/drivers/usb/misc/ |
A D | usb251xb.c | 413 if (of_get_property(np, "skip-config", NULL)) in usb251xb_get_ofdata() 438 if (of_get_property(np, "self-powered", NULL)) { in usb251xb_get_ofdata() 443 if (of_get_property(np, "ganged-sensing", NULL)) in usb251xb_get_ofdata() 454 if (of_get_property(np, "disable-hi-speed", NULL)) in usb251xb_get_ofdata() 457 if (of_get_property(np, "multi-tt", NULL)) in usb251xb_get_ofdata() 459 else if (of_get_property(np, "single-tt", NULL)) in usb251xb_get_ofdata() 462 if (of_get_property(np, "disable-eop", NULL)) in usb251xb_get_ofdata() 494 if (of_get_property(np, "compound-device", NULL)) in usb251xb_get_ofdata() 498 if (of_get_property(np, "port-mapping-mode", NULL)) in usb251xb_get_ofdata() 504 if (of_get_property(np, "string-support", NULL)) in usb251xb_get_ofdata() [all …]
|
/linux/drivers/video/fbdev/ |
A D | offb.c | 550 if (of_get_property(dp, "little-endian", NULL)) in offb_init_nodriver() 553 if (of_get_property(dp, "big-endian", NULL)) in offb_init_nodriver() 559 pp = of_get_property(dp, "depth", &len); in offb_init_nodriver() 565 pp = of_get_property(dp, "width", &len); in offb_init_nodriver() 571 pp = of_get_property(dp, "height", &len); in offb_init_nodriver() 577 pp = of_get_property(dp, "linebytes", &len); in offb_init_nodriver() 597 up = of_get_property(dp, "address", &len); in offb_init_nodriver() 640 vidp = of_get_property(dp, "vendor-id", NULL); in offb_init_nodriver() 641 didp = of_get_property(dp, "device-id", NULL); in offb_init_nodriver() 678 if (of_get_property(dp, "linux,opened", NULL) && in offb_init() [all …]
|
/linux/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() 136 partname = of_get_property(pp, "label", &len); in parse_fixed_partitions() 138 partname = of_get_property(pp, "name", &len); in parse_fixed_partitions() 141 if (of_get_property(pp, "read-only", &len)) in parse_fixed_partitions() 144 if (of_get_property(pp, "lock", &len)) in parse_fixed_partitions() 205 part = of_get_property(dp, "partitions", &plen); in parse_ofoldpart_partitions() 217 names = of_get_property(dp, "partition-names", &plen); in parse_ofoldpart_partitions()
|
/linux/arch/powerpc/platforms/cell/ |
A D | spu_manage.c | 41 prop = of_get_property(spe, "physical-id", &proplen); in find_spu_unit_number() 46 prop = of_get_property(spe, "unit-id", &proplen); in find_spu_unit_number() 51 prop = of_get_property(spe, "reg", &proplen); in find_spu_unit_number() 75 tmp = of_get_property(np, "isrc", NULL); in spu_map_interrupts_old() 80 tmp = of_get_property(np->parent->parent, "node-id", NULL); in spu_map_interrupts_old() 112 prop = of_get_property(n, name, &proplen); in spu_map_prop_old() 126 spu->name = of_get_property(node, "name", NULL); in spu_map_device_old() 130 prop = of_get_property(node, "local-store", NULL); in spu_map_device_old() 141 prop = of_get_property(node, "problem", NULL); in spu_map_device_old() 214 spu->name = of_get_property(np, "name", NULL); in spu_map_device() [all …]
|
/linux/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 | 48 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/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/drivers/cpufreq/ |
A D | pmac32-cpufreq.c | 381 const u32 *reg = of_get_property(np, "reg", NULL); in read_gpio() 480 freqs = of_get_property(cpunode, "bus-frequencies", &lenp); in pmac_cpufreq_init_MacRISC3() 486 ratio = of_get_property(cpunode, "processor-to-bus-ratio*2", in pmac_cpufreq_init_MacRISC3() 522 value = of_get_property(cpunode, "min-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3() 531 value = of_get_property(cpunode, "max-clock-frequency", NULL); in pmac_cpufreq_init_MacRISC3() 545 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_7447A() 575 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_750FX() 579 value = of_get_property(cpunode, "reduced-clock-frequency", NULL); in pmac_cpufreq_init_750FX() 624 value = of_get_property(cpunode, "clock-frequency", NULL); in pmac_cpufreq_setup() 631 of_get_property(cpunode, "dynamic-power-step", NULL) && in pmac_cpufreq_setup()
|
/linux/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()
|
A D | of_device_64.c | 50 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/arch/powerpc/platforms/powermac/ |
A D | setup.c | 112 pp = of_get_property(np, "model", NULL); in pmac_show_cpuinfo() 117 pp = of_get_property(np, "compatible", &plen); in pmac_show_cpuinfo() 142 of_get_property(np, "i-cache-size", NULL); in pmac_show_cpuinfo() 144 of_get_property(np, "d-cache-size", NULL); in pmac_show_cpuinfo() 147 if (of_get_property(np, "cache-unified", NULL) && dc) { in pmac_show_cpuinfo() 156 pp = of_get_property(np, "ram-type", NULL); in pmac_show_cpuinfo() 242 of_get_property(np, "l2cr-value", NULL); in l2cr_init() 276 fp = of_get_property(cpu, "clock-frequency", NULL); in pmac_setup_arch() 539 name = of_get_property(of_chosen, "linux,stdout-path", NULL); in check_pmac_serial_console()
|
/linux/arch/powerpc/platforms/chrp/ |
A D | setup.c | 105 model = of_get_property(root, "model", NULL); in chrp_show_cpuinfo() 203 model = of_get_property(root, "model", NULL); in sio_init() 226 const unsigned int *l2cr = of_get_property(np, "l2cr", NULL); in pegasos_set_l2cr() 269 property = of_get_property(node, "model", NULL); in chrp_init() 275 property = of_get_property(of_chosen, "linux,stdout-path", NULL); in chrp_init() 304 machine = of_get_property(root, "model", NULL); in chrp_setup_arch() 378 opprop = of_get_property(root, "platform-open-pic", &oplen); in chrp_find_openpic() 395 iranges = of_get_property(np, "interrupt-ranges", &len); in chrp_find_openpic() 471 const unsigned int *addrp = of_get_property(np, in chrp_find_8259()
|
/linux/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/arch/powerpc/platforms/52xx/ |
A D | efika.c | 97 bus_range = of_get_property(pcictrl, "bus-range", &len); in efika_pcisetup() 153 revision = of_get_property(root, "revision", NULL); in efika_show_cpuinfo() 154 codegendescription = of_get_property(root, "CODEGEN,description", NULL); in efika_show_cpuinfo() 155 codegenvendor = of_get_property(root, "CODEGEN,vendor", NULL); in efika_show_cpuinfo() 199 const char *model = of_get_property(of_root, "model", NULL); in efika_probe()
|
/linux/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/drivers/usb/host/ |
A D | fsl-mph-dr-of.c | 47 prop = of_get_property(np, "dr_mode", NULL); in get_dr_mode_data() 201 if (of_get_property(np, "port0", NULL)) in fsl_usb2_mph_dr_of_probe() 204 if (of_get_property(np, "port1", NULL)) in fsl_usb2_mph_dr_of_probe() 209 if (of_get_property(np, "fsl,invert-drvvbus", NULL)) in fsl_usb2_mph_dr_of_probe() 212 if (of_get_property(np, "fsl,invert-pwr-fault", NULL)) in fsl_usb2_mph_dr_of_probe() 219 prop = of_get_property(np, "phy_type", NULL); in fsl_usb2_mph_dr_of_probe()
|
/linux/sound/soc/codecs/ |
A D | sta350.c | 1113 if (of_get_property(np, "st,thermal-warning-recovery", NULL)) in sta350_probe_dt() 1117 if (of_get_property(np, "st,fault-detect-recovery", NULL)) in sta350_probe_dt() 1144 if (of_get_property(np, "st,max-power-use-mpcc", NULL)) in sta350_probe_dt() 1147 if (of_get_property(np, "st,max-power-correction", NULL)) in sta350_probe_dt() 1150 if (of_get_property(np, "st,am-reduction-mode", NULL)) in sta350_probe_dt() 1153 if (of_get_property(np, "st,odd-pwm-speed-mode", NULL)) in sta350_probe_dt() 1156 if (of_get_property(np, "st,distortion-compensation", NULL)) in sta350_probe_dt() 1164 if (of_get_property(np, "st,activate-mute-output", NULL)) in sta350_probe_dt() 1167 if (of_get_property(np, "st,bridge-immediate-off", NULL)) in sta350_probe_dt() 1170 if (of_get_property(np, "st,noise-shape-dc-cut", NULL)) in sta350_probe_dt() [all …]
|