/external/u-boot/drivers/spi/ |
D | spi-uclass.c | 126 spi->max_hz = dev_read_u32_default(bus, "spi-max-frequency", 0); in spi_post_probe() 376 plat->cs = dev_read_u32_default(dev, "reg", -1); in spi_slave_ofdata_to_platdata() 377 plat->max_hz = dev_read_u32_default(dev, "spi-max-frequency", 0); in spi_slave_ofdata_to_platdata() 390 value = dev_read_u32_default(dev, "spi-tx-bus-width", 1); in spi_slave_ofdata_to_platdata() 405 value = dev_read_u32_default(dev, "spi-rx-bus-width", 1); in spi_slave_ofdata_to_platdata()
|
D | rk_spi.c | 194 dev_read_u32_default(bus, "spi-max-frequency", 50000000); in rockchip_spi_ofdata_to_platdata() 196 dev_read_u32_default(bus, "spi-deactivate-delay", 0); in rockchip_spi_ofdata_to_platdata() 198 dev_read_u32_default(bus, "spi-activate-delay", 0); in rockchip_spi_ofdata_to_platdata()
|
D | tegra114_spi.c | 110 plat->frequency = dev_read_u32_default(bus, "spi-max-frequency", in tegra114_spi_ofdata_to_platdata() 112 plat->deactivate_delay_us = dev_read_u32_default(bus, in tegra114_spi_ofdata_to_platdata()
|
/external/u-boot/drivers/sysreset/ |
D | sysreset_syscon.c | 55 priv->offset = dev_read_u32_default(dev, "offset", 0); in syscon_reboot_probe() 56 priv->mask = dev_read_u32_default(dev, "mask", 0); in syscon_reboot_probe()
|
/external/u-boot/drivers/ram/stm32mp1/ |
D | stm32mp1_ram.c | 88 config.info.speed = dev_read_u32_default(dev, "st,mem-speed", 0); in stm32mp1_ddr_setup() 89 config.info.size = dev_read_u32_default(dev, "st,mem-size", 0); in stm32mp1_ddr_setup() 164 priv->info.size = dev_read_u32_default(dev, "st,mem-size", 0); in stm32mp1_ddr_probe()
|
/external/u-boot/drivers/mmc/ |
D | rockchip_dw_mmc.c | 59 host->buswidth = dev_read_u32_default(dev, "bus-width", 4); in rockchip_dwmmc_ofdata_to_platdata() 69 priv->fifo_depth = dev_read_u32_default(dev, "fifo-depth", 0); in rockchip_dwmmc_ofdata_to_platdata() 80 int val = dev_read_u32_default(dev, "max-frequency", -EINVAL); in rockchip_dwmmc_ofdata_to_platdata()
|
D | rockchip_sdhci.c | 50 max_frequency = dev_read_u32_default(dev, "max-frequency", 0); in arasan_sdhci_probe() 90 host->bus_width = dev_read_u32_default(dev, "bus-width", 4); in arasan_sdhci_ofdata_to_platdata()
|
D | zynq_sdhci.c | 304 priv->deviceid = dev_read_u32_default(dev, "xlnx,device_id", -1); in arasan_sdhci_ofdata_to_platdata() 305 priv->bank = dev_read_u32_default(dev, "xlnx,mio_bank", -1); in arasan_sdhci_ofdata_to_platdata() 308 plat->f_max = dev_read_u32_default(dev, "max-frequency", in arasan_sdhci_ofdata_to_platdata()
|
/external/u-boot/drivers/power/regulator/ |
D | regulator-uclass.c | 312 uc_pdata->min_uV = dev_read_u32_default(dev, "regulator-min-microvolt", in regulator_pre_probe() 314 uc_pdata->max_uV = dev_read_u32_default(dev, "regulator-max-microvolt", in regulator_pre_probe() 316 uc_pdata->min_uA = dev_read_u32_default(dev, "regulator-min-microamp", in regulator_pre_probe() 318 uc_pdata->max_uA = dev_read_u32_default(dev, "regulator-max-microamp", in regulator_pre_probe()
|
D | fixed.c | 51 dev_pdata->startup_delay_us = dev_read_u32_default(dev, in fixed_regulator_ofdata_to_platdata()
|
/external/u-boot/drivers/net/ |
D | gmac_rockchip.c | 58 pdata->tx_delay = dev_read_u32_default(dev, "tx_delay", -ENOENT); in gmac_rockchip_ofdata_to_platdata() 59 pdata->rx_delay = dev_read_u32_default(dev, "rx_delay", -ENOENT); in gmac_rockchip_ofdata_to_platdata() 63 pdata->tx_delay = dev_read_u32_default(dev, "tx-delay", 0x30); in gmac_rockchip_ofdata_to_platdata() 65 pdata->rx_delay = dev_read_u32_default(dev, "rx-delay", 0x10); in gmac_rockchip_ofdata_to_platdata()
|
/external/u-boot/drivers/led/ |
D | led_bcm6358.c | 128 clk_div = dev_read_u32_default(dev, "brcm,clk-div", in bcm6358_led_probe() 157 pin = dev_read_u32_default(dev, "reg", LEDS_MAX); in bcm6358_led_probe()
|
/external/u-boot/drivers/input/ |
D | cros_ec_keyb.c | 167 config->key_rows = dev_read_u32_default(dev, "keypad,num-rows", 0); in cros_ec_keyb_decode_fdt() 168 config->key_cols = dev_read_u32_default(dev, "keypad,num-columns", 0); in cros_ec_keyb_decode_fdt()
|
/external/u-boot/drivers/clk/ |
D | clk_fixed_rate.c | 32 dev_read_u32_default(dev, "clock-frequency", 0); in clk_fixed_rate_ofdata_to_platdata()
|
/external/u-boot/drivers/serial/ |
D | ns16550.c | 436 plat->reg_offset = dev_read_u32_default(dev, "reg-offset", 0); in ns16550_serial_ofdata_to_platdata() 437 plat->reg_shift = dev_read_u32_default(dev, "reg-shift", 0); in ns16550_serial_ofdata_to_platdata() 450 plat->clock = dev_read_u32_default(dev, "clock-frequency", in ns16550_serial_ofdata_to_platdata()
|
/external/u-boot/include/dm/ |
D | read.h | 65 int dev_read_u32_default(struct udevice *dev, const char *propname, int def); 464 static inline int dev_read_u32_default(struct udevice *dev, in dev_read_u32_default() function
|
/external/u-boot/drivers/i2c/ |
D | fsl_i2c.c | 583 dev->index = dev_read_u32_default(bus, "cell-index", -1); 584 dev->slaveadd = dev_read_u32_default(bus, "u-boot,i2c-slave-addr", 586 dev->speed = dev_read_u32_default(bus, "clock-frequency", 400000);
|
D | i2c-uclass.c | 570 chip->offset_len = dev_read_u32_default(dev, "u-boot,i2c-offset-len", in i2c_chip_ofdata_to_platdata() 573 addr = dev_read_u32_default(dev, "reg", -1); in i2c_chip_ofdata_to_platdata() 590 i2c->speed_hz = dev_read_u32_default(dev, "clock-frequency", 100000); in i2c_post_probe()
|
/external/u-boot/drivers/adc/ |
D | adc-uclass.c | 357 uc_pdata->vdd_microvolts = dev_read_u32_default(dev, prop, -ENODATA); in adc_vdd_platdata_set() 377 uc_pdata->vss_microvolts = dev_read_u32_default(dev, prop, -ENODATA); in adc_vss_platdata_set()
|
/external/u-boot/drivers/gpio/ |
D | hsdk-creg-gpio.c | 82 uc_priv->gpio_count = dev_read_u32_default(dev, "gpio-count", 1); in hsdk_creg_gpio_probe()
|
D | bcm6345_gpio.c | 100 uc_priv->gpio_count = dev_read_u32_default(dev, "ngpios", 32); in bcm6345_gpio_probe()
|
D | stm32f7_gpio.c | 92 uc_priv->gpio_count = dev_read_u32_default(dev, "ngpios", in gpio_stm32_probe()
|
/external/u-boot/drivers/timer/ |
D | timer-uclass.c | 59 dev_read_u32_default(dev, "clock-frequency", 0); in timer_pre_probe()
|
/external/u-boot/drivers/ram/ |
D | stm32_sdram.c | 274 mem_remap = dev_read_u32_default(dev, "st,mem_remap", NOT_FOUND); in stm32_fmc_ofdata_to_platdata() 282 swp_fmc = dev_read_u32_default(dev, "st,swp_fmc", NOT_FOUND); in stm32_fmc_ofdata_to_platdata()
|
/external/u-boot/drivers/pinctrl/broadcom/ |
D | pinctrl-bcm283x.c | 78 function = dev_read_u32_default(config, "brcm,function", -1); in bcm283x_pinctrl_set_state()
|