Searched refs:of_property_read_string (Results 1 - 128 of 128) sorted by relevance

/linux-4.1.27/arch/mips/lantiq/xway/
H A Dxrx200_phy_fw.c31 if (of_property_read_string(pdev->dev.of_node, xway_gphy_load()
39 if (of_property_read_string(pdev->dev.of_node, xway_gphy_load()
47 } else if (of_property_read_string(pdev->dev.of_node, xway_gphy_load()
/linux-4.1.27/drivers/usb/phy/
H A Dof.c37 err = of_property_read_string(np, "phy_type", &phy_type); of_usb_get_phy_mode()
/linux-4.1.27/drivers/clk/
H A Dclk-moxart.c26 of_property_read_string(node, "clock-output-names", &name); moxart_of_pll_clk_init()
65 of_property_read_string(node, "clock-output-names", &name); moxart_of_apb_clk_init()
H A Dclk-nspire.c85 of_property_read_string(node, "clock-output-names", &clk_name); nspire_ahbdiv_setup()
126 of_property_read_string(node, "clock-output-names", &clk_name); nspire_clk_setup()
H A Dclk-fixed-factor.c125 of_property_read_string(node, "clock-output-names", &clk_name); of_fixed_factor_clk_setup()
H A Dclk-fixed-rate.c127 of_property_read_string(node, "clock-output-names", &clk_name); of_fixed_clk_setup()
H A Dclk-pwm.c94 of_property_read_string(node, "clock-output-names", &clk_name); clk_pwm_probe()
H A Dclk-xgene.c177 of_property_read_string(np, "clock-output-names", &clk_name); xgene_pllclk_init()
498 of_property_read_string(np, "clock-output-names", &clk_name); xgene_devclk_init()
H A Dclk-highbank.c299 of_property_read_string(node, "clock-output-names", &clk_name); hb_clk_init()
H A Dclk-qoriq.c268 of_property_read_string(np, "clock-output-names", &clk_name); sysclk_init()
H A Dclk-vt8500.c277 of_property_read_string(node, "clock-output-names", &clk_name); vtwm_device_clk_init()
675 of_property_read_string(node, "clock-output-names", &clk_name); vtwm_pll_clk_init()
H A Dclk-axi-clkgen.c517 of_property_read_string(pdev->dev.of_node, "clock-output-names", axi_clkgen_probe()
H A Dclk-si570.c442 if (of_property_read_string(client->dev.of_node, "clock-output-names", si570_probe()
/linux-4.1.27/drivers/of/
H A Dof_net.c27 err = of_property_read_string(np, "phy-mode", &pm); of_get_phy_mode()
29 err = of_property_read_string(np, "phy-connection-type", &pm); of_get_phy_mode()
H A Dof_mtd.c40 err = of_property_read_string(np, "nand-ecc-mode", &pm); of_get_nand_ecc_mode()
H A Dof_mdio.c276 err = of_property_read_string(np, "managed", &managed); of_phy_is_fixed_link()
298 err = of_property_read_string(np, "managed", &managed); of_phy_register_fixed_link()
H A Dresolver.c379 err = of_property_read_string(root_sym, for_each_property_of_node()
H A Doverlay.c206 ret = of_property_read_string(info_node, "target-path", &path); find_target_node()
H A Dbase.c1333 * of_property_read_string - Find and read a string from a property
1347 int of_property_read_string(struct device_node *np, const char *propname, of_property_read_string() function
1360 EXPORT_SYMBOL_GPL(of_property_read_string); variable
1408 * of_property_read_string*() family of functions.
/linux-4.1.27/drivers/usb/common/
H A Dcommon.c104 err = of_property_read_string(np, "dr_mode", &dr_mode); of_usb_get_dr_mode()
130 err = of_property_read_string(np, "maximum-speed", &maximum_speed); of_usb_get_maximum_speed()
/linux-4.1.27/drivers/clk/sunxi/
H A Dclk-a10-hosc.c45 of_property_read_string(node, "clock-output-names", &clk_name); sun4i_osc_clk_setup()
H A Dclk-sun6i-apb0.c49 of_property_read_string(np, "clock-output-names", &clk_name); sun6i_a31_apb0_clk_probe()
H A Dclk-sun8i-apb0.c40 of_property_read_string(np, "clock-output-names", &clk_name); sun8i_a23_apb0_clk_probe()
H A Dclk-a20-gmac.c70 if (of_property_read_string(node, "clock-output-names", &clk_name)) sun7i_a20_gmac_clk_setup()
H A Dclk-sun6i-ar100.c201 of_property_read_string(np, "clock-output-names", &clk_name); sun6i_a31_ar100_clk_probe()
H A Dclk-factors.c188 of_property_read_string(node, "clock-output-names", &clk_name); sunxi_factors_register()
H A Dclk-sunxi.c207 of_property_read_string(node, "clock-output-names", &clk_name); sun6i_ahb1_clk_setup()
795 of_property_read_string(node, "clock-output-names", &clk_name); sunxi_mux_clk_setup()
877 of_property_read_string(node, "clock-output-names", &clk_name); sunxi_divider_clk_setup()
/linux-4.1.27/drivers/clocksource/
H A Dtimer-integrator-ap.c181 err = of_property_read_string(of_aliases, integrator_ap_timer_init_of()
186 err = of_property_read_string(of_aliases, integrator_ap_timer_init_of()
/linux-4.1.27/drivers/clk/socfpga/
H A Dclk-periph.c88 of_property_read_string(node, "clock-output-names", &clk_name); __socfpga_periph_init()
H A Dclk-pll.c108 of_property_read_string(node, "clock-output-names", &clk_name); __socfpga_pll_init()
H A Dclk-gate.c236 of_property_read_string(node, "clock-output-names", &clk_name); __socfpga_gate_init()
/linux-4.1.27/drivers/clk/at91/
H A Dclk-slow.c170 of_property_read_string(np, "clock-output-names", &name); of_at91sam9x5_clk_slow_osc_setup()
279 of_property_read_string(np, "clock-output-names", &name); of_at91sam9x5_clk_slow_rc_osc_setup()
386 of_property_read_string(np, "clock-output-names", &name); of_at91sam9x5_clk_slow_setup()
464 of_property_read_string(np, "clock-output-names", &name); of_at91sam9260_clk_slow_setup()
H A Dclk-usb.c391 of_property_read_string(np, "clock-output-names", &name); of_at91sam9x5_clk_usb_setup()
411 of_property_read_string(np, "clock-output-names", &name); of_at91sam9n12_clk_usb_setup()
436 of_property_read_string(np, "clock-output-names", &name); of_at91rm9200_clk_usb_setup()
H A Dclk-main.c201 of_property_read_string(np, "clock-output-names", &name); of_at91rm9200_clk_main_osc_setup()
349 of_property_read_string(np, "clock-output-names", &name); of_at91sam9x5_clk_main_rc_osc_setup()
470 of_property_read_string(np, "clock-output-names", &name); of_at91rm9200_clk_main_setup()
627 of_property_read_string(np, "clock-output-names", &name); of_at91sam9x5_clk_main_setup()
H A Dclk-plldiv.c120 of_property_read_string(np, "clock-output-names", &name); of_at91_clk_plldiv_setup()
H A Dclk-smd.c163 of_property_read_string(np, "clock-output-names", &name); of_at91sam9x5_clk_smd_setup()
H A Dclk-system.c163 if (of_property_read_string(np, "clock-output-names", &name)) for_each_child_of_node()
H A Dclk-utmi.c141 of_property_read_string(np, "clock-output-names", &name); of_at91_clk_utmi_setup()
H A Dclk-master.c237 of_property_read_string(np, "clock-output-names", &name); of_at91_clk_master_setup()
H A Dclk-peripheral.c375 if (of_property_read_string(np, "clock-output-names", &name)) for_each_child_of_node()
H A Dclk-programmable.c258 if (of_property_read_string(np, "clock-output-names", &name)) for_each_child_of_node()
H A Dclk-pll.c497 of_property_read_string(np, "clock-output-names", &name); of_at91_clk_pll_setup()
/linux-4.1.27/arch/arm/mach-imx/
H A Dcpu.c91 ret = of_property_read_string(root, "model", &soc_dev_attr->machine); imx_soc_device_init()
/linux-4.1.27/arch/arm/mach-nspire/
H A Dclcd.c75 err = of_property_read_string(fb->dev->dev.of_node, "lcd-type", &type); nspire_clcd_setup()
/linux-4.1.27/drivers/hwmon/
H A Dibmpowernv.c255 if (of_property_read_string(np, "sensor-type", &str)) get_sensor_type()
305 if (!of_property_read_string(np, "label", &label)) for_each_child_of_node()
415 if (!of_property_read_string(np, "label", &label)) { for_each_child_of_node()
/linux-4.1.27/drivers/soc/versatile/
H A Dsoc-realview.c110 ret = of_property_read_string(np, "compatible", realview_soc_probe()
/linux-4.1.27/drivers/clk/versatile/
H A Dclk-vexpress-osc.c92 if (of_property_read_string(pdev->dev.of_node, "clock-output-names", vexpress_osc_probe()
/linux-4.1.27/drivers/power/reset/
H A Dat91-poweroff.c80 err = of_property_read_string(np, "atmel,wakeup-mode", &pm); at91_poweroff_get_wakeup_mode()
/linux-4.1.27/drivers/leds/
H A Dleds-mc13783.c164 if (!of_property_read_string(child, "label", &str)) for_each_child_of_node()
166 if (!of_property_read_string(child, "linux,default-trigger", for_each_child_of_node()
H A Dleds-ns2.c287 ret = of_property_read_string(child, "label", &string); for_each_child_of_node()
289 ret = of_property_read_string(child, "linux,default-trigger", for_each_child_of_node()
H A Dleds-lp55xx-common.c574 of_property_read_string(child, "chan-name", &cfg[i].name); for_each_child_of_node()
583 of_property_read_string(np, "label", &pdata->label);
H A Dleds-pm8941-wled.c339 rc = of_property_read_string(dev->of_node, "label", &wled->cdev.name); pm8941_wled_configure()
H A Dleds-lp8860.c387 ret = of_property_read_string(np, "label", &led->label); lp8860_probe()
/linux-4.1.27/drivers/clk/keystone/
H A Dpll.c261 of_property_read_string(node, "clock-output-names", &clk_name); of_pll_div_clk_init()
305 of_property_read_string(node, "clock-output-names", &clk_name); of_pll_mux_clk_init()
H A Dgate.c236 of_property_read_string(node, "clock-output-names", &clk_name); of_psc_clk_init()
/linux-4.1.27/drivers/pinctrl/spear/
H A Dpinctrl-spear.c159 ret = of_property_read_string(np, "st,function", &function); for_each_child_of_node()
180 of_property_read_string(np, "st,function", &function); for_each_child_of_node()
/linux-4.1.27/drivers/watchdog/
H A Dgpio_wdt.c182 ret = of_property_read_string(pdev->dev.of_node, "hw_algo", &algo); gpio_wdt_probe()
H A Dat91sam9_wdt.c295 if (!of_property_read_string(np, "atmel,watchdog-type", &tmp) && of_at91wdt_init()
303 if (!of_property_read_string(np, "atmel,reset-type", &tmp) && of_at91wdt_init()
/linux-4.1.27/drivers/gpu/drm/i2c/
H A Dadv7511.c780 ret = of_property_read_string(np, "adi,input-colorspace", &str); adv7511_parse_dt()
793 ret = of_property_read_string(np, "adi,input-clock", &str); adv7511_parse_dt()
816 ret = of_property_read_string(np, "adi,input-justification", adv7511_parse_dt()
/linux-4.1.27/drivers/hsi/
H A Dhsi.c145 err = of_property_read_string(client, name, &mode); hsi_of_property_parse_mode()
165 err = of_property_read_string(client, name, &flow); hsi_of_property_parse_flow()
185 err = of_property_read_string(client, name, &arb_mode); hsi_of_property_parse_arb_mode()
/linux-4.1.27/drivers/thermal/
H A Ddb8500_thermal.c345 if (of_property_read_string(np, prop_name, &tmp_str)) db8500_thermal_parse_dt()
368 if (of_property_read_string(np, prop_name, &tmp_str)) db8500_thermal_parse_dt()
H A Dof-thermal.c654 err = of_property_read_string(np, "type", &t); thermal_of_get_trip_type()
/linux-4.1.27/drivers/uio/
H A Duio_fsl_elbc_gpcm.c282 if (of_property_read_string(node, "device_type", &type) == 0) get_of_data()
294 if (of_property_read_string(node, "uio_name", &dt_name) != 0) get_of_data()
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-sti.c314 err = of_property_read_string(np, "st,tx-retime-src", &rs); sti_dwmac_parse_data()
H A Ddwmac-rk.c337 ret = of_property_read_string(dev->of_node, "clock_in_out", &strings); rk_gmac_setup()
/linux-4.1.27/drivers/rtc/
H A Drtc-abx80x.c163 ret = of_property_read_string(np, "abracon,tc-diode", &diode); abx80x_dt_trickle_cfg()
H A Drtc-hym8563.c422 of_property_read_string(node, "clock-output-names", &init.name); hym8563_clkout_register_clk()
/linux-4.1.27/drivers/pinctrl/berlin/
H A Dberlin.c66 ret = of_property_read_string(node, "function", &function_name); berlin_pinctrl_dt_node_to_map()
/linux-4.1.27/drivers/gpu/drm/imx/
H A Dparallel-display.c225 ret = of_property_read_string(np, "interface-pix-fmt", &fmt); imx_pd_bind()
H A Dimx-ldb.c464 ret = of_property_read_string(np, "fsl,data-mapping", &bm); of_get_bus_format()
H A Dimx-tve.c551 ret = of_property_read_string(np, "fsl,tve-mode", &bm); of_get_tve_mode()
/linux-4.1.27/drivers/clk/shmobile/
H A Dclk-div6.c218 ret = of_property_read_string(np, "clock-output-names", &name); cpg_div6_clock_init()
/linux-4.1.27/drivers/cpuidle/
H A Ddt_idle_states.c77 err = of_property_read_string(state_node, "idle-state-name", &desc); init_state_node()
/linux-4.1.27/drivers/devfreq/event/
H A Dexynos-ppmu.c244 of_property_read_string(node, "event-name", &desc[j].name); for_each_child_of_node()
/linux-4.1.27/drivers/video/backlight/
H A Dsky81452-backlight.c192 of_property_read_string(np, "name", &pdata->name); sky81452_bl_parse_dt()
H A Dlp855x_bl.c361 of_property_read_string(node, "bl-name", &pdata->name); lp855x_parse_dt()
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
H A Ddisplay.c158 of_property_read_string(dssdev->dev->of_node, "label", omapdss_register_display()
/linux-4.1.27/drivers/pinctrl/
H A Dpinctrl-lantiq.c94 ret = of_property_read_string(np, "lantiq,function", &function); ltq_pinctrl_dt_subnode_to_map()
H A Dpinctrl-tb10x.c559 if (of_property_read_string(np_config, "abilis,function", &string)) { tb10x_dt_node_to_map()
801 if (!of_property_read_string(child, "abilis,function", for_each_child_of_node()
H A Dpinconf-generic.c306 ret = of_property_read_string(np, "function", &function); pinconf_generic_dt_subnode_to_map()
H A Dpinctrl-tegra.c134 ret = of_property_read_string(np, "nvidia,function", &function); tegra_pinctrl_dt_subnode_to_map()
H A Dpinctrl-tegra-xusb.c161 err = of_property_read_string(np, "nvidia,function", &function); tegra_xusb_padctl_parse_subnode()
H A Dpinctrl-tz1090-pdc.c409 ret = of_property_read_string(np, "tz1090,function", &function); tz1090_pdc_pinctrl_dt_subnode_to_map()
H A Dpinctrl-st.c1538 of_property_read_string(np, "st,bank-name", &range->name); st_gpiolib_register_bank()
H A Dpinctrl-tz1090.c1126 ret = of_property_read_string(np, "tz1090,function", &function); tz1090_pinctrl_dt_subnode_to_map()
/linux-4.1.27/drivers/power/
H A Dgpio-charger.c103 ret = of_property_read_string(np, "charger-type", &chargetype); gpio_charger_parse_dt()
H A Dcharger-manager.c1506 of_property_read_string(np, "cm-name", &desc->psy_name); of_cm_parse_desc()
1542 of_property_read_string(np, "cm-fuel-gauge", &desc->psy_fuel_gauge); of_cm_parse_desc()
1544 of_property_read_string(np, "cm-thermal-zone", &desc->thermal_zone); of_cm_parse_desc()
1575 of_property_read_string(child, "cm-regulator-name", for_each_child_of_node()
1590 of_property_read_string(_child, for_each_child_of_node()
1592 of_property_read_string(_child, for_each_child_of_node()
H A Dlp8727_charger.c529 of_property_read_string(child, "charger-type", &type); for_each_child_of_node()
/linux-4.1.27/arch/arm/kernel/
H A Ddevtree.c43 if (of_property_read_string(node, "enable-method", &method)) set_smp_ops_by_method()
H A Dpsci.c153 if (of_property_read_string(np, "method", &method)) { get_set_conduit_method()
/linux-4.1.27/drivers/pinctrl/sirf/
H A Dpinctrl-sirf.c87 ret = of_property_read_string(np, "sirf,function", &function); for_each_child_of_node()
108 of_property_read_string(np, "sirf,function", &function); for_each_child_of_node()
/linux-4.1.27/drivers/mtd/maps/
H A Dphysmap_of.c178 of_property_read_string(dp, "linux,mtd-name", &mtd_name); of_flash_probe()
/linux-4.1.27/drivers/media/platform/xilinx/
H A Dxilinx-vip.c122 of_property_read_string(node, "xlnx,cfa-pattern", &pattern); xvip_of_get_format()
H A Dxilinx-vipp.c433 ret = of_property_read_string(node, "direction", &direction); xvip_graph_dma_init_one()
/linux-4.1.27/drivers/media/rc/
H A Dst_rc.c239 if (np && !of_property_read_string(np, "rx-mode", &rx_mode)) { st_rc_probe()
/linux-4.1.27/drivers/regulator/
H A Dgpio-regulator.c227 ret = of_property_read_string(np, "regulator-type", &regtype); of_get_gpio_regulator_config()
/linux-4.1.27/drivers/gpio/
H A Dgpiolib-of.c193 if (name && of_property_read_string(np, "line-name", name)) of_get_gpio_hog()
/linux-4.1.27/drivers/video/fbdev/
H A Dsimplefb.c123 ret = of_property_read_string(np, "format", &format); simplefb_parse_dt()
H A Dimxfb.c692 ret = of_property_read_string(np, "model", &of_mode->name); imxfb_of_read_mode()
H A Datmel_lcdfb.c1007 err = of_property_read_string(np, "atmel,lcd-wiring-mode", &mode); atmel_lcdfb_get_of_wiring_modes()
/linux-4.1.27/arch/arm64/kernel/
H A Dpsci.c252 if (of_property_read_string(np, "method", &method)) { get_set_conduit_method()
/linux-4.1.27/arch/c6x/kernel/
H A Dsetup.c203 if (of_property_read_string(node, "model", &c6x_soc_name)) get_cpuinfo()
/linux-4.1.27/arch/arm/mach-mxs/
H A Dmach-mxs.c469 ret = of_property_read_string(root, "model", &soc_dev_attr->machine); mxs_machine_init()
/linux-4.1.27/drivers/pinctrl/sh-pfc/
H A Dpinctrl.c119 ret = of_property_read_string(np, "renesas,function", &function); sh_pfc_dt_subnode_to_map()
/linux-4.1.27/drivers/iio/adc/
H A Dat91_adc.c755 if (of_property_read_string(np, "atmel,adc-use-res", (const char **)&res_name)) at91_adc_of_get_resolution()
922 if (of_property_read_string(trig_node, "trigger-name", &name)) { for_each_child_of_node()
H A Dxilinx-xadc-core.c1070 ret = of_property_read_string(np, "xlnx,external-mux", &external_mux); xadc_parse_dt()
/linux-4.1.27/drivers/mtd/nand/
H A Ddavinci_nand.c560 if (!of_property_read_string(pdev->dev.of_node, nand_davinci_get_pdata()
562 !of_property_read_string(pdev->dev.of_node, nand_davinci_get_pdata()
/linux-4.1.27/include/linux/
H A Dof.h298 extern int of_property_read_string(struct device_node *np,
535 static inline int of_property_read_string(struct device_node *np, of_property_read_string() function
/linux-4.1.27/drivers/mfd/
H A Domap-usb-host.c528 ret = of_property_read_string(node, prop, &mode); usbhs_omap_get_dt_pdata()
/linux-4.1.27/drivers/pinctrl/mvebu/
H A Dpinctrl-mvebu.c387 ret = of_property_read_string(np, "marvell,function", &function); mvebu_pinctrl_dt_node_to_map()
/linux-4.1.27/drivers/base/
H A Dproperty.c459 return of_property_read_string(of_node(fwnode), propname, val); fwnode_property_read_string()
/linux-4.1.27/arch/mips/cavium-octeon/
H A Docteon-platform.c116 i = of_property_read_string(uctl_node, octeon2_usb_clocks_start()
/linux-4.1.27/drivers/pinctrl/sunxi/
H A Dpinctrl-sunxi.c165 ret = of_property_read_string(node, "allwinner,function", &function); sunxi_pctrl_dt_node_to_map()
/linux-4.1.27/drivers/soc/ti/
H A Dknav_qmss_queue.c1051 if (of_property_read_string(node, "label", &name) < 0) knav_queue_find_name()
1451 ret = of_property_read_string(child, "firmware", for_each_child_of_node()
/linux-4.1.27/drivers/memory/
H A Domap-gpmc.c1809 if (of_property_read_string(child, "ti,nand-ecc-opt", &s)) { gpmc_probe_nand_child()
1844 if (!of_property_read_string(child, "ti,nand-xfer-type", &s)) gpmc_probe_nand_child()
/linux-4.1.27/drivers/net/ethernet/ti/
H A Dnetcp_core.c196 if (of_property_read_string(node, "label", &name) < 0) netcp_node_name()
1922 ret = of_property_read_string(node_interface, "rx-channel", netcp_create_interface()
H A Dnetcp_ethss.c2838 ret = of_property_read_string(node, "tx-channel", gbe_probe()
/linux-4.1.27/drivers/pinctrl/nomadik/
H A Dpinctrl-abx500.c896 ret = of_property_read_string(np, "function", &function); abx500_dt_subnode_to_map()
H A Dpinctrl-nomadik.c1525 ret = of_property_read_string(np, "function", &function); nmk_pinctrl_dt_subnode_to_map()
/linux-4.1.27/sound/soc/codecs/
H A Dsta350.c1124 if (!of_property_read_string(np, "st,ffx-power-output-mode", sta350_probe_dt()
/linux-4.1.27/drivers/net/ethernet/freescale/
H A Dgianfar.c868 err = of_property_read_string(np, "model", &model); gfar_of_init()
940 err = of_property_read_string(np, "phy-connection-type", &ctype);
/linux-4.1.27/drivers/staging/fbtft/
H A Dfbtft-core.c1334 of_property_read_string(node, "gamma", (const char **)&pdata->gamma); fbtft_probe_dt()
/linux-4.1.27/drivers/dma/
H A Dimx-sdma.c1569 ret = of_property_read_string(np, "fsl,sdma-ram-script-name", sdma_probe()
/linux-4.1.27/drivers/bus/
H A Darm-cci.c1422 if (of_property_read_string(cp, "interface-type", for_each_child_of_node()
/linux-4.1.27/drivers/usb/gadget/udc/
H A Datmel_usba_udc.c1991 ret = of_property_read_string(pp, "name", &name); atmel_udc_of_init()
/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dmvneta.c3091 err = of_property_read_string(dn, "managed", &managed); mvneta_probe()
/linux-4.1.27/sound/soc/
H A Dsoc-core.c3407 ret = of_property_read_string(np, prop, &str); snd_soc_of_parse_daifmt()
/linux-4.1.27/drivers/staging/octeon-usb/
H A Docteon-hcd.c3612 i = of_property_read_string(usbn_node, octeon_usb_probe()

Completed in 3047 milliseconds