Home
last modified time | relevance | path

Searched refs:upriv (Results 1 – 25 of 31) sorted by relevance

12

/external/u-boot/drivers/serial/
Dserial-uclass.c215 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/
Dmmc-uclass.c175 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()
Dpci_mmc.c27 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in pci_mmc_probe() local
42 upriv->mmc = host->mmc; in pci_mmc_probe()
Dtangier_sdhci.c32 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in sdhci_tangier_probe() local
59 upriv->mmc = &plat->mmc; in sdhci_tangier_probe()
Drockchip_sdhci.c35 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in arasan_sdhci_probe() local
78 upriv->mmc = host->mmc; in arasan_sdhci_probe()
Datmel_sdhci.c56 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in atmel_sdhci_probe() local
99 upriv->mmc = host->mmc; in atmel_sdhci_probe()
Dsti_sdhci.c72 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in sti_sdhci_probe() local
108 upriv->mmc = host->mmc; in sti_sdhci_probe()
Dsocfpga_dw_mmc.c108 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in socfpga_dwmmc_probe() local
123 upriv->mmc = host->mmc; in socfpga_dwmmc_probe()
Dmsm_sdhci.c88 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in msm_sdc_probe() local
150 upriv->mmc = host->mmc; in msm_sdc_probe()
Dbcm2835_sdhci.c174 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in bcm2835_sdhci_probe() local
223 upriv->mmc = &plat->mmc; in bcm2835_sdhci_probe()
Drockchip_dw_mmc.c98 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in rockchip_dwmmc_probe() local
146 upriv->mmc = host->mmc; in rockchip_dwmmc_probe()
Ds5p_sdhci.c245 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in s5p_sdhci_probe() local
264 upriv->mmc = host->mmc; in s5p_sdhci_probe()
Dsdhci-cadence.c241 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in sdhci_cdns_probe() local
276 upriv->mmc = &plat->mmc; in sdhci_cdns_probe()
Dexynos_dw_mmc.c264 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in exynos_dwmmc_probe() local
280 upriv->mmc = host->mmc; in exynos_dwmmc_probe()
Dmeson_gx_mmc.c238 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in meson_mmc_probe() local
253 upriv->mmc = mmc; in meson_mmc_probe()
Dzynq_sdhci.c232 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in arasan_sdhci_probe() local
280 upriv->mmc = host->mmc; in arasan_sdhci_probe()
Domap_hsmmc.c613 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;
Drenesas-sdhi.c226 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()
Dxenon_sdhci.c377 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in xenon_sdhci_probe() local
385 upriv->mmc = host->mmc; in xenon_sdhci_probe()
Dftsdc010_mci.c426 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in ftsdc010_mmc_probe() local
454 upriv->mmc = chip->mmc; in ftsdc010_mmc_probe()
Darm_pl180_mmci.c407 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()
Dtegra_mmc.c591 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in tegra_mmc_probe() local
654 upriv->mmc = &plat->mmc; in tegra_mmc_probe()
Dstm32_sdmmc2.c524 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in stm32_sdmmc2_probe() local
578 upriv->mmc = &plat->mmc; in stm32_sdmmc2_probe()
Dgen_atmel_mci.c584 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); local
600 upriv->mmc = mmc;
Dsunxi_mmc.c568 struct mmc_uclass_priv *upriv = dev_get_uclass_priv(dev); in sunxi_mmc_probe() local
623 upriv->mmc = &plat->mmc; in sunxi_mmc_probe()

12