Home
last modified time | relevance | path

Searched refs:dev_read_bool (Results 1 – 25 of 109) sorted by relevance

12345

/u-boot/drivers/mmc/
A Dmmc-uclass.c235 if (dev_read_bool(dev, "sd-uhs-sdr12")) in mmc_of_parse()
237 if (dev_read_bool(dev, "sd-uhs-sdr25")) in mmc_of_parse()
239 if (dev_read_bool(dev, "sd-uhs-sdr50")) in mmc_of_parse()
241 if (dev_read_bool(dev, "sd-uhs-sdr104")) in mmc_of_parse()
243 if (dev_read_bool(dev, "sd-uhs-ddr50")) in mmc_of_parse()
245 if (dev_read_bool(dev, "mmc-ddr-1_8v")) in mmc_of_parse()
247 if (dev_read_bool(dev, "mmc-ddr-1_2v")) in mmc_of_parse()
249 if (dev_read_bool(dev, "mmc-hs200-1_8v")) in mmc_of_parse()
263 if (dev_read_bool(dev, "cd-inverted")) in mmc_of_parse()
265 if (dev_read_bool(dev, "broken-cd")) in mmc_of_parse()
[all …]
A Drockchip_dw_mmc.c76 if (dev_read_bool(dev, "non-removable")) in rockchip_dwmmc_of_to_plat()
85 priv->fifo_mode = dev_read_bool(dev, "fifo-mode"); in rockchip_dwmmc_of_to_plat()
89 priv->fifo_mode = dev_read_bool(dev, "u-boot,spl-fifo-mode"); in rockchip_dwmmc_of_to_plat()
/u-boot/drivers/misc/
A Dusb251xb.c382 if (dev_read_bool(dev, "skip-config")) in usb251xb_of_to_plat()
413 if (dev_read_bool(dev, "self-powered")) { in usb251xb_of_to_plat()
418 if (dev_read_bool(dev, "ganged-sensing")) in usb251xb_of_to_plat()
422 } else if (dev_read_bool(dev, "bus-powered")) { in usb251xb_of_to_plat()
429 if (dev_read_bool(dev, "disable-hi-speed")) in usb251xb_of_to_plat()
432 if (dev_read_bool(dev, "multi-tt")) in usb251xb_of_to_plat()
434 else if (dev_read_bool(dev, "single-tt")) in usb251xb_of_to_plat()
437 if (dev_read_bool(dev, "disable-eop")) in usb251xb_of_to_plat()
469 if (dev_read_bool(dev, "compound-device")) in usb251xb_of_to_plat()
473 if (dev_read_bool(dev, "port-mapping-mode")) in usb251xb_of_to_plat()
[all …]
/u-boot/drivers/led/
A Dled_bcm6328.c161 if (dev_read_bool(dev, "brcm,serial-leds")) in bcm6328_led_probe()
163 if (dev_read_bool(dev, "brcm,serial-mux")) in bcm6328_led_probe()
165 if (dev_read_bool(dev, "brcm,serial-clk-low")) in bcm6328_led_probe()
167 if (!dev_read_bool(dev, "brcm,serial-dat-low")) in bcm6328_led_probe()
169 if (!dev_read_bool(dev, "brcm,serial-shift-inv")) in bcm6328_led_probe()
195 if (dev_read_bool(dev, "active-low")) in bcm6328_led_probe()
A Dled_bcm6858.c194 if (dev_read_bool(dev, "brcm,serial-led-msb-first")) in bcm6858_led_probe()
196 if (dev_read_bool(dev, "brcm,serial-led-en-pol")) in bcm6858_led_probe()
198 if (dev_read_bool(dev, "brcm,serial-led-clk-pol")) in bcm6858_led_probe()
200 if (dev_read_bool(dev, "brcm,serial-led-data-ppol")) in bcm6858_led_probe()
202 if (dev_read_bool(dev, "brcm,led-test-mode")) in bcm6858_led_probe()
226 if (dev_read_bool(dev, "active-low")) in bcm6858_led_probe()
A Dled_bcm6753.c188 if (dev_read_bool(dev, "brcm,serial-led-msb-first")) in bcm6753_led_probe()
190 if (dev_read_bool(dev, "brcm,serial-led-en-pol")) in bcm6753_led_probe()
192 if (dev_read_bool(dev, "brcm,serial-led-clk-pol")) in bcm6753_led_probe()
194 if (dev_read_bool(dev, "brcm,serial-led-data-ppol")) in bcm6753_led_probe()
218 if (dev_read_bool(dev, "active-low")) in bcm6753_led_probe()
A Dled_bcm6358.c128 if (dev_read_bool(dev, "brcm,clk-dat-low")) in bcm6358_led_probe()
165 if (dev_read_bool(dev, "active-low")) in bcm6358_led_probe()
/u-boot/drivers/usb/cdns3/
A Dcdns3-ti.c135 data->vbus_divider = dev_read_bool(dev, "ti,vbus-divider"); in cdns_ti_probe()
144 data->usb2_only = dev_read_bool(dev, "ti,usb2-only"); in cdns_ti_probe()
149 if (dev_read_bool(dev, "ti,modestrap-host")) in cdns_ti_probe()
151 else if (dev_read_bool(dev, "ti,modestrap-peripheral")) in cdns_ti_probe()
/u-boot/arch/x86/cpu/broadwell/
A Dadsp.c129 priv->adsp_d3_pg_enable = dev_read_bool(dev, "intel,adsp-d3-pg-enable"); in broadwell_adsp_of_to_plat()
130 priv->adsp_sram_pg_enable = dev_read_bool(dev, in broadwell_adsp_of_to_plat()
132 priv->sio_acpi_mode = dev_read_bool(dev, "intel,sio-acpi-mode"); in broadwell_adsp_of_to_plat()
/u-boot/drivers/usb/dwc3/
A Dcore.c1068 dwc->has_lpm_erratum = dev_read_bool(dev, in dwc3_of_parse()
1074 dwc->is_utmi_l1_suspend = dev_read_bool(dev, in dwc3_of_parse()
1082 dwc->u2exit_lfps_quirk = dev_read_bool(dev, in dwc3_of_parse()
1084 dwc->u2ss_inp3_quirk = dev_read_bool(dev, in dwc3_of_parse()
1086 dwc->req_p1p2p3_quirk = dev_read_bool(dev, in dwc3_of_parse()
1088 dwc->del_p1p2p3_quirk = dev_read_bool(dev, in dwc3_of_parse()
1092 dwc->lfps_filter_quirk = dev_read_bool(dev, in dwc3_of_parse()
1094 dwc->rx_detect_poll_quirk = dev_read_bool(dev, in dwc3_of_parse()
1096 dwc->dis_u3_susphy_quirk = dev_read_bool(dev, in dwc3_of_parse()
1098 dwc->dis_u2_susphy_quirk = dev_read_bool(dev, in dwc3_of_parse()
[all …]
/u-boot/drivers/extcon/
A Dextcon-max14526.c118 if (dev_read_bool(dev, "maxim,ap-usb")) in max14526_probe()
121 if (dev_read_bool(dev, "maxim,cp-usb")) { in max14526_probe()
132 if (dev_read_bool(dev, "maxim,cp-uart")) in max14526_probe()
/u-boot/drivers/usb/host/
A Dxhci-dwc3.c200 if (dev_read_bool(dev, "snps,dis_enblslpm-quirk")) in xhci_dwc3_probe()
203 if (dev_read_bool(dev, "snps,dis-u2-freeclk-exists-quirk")) in xhci_dwc3_probe()
206 if (dev_read_bool(dev, "snps,dis_u2_susphy_quirk")) in xhci_dwc3_probe()
213 dev_read_bool(dev, "usb-role-switch")) { in xhci_dwc3_probe()
/u-boot/drivers/power/regulator/
A Dregulator_common.c23 if (!dev_read_bool(dev, "enable-active-high")) in regulator_common_of_to_plat()
25 if (dev_read_bool(dev, "regulator-boot-on")) in regulator_common_of_to_plat()
A Dtps62360_regulator.c90 vsel0 = dev_read_bool(dev, "ti,vsel0-state-high"); in tps62360_regulator_probe()
91 vsel1 = dev_read_bool(dev, "ti,vsel1-state-high"); in tps62360_regulator_probe()
/u-boot/drivers/clk/ti/
A Dclk-gate.c70 if (dev_read_bool(dev, "ti,set-rate-parent")) in clk_ti_gate_of_to_plat()
73 priv->invert_enable = dev_read_bool(dev, "ti,set-bit-to-disable"); in clk_ti_gate_of_to_plat()
/u-boot/drivers/sysinfo/
A Dgpio.c122 if (!dev_read_bool(dev, "revisions") || !dev_read_bool(dev, "names")) { in sysinfo_gpio_probe()
/u-boot/drivers/timer/
A Dsandbox_timer.c42 dev_read_bool(dev, "sandbox,timebase-frequency-fallback")) in sandbox_timer_probe()
/u-boot/drivers/video/
A Dbacklight_gpio.c40 priv->def_value = dev_read_bool(dev, "default-on"); in gpio_backlight_of_to_plat()
A Drenesas-r61307.c262 priv->dig_cont_adj = dev_read_bool(dev, "renesas,contrast"); in renesas_r61307_of_to_plat()
263 priv->inversion = dev_read_bool(dev, "renesas,inversion"); in renesas_r61307_of_to_plat()
/u-boot/drivers/pinctrl/renesas/
A Dpinctrl-rzn1.c308 if (dev_read_bool(config, "bias-disable")) in rzn1_pinctrl_set_state()
310 else if (dev_read_bool(config, "bias-pull-up")) in rzn1_pinctrl_set_state()
312 else if (dev_read_bool(config, "bias-pull-down")) in rzn1_pinctrl_set_state()
/u-boot/drivers/spi/
A Dspi-uclass.c548 if (dev_read_bool(dev, "spi-cpol")) in spi_slave_of_to_plat()
550 if (dev_read_bool(dev, "spi-cpha")) in spi_slave_of_to_plat()
552 if (dev_read_bool(dev, "spi-cs-high")) in spi_slave_of_to_plat()
554 if (dev_read_bool(dev, "spi-3wire")) in spi_slave_of_to_plat()
556 if (dev_read_bool(dev, "spi-half-duplex")) in spi_slave_of_to_plat()
/u-boot/drivers/cache/
A Dcache-l2x0.c36 if (dev_read_bool(dev, "arm,shared-override")) in l2c310_of_parse_and_init()
/u-boot/drivers/sysreset/
A Dpoweroff_gpio.c68 flags = dev_read_bool(dev, "input") ? GPIOD_IS_IN : GPIOD_IS_OUT; in poweroff_gpio_probe()
/u-boot/drivers/watchdog/
A Dwdt-uclass.c276 if (dev_read_bool(dev, "u-boot,noautostart")) in wdt_pre_probe()
278 else if (dev_read_bool(dev, "u-boot,autostart")) in wdt_pre_probe()
/u-boot/drivers/phy/
A Dsandbox-phy.c90 priv->broken = dev_read_bool(dev, "broken"); in sandbox_phy_probe()

Completed in 42 milliseconds

12345