/Linux-v4.19/drivers/usb/misc/ |
D | usb251xb.c | 350 if (of_get_property(np, "skip-config", NULL)) in usb251xb_get_ofdata() 375 if (of_get_property(np, "self-powered", NULL)) { in usb251xb_get_ofdata() 380 if (of_get_property(np, "ganged-sensing", NULL)) in usb251xb_get_ofdata() 382 else if (of_get_property(np, "individual-sensing", NULL)) in usb251xb_get_ofdata() 384 } else if (of_get_property(np, "bus-powered", NULL)) { in usb251xb_get_ofdata() 391 if (of_get_property(np, "disable-hi-speed", NULL)) in usb251xb_get_ofdata() 394 if (of_get_property(np, "multi-tt", NULL)) in usb251xb_get_ofdata() 396 else if (of_get_property(np, "single-tt", NULL)) in usb251xb_get_ofdata() 399 if (of_get_property(np, "disable-eop", NULL)) in usb251xb_get_ofdata() 402 if (of_get_property(np, "individual-port-switching", NULL)) in usb251xb_get_ofdata() [all …]
|
/Linux-v4.19/drivers/net/can/cc770/ |
D | cc770_platform.c | 86 prop = of_get_property(np, "bosch,external-clock-frequency", in cc770_get_of_node_data() 104 if (of_get_property(np, "bosch,divide-memory-clock", NULL)) in cc770_get_of_node_data() 106 if (of_get_property(np, "bosch,iso-low-speed-mux", NULL)) in cc770_get_of_node_data() 109 if (!of_get_property(np, "bosch,no-comperator-bypass", NULL)) in cc770_get_of_node_data() 111 if (of_get_property(np, "bosch,disconnect-rx0-input", NULL)) in cc770_get_of_node_data() 113 if (of_get_property(np, "bosch,disconnect-rx1-input", NULL)) in cc770_get_of_node_data() 115 if (of_get_property(np, "bosch,disconnect-tx1-output", NULL)) in cc770_get_of_node_data() 117 if (of_get_property(np, "bosch,polarity-dominant", NULL)) in cc770_get_of_node_data() 120 prop = of_get_property(np, "bosch,clock-out-frequency", &prop_size); in cc770_get_of_node_data() 129 prop = of_get_property(np, "bosch,slew-rate", in cc770_get_of_node_data()
|
/Linux-v4.19/drivers/mtd/ |
D | ofpart.c | 25 return of_get_property(pp, "compatible", NULL); in node_has_compatible() 87 reg = of_get_property(pp, "reg", &len); in parse_fixed_partitions() 113 partname = of_get_property(pp, "label", &len); in parse_fixed_partitions() 115 partname = of_get_property(pp, "name", &len); in parse_fixed_partitions() 118 if (of_get_property(pp, "read-only", &len)) in parse_fixed_partitions() 121 if (of_get_property(pp, "lock", &len)) in parse_fixed_partitions() 172 part = of_get_property(dp, "partitions", &plen); in parse_ofoldpart_partitions() 184 names = of_get_property(dp, "partition-names", &plen); in parse_ofoldpart_partitions()
|
/Linux-v4.19/drivers/misc/lis3lv02d/ |
D | lis3lv02d.c | 963 if (of_get_property(np, "st,click-single-x", NULL)) in lis3lv02d_init_dt() 965 if (of_get_property(np, "st,click-double-x", NULL)) in lis3lv02d_init_dt() 968 if (of_get_property(np, "st,click-single-y", NULL)) in lis3lv02d_init_dt() 970 if (of_get_property(np, "st,click-double-y", NULL)) in lis3lv02d_init_dt() 973 if (of_get_property(np, "st,click-single-z", NULL)) in lis3lv02d_init_dt() 975 if (of_get_property(np, "st,click-double-z", NULL)) in lis3lv02d_init_dt() 992 if (of_get_property(np, "st,irq1-disable", NULL)) in lis3lv02d_init_dt() 994 if (of_get_property(np, "st,irq1-ff-wu-1", NULL)) in lis3lv02d_init_dt() 996 if (of_get_property(np, "st,irq1-ff-wu-2", NULL)) in lis3lv02d_init_dt() 998 if (of_get_property(np, "st,irq1-data-ready", NULL)) in lis3lv02d_init_dt() [all …]
|
/Linux-v4.19/arch/powerpc/kernel/ |
D | legacy_serial.c | 84 clk = of_get_property(np, "clock-frequency", NULL); in add_legacy_port() 89 spd = of_get_property(np, "current-speed", NULL); in add_legacy_port() 92 rs = of_get_property(np, "reg-shift", NULL); in add_legacy_port() 172 if (of_get_property(np, "clock-frequency", NULL) == NULL) in add_legacy_soc_port() 176 if ((of_get_property(np, "reg-offset", NULL) != NULL)) in add_legacy_soc_port() 180 if (of_get_property(np, "used-by-rtas", NULL) != NULL) in add_legacy_soc_port() 214 reg = of_get_property(np, "reg", NULL); in add_legacy_isa_port() 225 typep = of_get_property(np, "ibm,aix-loc", NULL); in add_legacy_isa_port() 238 of_get_property(isa_brg, "ranges", NULL)) { in add_legacy_isa_port() 269 if (of_get_property(np, "clock-frequency", NULL) == NULL) in add_legacy_pci_port() [all …]
|
D | btext.c | 179 prop = of_get_property(np, "linux,bootx-width", NULL); in btext_initialize() 181 prop = of_get_property(np, "width", NULL); in btext_initialize() 185 prop = of_get_property(np, "linux,bootx-height", NULL); in btext_initialize() 187 prop = of_get_property(np, "height", NULL); in btext_initialize() 191 prop = of_get_property(np, "linux,bootx-depth", NULL); in btext_initialize() 193 prop = of_get_property(np, "depth", NULL); in btext_initialize() 198 prop = of_get_property(np, "linux,bootx-linebytes", NULL); in btext_initialize() 200 prop = of_get_property(np, "linebytes", NULL); in btext_initialize() 205 prop = of_get_property(np, "linux,bootx-addr", NULL); in btext_initialize() 207 prop = of_get_property(np, "address", NULL); in btext_initialize() [all …]
|
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()
|
D | pci_of_scan.c | 30 prop = of_get_property(np, name, &len); in get_int_prop() 84 addrs = of_get_property(node, "assigned-addresses", &proplen); in of_pci_parse_addrs() 133 type = of_get_property(node, "device_type", NULL); in of_create_pci_dev() 217 busrange = of_get_property(node, "bus-range", &len); in of_scan_pci_bridge() 223 ranges = of_get_property(node, "ranges", &len); in of_scan_pci_bridge() 314 reg = of_get_property(dn, "reg", ®len); in of_scan_pci_dev()
|
/Linux-v4.19/drivers/video/fbdev/ |
D | offb.c | 357 vid = of_get_property(pciparent, "vendor-id", NULL); in offb_init_palette_hacks() 358 did = of_get_property(pciparent, "device-id", NULL); in offb_init_palette_hacks() 544 if (of_get_property(dp, "little-endian", NULL)) in offb_init_nodriver() 547 if (of_get_property(dp, "big-endian", NULL)) in offb_init_nodriver() 551 pp = of_get_property(dp, "linux,bootx-depth", &len); in offb_init_nodriver() 553 pp = of_get_property(dp, "depth", &len); in offb_init_nodriver() 557 pp = of_get_property(dp, "linux,bootx-width", &len); in offb_init_nodriver() 559 pp = of_get_property(dp, "width", &len); in offb_init_nodriver() 563 pp = of_get_property(dp, "linux,bootx-height", &len); in offb_init_nodriver() 565 pp = of_get_property(dp, "height", &len); in offb_init_nodriver() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/cell/ |
D | spu_manage.c | 53 prop = of_get_property(spe, "physical-id", &proplen); in find_spu_unit_number() 58 prop = of_get_property(spe, "unit-id", &proplen); in find_spu_unit_number() 63 prop = of_get_property(spe, "reg", &proplen); in find_spu_unit_number() 87 tmp = of_get_property(np, "isrc", NULL); in spu_map_interrupts_old() 92 tmp = of_get_property(np->parent->parent, "node-id", NULL); in spu_map_interrupts_old() 124 prop = of_get_property(n, name, &proplen); in spu_map_prop_old() 138 spu->name = of_get_property(node, "name", NULL); in spu_map_device_old() 142 prop = of_get_property(node, "local-store", NULL); in spu_map_device_old() 153 prop = of_get_property(node, "problem", NULL); in spu_map_device_old() 239 spu->name = of_get_property(np, "name", NULL); in spu_map_device() [all …]
|
/Linux-v4.19/arch/powerpc/sysdev/ |
D | dcr.c | 34 if (of_get_property(par, "dcr-controller", NULL)) in find_dcr_parent() 36 p = of_get_property(par, "dcr-parent", NULL); in find_dcr_parent() 75 prop = of_get_property(dp, "dcr-access-method", NULL); in dcr_map_generic() 132 const u32 *dr = of_get_property(np, "dcr-reg", &ds); in dcr_resource_start() 144 const u32 *dr = of_get_property(np, "dcr-reg", &ds); in dcr_resource_len() 169 p = of_get_property(dp, "dcr-mmio-stride", NULL); in of_translate_dcr_address() 173 p = of_get_property(dp, "dcr-mmio-range", NULL); in of_translate_dcr_address() 175 p = of_get_property(dp, "dcr-mmio-space", NULL); in of_translate_dcr_address()
|
D | tsi108_dev.c | 51 const void *prop = of_get_property(tsi, "reg", &size); in get_csrbase() 111 ph = of_get_property(np, "mdio-handle", NULL); in tsi108_eth_of_init() 118 ph = of_get_property(np, "phy-handle", NULL); in tsi108_eth_of_init() 126 phy_id = of_get_property(phy, "reg", NULL); in tsi108_eth_of_init() 141 if (of_get_property(phy, "txc-rxc-delay-disable", NULL)) in tsi108_eth_of_init()
|
D | scom.c | 38 if (of_get_property(par, "scom-controller", NULL)) in scom_find_parent() 40 p = of_get_property(par, "scom-parent", NULL); in scom_find_parent() 74 prop = of_get_property(dev, "scom-reg", &size); in scom_map_device() 75 sprop = of_get_property(parent, "#scom-cells", NULL); in scom_map_device() 77 prop = of_get_property(dev, "reg", &size); in scom_map_device() 78 sprop = of_get_property(parent, "#address-cells", NULL); in scom_map_device()
|
/Linux-v4.19/arch/powerpc/platforms/chrp/ |
D | setup.c | 106 model = of_get_property(root, "model", NULL); in chrp_show_cpuinfo() 204 model = of_get_property(root, "model", NULL); in sio_init() 227 const unsigned int *l2cr = of_get_property(np, "l2cr", NULL); in pegasos_set_l2cr() 270 property = of_get_property(node, "model", NULL); in chrp_init() 276 property = of_get_property(of_chosen, "linux,stdout-path", NULL); in chrp_init() 283 property = of_get_property(node, "device_type", NULL); in chrp_init() 293 property = of_get_property(node, "name", NULL); in chrp_init() 311 machine = of_get_property(root, "model", NULL); in chrp_setup_arch() 396 opprop = of_get_property(root, "platform-open-pic", &oplen); in chrp_find_openpic() 413 iranges = of_get_property(np, "interrupt-ranges", &len); in chrp_find_openpic() [all …]
|
/Linux-v4.19/arch/powerpc/platforms/83xx/ |
D | usb.c | 49 prop = of_get_property(np, "phy_type", NULL); in mpc834x_usb_cfg() 57 dr_mode = of_get_property(np, "dr_mode", NULL); in mpc834x_usb_cfg() 75 prop = of_get_property(np, "port0", NULL); in mpc834x_usb_cfg() 82 prop = of_get_property(np, "port1", NULL); in mpc834x_usb_cfg() 119 prop = of_get_property(np, "phy_type", NULL); in mpc831x_usb_cfg() 197 dr_mode = of_get_property(np, "dr_mode", NULL); in mpc831x_usb_cfg() 226 prop = of_get_property(np, "phy_type", NULL); in mpc837x_usb_cfg()
|
/Linux-v4.19/arch/powerpc/platforms/powermac/ |
D | setup.c | 120 pp = of_get_property(np, "model", NULL); in pmac_show_cpuinfo() 125 pp = of_get_property(np, "compatible", &plen); in pmac_show_cpuinfo() 150 of_get_property(np, "i-cache-size", NULL); in pmac_show_cpuinfo() 152 of_get_property(np, "d-cache-size", NULL); in pmac_show_cpuinfo() 155 if (of_get_property(np, "cache-unified", NULL) && dc) { in pmac_show_cpuinfo() 164 pp = of_get_property(np, "ram-type", NULL); in pmac_show_cpuinfo() 251 of_get_property(np, "l2cr-value", NULL); in l2cr_init() 284 fp = of_get_property(cpu, "clock-frequency", NULL); in pmac_setup_arch() 550 name = of_get_property(of_chosen, "linux,stdout-path", NULL); in check_pmac_serial_console() 562 name = of_get_property(prom_stdout, "name", NULL); in check_pmac_serial_console()
|
/Linux-v4.19/drivers/cpufreq/ |
D | pmac32-cpufreq.c | 384 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() 578 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) in pmac_cpufreq_init_750FX() 582 value = of_get_property(cpunode, "reduced-clock-frequency", NULL); in pmac_cpufreq_init_750FX() 626 value = of_get_property(cpunode, "clock-frequency", NULL); in pmac_cpufreq_setup() 633 of_get_property(cpunode, "dynamic-power-step", NULL) && in pmac_cpufreq_setup()
|
/Linux-v4.19/arch/sparc/kernel/ |
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() 283 busrange = of_get_property(dp, "bus-range", 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() [all …]
|
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-v4.19/arch/powerpc/platforms/maple/ |
D | setup.c | 113 maple_nvram_offset = of_get_property(sp, "restart-addr", NULL); in maple_restart() 114 maple_nvram_command = of_get_property(sp, "restart-value", NULL); in maple_restart() 141 maple_nvram_offset = of_get_property(sp, "power-off-addr", NULL); in maple_power_off() 142 maple_nvram_command = of_get_property(sp, "power-off-value", NULL); in maple_power_off() 239 opprop = of_get_property(root, "platform-open-pic", &opplen); in maple_init_IRQ() 250 if (of_get_property(np, "big-endian", NULL) != NULL) in maple_init_IRQ()
|
/Linux-v4.19/drivers/mmc/host/ |
D | sdhci-pltfm.c | 57 if (of_get_property(np, "sdhci,wp-inverted", NULL) || in sdhci_of_wp_inverted() 58 of_get_property(np, "wp-inverted", NULL)) in sdhci_of_wp_inverted() 76 if (of_get_property(np, "sdhci,auto-cmd12", NULL)) in sdhci_get_of_property() 79 if (of_get_property(np, "sdhci,1-bit-only", NULL) || in sdhci_get_of_property() 87 if (of_get_property(np, "broken-cd", NULL)) in sdhci_get_of_property() 90 if (of_get_property(np, "no-1-8-v", NULL)) in sdhci_get_of_property()
|
/Linux-v4.19/arch/powerpc/platforms/52xx/ |
D | efika.c | 99 bus_range = of_get_property(pcictrl, "bus-range", &len); in efika_pcisetup() 155 revision = of_get_property(root, "revision", NULL); in efika_show_cpuinfo() 156 codegendescription = of_get_property(root, "CODEGEN,description", NULL); in efika_show_cpuinfo() 157 codegenvendor = of_get_property(root, "CODEGEN,vendor", NULL); in efika_show_cpuinfo() 203 const char *model = of_get_property(of_root, "model", NULL); in efika_probe()
|
/Linux-v4.19/drivers/video/fbdev/nvidia/ |
D | nv_of.c | 47 pname = of_get_property(dp, "name", NULL); in nvidia_probe_of_connector() 54 pedid = of_get_property(dp, in nvidia_probe_of_connector() 66 pedid = of_get_property(parent, propnames[i], NULL); in nvidia_probe_of_connector()
|
/Linux-v4.19/drivers/usb/host/ |
D | fsl-mph-dr-of.c | 47 prop = of_get_property(np, "dr_mode", NULL); in get_dr_mode_data() 198 if (of_get_property(np, "port0", NULL)) in fsl_usb2_mph_dr_of_probe() 201 if (of_get_property(np, "port1", NULL)) in fsl_usb2_mph_dr_of_probe() 206 if (of_get_property(np, "fsl,invert-drvvbus", NULL)) in fsl_usb2_mph_dr_of_probe() 209 if (of_get_property(np, "fsl,invert-pwr-fault", NULL)) in fsl_usb2_mph_dr_of_probe() 216 prop = of_get_property(np, "phy_type", NULL); in fsl_usb2_mph_dr_of_probe()
|
/Linux-v4.19/drivers/iommu/ |
D | of_iommu.c | 61 dma_window = of_get_property(dn, propname, &bytes); in of_get_dma_window() 74 prop = of_get_property(dn, addrname, NULL); in of_get_dma_window() 76 prop = of_get_property(dn, "#address-cells", NULL); in of_get_dma_window() 84 prop = of_get_property(dn, sizename, NULL); in of_get_dma_window()
|