Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/video/backlight/
Dlp855x_bl.c366 of_property_read_u8(node, "dev-ctrl", &pdata->device_control); in lp855x_parse_dt()
367 of_property_read_u8(node, "init-brt", &pdata->initial_brightness); in lp855x_parse_dt()
382 of_property_read_u8(child, "rom-addr", &rom[i].addr); in lp855x_parse_dt()
383 of_property_read_u8(child, "rom-val", &rom[i].val); in lp855x_parse_dt()
/Linux-v4.19/drivers/leds/
Dleds-lp55xx-common.c574 of_property_read_u8(child, "led-cur", &cfg[i].led_current); in lp55xx_of_populate_pdata()
575 of_property_read_u8(child, "max-cur", &cfg[i].max_current); in lp55xx_of_populate_pdata()
583 of_property_read_u8(np, "clock-mode", &pdata->clock_mode); in lp55xx_of_populate_pdata()
588 of_property_read_u8(np, "pwr-sel", (u8 *)&pdata->pwr_sel); in lp55xx_of_populate_pdata()
/Linux-v4.19/sound/soc/codecs/
Dsta350.c1108 of_property_read_u8(np, "st,output-conf", in sta350_probe_dt()
1110 of_property_read_u8(np, "st,ch1-output-mapping", in sta350_probe_dt()
1112 of_property_read_u8(np, "st,ch2-output-mapping", in sta350_probe_dt()
1114 of_property_read_u8(np, "st,ch3-output-mapping", in sta350_probe_dt()
1180 if (!of_property_read_u8(np, "st,powerdown-delay-divider", &tmp8)) { in sta350_probe_dt()
Dsta32x.c1032 of_property_read_u8(np, "st,output-conf", in sta32x_probe_dt()
1034 of_property_read_u8(np, "st,ch1-output-mapping", in sta32x_probe_dt()
1036 of_property_read_u8(np, "st,ch2-output-mapping", in sta32x_probe_dt()
1038 of_property_read_u8(np, "st,ch3-output-mapping", in sta32x_probe_dt()
Dcs53l30.c1026 if (!of_property_read_u8(np, "cirrus,micbias-lvl", &val)) in cs53l30_i2c_probe()
/Linux-v4.19/drivers/clk/at91/
Dclk-i2s-mux.c96 if (of_property_read_u8(i2s_mux_np, "reg", &bus_id)) in of_sama5d2_clk_i2s_mux_setup()
/Linux-v4.19/drivers/media/rc/
Dir-spi.c140 ret = of_property_read_u8(spi->dev.of_node, "duty-cycle", &dc); in ir_spi_probe()
/Linux-v4.19/drivers/power/supply/
Dda9150-fg.c433 of_property_read_u8(fg_node, "dlg,warn-soc-level", in da9150_fg_dt_pdata()
435 of_property_read_u8(fg_node, "dlg,crit-soc-level", in da9150_fg_dt_pdata()
Dlp8727_charger.c505 of_property_read_u8(np, "eoc-level", (u8 *)&param->eoc_level); in lp8727_parse_charge_pdata()
506 of_property_read_u8(np, "charging-current", (u8 *)&param->ichg); in lp8727_parse_charge_pdata()
/Linux-v4.19/drivers/regulator/
Dlp872x.c893 of_property_read_u8(np, "ti,general-config", &pdata->general_config); in lp872x_populate_pdata_from_dt()
902 of_property_read_u8(np, "ti,dvs-vsel", (u8 *)&pdata->dvs->vsel); in lp872x_populate_pdata_from_dt()
903 of_property_read_u8(np, "ti,dvs-state", &dvs_state); in lp872x_populate_pdata_from_dt()
/Linux-v4.19/drivers/net/phy/
Dmscc.c392 rc = of_property_read_u8(of_node, "vsc8531,edge-slowdown", &sd); in vsc85xx_edge_rate_magic_get()
418 err = of_property_read_u8(of_node, led, &led_mode); in vsc85xx_dt_led_mode_get()
/Linux-v4.19/drivers/pci/controller/
Dpcie-cadence-ep.c502 if (of_property_read_u8(np, "max-functions", &epc->max_functions) < 0) in cdns_pcie_ep_probe()
Dpcie-rockchip-ep.c540 err = of_property_read_u8(dev->of_node, "max-functions", in rockchip_pcie_parse_ep_dt()
/Linux-v4.19/drivers/hwmon/
Dadc128d818.c495 if (of_property_read_u8(dev->of_node, "ti,mode", &data->mode) == 0) { in adc128_probe()
/Linux-v4.19/drivers/pci/controller/dwc/
Dpcie-designware-ep.c560 ret = of_property_read_u8(np, "max-functions", &epc->max_functions); in dw_pcie_ep_init()
/Linux-v4.19/include/linux/
Dof.h1151 static inline int of_property_read_u8(const struct device_node *np, in of_property_read_u8() function
/Linux-v4.19/drivers/net/ieee802154/
Dat86rf230.c1506 ret = of_property_read_u8(spi->dev.of_node, "xtal-trim", xtal_trim); in at86rf230_get_pdata()
/Linux-v4.19/drivers/net/ethernet/ti/
Ddavinci_emac.c1733 of_property_read_u8(np, "ti,davinci-rmii-en", &pdata->rmii_en); in davinci_emac_of_get_pdata()