Home
last modified time | relevance | path

Searched refs:of_property_read_u8 (Results 1 – 25 of 30) sorted by relevance

12

/OK3568_Linux_fs/kernel/drivers/regulator/
H A Dmpq7920.c225 ret = of_property_read_u8(np, "mps,buck-phase-delay", &val); in mpq7920_parse_cb()
233 ret = of_property_read_u8(np, "mps,buck-softstart", &val); in mpq7920_parse_cb()
253 ret = of_property_read_u8(np, "mps,switch-freq", &freq); in mpq7920_parse_dt()
H A Dlp872x.c839 of_property_read_u8(np, "ti,general-config", &pdata->general_config); in lp872x_populate_pdata_from_dt()
848 of_property_read_u8(np, "ti,dvs-vsel", (u8 *)&pdata->dvs->vsel); in lp872x_populate_pdata_from_dt()
849 of_property_read_u8(np, "ti,dvs-state", &dvs_state); in lp872x_populate_pdata_from_dt()
/OK3568_Linux_fs/kernel/drivers/video/backlight/
H A Dlp855x_bl.c362 of_property_read_u8(node, "dev-ctrl", &pdata->device_control); in lp855x_parse_dt()
363 of_property_read_u8(node, "init-brt", &pdata->initial_brightness); in lp855x_parse_dt()
378 of_property_read_u8(child, "rom-addr", &rom[i].addr); in lp855x_parse_dt()
379 of_property_read_u8(child, "rom-val", &rom[i].val); in lp855x_parse_dt()
/OK3568_Linux_fs/kernel/drivers/leds/
H A Dleds-lp55xx-common.c572 of_property_read_u8(np, "led-cur", in lp55xx_parse_common_child()
574 of_property_read_u8(np, "max-cur", in lp55xx_parse_common_child()
694 of_property_read_u8(np, "clock-mode", &pdata->clock_mode); in lp55xx_of_populate_pdata()
702 of_property_read_u8(np, "pwr-sel", (u8 *)&pdata->pwr_sel); in lp55xx_of_populate_pdata()
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Dsta350.c1104 of_property_read_u8(np, "st,output-conf", in sta350_probe_dt()
1106 of_property_read_u8(np, "st,ch1-output-mapping", in sta350_probe_dt()
1108 of_property_read_u8(np, "st,ch2-output-mapping", in sta350_probe_dt()
1110 of_property_read_u8(np, "st,ch3-output-mapping", in sta350_probe_dt()
1176 if (!of_property_read_u8(np, "st,powerdown-delay-divider", &tmp8)) { in sta350_probe_dt()
H A Dsta32x.c1052 of_property_read_u8(np, "st,output-conf", in sta32x_probe_dt()
1054 of_property_read_u8(np, "st,ch1-output-mapping", in sta32x_probe_dt()
1056 of_property_read_u8(np, "st,ch2-output-mapping", in sta32x_probe_dt()
1058 of_property_read_u8(np, "st,ch3-output-mapping", in sta32x_probe_dt()
H A Des8326.c873 ret = of_property_read_u8(i2c->dev.of_node, "mic1-src", in es8326_i2c_probe()
881 ret = of_property_read_u8(i2c->dev.of_node, "mic2-src", in es8326_i2c_probe()
889 ret = of_property_read_u8(i2c->dev.of_node, "jack-pol", in es8326_i2c_probe()
H A Dcs53l30.c1022 if (!of_property_read_u8(np, "cirrus,micbias-lvl", &val)) in cs53l30_i2c_probe()
/OK3568_Linux_fs/kernel/drivers/power/supply/
H A Dda9150-fg.c429 of_property_read_u8(fg_node, "dlg,warn-soc-level", in da9150_fg_dt_pdata()
431 of_property_read_u8(fg_node, "dlg,crit-soc-level", in da9150_fg_dt_pdata()
H A Dlp8727_charger.c501 of_property_read_u8(np, "eoc-level", (u8 *)&param->eoc_level); in lp8727_parse_charge_pdata()
502 of_property_read_u8(np, "charging-current", (u8 *)&param->ichg); in lp8727_parse_charge_pdata()
/OK3568_Linux_fs/kernel/drivers/media/rc/
H A Dir-spi.c140 ret = of_property_read_u8(spi->dev.of_node, "duty-cycle", &dc); in ir_spi_probe()
/OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/
H A Dmali_kbase_gpuprops.c555 else if (of_property_read_u8(np, "l2-size", &kbdev->l2_size_override)) in kbase_read_l2_config_from_dt()
564 else if (of_property_read_u8(np, "l2-hash", &kbdev->l2_hash_override)) in kbase_read_l2_config_from_dt()
/OK3568_Linux_fs/kernel/drivers/misc/rk628/
H A Drk628.c630 of_property_read_u8(np, "hsync-active", &val); in of_parse_rk628_display_timing()
633 of_property_read_u8(np, "vsync-active", &val); in of_parse_rk628_display_timing()
/OK3568_Linux_fs/kernel/drivers/hwmon/
H A Dadc128d818.c460 if (of_property_read_u8(dev->of_node, "ti,mode", &data->mode) == 0) { in adc128_probe()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/rockchip/
H A Ddw-mipi-dsi-rockchip.c957 of_property_read_u8(np, "version-major", &dsi->version_major); in dw_mipi_dsi_get_dsc_info_from_sink()
958 of_property_read_u8(np, "version-minor", &dsi->version_minor); in dw_mipi_dsi_get_dsc_info_from_sink()
H A Ddw-mipi-dsi2-rockchip.c1219 of_property_read_u8(np, "version-major", &dsi2->version_major); in dw_mipi_dsi2_get_dsc_params_from_sink()
1220 of_property_read_u8(np, "version-minor", &dsi2->version_minor); in dw_mipi_dsi2_get_dsc_params_from_sink()
/OK3568_Linux_fs/kernel/drivers/irqchip/
H A Dirq-pruss-intc.c547 ret = of_property_read_u8(dev->of_node, "ti,irqs-reserved", in pruss_intc_probe()
/OK3568_Linux_fs/kernel/drivers/pci/controller/
H A Dpcie-rcar-ep.c154 err = of_property_read_u8(dev->of_node, "max-functions", in rcar_pcie_ep_get_pdata()
H A Dpcie-rockchip-ep.c550 err = of_property_read_u8(dev->of_node, "max-functions", in rockchip_pcie_parse_ep_dt()
/OK3568_Linux_fs/kernel/drivers/pci/controller/cadence/
H A Dpcie-cadence-ep.c555 if (of_property_read_u8(np, "max-functions", &epc->max_functions) < 0) in cdns_pcie_ep_setup()
/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dsdhci-of-dwcmshc.c464 if (of_property_read_u8(mmc_dev(host->mmc)->of_node, "rockchip,txclk-tapnum", in dwcmshc_rk35xx_init()
/OK3568_Linux_fs/kernel/drivers/clk/at91/
H A Ddt-compat.c215 if (of_property_read_u8(i2s_mux_np, "reg", &bus_id)) in of_sama5d2_clk_i2s_mux_setup()
/OK3568_Linux_fs/kernel/drivers/pci/controller/dwc/
H A Dpcie-designware-ep.c749 ret = of_property_read_u8(np, "max-functions", &epc->max_functions); in dw_pcie_ep_init()
/OK3568_Linux_fs/kernel/include/linux/
H A Dof.h1212 static inline int of_property_read_u8(const struct device_node *np, in of_property_read_u8() function
/OK3568_Linux_fs/kernel/drivers/net/ethernet/ti/
H A Ddavinci_emac.c1732 of_property_read_u8(np, "ti,davinci-rmii-en", &pdata->rmii_en); in davinci_emac_of_get_pdata()

12