Home
last modified time | relevance | path

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

12

/linux/drivers/phy/qualcomm/
H A Dphy-qcom-eusb2-repeater.c165 if (!of_property_read_u8(np, "qcom,tune-usb2-preem", &val)) in eusb2_repeater_init()
168 if (!of_property_read_u8(np, "qcom,tune-usb2-disc-thres", &val)) in eusb2_repeater_init()
171 if (!of_property_read_u8(np, "qcom,tune-usb2-amplitude", &val)) in eusb2_repeater_init()
174 if (!of_property_read_u8(np, "qcom,tune-res-fsdif", &val)) in eusb2_repeater_init()
/linux/drivers/regulator/
H A Dmpq7920.c224 ret = of_property_read_u8(np, "mps,buck-phase-delay", &val); in mpq7920_parse_cb()
232 ret = of_property_read_u8(np, "mps,buck-softstart", &val); in mpq7920_parse_cb()
252 ret = of_property_read_u8(np, "mps,switch-freq", &freq); in mpq7920_parse_dt()
H A Dlp872x.c834 of_property_read_u8(np, "ti,general-config", &pdata->general_config); in lp872x_populate_pdata_from_dt()
841 of_property_read_u8(np, "ti,dvs-vsel", (u8 *)&pdata->dvs->vsel); in lp872x_populate_pdata_from_dt()
842 of_property_read_u8(np, "ti,dvs-state", &dvs_state); in lp872x_populate_pdata_from_dt()
/linux/drivers/video/backlight/
H A Dlp855x_bl.c337 of_property_read_u8(node, "dev-ctrl", &pdata->device_control); in lp855x_parse_dt()
338 of_property_read_u8(node, "init-brt", &pdata->initial_brightness); in lp855x_parse_dt()
354 of_property_read_u8(child, "rom-addr", &rom[i].addr); in lp855x_parse_dt()
355 of_property_read_u8(child, "rom-val", &rom[i].val); in lp855x_parse_dt()
/linux/sound/soc/codecs/
H A Dsta350.c1101 of_property_read_u8(np, "st,output-conf", in sta350_probe_dt()
1103 of_property_read_u8(np, "st,ch1-output-mapping", in sta350_probe_dt()
1105 of_property_read_u8(np, "st,ch2-output-mapping", in sta350_probe_dt()
1107 of_property_read_u8(np, "st,ch3-output-mapping", in sta350_probe_dt()
1166 if (!of_property_read_u8(np, "st,powerdown-delay-divider", &tmp8)) { in sta350_probe_dt()
H A Dsta32x.c1047 of_property_read_u8(np, "st,output-conf", in sta32x_probe_dt()
1049 of_property_read_u8(np, "st,ch1-output-mapping", in sta32x_probe_dt()
1051 of_property_read_u8(np, "st,ch2-output-mapping", in sta32x_probe_dt()
1053 of_property_read_u8(np, "st,ch3-output-mapping", in sta32x_probe_dt()
H A Dcs53l30.c999 if (!of_property_read_u8(np, "cirrus,micbias-lvl", &val)) in cs53l30_i2c_probe()
/linux/drivers/gpu/drm/bridge/imx/
H A Dimx8qxp-pixel-link.c343 ret = of_property_read_u8(np, "fsl,dc-id", &pl->dc_id); in imx8qxp_pixel_link_bridge_probe()
349 ret = of_property_read_u8(np, "fsl,dc-stream-id", &pl->stream_id); in imx8qxp_pixel_link_bridge_probe()
/linux/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.c482 of_property_read_u8(np, "eoc-level", (u8 *)&param->eoc_level); in lp8727_parse_charge_pdata()
483 of_property_read_u8(np, "charging-current", (u8 *)&param->ichg); in lp8727_parse_charge_pdata()
/linux/drivers/leds/
H A Dleds-lp55xx-common.c1126 of_property_read_u8(np, "led-cur", in lp55xx_parse_common_child()
1128 of_property_read_u8(np, "max-cur", in lp55xx_parse_common_child()
1247 of_property_read_u8(np, "clock-mode", &pdata->clock_mode); in lp55xx_of_populate_pdata()
1255 of_property_read_u8(np, "pwr-sel", (u8 *)&pdata->pwr_sel); in lp55xx_of_populate_pdata()
/linux/drivers/hwmon/
H A Dadc128d818.c454 if (of_property_read_u8(dev->of_node, "ti,mode", &data->mode) == 0) { in adc128_probe()
/linux/drivers/char/ipmi/
H A Dipmi_ipmb.c465 if (of_property_read_u8(dev->of_node, "bmcaddr", &iidev->bmcaddr) != 0) in ipmi_ipmb_probe()
/linux/drivers/pci/controller/
H A Dpcie-rcar-ep.c151 err = of_property_read_u8(dev->of_node, "max-functions", in rcar_pcie_ep_get_pdata()
H A Dpcie-rockchip-ep.c744 err = of_property_read_u8(dev->of_node, "max-functions", in rockchip_pcie_ep_get_resources()
/linux/drivers/irqchip/
H A Dirq-pruss-intc.c544 ret = of_property_read_u8(dev->of_node, "ti,irqs-reserved", in pruss_intc_probe()
/linux/drivers/usb/misc/
H A Dusb251xb.c548 if (of_property_read_u8(np, "boost-up", &hub->boost_up)) in usb251xb_get_ofdata()
/linux/drivers/net/wan/framer/pef2256/
H A Dpef2256.c599 ret = of_property_read_u8(np, "lantiq,channel-phase", &pef2256->channel_phase); in pef2556_of_parse()
/linux/sound/soc/atmel/
H A Dmchp-i2s-mcc.c1000 err = of_property_read_u8(pdev->dev.of_node, "microchip,tdm-data-pair", in mchp_i2s_mcc_soc_data_parse()
/linux/drivers/pci/controller/cadence/
H A Dpcie-cadence-ep.c712 if (of_property_read_u8(np, "max-functions", &epc->max_functions) < 0) in cdns_pcie_ep_setup()
/linux/drivers/clk/at91/
H A Ddt-compat.c231 if (of_property_read_u8(i2s_mux_np, "reg", &bus_id)) in of_sama5d2_clk_i2s_mux_setup()
/linux/drivers/net/can/flexcan/
H A Dflexcan-core.c2003 ret = of_property_read_u8(pdev->dev.of_node, "fsl,scu-index", &scu_idx); in flexcan_setup_stop_mode_scfw()
2117 of_property_read_u8(pdev->dev.of_node, in flexcan_probe()
/linux/include/linux/
H A Dof.h1432 static inline int of_property_read_u8(const struct device_node *np, in of_property_read_u8() function
/linux/drivers/pci/controller/dwc/
H A Dpcie-designware-ep.c1314 ret = of_property_read_u8(np, "max-functions", &epc->max_functions); in dw_pcie_ep_get_resources()
/linux/drivers/net/ethernet/ti/
H A Ddavinci_emac.c1759 of_property_read_u8(np, "ti,davinci-rmii-en", &pdata->rmii_en); in davinci_emac_of_get_pdata()

12