/external/u-boot/drivers/serial/ |
D | serial-uclass.c | 215 struct serial_dev_priv *upriv = dev_get_uclass_priv(dev); in _serial_tstc() local 219 upriv->buf[upriv->wr_ptr++] = __serial_getc(dev); in _serial_tstc() 220 upriv->wr_ptr %= CONFIG_SERIAL_RX_BUFFER_SIZE; in _serial_tstc() 223 return upriv->rd_ptr != upriv->wr_ptr ? 1 : 0; in _serial_tstc() 228 struct serial_dev_priv *upriv = dev_get_uclass_priv(dev); in _serial_getc() local 231 val = upriv->buf[upriv->rd_ptr++]; in _serial_getc() 232 upriv->rd_ptr %= CONFIG_SERIAL_RX_BUFFER_SIZE; in _serial_getc() 385 struct serial_dev_priv *upriv = dev_get_uclass_priv(dev); in serial_post_probe() local 428 upriv->buf = malloc(CONFIG_SERIAL_RX_BUFFER_SIZE); in serial_post_probe() 431 stdio_register_dev(&sdev, &upriv->sdev); in serial_post_probe() [all …]
|
/external/u-boot/drivers/mmc/ |
D | mmc-uclass.c | 175 struct mmc_uclass_priv *upriv; in mmc_get_mmc_dev() local 179 upriv = dev_get_uclass_priv(dev); in mmc_get_mmc_dev() 180 return upriv->mmc; in mmc_get_mmc_dev() 354 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(mmc_dev); in mmc_blk_probe() local 355 struct mmc *mmc = upriv->mmc; in mmc_blk_probe()
|
D | pci_mmc.c | 27 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in pci_mmc_probe() local 42 upriv->mmc = host->mmc; in pci_mmc_probe()
|
D | tangier_sdhci.c | 32 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in sdhci_tangier_probe() local 59 upriv->mmc = &plat->mmc; in sdhci_tangier_probe()
|
D | rockchip_sdhci.c | 35 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in arasan_sdhci_probe() local 78 upriv->mmc = host->mmc; in arasan_sdhci_probe()
|
D | atmel_sdhci.c | 56 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in atmel_sdhci_probe() local 99 upriv->mmc = host->mmc; in atmel_sdhci_probe()
|
D | sti_sdhci.c | 72 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in sti_sdhci_probe() local 108 upriv->mmc = host->mmc; in sti_sdhci_probe()
|
D | socfpga_dw_mmc.c | 108 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in socfpga_dwmmc_probe() local 123 upriv->mmc = host->mmc; in socfpga_dwmmc_probe()
|
D | msm_sdhci.c | 88 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in msm_sdc_probe() local 150 upriv->mmc = host->mmc; in msm_sdc_probe()
|
D | bcm2835_sdhci.c | 174 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in bcm2835_sdhci_probe() local 223 upriv->mmc = &plat->mmc; in bcm2835_sdhci_probe()
|
D | rockchip_dw_mmc.c | 98 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in rockchip_dwmmc_probe() local 146 upriv->mmc = host->mmc; in rockchip_dwmmc_probe()
|
D | s5p_sdhci.c | 245 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in s5p_sdhci_probe() local 264 upriv->mmc = host->mmc; in s5p_sdhci_probe()
|
D | sdhci-cadence.c | 241 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in sdhci_cdns_probe() local 276 upriv->mmc = &plat->mmc; in sdhci_cdns_probe()
|
D | exynos_dw_mmc.c | 264 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in exynos_dwmmc_probe() local 280 upriv->mmc = host->mmc; in exynos_dwmmc_probe()
|
D | meson_gx_mmc.c | 238 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in meson_mmc_probe() local 253 upriv->mmc = mmc; in meson_mmc_probe()
|
D | zynq_sdhci.c | 232 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in arasan_sdhci_probe() local 280 upriv->mmc = host->mmc; in arasan_sdhci_probe()
|
D | omap_hsmmc.c | 613 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in omap_hsmmc_execute_tuning() local 614 struct mmc *mmc = upriv->mmc; in omap_hsmmc_execute_tuning() 958 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); 959 struct mmc *mmc = upriv->mmc; 1334 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); 1335 struct mmc *mmc = upriv->mmc; 1877 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); local 1910 upriv->mmc = mmc;
|
D | renesas-sdhi.c | 226 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in renesas_sdhi_execute_tuning() local 227 struct mmc *mmc = upriv->mmc; in renesas_sdhi_execute_tuning()
|
D | xenon_sdhci.c | 377 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in xenon_sdhci_probe() local 385 upriv->mmc = host->mmc; in xenon_sdhci_probe()
|
D | ftsdc010_mci.c | 426 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in ftsdc010_mmc_probe() local 454 upriv->mmc = chip->mmc; in ftsdc010_mmc_probe()
|
D | arm_pl180_mmci.c | 407 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in arm_pl180_mmc_probe() local 460 upriv->mmc = mmc; in arm_pl180_mmc_probe()
|
D | tegra_mmc.c | 591 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in tegra_mmc_probe() local 654 upriv->mmc = &plat->mmc; in tegra_mmc_probe()
|
D | stm32_sdmmc2.c | 524 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in stm32_sdmmc2_probe() local 578 upriv->mmc = &plat->mmc; in stm32_sdmmc2_probe()
|
D | gen_atmel_mci.c | 584 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); local 600 upriv->mmc = mmc;
|
D | sunxi_mmc.c | 568 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in sunxi_mmc_probe() local 623 upriv->mmc = &plat->mmc; in sunxi_mmc_probe()
|