Searched refs:of_get_property (Results 1 - 200 of 476) sorted by relevance

123

/linux-4.1.27/arch/powerpc/kernel/
H A Dprom_parse.c21 prop = of_get_property(dn, "ibm,#dma-address-cells", NULL); of_parse_dma_window()
23 prop = of_get_property(dn, "#address-cells", NULL); of_parse_dma_window()
30 prop = of_get_property(dn, "ibm,#dma-size-cells", NULL); of_parse_dma_window()
H A Dlegacy_serial.c83 clk = of_get_property(np, "clock-frequency", NULL); add_legacy_port()
88 spd = of_get_property(np, "current-speed", NULL); add_legacy_port()
91 rs = of_get_property(np, "reg-shift", NULL); add_legacy_port()
171 if (of_get_property(np, "clock-frequency", NULL) == NULL) add_legacy_soc_port()
175 if ((of_get_property(np, "reg-offset", NULL) != NULL)) add_legacy_soc_port()
179 if (of_get_property(np, "used-by-rtas", NULL) != NULL) add_legacy_soc_port()
213 reg = of_get_property(np, "reg", NULL); add_legacy_isa_port()
224 typep = of_get_property(np, "ibm,aix-loc", NULL); add_legacy_isa_port()
267 if (of_get_property(np, "clock-frequency", NULL) == NULL) add_legacy_pci_port()
293 const __be32 *reg = of_get_property(np, "reg", NULL); add_legacy_pci_port()
372 path = of_get_property(of_chosen, "linux,stdout-path", NULL); find_legacy_serial_ports()
595 name = of_get_property(of_chosen, "linux,stdout-path", NULL); check_legacy_serial_console()
607 name = of_get_property(prom_stdout, "name", NULL); check_legacy_serial_console()
612 spd = of_get_property(prom_stdout, "current-speed", NULL); check_legacy_serial_console()
H A Dpci_of_scan.c30 prop = of_get_property(np, name, &len); get_int_prop()
84 addrs = of_get_property(node, "assigned-addresses", &proplen); of_pci_parse_addrs()
134 type = of_get_property(node, "device_type", NULL); of_create_pci_dev()
221 busrange = of_get_property(node, "bus-range", &len); of_scan_pci_bridge()
227 ranges = of_get_property(node, "ranges", &len); of_scan_pci_bridge()
318 reg = of_get_property(dn, "reg", &reglen); of_scan_pci_dev()
H A Dpci_32.c78 bus_range = of_get_property(node, "bus-range", &len); make_one_node_map()
90 class_code = of_get_property(node, "class-code", NULL); for_each_child_of_node()
94 reg = of_get_property(node, "reg", NULL); for_each_child_of_node()
166 reg = of_get_property(node, "reg", &size); pci_device_from_OF_node()
H A Dpci_dn.c275 const __be32 *type = of_get_property(dn, "ibm,pci-config-space-type", NULL); update_dn_pci_info()
289 regs = of_get_property(dn, "reg", NULL); update_dn_pci_info()
299 regs = of_get_property(dn, "vendor-id", NULL); update_dn_pci_info()
301 regs = of_get_property(dn, "device-id", NULL); update_dn_pci_info()
303 regs = of_get_property(dn, "class-code", NULL); update_dn_pci_info()
350 classp = of_get_property(dn, "class-code", NULL); traverse_pci_devices()
H A Dcrash_dump.c132 basep = of_get_property(rtas.dev, "linux,rtas-base", NULL); crash_free_reserved_phys_range()
133 sizep = of_get_property(rtas.dev, "rtas-size", NULL); crash_free_reserved_phys_range()
H A Dsetup_64.c164 smt_option = of_get_property(dn, "ibm,smt-enabled", check_smt_enabled()
393 sizep = of_get_property(np, "d-cache-size", NULL); initialize_cache_info()
396 lsizep = of_get_property(np, "d-cache-block-size", initialize_cache_info()
400 lsizep = of_get_property(np, initialize_cache_info()
416 sizep = of_get_property(np, "i-cache-size", NULL); initialize_cache_info()
419 lsizep = of_get_property(np, "i-cache-block-size", initialize_cache_info()
422 lsizep = of_get_property(np, initialize_cache_info()
H A Drtas.c222 if ((p = of_get_property(root, rtas_progress()
225 if ((p = of_get_property(root, rtas_progress()
228 if ((p = of_get_property(root, rtas_progress()
231 row_width = of_get_property(root, rtas_progress()
328 tokp = of_get_property(rtas.dev, service, NULL); rtas_token()
612 indicators = of_get_property(rtas.dev, "rtas-indicators", &proplen); rtas_indicator_present()
1137 basep = of_get_property(rtas.dev, "linux,rtas-base", NULL); rtas_initialize()
1138 sizep = of_get_property(rtas.dev, "rtas-size", NULL); rtas_initialize()
1142 entryp = of_get_property(rtas.dev, rtas_initialize()
H A Drtas_pci.c184 const char *model = of_get_property(dev, "model", NULL); is_python()
254 bus_range = of_get_property(dev, "bus-range", &len); phb_set_bus_ranges()
H A Dcacheinfo.c212 cache_size = of_get_property(cache->ofnode, propname, NULL); cache_size()
243 line_size = of_get_property(cache->ofnode, propname, NULL); cache_get_line_size()
262 nr_sets = of_get_property(cache->ofnode, propname, NULL); cache_nr_sets()
335 return of_get_property(np, "cache-unified", NULL); cache_node_is_unified()
349 return of_get_property(np, cache_is_unified_d()
H A Dsetup-common.c197 model = of_get_property(root, "model", NULL); show_cpuinfo_summary()
457 intserv = of_get_property(dn, "ibm,ppc-interrupt-server#s", smp_setup_cpu_maps()
464 intserv = of_get_property(dn, "reg", &len); smp_setup_cpu_maps()
511 ireg = of_get_property(dn, "ibm,lrdr-capacity", NULL); smp_setup_cpu_maps()
710 prop = of_get_property(np, "coherency-off", NULL); check_cache_coherency()
H A Dbtext.c178 prop = of_get_property(np, "linux,bootx-width", NULL); btext_initialize()
180 prop = of_get_property(np, "width", NULL); btext_initialize()
184 prop = of_get_property(np, "linux,bootx-height", NULL); btext_initialize()
186 prop = of_get_property(np, "height", NULL); btext_initialize()
190 prop = of_get_property(np, "linux,bootx-depth", NULL); btext_initialize()
192 prop = of_get_property(np, "depth", NULL); btext_initialize()
197 prop = of_get_property(np, "linux,bootx-linebytes", NULL); btext_initialize()
199 prop = of_get_property(np, "linebytes", NULL); btext_initialize()
204 prop = of_get_property(np, "linux,bootx-addr", NULL); btext_initialize()
206 prop = of_get_property(np, "address", NULL); btext_initialize()
238 name = of_get_property(of_chosen, "linux,stdout-path", NULL); btext_find_display()
255 if (of_get_property(np, "linux,opened", NULL)) { btext_find_display()
H A Dvio.c728 if (of_get_property(viodev->dev.of_node, vio_cmo_bus_probe()
1178 dma_window = of_get_property(dev->dev.of_node, vio_build_iommu_table()
1364 if (of_get_property(of_node, "interrupt-controller", NULL)) { vio_register_device_node()
1391 prop = of_get_property(of_node, "reg", NULL); vio_register_device_node()
1405 prop = of_get_property(of_node, "ibm,resource-id", NULL); vio_register_device_node()
1424 if (of_get_property(viodev->dev.of_node, "ibm,my-dma-window", NULL)) { vio_register_device_node()
1556 cp = of_get_property(dn, "compatible", NULL); modalias_show()
1596 cp = of_get_property(dn, "compatible", NULL); vio_hotplug()
1619 * Calls prom.c's of_get_property() to return the value of the
1624 return of_get_property(vdev->dev.of_node, which, length); vio_get_attribute()
1657 dev_type = of_get_property(vnode_parent, "device_type", NULL); vio_find_node()
1666 prop = of_get_property(vnode, "reg", NULL); vio_find_node()
/linux-4.1.27/arch/powerpc/sysdev/
H A Dmv64x60_dev.c43 ph = of_get_property(np, "mpscrouting", NULL); mv64x60_mpsc_register_shared_pdev()
53 ph = of_get_property(np, "mpscintr", NULL); mv64x60_mpsc_register_shared_pdev()
112 ph = of_get_property(np, "sdma", NULL); mv64x60_mpsc_device_setup()
123 ph = of_get_property(np, "brg", NULL); mv64x60_mpsc_device_setup()
133 prop = of_get_property(np, "cell-index", NULL); mv64x60_mpsc_device_setup()
143 prop = of_get_property(np, "max_idle", NULL); mv64x60_mpsc_device_setup()
147 prop = of_get_property(brg, "current-speed", NULL); mv64x60_mpsc_device_setup()
156 prop = of_get_property(np, "chr_1", NULL); mv64x60_mpsc_device_setup()
160 prop = of_get_property(np, "chr_2", NULL); mv64x60_mpsc_device_setup()
164 prop = of_get_property(np, "chr_10", NULL); mv64x60_mpsc_device_setup()
168 prop = of_get_property(np, "mpcr", NULL); mv64x60_mpsc_device_setup()
172 prop = of_get_property(brg, "bcr", NULL); mv64x60_mpsc_device_setup()
178 prop = of_get_property(brg, "clock-src", NULL); mv64x60_mpsc_device_setup()
182 prop = of_get_property(brg, "clock-frequency", NULL); mv64x60_mpsc_device_setup()
260 prop = of_get_property(np, "reg", NULL); mv64x60_eth_device_setup()
269 prop = of_get_property(np, "speed", NULL); mv64x60_eth_device_setup()
273 prop = of_get_property(np, "tx_queue_size", NULL); mv64x60_eth_device_setup()
277 prop = of_get_property(np, "rx_queue_size", NULL); mv64x60_eth_device_setup()
281 prop = of_get_property(np, "tx_sram_addr", NULL); mv64x60_eth_device_setup()
285 prop = of_get_property(np, "tx_sram_size", NULL); mv64x60_eth_device_setup()
289 prop = of_get_property(np, "rx_sram_addr", NULL); mv64x60_eth_device_setup()
293 prop = of_get_property(np, "rx_sram_size", NULL); mv64x60_eth_device_setup()
297 ph = of_get_property(np, "phy", NULL); mv64x60_eth_device_setup()
305 prop = of_get_property(phy, "reg", NULL); mv64x60_eth_device_setup()
357 prop = of_get_property(np, "freq_m", NULL); mv64x60_i2c_device_setup()
362 prop = of_get_property(np, "freq_n", NULL); mv64x60_i2c_device_setup()
414 prop = of_get_property(np, "clock-frequency", NULL); mv64x60_wdt_device_setup()
515 prop = of_get_property(of_chosen, "linux,stdout-path", NULL); mv64x60_add_mpsc_console()
526 prop = of_get_property(np, "cell-index", NULL); mv64x60_add_mpsc_console()
H A Dfsl_soc.c60 const __be32 *prop = of_get_property(soc, "#address-cells", &size); get_immrbase()
67 prop = of_get_property(soc, "ranges", &size); get_immrbase()
94 prop = of_get_property(soc, "clock-frequency", &size); fsl_get_sys_freq()
96 prop = of_get_property(soc, "bus-frequency", &size); fsl_get_sys_freq()
121 prop = of_get_property(node, "clock-frequency", &size); get_brgfreq()
137 prop = of_get_property(node, "brg-frequency", &size); get_brgfreq()
142 prop = of_get_property(node, "bus-frequency", &size); get_brgfreq()
166 const unsigned int *prop = of_get_property(node, get_baudrate()
188 if ((of_get_property(np, "fsl,has-rstcr", NULL))) { setup_rstcr()
H A Dmpc5xxx_clocks.c21 p_bus_freq = of_get_property(node, "bus-frequency", NULL); mpc5xxx_get_bus_frequency()
H A Dtsi108_dev.c51 const void *prop = of_get_property(tsi, "reg", &size); get_csrbase()
111 ph = of_get_property(np, "mdio-handle", NULL); tsi108_eth_of_init()
118 ph = of_get_property(np, "phy-handle", NULL); tsi108_eth_of_init()
126 phy_id = of_get_property(phy, "reg", NULL); tsi108_eth_of_init()
141 if (of_get_property(phy, "txc-rxc-delay-disable", NULL)) tsi108_eth_of_init()
H A Dscom.c39 if (of_get_property(par, "scom-controller", NULL)) scom_find_parent()
41 p = of_get_property(par, "scom-parent", NULL); scom_find_parent()
75 prop = of_get_property(dev, "scom-reg", &size); scom_map_device()
76 sprop = of_get_property(parent, "#scom-cells", NULL); scom_map_device()
78 prop = of_get_property(dev, "reg", &size); scom_map_device()
79 sprop = of_get_property(parent, "#address-cells", NULL); scom_map_device()
H A Dmv64x60_udbg.c80 path = of_get_property(of_chosen, "linux,stdout-path", NULL); mv64x60_udbg_init()
97 block_index = of_get_property(np, "cell-index", NULL); mv64x60_udbg_init()
116 ph = of_get_property(np, "mpscintr", NULL); mv64x60_udbg_init()
H A Ddcr.c34 if (of_get_property(par, "dcr-controller", NULL)) find_dcr_parent()
36 p = of_get_property(par, "dcr-parent", NULL); find_dcr_parent()
75 prop = of_get_property(dp, "dcr-access-method", NULL); dcr_map_generic()
132 const u32 *dr = of_get_property(np, "dcr-reg", &ds); dcr_resource_start()
144 const u32 *dr = of_get_property(np, "dcr-reg", &ds); dcr_resource_len()
169 p = of_get_property(dp, "dcr-mmio-stride", NULL); of_translate_dcr_address()
173 p = of_get_property(dp, "dcr-mmio-range", NULL); of_translate_dcr_address()
175 p = of_get_property(dp, "dcr-mmio-space", NULL); of_translate_dcr_address()
H A Dppc4xx_soc.c91 prop = of_get_property(np, "cache-size", NULL); ppc4xx_l2c_probe()
100 dcrreg = of_get_property(np, "dcr-reg", &len); ppc4xx_l2c_probe()
206 prop = of_get_property(np, "reset-type", NULL); ppc4xx_reset_system()
H A Dmv64x60_pci.c93 prop = of_get_property(np, "hs_reg_valid", NULL); mv64x60_sysfs_init()
137 bus_range = of_get_property(dev, "bus-range", &len); mv64x60_add_bridge()
H A Duic.c244 indexp = of_get_property(node, "cell-index", &len); uic_init_one()
252 dcrreg = of_get_property(node, "dcr-reg", &len); uic_init_one()
286 interrupts = of_get_property(np, "interrupts", NULL); uic_init_tree()
302 interrupts = of_get_property(np, "interrupts", NULL); uic_init_tree()
H A Dmv64x60_pic.c243 reg = of_get_property(np, "reg", &size); mv64x60_init_irq()
249 reg = of_get_property(np, "reg", &size); mv64x60_init_irq()
H A Dppc4xx_msi.c150 sdr_addr = of_get_property(dev->dev.of_node, "sdr-base", NULL); ppc4xx_setup_pcieh_hw()
181 msi_data = of_get_property(dev->dev.of_node, "msi-data", NULL); ppc4xx_setup_pcieh_hw()
184 msi_mask = of_get_property(dev->dev.of_node, "msi-mask", NULL); ppc4xx_setup_pcieh_hw()
H A Dfsl_rio.c531 dt_range = of_get_property(np, "reg", &rlen); fsl_rio_setup()
559 dt_range = of_get_property(np, "reg", &rlen); fsl_rio_setup()
571 port_index = of_get_property(np, "cell-index", NULL); fsl_rio_setup()
578 dt_range = of_get_property(np, "ranges", &rlen); fsl_rio_setup()
586 cell = of_get_property(np, "#address-cells", NULL); fsl_rio_setup()
592 cell = of_get_property(np, "#size-cells", NULL); fsl_rio_setup()
H A Dppc4xx_pci.c108 ranges = of_get_property(hose->dn, "dma-ranges", &rlen); ppc4xx_parse_dma_ranges()
355 if (of_get_property(np, "primary", NULL)) ppc4xx_probe_pci_bridge()
359 bus_range = of_get_property(np, "bus-range", NULL); ppc4xx_probe_pci_bridge()
554 if (of_get_property(np, "large-inbound-windows", NULL)) ppc4xx_probe_pcix_bridge()
558 if (of_get_property(np, "enable-msi-hole", NULL)) ppc4xx_probe_pcix_bridge()
562 if (of_get_property(np, "primary", NULL)) ppc4xx_probe_pcix_bridge()
566 bus_range = of_get_property(np, "bus-range", NULL); ppc4xx_probe_pcix_bridge()
1934 if (of_get_property(port->node, "primary", NULL)) ppc4xx_pciex_port_setup_hose()
1938 bus_range = of_get_property(port->node, "bus-range", NULL); ppc4xx_pciex_port_setup_hose()
2036 pval = of_get_property(port->node, "vendor-id", NULL); ppc4xx_pciex_port_setup_hose()
2047 pval = of_get_property(port->node, "device-id", NULL); ppc4xx_pciex_port_setup_hose()
2101 pval = of_get_property(np, "port", NULL); ppc4xx_probe_pciex_bridge()
2126 pval = of_get_property(np, "sdr-base", NULL); ppc4xx_probe_pciex_bridge()
2139 val = of_get_property(port->node, "device_type", NULL); ppc4xx_probe_pciex_bridge()
H A Dfsl_85xx_l2ctlr.c86 prop = of_get_property(dev->dev.of_node, "cache-size", NULL); mpc85xx_l2ctlr_of_probe()
/linux-4.1.27/drivers/mtd/
H A Dofpart.c25 return of_get_property(pp, "compatible", NULL); node_has_compatible()
70 reg = of_get_property(pp, "reg", &len); for_each_child_of_node()
81 partname = of_get_property(pp, "label", &len); for_each_child_of_node()
83 partname = of_get_property(pp, "name", &len); for_each_child_of_node()
86 if (of_get_property(pp, "read-only", &len)) for_each_child_of_node()
89 if (of_get_property(pp, "lock", &len)) for_each_child_of_node()
130 part = of_get_property(dp, "partitions", &plen); parse_ofoldpart_partitions()
143 names = of_get_property(dp, "partition-names", &plen); parse_ofoldpart_partitions()
/linux-4.1.27/drivers/video/fbdev/nvidia/
H A Dnv_of.c47 pname = of_get_property(dp, "name", NULL); nvidia_probe_of_connector()
54 pedid = of_get_property(dp, nvidia_probe_of_connector()
66 pedid = of_get_property(parent, propnames[i], NULL); nvidia_probe_of_connector()
/linux-4.1.27/drivers/net/can/cc770/
H A Dcc770_platform.c86 prop = of_get_property(np, "bosch,external-clock-frequency", cc770_get_of_node_data()
104 if (of_get_property(np, "bosch,divide-memory-clock", NULL)) cc770_get_of_node_data()
106 if (of_get_property(np, "bosch,iso-low-speed-mux", NULL)) cc770_get_of_node_data()
109 if (!of_get_property(np, "bosch,no-comperator-bypass", NULL)) cc770_get_of_node_data()
111 if (of_get_property(np, "bosch,disconnect-rx0-input", NULL)) cc770_get_of_node_data()
113 if (of_get_property(np, "bosch,disconnect-rx1-input", NULL)) cc770_get_of_node_data()
115 if (of_get_property(np, "bosch,disconnect-tx1-output", NULL)) cc770_get_of_node_data()
117 if (of_get_property(np, "bosch,polarity-dominant", NULL)) cc770_get_of_node_data()
120 prop = of_get_property(np, "bosch,clock-out-frequency", &prop_size); cc770_get_of_node_data()
129 prop = of_get_property(np, "bosch,slew-rate", cc770_get_of_node_data()
/linux-4.1.27/arch/powerpc/include/asm/
H A Dparport.h25 prop = of_get_property(np, "reg", &propsize); for_each_compatible_node()
/linux-4.1.27/drivers/misc/lis3lv02d/
H A Dlis3lv02d.c962 if (of_get_property(np, "st,click-single-x", NULL)) lis3lv02d_init_dt()
964 if (of_get_property(np, "st,click-double-x", NULL)) lis3lv02d_init_dt()
967 if (of_get_property(np, "st,click-single-y", NULL)) lis3lv02d_init_dt()
969 if (of_get_property(np, "st,click-double-y", NULL)) lis3lv02d_init_dt()
972 if (of_get_property(np, "st,click-single-z", NULL)) lis3lv02d_init_dt()
974 if (of_get_property(np, "st,click-double-z", NULL)) lis3lv02d_init_dt()
991 if (of_get_property(np, "st,irq1-disable", NULL)) lis3lv02d_init_dt()
993 if (of_get_property(np, "st,irq1-ff-wu-1", NULL)) lis3lv02d_init_dt()
995 if (of_get_property(np, "st,irq1-ff-wu-2", NULL)) lis3lv02d_init_dt()
997 if (of_get_property(np, "st,irq1-data-ready", NULL)) lis3lv02d_init_dt()
999 if (of_get_property(np, "st,irq1-click", NULL)) lis3lv02d_init_dt()
1002 if (of_get_property(np, "st,irq2-disable", NULL)) lis3lv02d_init_dt()
1004 if (of_get_property(np, "st,irq2-ff-wu-1", NULL)) lis3lv02d_init_dt()
1006 if (of_get_property(np, "st,irq2-ff-wu-2", NULL)) lis3lv02d_init_dt()
1008 if (of_get_property(np, "st,irq2-data-ready", NULL)) lis3lv02d_init_dt()
1010 if (of_get_property(np, "st,irq2-click", NULL)) lis3lv02d_init_dt()
1013 if (of_get_property(np, "st,irq-open-drain", NULL)) lis3lv02d_init_dt()
1015 if (of_get_property(np, "st,irq-active-low", NULL)) lis3lv02d_init_dt()
1023 if (of_get_property(np, "st,wakeup-x-lo", NULL)) lis3lv02d_init_dt()
1025 if (of_get_property(np, "st,wakeup-x-hi", NULL)) lis3lv02d_init_dt()
1027 if (of_get_property(np, "st,wakeup-y-lo", NULL)) lis3lv02d_init_dt()
1029 if (of_get_property(np, "st,wakeup-y-hi", NULL)) lis3lv02d_init_dt()
1031 if (of_get_property(np, "st,wakeup-z-lo", NULL)) lis3lv02d_init_dt()
1033 if (of_get_property(np, "st,wakeup-z-hi", NULL)) lis3lv02d_init_dt()
1035 if (of_get_property(np, "st,wakeup-threshold", &val)) lis3lv02d_init_dt()
1038 if (of_get_property(np, "st,wakeup2-x-lo", NULL)) lis3lv02d_init_dt()
1040 if (of_get_property(np, "st,wakeup2-x-hi", NULL)) lis3lv02d_init_dt()
1042 if (of_get_property(np, "st,wakeup2-y-lo", NULL)) lis3lv02d_init_dt()
1044 if (of_get_property(np, "st,wakeup2-y-hi", NULL)) lis3lv02d_init_dt()
1046 if (of_get_property(np, "st,wakeup2-z-lo", NULL)) lis3lv02d_init_dt()
1048 if (of_get_property(np, "st,wakeup2-z-hi", NULL)) lis3lv02d_init_dt()
1050 if (of_get_property(np, "st,wakeup2-threshold", &val)) lis3lv02d_init_dt()
1070 if (of_get_property(np, "st,hipass1-disable", NULL)) lis3lv02d_init_dt()
1072 if (of_get_property(np, "st,hipass2-disable", NULL)) lis3lv02d_init_dt()
1082 if (of_get_property(np, "st,default-rate", NULL)) lis3lv02d_init_dt()
/linux-4.1.27/drivers/char/tpm/
H A Dtpm_of.c40 sizep = of_get_property(np, "linux,sml-size", NULL); read_log()
50 basep = of_get_property(np, "linux,sml-base", NULL); read_log()
H A Dtpm_atmel.h58 reg = of_get_property(dn, "reg", &reglen); atmel_get_base_addr()
/linux-4.1.27/arch/microblaze/kernel/
H A Dheartbeat.c62 base_addr = be32_to_cpup(of_get_property(gpio, "reg", NULL)); microblaze_setup_heartbeat()
67 prop = (int *) of_get_property(gpio, "xlnx,is-bidir", NULL); microblaze_setup_heartbeat()
/linux-4.1.27/drivers/ata/
H A Dpata_of_platform.c53 prop = of_get_property(dn, "reg-shift", NULL); pata_of_platform_probe()
57 prop = of_get_property(dn, "pio-mode", NULL); pata_of_platform_probe()
/linux-4.1.27/arch/powerpc/platforms/cell/
H A Dspu_manage.c53 prop = of_get_property(spe, "physical-id", &proplen); find_spu_unit_number()
58 prop = of_get_property(spe, "unit-id", &proplen); find_spu_unit_number()
63 prop = of_get_property(spe, "reg", &proplen); find_spu_unit_number()
87 tmp = of_get_property(np, "isrc", NULL); spu_map_interrupts_old()
92 tmp = of_get_property(np->parent->parent, "node-id", NULL); spu_map_interrupts_old()
121 prop = of_get_property(n, name, &proplen); spu_map_prop_old()
135 spu->name = of_get_property(node, "name", NULL); spu_map_device_old()
139 prop = of_get_property(node, "local-store", NULL); spu_map_device_old()
150 prop = of_get_property(node, "problem", NULL); spu_map_device_old()
236 spu->name = of_get_property(np, "name", NULL); spu_map_device()
392 spu_reg = of_get_property(spu_devnode(spu), "reg", NULL); spu_lookup_reg()
456 vic_handles = of_get_property(spu_dn, "vicinity", &lenp); neighbour_spu()
479 vic_handles = of_get_property(last_spu_dn, "vicinity", &lenp); init_affinity_node()
494 name = of_get_property(vic_dn, "name", NULL); init_affinity_node()
H A Dcbe_regs.c175 cpu_handle = of_get_property(np, "cpus", &len); cbe_get_be_node()
220 prop = of_get_property(cpu, "pervasive", NULL); cbe_fill_regs_map()
224 prop = of_get_property(cpu, "iic", NULL); cbe_fill_regs_map()
228 prop = of_get_property(cpu, "mic-tm", NULL); cbe_fill_regs_map()
H A Daxon_msi.c167 ph = of_get_property(dn, "msi-translator", NULL); find_msi_translator()
219 prop = of_get_property(dn, "msi-address-64", &len); setup_msi_msg_address()
224 prop = of_get_property(dn, "msi-address-32", &len); setup_msi_msg_address()
472 addr = of_translate_address(dn, of_get_property(dn, "reg", NULL)); axon_msi_debug_setup()
H A Dspider-pic.c243 tmp = of_get_property(pic->host->of_node, "#interrupt-cells", NULL); spider_find_cascade_and_node()
247 imap = of_get_property(pic->host->of_node, "interrupt-map", &imaplen); spider_find_cascade_and_node()
254 tmp = of_get_property(iic, "#interrupt-cells", NULL); spider_find_cascade_and_node()
263 tmp = of_get_property(iic, "ibm,interrupt-server-ranges", NULL); spider_find_cascade_and_node()
H A Dsetup.c75 model = of_get_property(root, "model", NULL); cell_show_cpuinfo()
107 s = of_get_property(hose->dn, "model", NULL); cell_fixup_pcie_rootcomplex()
133 model = of_get_property(np, "model", NULL); cell_setup_phb()
H A Dqpace_setup.c54 model = of_get_property(root, "model", NULL); qpace_show_cpuinfo()
H A Dras.c176 size = of_get_property(np, "ibm,cbe-ptcal-size", NULL); cbe_ptcal_enable()
197 const u32 *nid = of_get_property(np, "node-id", NULL); cbe_ptcal_enable()
/linux-4.1.27/drivers/video/fbdev/
H A Doffb.c360 vid = of_get_property(pciparent, "vendor-id", NULL); offb_init_palette_hacks()
361 did = of_get_property(pciparent, "device-id", NULL); offb_init_palette_hacks()
547 if (of_get_property(dp, "little-endian", NULL)) offb_init_nodriver()
550 if (of_get_property(dp, "big-endian", NULL)) offb_init_nodriver()
554 pp = of_get_property(dp, "linux,bootx-depth", &len); offb_init_nodriver()
556 pp = of_get_property(dp, "depth", &len); offb_init_nodriver()
560 pp = of_get_property(dp, "linux,bootx-width", &len); offb_init_nodriver()
562 pp = of_get_property(dp, "width", &len); offb_init_nodriver()
566 pp = of_get_property(dp, "linux,bootx-height", &len); offb_init_nodriver()
568 pp = of_get_property(dp, "height", &len); offb_init_nodriver()
572 pp = of_get_property(dp, "linux,bootx-linebytes", &len); offb_init_nodriver()
574 pp = of_get_property(dp, "linebytes", &len); offb_init_nodriver()
592 up = of_get_property(dp, "linux,bootx-addr", &len); offb_init_nodriver()
594 up = of_get_property(dp, "address", &len); offb_init_nodriver()
650 if (of_get_property(of_chosen, "linux,bootx-noscreen", NULL) != NULL) { offb_init()
661 if (of_get_property(dp, "linux,opened", NULL) && offb_init()
662 of_get_property(dp, "linux,boot-display", NULL)) { offb_init()
668 if (of_get_property(dp, "linux,opened", NULL) && offb_init()
H A Dxilinxfb.c454 prop = of_get_property(pdev->dev.of_node, "phys-size", &size); xilinxfb_of_probe()
460 prop = of_get_property(pdev->dev.of_node, "resolution", &size); xilinxfb_of_probe()
466 prop = of_get_property(pdev->dev.of_node, "virtual-resolution", &size); xilinxfb_of_probe()
/linux-4.1.27/drivers/mmc/host/
H A Dsdhci-pltfm.c57 if (of_get_property(np, "sdhci,wp-inverted", NULL) || sdhci_of_wp_inverted()
58 of_get_property(np, "wp-inverted", NULL)) sdhci_of_wp_inverted()
78 if (of_get_property(np, "sdhci,auto-cmd12", NULL)) sdhci_get_of_property()
81 if (of_get_property(np, "sdhci,1-bit-only", NULL) || sdhci_get_of_property()
89 if (of_get_property(np, "broken-cd", NULL)) sdhci_get_of_property()
92 if (of_get_property(np, "no-1-8-v", NULL)) sdhci_get_of_property()
104 clk = of_get_property(np, "clock-frequency", &size); sdhci_get_of_property()
H A Dof_mmc_spi.c86 voltage_ranges = of_get_property(np, "voltage-ranges", &num_ranges); mmc_spi_get_pdata()
/linux-4.1.27/arch/powerpc/platforms/83xx/
H A Dusb.c49 prop = of_get_property(np, "phy_type", NULL); mpc834x_usb_cfg()
57 dr_mode = of_get_property(np, "dr_mode", NULL); mpc834x_usb_cfg()
75 prop = of_get_property(np, "port0", NULL); mpc834x_usb_cfg()
82 prop = of_get_property(np, "port1", NULL); mpc834x_usb_cfg()
119 prop = of_get_property(np, "phy_type", NULL); mpc831x_usb_cfg()
197 dr_mode = of_get_property(np, "dr_mode", NULL); mpc831x_usb_cfg()
226 prop = of_get_property(np, "phy_type", NULL); mpc837x_usb_cfg()
H A Dmpc837x_mds.c55 phy_type = of_get_property(np, "phy_type", NULL); mpc837xmds_usb_cfg()
59 mode = of_get_property(np, "dr_mode", NULL); mpc837xmds_usb_cfg()
H A Dmpc832x_rdb.c66 prop = of_get_property(np, "reg", NULL); for_each_compatible_node()
71 prop = of_get_property(np, "cell-index", NULL); for_each_compatible_node()
75 prop = of_get_property(np, "mode", NULL); for_each_compatible_node()
H A Dmpc836x_mds.c187 mode = of_get_property(np, "mode", NULL); mpc836x_usb_cfg()
/linux-4.1.27/arch/sparc/kernel/
H A Dpci_msi.c325 val = of_get_property(pbm->op->dev.of_node, "#msi-eqs", &len); sparc64_pbm_msi_init()
348 val = of_get_property(pbm->op->dev.of_node, "msi-eq-size", &len); sparc64_pbm_msi_init()
354 mqp = of_get_property(pbm->op->dev.of_node, sparc64_pbm_msi_init()
357 mqp = of_get_property(pbm->op->dev.of_node, sparc64_pbm_msi_init()
365 val = of_get_property(pbm->op->dev.of_node, "#msi", &len); sparc64_pbm_msi_init()
370 mrng = of_get_property(pbm->op->dev.of_node, "msi-ranges", &len); sparc64_pbm_msi_init()
375 val = of_get_property(pbm->op->dev.of_node, "msi-data-mask", &len); sparc64_pbm_msi_init()
380 val = of_get_property(pbm->op->dev.of_node, "msix-data-width", &len); sparc64_pbm_msi_init()
385 arng = of_get_property(pbm->op->dev.of_node, "msi-address-ranges", sparc64_pbm_msi_init()
H A Dprom_irqtrans.c79 regs = of_get_property(dp, "reg", NULL); psycho_irq_trans_init()
203 parent_model = of_get_property(parent, sabre_device_needs_wsync()
210 parent_compat = of_get_property(parent, sabre_device_needs_wsync()
257 regs = of_get_property(dp, "reg", NULL); sabre_irq_build()
279 regs = of_get_property(dp, "reg", NULL); sabre_irq_trans_init()
282 busrange = of_get_property(dp, "bus-range", NULL); sabre_irq_trans_init()
436 regs = of_get_property(dp, "reg", NULL); __schizo_irq_trans_init()
474 regs = of_get_property(dp, "reg", NULL); pci_sun4v_irq_trans_init()
551 regs = of_get_property(dp, "reg", NULL); fire_irq_trans_init()
659 regs = of_get_property(dp, "reg", NULL); sbus_of_build_irq()
711 regs = of_get_property(dp, "reg", NULL); sbus_irq_trans_init()
798 regs = of_get_property(dp, "reg", NULL); sun4v_vdev_irq_trans_init()
811 model = of_get_property(dp, "model", NULL); irq_trans_init()
813 model = of_get_property(dp, "compatible", NULL); irq_trans_init()
H A Dof_device_32.c196 ranges = of_get_property(parent, "ranges", &rlen); build_one_resource()
260 preg = of_get_property(op->dev.of_node, bus->addr_prop_name, &num_reg); build_device_resources()
354 intr = of_get_property(dp, "intr", &len); scan_one_device()
362 of_get_property(dp, "interrupts", &len); scan_one_device()
H A Dof_device_64.c48 const char *model = of_get_property(np, "model", NULL); of_bus_pci_match()
70 const char *model = of_get_property(np, "model", NULL); of_bus_simba_match()
249 ranges = of_get_property(parent, "ranges", &rlen); build_one_resource()
330 preg = of_get_property(op->dev.of_node, bus->addr_prop_name, &num_reg); build_device_resources()
433 reg = of_get_property(dp, "reg", &num_reg); apply_interrupt_map()
488 regs = of_get_property(dp, "reg", NULL); pci_irq_swizzle()
569 imap = of_get_property(pp, "interrupt-map", &imlen); build_one_device_irq()
570 imsk = of_get_property(pp, "interrupt-map-mask", NULL); build_one_device_irq()
651 irq = of_get_property(dp, "interrupts", &len); scan_one_device()
H A Dpci_common.c319 const u32 *val = of_get_property(pbm->op->dev.of_node, "bus-range", NULL); pci_get_pbm_props()
324 val = of_get_property(pbm->op->dev.of_node, "ino-bitmap", NULL); pci_get_pbm_props()
370 const u32 *vdma = of_get_property(pbm->op->dev.of_node, "virtual-dma", pci_register_iommu_region()
400 pbm_ranges = of_get_property(pbm->op->dev.of_node, "ranges", &i); pci_determine_mem_io_space()
H A Dpci.c210 addrs = of_get_property(node, "assigned-addresses", &proplen); pci_parse_of_addrs()
277 type = of_get_property(node, "device_type", NULL); of_create_pci_dev()
429 busrange = of_get_property(node, "bus-range", &len); of_scan_pci_bridge()
440 ranges = of_get_property(node, "ranges", &len); of_scan_pci_bridge()
443 const char *model = of_get_property(node, "model", NULL); of_scan_pci_bridge()
557 reg = of_get_property(child, "reg", &reglen); pci_of_scan_bus()
1019 slot_num = of_get_property(pdev->dev.of_node, pcie_bus_slot_names()
1047 prop = of_get_property(node, "slot-names", &len); pci_bus_slot_names()
H A Dprom_32.c281 type = of_get_property(dp, "device_type", NULL);
311 path = of_get_property(dp, "stdout-path", NULL);
H A Dchmc.c410 mem_regs = of_get_property(mem_node, "reg", &len); jbusmc_probe()
427 prop = of_get_property(op->dev.of_node, "portid", &len); jbusmc_probe()
435 prop = of_get_property(op->dev.of_node, "memory-control-register-1", &len); jbusmc_probe()
451 ml = of_get_property(op->dev.of_node, "memory-layout", &p->layout_len); jbusmc_probe()
711 pval = of_get_property(dp, "memory-layout", &len); chmc_probe()
/linux-4.1.27/drivers/iommu/
H A Dof_iommu.c61 dma_window = of_get_property(dn, propname, &bytes); of_get_dma_window()
74 prop = of_get_property(dn, addrname, NULL); of_get_dma_window()
76 prop = of_get_property(dn, "#address-cells", NULL); of_get_dma_window()
84 prop = of_get_property(dn, sizename, NULL); of_get_dma_window()
H A Dfsl_pamu.c531 prop = of_get_property(node, "cache-stash-id", NULL); get_stash_id()
545 prop = of_get_property(node, "reg", &len); get_stash_id()
558 prop = of_get_property(node, "cache-stash-id", NULL); get_stash_id()
569 prop = of_get_property(node, "next-level-cache", NULL); get_stash_id()
730 prop = of_get_property(node, "fsl,liodn", &len); setup_liodns()
865 iprop = of_get_property(np, "fsl,num-laws", NULL); create_csd()
894 iprop = of_get_property(np, "fsl,ccf-num-csdids", NULL); create_csd()
/linux-4.1.27/drivers/macintosh/
H A Dmacio_sysfs.c24 compat = of_get_property(of->dev.of_node, "compatible", &cplen); compatible_show()
H A Dwindfarm_smu_controls.c169 l = of_get_property(node, "location", NULL); smu_fan_create()
232 v = of_get_property(node, "min-value", NULL); smu_fan_create()
236 v = of_get_property(node, "max-value", NULL); smu_fan_create()
242 reg = of_get_property(node, "reg", NULL); smu_fan_create()
H A Dwindfarm_smu_sat.c233 reg = of_get_property(child, "reg", NULL); wf_sat_probe()
234 type = of_get_property(child, "device_type", NULL); wf_sat_probe()
235 loc = of_get_property(child, "location", NULL); wf_sat_probe()
H A Dwindfarm_smu_sensors.c206 c = of_get_property(node, "device_type", NULL); smu_ads_create()
207 l = of_get_property(node, "location", NULL); smu_ads_create()
257 v = of_get_property(node, "reg", NULL); smu_ads_create()
H A Dvia-pmu-led.c94 model = of_get_property(dt, "model", NULL); via_pmu_led_init()
H A Dwindfarm_max6690_sensor.c71 loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); wf_max6690_probe()
H A Dwindfarm_mpu.h91 data = of_get_property(np, "cpuid", &len); wf_get_mpu()
H A Dtherm_adt746x.c477 prop = of_get_property(np, "hwsensor-params-version", NULL); probe_thermostat()
486 if (of_get_property(np, "hwsensor-location", NULL)) { probe_thermostat()
488 sensor_location[i] = of_get_property(np, probe_thermostat()
H A Dwindfarm_lm75_sensor.c101 loc = of_get_property(client->dev.of_node, "hwsensor-location", NULL); wf_lm75_probe()
H A Dwindfarm_lm87_sensor.c116 loc = of_get_property(np, "location", NULL); wf_lm87_probe()
/linux-4.1.27/arch/powerpc/platforms/52xx/
H A Defika.c99 bus_range = of_get_property(pcictrl, "bus-range", &len); efika_pcisetup()
155 revision = of_get_property(root, "revision", NULL); efika_show_cpuinfo()
156 codegendescription = of_get_property(root, "CODEGEN,description", NULL); efika_show_cpuinfo()
157 codegenvendor = of_get_property(root, "CODEGEN,vendor", NULL); efika_show_cpuinfo()
H A Dmpc52xx_common.c144 if (of_get_property(np, "fsl,has-wdt", NULL) || for_each_matching_node()
145 of_get_property(np, "has-wdt", NULL)) { for_each_matching_node()
/linux-4.1.27/arch/powerpc/platforms/chrp/
H A Dsetup.c105 model = of_get_property(root, "model", NULL); chrp_show_cpuinfo()
203 model = of_get_property(root, "model", NULL); sio_init()
226 const unsigned int *l2cr = of_get_property(np, "l2cr", NULL); pegasos_set_l2cr()
269 property = of_get_property(node, "model", NULL); chrp_init_early()
275 property = of_get_property(of_chosen, "linux,stdout-path", NULL); chrp_init_early()
282 property = of_get_property(node, "device_type", NULL); chrp_init_early()
292 property = of_get_property(node, "name", NULL); chrp_init_early()
310 machine = of_get_property(root, "model", NULL); chrp_setup_arch()
395 opprop = of_get_property(root, "platform-open-pic", &oplen); chrp_find_openpic()
412 iranges = of_get_property(np, "interrupt-ranges", &len); chrp_find_openpic()
497 const unsigned int *addrp = of_get_property(np, chrp_find_8259()
H A Dnvram.c76 nbytes_p = of_get_property(nvram, "#bytes", &proplen); chrp_nvram_init()
H A Dpci.c223 machine = of_get_property(root, "model", NULL); chrp_find_bridges()
242 bus_range = of_get_property(dev, "bus-range", &len); chrp_find_bridges()
267 model = of_get_property(dev, "model", NULL); chrp_find_bridges()
290 dma = of_get_property(dev, "system-dma-base", chrp_find_bridges()
309 dma = of_get_property(dev, "ibm,dma-ranges", &len); chrp_find_bridges()
/linux-4.1.27/arch/mips/lantiq/xway/
H A Dxrx200_phy_fw.c27 if (of_get_property(pdev->dev.of_node, "firmware1", NULL) || xway_gphy_load()
28 of_get_property(pdev->dev.of_node, "firmware2", NULL)) { xway_gphy_load()
/linux-4.1.27/sound/soc/fsl/
H A Dfsl_utils.c67 iprop = of_get_property(dma_channel_np, "cell-index", NULL); fsl_asoc_get_dma_channel()
75 iprop = of_get_property(dma_np, "cell-index", NULL); fsl_asoc_get_dma_channel()
H A Dmpc8610_hpcd.c231 iprop = of_get_property(np, "cell-index", NULL); mpc8610_hpcd_probe()
240 sprop = of_get_property(np, "fsl,mode", NULL); mpc8610_hpcd_probe()
257 iprop = of_get_property(codec_np, "clock-frequency", NULL); mpc8610_hpcd_probe()
H A Dp1022_ds.c241 iprop = of_get_property(np, "cell-index", NULL); p1022_ds_probe()
250 sprop = of_get_property(np, "fsl,mode", NULL); p1022_ds_probe()
267 iprop = of_get_property(codec_np, "clock-frequency", NULL); p1022_ds_probe()
/linux-4.1.27/drivers/usb/host/
H A Dfsl-mph-dr-of.c50 prop = of_get_property(np, "dr_mode", NULL); get_dr_mode_data()
187 if (of_get_property(np, "port0", NULL)) fsl_usb2_mph_dr_of_probe()
190 if (of_get_property(np, "port1", NULL)) fsl_usb2_mph_dr_of_probe()
195 if (of_get_property(np, "fsl,invert-drvvbus", NULL)) fsl_usb2_mph_dr_of_probe()
198 if (of_get_property(np, "fsl,invert-pwr-fault", NULL)) fsl_usb2_mph_dr_of_probe()
205 prop = of_get_property(np, "phy_type", NULL); fsl_usb2_mph_dr_of_probe()
H A Dehci-ppc-of.c152 if (of_get_property(dn, "big-endian", NULL)) { ehci_hcd_ppc_of_probe()
156 if (of_get_property(dn, "big-endian-regs", NULL)) ehci_hcd_ppc_of_probe()
158 if (of_get_property(dn, "big-endian-desc", NULL)) ehci_hcd_ppc_of_probe()
H A Dohci-pxa27x.c368 if (of_get_property(np, "marvell,enable-port1", NULL)) ohci_pxa_of_init()
370 if (of_get_property(np, "marvell,enable-port2", NULL)) ohci_pxa_of_init()
372 if (of_get_property(np, "marvell,enable-port3", NULL)) ohci_pxa_of_init()
374 if (of_get_property(np, "marvell,port-sense-low", NULL)) ohci_pxa_of_init()
376 if (of_get_property(np, "marvell,power-control-low", NULL)) ohci_pxa_of_init()
378 if (of_get_property(np, "marvell,no-oc-protection", NULL)) ohci_pxa_of_init()
380 if (of_get_property(np, "marvell,oc-mode-perport", NULL)) ohci_pxa_of_init()
H A Dfhci-hcd.c585 sprop = of_get_property(node, "mode", NULL); of_fhci_probe()
599 iprop = of_get_property(node, "hub-power-budget", &size); of_fhci_probe()
619 iprop = of_get_property(node, "reg", &size); of_fhci_probe()
709 sprop = of_get_property(node, "fsl,fullspeed-clock", NULL); of_fhci_probe()
719 sprop = of_get_property(node, "fsl,lowspeed-clock", NULL); of_fhci_probe()
/linux-4.1.27/arch/powerpc/platforms/powermac/
H A Dsetup.c126 pp = of_get_property(np, "model", NULL); pmac_show_cpuinfo()
131 pp = of_get_property(np, "compatible", &plen); pmac_show_cpuinfo()
156 of_get_property(np, "i-cache-size", NULL); pmac_show_cpuinfo()
158 of_get_property(np, "d-cache-size", NULL); pmac_show_cpuinfo()
161 if (of_get_property(np, "cache-unified", NULL) != 0 && dc) { pmac_show_cpuinfo()
170 pp = of_get_property(np, "ram-type", NULL); pmac_show_cpuinfo()
257 of_get_property(np, "l2cr-value", NULL); l2cr_init()
290 fp = of_get_property(cpu, "clock-frequency", NULL); pmac_setup_arch()
557 name = of_get_property(of_chosen, "linux,stdout-path", NULL); check_pmac_serial_console()
569 name = of_get_property(prom_stdout, "name", NULL); check_pmac_serial_console()
H A Dudbg_scc.c84 path = of_get_property(of_chosen, "linux,stdout-path", NULL); udbg_scc_init()
99 reg = of_get_property(escc, "reg", NULL); udbg_scc_init()
105 reg = of_get_property(macio, "assigned-addresses", NULL); udbg_scc_init()
H A Dpic.c414 ints = of_get_property(device, "AAPL,interrupts", &intlen); of_irq_parse_oldworld()
463 if (of_get_property(np, "big-endian", NULL)) pmac_setup_one_mpic()
490 of_get_property(np, "interrupts", NULL) == NULL) pmac_pic_probe_mpic()
540 if (of_get_property(of_chosen, "linux,bootx", NULL) != NULL) pmac_pic_init()
H A Dlow_i2c.c505 addrp = of_get_property(np, "AAPL,address", NULL); kw_i2c_host_init()
519 psteps = of_get_property(np, "AAPL,address-step", NULL); kw_i2c_host_init()
525 prate = of_get_property(np, "AAPL,i2c-rate", NULL); kw_i2c_host_init()
638 const u32 *reg = of_get_property(child, kw_i2c_probe()
924 reg = of_get_property(busnode, "reg", NULL); smu_i2c_probe()
969 reg = of_get_property(prev, "reg", pmac_i2c_find_bus()
991 const u32 *reg = of_get_property(device, "reg", NULL); pmac_i2c_get_dev_addr()
H A Dfeature.c1066 const u32 *num = of_get_property(np, "reg", NULL); core99_reset_cpu()
1067 const u32 *rst = of_get_property(np, "soft-reset", NULL); core99_reset_cpu()
1105 prop = of_get_property(node, "AAPL,clock-id", NULL); core99_usb_enable()
1517 const u32 *num = of_get_property(np, "reg", NULL); g5_reset_cpu()
1518 const u32 *rst = of_get_property(np, "soft-reset", NULL); g5_reset_cpu()
2428 model = of_get_property(dt, "model", NULL); probe_motherboard()
2534 if (of_get_property(np, "flush-on-lock", NULL)) { probe_motherboard()
2592 addrp = of_get_property(uninorth_node, "reg", NULL); probe_uninorth()
2683 const u32 *did = of_get_property(node, "device-id", NULL); probe_one_macio()
2696 revp = of_get_property(node, "revision-id", NULL); probe_one_macio()
2747 slots = of_get_property(np, "slot-names", &len); initial_serial_shutdown()
2748 conn = of_get_property(np, "AAPL,connector", &len); initial_serial_shutdown()
H A Dbacklight.c63 const char *prop = of_get_property(bk_node, pmac_has_backlight_type()
/linux-4.1.27/drivers/mtd/nand/
H A Dfsl_upm.c231 prop = of_get_property(ofdev->dev.of_node, "fsl,upm-addr-offset", fun_probe()
240 prop = of_get_property(ofdev->dev.of_node, "fsl,upm-cmd-offset", &size); fun_probe()
248 prop = of_get_property(ofdev->dev.of_node, fun_probe()
280 prop = of_get_property(ofdev->dev.of_node, "chip-delay", NULL); fun_probe()
286 prop = of_get_property(ofdev->dev.of_node, "fsl,upm-wait-flags", &size); fun_probe()
H A Dndfc.c210 reg = of_get_property(ofdev->dev.of_node, "reg", &len); ndfc_probe()
239 reg = of_get_property(ofdev->dev.of_node, "ccr", NULL); ndfc_probe()
246 reg = of_get_property(ofdev->dev.of_node, "bank-settings", NULL); ndfc_probe()
H A Dxway_nand.c137 const __be32 *cs = of_get_property(pdev->dev.of_node, xway_nand_probe()
/linux-4.1.27/drivers/regulator/
H A Dof_regulator.c38 constraints->name = of_get_property(np, "regulator-name", NULL); of_get_regulation_constraints()
40 min_uV = of_get_property(np, "regulator-min-microvolt", NULL); of_get_regulation_constraints()
43 max_uV = of_get_property(np, "regulator-max-microvolt", NULL); of_get_regulation_constraints()
240 name = of_get_property(child, for_each_child_of_node()
296 name = of_get_property(child, "regulator-compatible", NULL); for_each_child_of_node()
H A Ds5m8767.c602 if (of_get_property(pmic_np, "s5m8767,pmic-buck2-uses-gpio-dvs", NULL)) {
613 if (of_get_property(pmic_np, "s5m8767,pmic-buck3-uses-gpio-dvs", NULL)) {
624 if (of_get_property(pmic_np, "s5m8767,pmic-buck4-uses-gpio-dvs", NULL)) {
658 if (of_get_property(pmic_np, "s5m8767,pmic-buck2-ramp-enable", NULL))
661 if (of_get_property(pmic_np, "s5m8767,pmic-buck3-ramp-enable", NULL))
664 if (of_get_property(pmic_np, "s5m8767,pmic-buck4-ramp-enable", NULL))
/linux-4.1.27/drivers/gpio/
H A Dgpio-stp-xway.c226 shadow = of_get_property(pdev->dev.of_node, "lantiq,shadow", NULL); xway_stp_probe()
231 groups = of_get_property(pdev->dev.of_node, "lantiq,groups", NULL); xway_stp_probe()
239 dsl = of_get_property(pdev->dev.of_node, "lantiq,dsl", NULL); xway_stp_probe()
247 phy = of_get_property(pdev->dev.of_node, "lantiq,phy1", NULL); xway_stp_probe()
250 phy = of_get_property(pdev->dev.of_node, "lantiq,phy2", NULL); xway_stp_probe()
/linux-4.1.27/drivers/leds/
H A Dleds-syscon.c96 of_get_property(child, "label", NULL) ? : child->name; for_each_available_child_of_node()
98 of_get_property(child, "linux,default-trigger", NULL); for_each_available_child_of_node()
100 state = of_get_property(child, "default-state", NULL); for_each_available_child_of_node()
H A Dleds-pwm.c152 led.name = of_get_property(child, "label", NULL) ? : led_pwm_create_of()
155 led.default_trigger = of_get_property(child, led_pwm_create_of()
H A Dleds-pca963x.c300 of_get_property(child, "label", NULL) ? : child->name; for_each_child_of_node()
302 of_get_property(child, "linux,default-trigger", NULL); for_each_child_of_node()
/linux-4.1.27/drivers/of/
H A Dirq.c64 parp = of_get_property(child, "interrupt-parent", NULL); of_irq_find_parent()
75 } while (p && of_get_property(p, "#interrupt-cells", NULL) == NULL); of_irq_find_parent()
115 tmp = of_get_property(ipar, "#interrupt-cells", NULL); of_irq_parse_raw()
139 tmp = of_get_property(old, "#address-cells", NULL); of_irq_parse_raw()
165 if (of_get_property(ipar, "interrupt-controller", NULL) != of_irq_parse_raw()
181 imap = of_get_property(ipar, "interrupt-map", &imaplen); of_irq_parse_raw()
191 imask = of_get_property(ipar, "interrupt-map-mask", NULL); of_irq_parse_raw()
225 tmp = of_get_property(newpar, "#interrupt-cells", NULL); of_irq_parse_raw()
231 tmp = of_get_property(newpar, "#address-cells", NULL); of_irq_parse_raw()
302 addr = of_get_property(device, "reg", NULL); of_irq_parse_one()
311 intspec = of_get_property(device, "interrupts", &intlen); of_irq_parse_one()
325 tmp = of_get_property(p, "#interrupt-cells", NULL); of_irq_parse_one()
H A Dof_mdio.c163 paddr = of_get_property(child, "reg", NULL); for_each_available_child_of_node()
281 if (of_get_property(np, "fixed-link", &len) && of_phy_is_fixed_link()
324 fixed_link_prop = of_get_property(np, "fixed-link", &len); of_phy_register_fixed_link()
H A Dof_pci.c61 reg = of_get_property(np, "reg", &size); of_pci_get_devfn()
82 values = of_get_property(node, "bus-range", &len); of_pci_parse_bus_range()
110 value = of_get_property(node, "linux,pci-domain", &len); of_get_pci_domain_nr()
H A Ddevice.c180 compat = of_get_property(dev->of_node, "compatible", &cplen); of_device_get_modalias()
236 compat = of_get_property(dev->of_node, "compatible", &cplen); of_device_uevent()
H A Dplatform.c84 reg = of_get_property(node, "reg", NULL); of_device_make_bus_id()
252 prop = of_get_property(node, "arm,primecell-periphid", NULL); of_amba_device_create()
340 if (strict && (!of_get_property(bus, "compatible", NULL))) { of_platform_bus_create()
/linux-4.1.27/arch/powerpc/sysdev/qe_lib/
H A Dqe_io.c45 num_ports = of_get_property(np, "num-ports", NULL); par_io_init()
163 ph = of_get_property(np, "pio-handle", NULL); par_io_of_config()
171 pio_map = of_get_property(pio, "pio-map", &pio_map_len); par_io_of_config()
H A Dqe.c85 prop = of_get_property(qe, "reg", &size); get_qe_base()
182 prop = of_get_property(qe, "brg-frequency", &size); qe_get_brg_clk()
584 sprop = of_get_property(fw, "id", NULL);
628 prop = of_get_property(qe, "fsl,qe-num-riscs", &size); qe_get_num_of_risc()
657 prop = of_get_property(qe, "fsl,qe-num-snums", &size); qe_get_num_of_snums()
/linux-4.1.27/arch/powerpc/platforms/maple/
H A Dsetup.c113 maple_nvram_offset = of_get_property(sp, "restart-addr", NULL); maple_restart()
114 maple_nvram_command = of_get_property(sp, "restart-value", NULL); maple_restart()
140 maple_nvram_offset = of_get_property(sp, "power-off-addr", NULL); maple_power_off()
141 maple_nvram_command = of_get_property(sp, "power-off-value", NULL); maple_power_off()
249 opprop = of_get_property(root, "platform-open-pic", &opplen); maple_init_IRQ()
260 if (of_get_property(np, "big-endian", NULL) != NULL) maple_init_IRQ()
/linux-4.1.27/drivers/net/phy/
H A Dmdio-mux-mmioreg.c96 iprop = of_get_property(np, "mux-mask", &len); mdio_mux_mmioreg_probe()
112 iprop = of_get_property(np2, "reg", &len); for_each_available_child_of_node()
H A Dbcm87xx.c46 paddr = of_get_property(phydev->dev.of_node, bcm87xx_of_reg_init()
/linux-4.1.27/arch/powerpc/platforms/embedded6xx/
H A Dc2k.c53 reg = of_get_property(np, "reg", NULL); c2k_setup_arch()
59 reg = of_get_property(np, "reg", NULL); c2k_setup_arch()
H A Dls_uart.c124 avr_clock = *(u32*)of_get_property(avr, "clock-frequency", &len); ls_uarts_init()
125 phys_addr = ((u32*)of_get_property(avr, "reg", &len))[0]; ls_uarts_init()
H A Dmvme5100.c94 prop = of_get_property(np, "8259-interrupt-acknowledge", NULL); mvme5100_pic_init()
120 bus_range = of_get_property(dev, "bus-range", &len); mvme5100_add_bridge()
H A Dstorcenter.c53 bus_range = of_get_property(dev, "bus-range", &len); storcenter_add_bridge()
H A Dlinkstation.c46 bus_range = of_get_property(dev, "bus-range", &len); linkstation_add_bridge()
H A Dhlwd-pic.c210 interrupts = of_get_property(np, "interrupts", NULL); hlwd_pic_probe()
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Dopal-xscom.c38 if (!of_get_property(dev, "scom-controller", NULL)) { opal_scom_map()
43 gcid = of_get_property(dev, "ibm,chip-id", NULL); opal_scom_map()
H A Dopal-nvram.c84 nbytes_p = of_get_property(np, "#bytes", NULL); opal_nvram_init()
H A Dpci-p5ioc2.c60 const __be32 *prop = of_get_property(phb->hose->dn, pnv_pci_init_p5ioc2_msis()
109 prop64 = of_get_property(np, "ibm,opal-phbid", NULL); pnv_pci_init_p5ioc2_phb()
189 prop64 = of_get_property(np, "ibm,opal-hubid", NULL); pnv_pci_init_p5ioc2_hub()
H A Dopal-async.c167 async = of_get_property(opal_node, "opal-msg-async-num", NULL); opal_async_comp_init()
/linux-4.1.27/drivers/pcmcia/
H A Delectra_cf.c253 prop = of_get_property(np, "card-detect-gpio", NULL); electra_cf_probe()
258 prop = of_get_property(np, "card-vsense-gpio", NULL); electra_cf_probe()
263 prop = of_get_property(np, "card-3v-gpio", NULL); electra_cf_probe()
268 prop = of_get_property(np, "card-5v-gpio", NULL); electra_cf_probe()
/linux-4.1.27/arch/powerpc/platforms/pasemi/
H A Dmisc.c69 addr = of_get_property(node, "reg", &len); pasemi_register_i2c_devices()
H A Dgpio_mdio.c244 prop = of_get_property(np, "reg", NULL); gpio_mdio_probe()
250 prop = of_get_property(np, "mdc-pin", NULL); gpio_mdio_probe()
253 prop = of_get_property(np, "mdio-pin", NULL); gpio_mdio_probe()
/linux-4.1.27/arch/c6x/platforms/
H A Demif.c66 p = of_get_property(node, "ti,emifa-ce-config", &len); c6x_emifa_init()
H A Ddscr.c353 p = of_get_property(node, "ti,dscr-rmii-resets", &size); dscr_parse_rmii_resets()
403 p = of_get_property(node, "ti,dscr-locked-regs", &size); dscr_parse_locked_regs()
476 p = of_get_property(node, "ti,dscr-devstate-ctl-regs", &size); dscr_parse_devstate_ctl_regs()
532 p = of_get_property(node, "ti,dscr-devstate-stat-regs", &size); dscr_parse_devstate_stat_regs()
/linux-4.1.27/drivers/cpufreq/
H A Dpmac64-cpufreq.c364 valp = of_get_property(cpunode, "cpu-version", NULL); g5_neo2_cpufreq_init()
376 g5_pmode_data = of_get_property(cpunode, "power-mode-data",&psize); g5_neo2_cpufreq_init()
434 valp = of_get_property(cpunode, "clock-frequency", NULL); g5_neo2_cpufreq_init()
494 eeprom = of_get_property(cpuid, "cpuid", NULL); g5_pm72_cpufreq_init()
503 const char *loc = of_get_property(hwclock, g5_pm72_cpufreq_init()
509 if (!of_get_property(hwclock, "platform-get-frequency", NULL)) g5_pm72_cpufreq_init()
568 valp = of_get_property(cpunode, "clock-frequency", NULL); g5_pm72_cpufreq_init()
H A Dpmac32-cpufreq.c382 const u32 *reg = of_get_property(np, "reg", NULL); read_gpio()
481 freqs = of_get_property(cpunode, "bus-frequencies", &lenp); pmac_cpufreq_init_MacRISC3()
487 ratio = of_get_property(cpunode, "processor-to-bus-ratio*2", pmac_cpufreq_init_MacRISC3()
523 value = of_get_property(cpunode, "min-clock-frequency", NULL); pmac_cpufreq_init_MacRISC3()
532 value = of_get_property(cpunode, "max-clock-frequency", NULL); pmac_cpufreq_init_MacRISC3()
546 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) pmac_cpufreq_init_7447A()
575 if (of_get_property(cpunode, "dynamic-power-step", NULL) == NULL) pmac_cpufreq_init_750FX()
579 value = of_get_property(cpunode, "reduced-clock-frequency", NULL); pmac_cpufreq_init_750FX()
623 value = of_get_property(cpunode, "clock-frequency", NULL); pmac_cpufreq_setup()
631 of_get_property(cpunode, "dynamic-power-step", NULL) && pmac_cpufreq_setup()
H A Darm_big_little_dt.c38 if (!of_get_property(np, "operating-points", NULL)) { get_cpu_node_with_valid_op()
H A Dppc_cbe_cpufreq.c92 max_freqp = of_get_property(cpu, "clock-frequency", NULL); cbe_cpufreq_cpu_init()
H A Dmaple-cpufreq.c196 maple_pmode_data = of_get_property(cpunode, "power-mode-data", &psize); maple_cpufreq_init()
210 valp = of_get_property(cpunode, "clock-frequency", NULL); maple_cpufreq_init()
/linux-4.1.27/drivers/pci/hotplug/
H A Drpaphp_core.c176 indexes = of_get_property(dn, "ibm,drc-indexes", NULL); get_children_props()
177 names = of_get_property(dn, "ibm,drc-names", NULL); get_children_props()
178 types = of_get_property(dn, "ibm,drc-types", NULL); get_children_props()
179 domains = of_get_property(dn, "ibm,drc-power-domains", NULL); get_children_props()
212 my_index = of_get_property(dn, "ibm,my-drc-index", NULL); rpaphp_get_drc_props()
/linux-4.1.27/sound/soc/codecs/
H A Dsta350.c1116 if (of_get_property(np, "st,thermal-warning-recovery", NULL)) sta350_probe_dt()
1118 if (of_get_property(np, "st,thermal-warning-adjustment", NULL)) sta350_probe_dt()
1120 if (of_get_property(np, "st,fault-detect-recovery", NULL)) sta350_probe_dt()
1143 if (of_get_property(np, "st,overcurrent-warning-adjustment", NULL)) sta350_probe_dt()
1147 if (of_get_property(np, "st,max-power-use-mpcc", NULL)) sta350_probe_dt()
1150 if (of_get_property(np, "st,max-power-correction", NULL)) sta350_probe_dt()
1153 if (of_get_property(np, "st,am-reduction-mode", NULL)) sta350_probe_dt()
1156 if (of_get_property(np, "st,odd-pwm-speed-mode", NULL)) sta350_probe_dt()
1159 if (of_get_property(np, "st,distortion-compensation", NULL)) sta350_probe_dt()
1163 if (of_get_property(np, "st,invalid-input-detect-mute", NULL)) sta350_probe_dt()
1167 if (of_get_property(np, "st,activate-mute-output", NULL)) sta350_probe_dt()
1170 if (of_get_property(np, "st,bridge-immediate-off", NULL)) sta350_probe_dt()
1173 if (of_get_property(np, "st,noise-shape-dc-cut", NULL)) sta350_probe_dt()
1176 if (of_get_property(np, "st,powerdown-master-volume", NULL)) sta350_probe_dt()
H A Dsta32x.c1041 if (of_get_property(np, "st,thermal-warning-recovery", NULL)) sta32x_probe_dt()
1043 if (of_get_property(np, "st,thermal-warning-adjustment", NULL)) sta32x_probe_dt()
1045 if (of_get_property(np, "st,needs_esd_watchdog", NULL)) sta32x_probe_dt()
1053 if (of_get_property(np, "st,max-power-use-mpcc", NULL)) sta32x_probe_dt()
1056 if (of_get_property(np, "st,max-power-correction", NULL)) sta32x_probe_dt()
1059 if (of_get_property(np, "st,am-reduction-mode", NULL)) sta32x_probe_dt()
1062 if (of_get_property(np, "st,odd-pwm-speed-mode", NULL)) sta32x_probe_dt()
1066 if (of_get_property(np, "st,invalid-input-detect-mute", NULL)) sta32x_probe_dt()
/linux-4.1.27/drivers/hwmon/
H A Dvexpress.c35 const char *label = of_get_property(dev->of_node, "label", NULL); vexpress_hwmon_label_show()
83 !of_get_property(dev->of_node, "label", NULL)) vexpress_hwmon_attr_is_visible()
H A Dmax6697.c505 prop = of_get_property(node, "alert-mask", &len); max6697_get_config_of()
508 prop = of_get_property(node, "over-temperature-mask", &len); max6697_get_config_of()
511 prop = of_get_property(node, "resistance-cancellation", &len); max6697_get_config_of()
518 prop = of_get_property(node, "transistor-ideality", &len); max6697_get_config_of()
/linux-4.1.27/drivers/net/ethernet/freescale/fs_enet/
H A Dmii-bitbang.c131 data = of_get_property(np, "fsl,mdio-pin", &len); fs_mii_bitbang_init()
136 data = of_get_property(np, "fsl,mdc-pin", &len); fs_mii_bitbang_init()
/linux-4.1.27/drivers/tty/serial/
H A Dsuncore.c95 mode = of_get_property(uart_dp, sunserial_console_termios()
112 mode = of_get_property(dp, mode_prop, NULL); sunserial_console_termios()
H A Dapbuart.c606 ampopts = of_get_property(np, "ampopts", NULL); for_each_matching_node()
609 regs = of_get_property(np, "reg", NULL); for_each_matching_node()
611 freq_hz = of_get_property(np, "freq", NULL); for_each_matching_node()
/linux-4.1.27/arch/powerpc/platforms/44x/
H A Diss4xx.c59 if (of_get_property(np, "interrupts", NULL) == NULL) iss4xx_init_irq()
102 spin_table_addr_prop = of_get_property(cpunode, "cpu-release-addr", smp_iss4xx_kick_cpu()
H A Dppc476.c129 if (of_get_property(np, "interrupts", NULL) == NULL) ppc47x_init_irq()
169 of_get_property(cpunode, "cpu-release-addr", NULL); smp_ppc47x_kick_cpu()
/linux-4.1.27/arch/powerpc/platforms/amigaone/
H A Dsetup.c50 bus_range = of_get_property(dev, "bus-range", &len); amigaone_add_bridge()
100 prop = of_get_property(np, "8259-interrupt-acknowledge", NULL); amigaone_init_IRQ()
/linux-4.1.27/arch/nios2/kernel/
H A Dcpuinfo.c46 return of_get_property(cpu, n, NULL) ? 1 : 0; fcpu_has()
66 str = of_get_property(cpu, "altr,implementation", &len); setup_cpuinfo()
/linux-4.1.27/drivers/mtd/maps/
H A Dphysmap_of.c88 of_probe = of_get_property(dp, "probe-type", NULL); obsolete_probe()
123 cp = of_get_property(dp, "linux,part-probe", &cplen); of_get_probes()
186 p = of_get_property(dp, "reg", &count); of_flash_probe()
230 width = of_get_property(dp, "bank-width", NULL); of_flash_probe()
H A Dsun_uflash.c75 up->name = of_get_property(dp, "model", NULL); uflash_devinit()
/linux-4.1.27/drivers/mfd/
H A Dmc13xxx-core.c386 if (of_get_property(np, "fsl,mc13xxx-uses-adc", NULL)) mc13xxx_probe_flags_dt()
389 if (of_get_property(np, "fsl,mc13xxx-uses-codec", NULL)) mc13xxx_probe_flags_dt()
392 if (of_get_property(np, "fsl,mc13xxx-uses-rtc", NULL)) mc13xxx_probe_flags_dt()
395 if (of_get_property(np, "fsl,mc13xxx-uses-touch", NULL)) mc13xxx_probe_flags_dt()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dshadowof.c54 if ((priv->data = of_get_property(dn, "NVDA,BMP", &priv->size))) of_init()
/linux-4.1.27/arch/mips/bmips/
H A Ddma.c88 data = of_get_property(np, "dma-ranges", &len); bmips_init_dma_ranges()
/linux-4.1.27/arch/powerpc/platforms/pseries/
H A Devent_sources.c37 opicprop = of_get_property(np, "open-pic-interrupt", &opicplen); request_event_sources_irqs()
H A Dhotplug-memory.c39 size = of_get_property(np, "ibm,lmb-size", NULL); pseries_memory_block_size()
174 type = of_get_property(np, "device_type", NULL); pseries_remove_mem_node()
181 regs = of_get_property(np, "reg", NULL); pseries_remove_mem_node()
634 type = of_get_property(np, "device_type", NULL); pseries_add_mem_node()
641 regs = of_get_property(np, "reg", NULL); pseries_add_mem_node()
H A Dlparcfg.c201 perf_level = of_get_property(root, parse_ppp_data()
442 lrdrp = of_get_property(rtas_node, "ibm,lrdr-capacity", NULL); pseries_lparcfg_data()
664 tmp = of_get_property(rootdn, "model", NULL); lparcfg_data()
667 tmp = of_get_property(rootdn, "system-id", NULL); lparcfg_data()
670 lp_index_ptr = of_get_property(rootdn, "ibm,partition-no", lparcfg_data()
H A Dmsi.c143 p = of_get_property(dn, prop_name, NULL); check_req()
181 p = of_get_property(dn, "ibm,pe-total-#msi", NULL); find_pe_total_msi()
245 p = of_get_property(dn, "class-code", NULL); count_non_bridge_devices()
266 p = of_get_property(dn, "ibm,req#msi", NULL); count_spare_msis()
270 p = of_get_property(dn, "ibm,req#msi-x", NULL); count_spare_msis()
H A Diommu.c475 basep = of_get_property(node, "linux,tce-base", NULL); iommu_table_setparms()
476 sizep = of_get_property(node, "linux,tce-size", NULL); iommu_table_setparms()
509 sw_inval = of_get_property(node, "linux,tce-sw-invalidate-info", NULL); iommu_table_setparms()
643 dma_window = of_get_property(pdn, "ibm,dma-window", NULL); pci_dma_bus_setup_pSeriesLP()
803 direct64 = of_get_property(pdn, DIRECT64_PROPNAME, &len); for_each_node_with_property()
1093 dma_window = of_get_property(pdn, "ibm,dma-window", NULL); pci_dma_dev_setup_pSeriesLP()
1150 dma_window = of_get_property(pdn, "ibm,dma-window", NULL); dma_set_mask_pSeriesLP()
1194 if (of_get_property(dn, "ibm,dma-window", NULL)) dma_get_required_mask_pSeriesLP()
1198 of_get_property(dn, "ibm,ddw-applicable", NULL)) dma_get_required_mask_pSeriesLP()
1299 if (of_chosen && of_get_property(of_chosen, "linux,iommu-off", NULL)) iommu_init_early_pSeries()
H A Dhotplug-cpu.c252 intserv = of_get_property(np, "ibm,ppc-interrupt-server#s", &len); pseries_add_processor()
318 intserv = of_get_property(np, "ibm,ppc-interrupt-server#s", &len); pseries_remove_processor()
389 typep = of_get_property(np, "compatible", NULL); pseries_cpu_hotplug_init()
H A Dpseries_energy.c49 indexes = of_get_property(dn, "ibm,drc-indexes", NULL); cpu_to_drc_index()
81 indexes = of_get_property(dn, "ibm,drc-indexes", NULL); drc_index_to_cpu()
H A Dsetup.c88 model = of_get_property(root, "model", NULL); pSeries_show_cpuinfo()
159 addrp = of_get_property(np, "8259-interrupt-acknowledge", NULL); pseries_setup_i8259_cascade()
184 opprop = of_get_property(np, "platform-open-pic", &opplen); pseries_mpic_init_IRQ()
236 typep = of_get_property(np, "compatible", NULL); pseries_discover_pic()
499 prop = of_get_property(of_chosen,
H A Dnvram.c230 nbytes_p = of_get_property(nvram, "#bytes", &proplen); pSeries_nvram_init()
H A Dpci.c44 const char *loc_code = of_get_property(dn, "ibm,loc-code",
/linux-4.1.27/arch/arm64/kernel/
H A Dcpu_ops.c57 const char *enable_method = of_get_property(dn, "enable-method", NULL); cpu_read_ops()
/linux-4.1.27/drivers/input/misc/
H A Drotary_encoder.c177 pdata->relative_axis = !!of_get_property(np, rotary_encoder_parse_dt()
179 pdata->rollover = !!of_get_property(np, rotary_encoder_parse_dt()
181 pdata->half_period = !!of_get_property(np, rotary_encoder_parse_dt()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-mpc.c283 pval = of_get_property(node, "reg", NULL); mpc_i2c_setup_512x()
331 const u32 *prop = of_get_property(node, "reg", NULL); mpc_i2c_get_sec_cfg_8xxx()
703 if (of_get_property(op->dev.of_node, "fsl,preserve-clocking", NULL)) { fsl_i2c_probe()
706 prop = of_get_property(op->dev.of_node, "clock-frequency", fsl_i2c_probe()
717 if (of_get_property(op->dev.of_node, "dfsrr", NULL)) fsl_i2c_probe()
721 prop = of_get_property(op->dev.of_node, "fsl,timeout", &plen); fsl_i2c_probe()
H A Di2c-pxa-pci.c55 prop = of_get_property(child, "fast-mode", NULL); add_i2c_device()
H A Di2c-cpm.c500 data = of_get_property(ofdev->dev.of_node, "fsl,cpm-command", &len); cpm_i2c_setup()
507 data = of_get_property(ofdev->dev.of_node, "linux,i2c-class", &len); cpm_i2c_setup()
511 data = of_get_property(ofdev->dev.of_node, "clock-frequency", &len); cpm_i2c_setup()
666 data = of_get_property(ofdev->dev.of_node, "linux,i2c-index", &len); cpm_i2c_probe()
/linux-4.1.27/sound/aoa/core/
H A Dgpio-feature.c77 audio_gpio = of_get_property(np, "audio-gpio", NULL); get_gpio()
90 reg = of_get_property(np, "reg", NULL); get_gpio()
102 reg = of_get_property(np, "audio-gpio-active-state", NULL); get_gpio()
/linux-4.1.27/drivers/macintosh/ams/
H A Dams-pmu.c163 prop = of_get_property(ams_info.of_node, "reg", NULL); ams_pmu_init()
H A Dams-core.c138 prop = of_get_property(ams_info.of_node, "orientation", NULL); ams_sensor_attach()
/linux-4.1.27/drivers/mtd/chips/
H A Dmap_rom.c36 erase_size = of_get_property(map->device_node, "erase-size", NULL); default_erasesize()
/linux-4.1.27/drivers/net/ethernet/xilinx/
H A Dll_temac_mdio.c69 bus_hz = of_get_property(np, "clock-frequency", &size); temac_mdio_setup()
/linux-4.1.27/drivers/dma/bestcomm/
H A Dsram.c102 reg_addr_p = of_get_property(sram_node, "available", &psize); bcom_sram_init()
/linux-4.1.27/drivers/watchdog/
H A Dcpwd.c566 prop_val = of_get_property(options, "watchdog-enable?", NULL); cpwd_probe()
569 prop_val = of_get_property(options, "watchdog-reboot?", NULL); cpwd_probe()
572 str_prop = of_get_property(options, "watchdog-timeout", NULL); cpwd_probe()
580 str_prop = of_get_property(op->dev.of_node, "model", NULL); cpwd_probe()
/linux-4.1.27/arch/powerpc/platforms/40x/
H A Dep405.c85 irq_routing = of_get_property(bcsr_node, "irq-routing", NULL); ep405_init_bcsr()
/linux-4.1.27/sound/ppc/
H A Dtumbler.c1069 const char *property = of_get_property(np, "audio-gpio", NULL); find_audio_device()
1115 base = of_get_property(node, "AAPL,address", NULL); tumbler_find_device()
1117 base = of_get_property(node, "reg", NULL); tumbler_find_device()
1132 base = of_get_property(node, "audio-gpio-active-state", NULL); tumbler_find_device()
1148 prop = of_get_property(node, platform, NULL); tumbler_find_device()
1370 if (of_get_property(np, "has-anded-reset", NULL)) snd_pmac_tumbler_init()
1372 if (of_get_property(np, "layout-id", NULL)) snd_pmac_tumbler_init()
1387 paddr = of_get_property(tas_node, "i2c-address", NULL); snd_pmac_tumbler_init()
1389 paddr = of_get_property(tas_node, "reg", NULL); snd_pmac_tumbler_init()
/linux-4.1.27/drivers/irqchip/
H A Dirq-crossbar.c233 irqsr = of_get_property(node, "ti,irqs-reserved", &size); crossbar_of_init()
251 irqsr = of_get_property(node, "ti,irqs-skip", &size); crossbar_of_init()
/linux-4.1.27/drivers/media/v4l2-core/
H A Dv4l2-of.c69 if (of_get_property(node, "clock-noncontinuous", &v)) v4l2_of_parse_csi_bus()
111 if (of_get_property(node, "slave-mode", &v)) v4l2_of_parse_parallel_bus()
/linux-4.1.27/drivers/spi/
H A Dspi-oc-tiny.c229 val = of_get_property(pdev->dev.of_node, tiny_spi_of_probe()
233 val = of_get_property(pdev->dev.of_node, "baud-width", &len); tiny_spi_of_probe()
H A Dspi-fsl-espi.c700 prop = of_get_property(nc, "reg", &len); fsl_espi_probe()
709 prop = of_get_property(nc, "fsl,csbef", &len); fsl_espi_probe()
715 prop = of_get_property(nc, "fsl,csaft", &len); fsl_espi_probe()
755 prop = of_get_property(np, "fsl,espi-num-chipselects", &len); of_fsl_espi_get_chipselects()
H A Dspi-fsl-lib.c169 prop = of_get_property(np, "mode", NULL); of_mpc8xxx_spi_probe()
/linux-4.1.27/drivers/pci/host/
H A Dpci-host-generic.c228 type = of_get_property(np, "device_type", NULL); gen_pci_probe()
234 prop = of_get_property(of_chosen, "linux,pci-probe-only", NULL); gen_pci_probe()
/linux-4.1.27/arch/powerpc/platforms/85xx/
H A Dmpc85xx_mds.c213 prop = of_get_property(np, "cell-index", NULL); mpc85xx_mds_reset_ucc_phys()
219 prop = of_get_property(np, "phy-connection-type", NULL); mpc85xx_mds_reset_ucc_phys()
H A Dxes_mpc85xx.c126 model = of_get_property(root, "model", NULL); xes_mpc85xx_setup_arch()
/linux-4.1.27/arch/powerpc/sysdev/xics/
H A Dicp-native.c261 ireg = of_get_property(np, "ibm,interrupt-server-ranges", &ilen); icp_native_init_one_node()
274 ireg = of_get_property(np, "reg", &ilen); icp_native_init_one_node()
/linux-4.1.27/arch/mips/pci/
H A Dpci-lantiq.c119 bus_clk = of_get_property(node, "lantiq,bus-clock", NULL); ltq_pci_startup()
155 req_mask = of_get_property(node, "req-mask", NULL); ltq_pci_startup()
/linux-4.1.27/arch/arm/common/
H A Dtimer-sp.c219 const char *name = of_get_property(np, "compatible", NULL); sp804_of_init()
273 const char *name = of_get_property(np, "compatible", NULL); integrator_cp_of_init()
/linux-4.1.27/arch/arm/mach-omap2/
H A Dtimer.c177 if (property && !of_get_property(np, property, NULL)) for_each_matching_node()
180 if (!property && (of_get_property(np, "ti,timer-alwon", NULL) || for_each_matching_node()
181 of_get_property(np, "ti,timer-dsp", NULL) || for_each_matching_node()
182 of_get_property(np, "ti,timer-pwm", NULL) || for_each_matching_node()
183 of_get_property(np, "ti,timer-secure", NULL))) for_each_matching_node()
/linux-4.1.27/drivers/sbus/char/
H A Denvctrl.c776 pos = of_get_property(dp, "channels-description", &len); envctrl_init_adc()
786 pval = of_get_property(dp, "warning-temp", NULL); envctrl_init_adc()
790 pval = of_get_property(dp, "shutdown-temp", NULL); envctrl_init_adc()
870 pval = of_get_property(dp, "reg", &len); envctrl_init_i2c_child()
874 pval = of_get_property(dp, "translation", &len); envctrl_init_i2c_child()
889 pval = of_get_property(dp, "tables", &len); envctrl_init_i2c_child()
918 pval = of_get_property(dp, "channels-in-use", &len); envctrl_init_i2c_child()
/linux-4.1.27/arch/powerpc/mm/
H A Dnuma.c179 return of_get_property(dev, "ibm,associativity", NULL); of_get_associativity()
191 prop = of_get_property(memory, "linux,drconf-usable-memory", &len); of_get_usable_memory()
318 distance_ref_points = of_get_property(root, find_min_common_depth()
420 prop = of_get_property(memory, "ibm,dynamic-memory", &len); of_get_drconf_memory()
445 prop = of_get_property(memory, "ibm,lmb-size", &len); of_get_lmb_size()
474 prop = of_get_property(memory, "ibm,associativity-lookup-arrays", &len); of_get_assoc_arrays()
764 memcell_buf = of_get_property(memory,
767 memcell_buf = of_get_property(memory, "reg", &len);
1092 memcell_buf = of_get_property(memory, "reg", &len); hot_add_node_scn_to_nid()
/linux-4.1.27/drivers/net/ethernet/freescale/
H A Dfsl_pq_mdio.c268 iprop = of_get_property(np, "cell-index", NULL); ucc_configure()
270 iprop = of_get_property(np, "device-id", NULL); ucc_configure()
435 const u32 *prop = of_get_property(tbi, "reg", NULL);
/linux-4.1.27/drivers/input/keyboard/
H A Dmatrix_keypad.c426 if (of_get_property(np, "linux,no-autorepeat", NULL)) matrix_keypad_parse_dt()
428 if (of_get_property(np, "linux,wakeup", NULL)) matrix_keypad_parse_dt()
430 if (of_get_property(np, "gpio-activelow", NULL)) matrix_keypad_parse_dt()
H A Dgpio_keys.c618 pdata->rep = !!of_get_property(node, "autorepeat", NULL); gpio_keys_get_devtree_pdata()
653 button->desc = of_get_property(pp, "label", NULL); for_each_child_of_node()
658 button->wakeup = !!of_get_property(pp, "gpio-key,wakeup", NULL); for_each_child_of_node()
660 button->can_disable = !!of_get_property(pp, "linux,can-disable", NULL); for_each_child_of_node()
/linux-4.1.27/sound/aoa/soundbus/i2sbus/
H A Dcore.c139 reg = of_get_property(np, "reg", NULL); i2sbus_get_and_fixup_rsrc()
186 const u32 *id = of_get_property(sound, "layout-id", NULL); i2sbus_add_dev()
194 id = of_get_property(sound, "device-id", NULL); i2sbus_add_dev()
/linux-4.1.27/sound/soc/sh/rcar/
H A Dssi.c663 if (of_get_property(np, "shared-pin", NULL)) for_each_child_of_node()
674 ssi_info->dma_id = of_get_property(np, "pio-transfer", NULL) ? for_each_child_of_node()
677 if (of_get_property(np, "no-busif", NULL)) for_each_child_of_node()
/linux-4.1.27/drivers/media/rc/
H A Dgpio-ir-recv.c56 pdata->map_name = of_get_property(np, "linux,rc-map-name", NULL); gpio_ir_recv_get_devtree_pdata()
H A Dmeson-ir.c134 map_name = of_get_property(node, "linux,rc-map-name", NULL); meson_ir_probe()
/linux-4.1.27/arch/x86/kernel/
H A Ddevicetree.c79 prop = of_get_property(np, "bus-range", NULL); pcibios_get_phb_of_node()
/linux-4.1.27/drivers/gpu/drm/tegra/
H A Doutput.c115 output->edid = of_get_property(output->of_node, "nvidia,edid", &size); tegra_output_probe()
/linux-4.1.27/drivers/w1/masters/
H A Dw1-gpio.c88 if (of_get_property(np, "linux,open-drain", NULL)) w1_gpio_probe_dt()
/linux-4.1.27/drivers/power/
H A Dsbs-battery.c754 if (!of_get_property(of_node, "sbs,i2c-retry-count", NULL) && sbs_of_populate_pdata()
755 !of_get_property(of_node, "sbs,poll-retry-count", NULL) && sbs_of_populate_pdata()
756 !of_get_property(of_node, "sbs,battery-detect-gpios", NULL)) sbs_of_populate_pdata()
772 if (!of_get_property(of_node, "sbs,battery-detect-gpios", NULL)) { sbs_of_populate_pdata()
/linux-4.1.27/drivers/pps/clients/
H A Dpps-gpio.c120 if (of_get_property(np, "assert-falling-edge", NULL)) pps_gpio_probe()
/linux-4.1.27/arch/arm/kernel/
H A Dcpuidle.c102 enable_method = of_get_property(dn, "enable-method", NULL); arm_cpuidle_read_ops()
/linux-4.1.27/net/dsa/
H A Ddsa.c528 reg = of_get_property(parent_sw, "reg", &len); dsa_of_setup_routing_table()
628 sw_addr = of_get_property(child, "reg", NULL); for_each_available_child_of_node()
640 port_reg = of_get_property(port, "reg", NULL); for_each_available_child_of_node()
646 port_name = of_get_property(port, "label", NULL); for_each_available_child_of_node()
/linux-4.1.27/sound/aoa/soundbus/
H A Dcore.c89 compat = of_get_property(of->dev.of_node, "compatible", &cplen); soundbus_uevent()

Completed in 5585 milliseconds

123