Home
last modified time | relevance | path

Searched refs:dtplat (Results 1 – 11 of 11) sorted by relevance

/external/u-boot/drivers/serial/
Dserial_rockchip.c16 struct dtd_rockchip_rk3188_uart dtplat; member
19 struct dtd_rockchip_rk3188_uart *dtplat, s_dtplat; variable
22 struct dtd_rockchip_rk3288_uart dtplat; member
25 struct dtd_rockchip_rk3288_uart *dtplat, s_dtplat; variable
33 plat->plat.base = plat->dtplat.reg[0]; in rockchip_serial_probe()
34 plat->plat.reg_shift = plat->dtplat.reg_shift; in rockchip_serial_probe()
35 plat->plat.clock = plat->dtplat.clock_frequency; in rockchip_serial_probe()
/external/u-boot/drivers/mmc/
Drockchip_sdhci.c22 struct dtd_rockchip_rk3399_sdhci_5_1 dtplat; member
43 struct dtd_rockchip_rk3399_sdhci_5_1 *dtplat = &plat->dtplat; in arasan_sdhci_probe() local
46 host->ioaddr = map_sysmem(dtplat->reg[0], dtplat->reg[1]); in arasan_sdhci_probe()
47 max_frequency = dtplat->max_frequency; in arasan_sdhci_probe()
48 ret = clk_get_by_index_platdata(dev, 0, dtplat->clocks, &clk); in arasan_sdhci_probe()
Drockchip_dw_mmc.c22 struct dtd_rockchip_rk3288_dw_mshc dtplat; member
110 struct dtd_rockchip_rk3288_dw_mshc *dtplat = &plat->dtplat; in rockchip_dwmmc_probe() local
113 host->ioaddr = map_sysmem(dtplat->reg[0], dtplat->reg[1]); in rockchip_dwmmc_probe()
114 host->buswidth = dtplat->bus_width; in rockchip_dwmmc_probe()
118 priv->fifo_depth = dtplat->fifo_depth; in rockchip_dwmmc_probe()
121 priv->minmax[1] = dtplat->max_frequency; in rockchip_dwmmc_probe()
123 ret = clk_get_by_index_platdata(dev, 0, dtplat->clocks, &priv->clk); in rockchip_dwmmc_probe()
Dftsdc010_mci.c49 struct ftsdc010 dtplat; member
433 struct ftsdc010 *dtplat = &plat->dtplat; in ftsdc010_mmc_probe() local
435 chip->ioaddr = map_sysmem(dtplat->reg[0], dtplat->reg[1]); in ftsdc010_mmc_probe()
436 chip->buswidth = dtplat->bus_width; in ftsdc010_mmc_probe()
439 memcpy(priv->minmax, dtplat->clock_freq_min_max, sizeof(priv->minmax)); in ftsdc010_mmc_probe()
440 ret = clk_get_by_index_platdata(dev, 0, dtplat->clocks, &priv->clk); in ftsdc010_mmc_probe()
Dmxsmmc.c60 struct dtd_fsl_imx_mmc dtplat; member
581 struct dtd_fsl_imx_mmc *dtplat = &plat->dtplat; local
582 struct phandle_1_arg *p1a = &dtplat->clocks[0];
584 priv->buswidth = dtplat->bus_width;
585 priv->regs = (struct mxs_ssp_regs *)dtplat->reg[0];
586 priv->dma_channel = dtplat->dmas[1];
588 plat->non_removable = dtplat->non_removable;
/external/u-boot/drivers/gpio/
Dmxs_gpio.c158 struct dtd_fsl_imx_gpio dtplat; member
247 struct dtd_fsl_imx_gpio *dtplat = &plat->dtplat; in mxs_gpio_probe() local
248 priv->bank = (unsigned int)dtplat->reg[0]; in mxs_gpio_probe()
249 uc_priv->gpio_count = dtplat->gpio_ranges[3]; in mxs_gpio_probe()
/external/u-boot/drivers/spi/
Dmxs_spi.c71 struct dtd_fsl_imx_spi dtplat; member
447 struct dtd_fsl_imx_spi *dtplat = &plat->dtplat; local
448 struct phandle_1_arg *p1a = &dtplat->clocks[0];
450 priv->regs = (struct mxs_ssp_regs *)dtplat->reg[0];
451 priv->dma_channel = dtplat->dmas[1];
453 priv->max_freq = dtplat->spi_max_frequency;
454 plat->num_cs = dtplat->num_cs;
Drk_spi.c178 struct dtd_rockchip_rk3288_spi *dtplat = &plat->of_plat; in conv_of_platdata() local
182 plat->base = dtplat->reg[0]; in conv_of_platdata()
184 ret = clk_get_by_index_platdata(dev, 0, dtplat->clocks, &priv->clk); in conv_of_platdata()
/external/u-boot/drivers/ram/rockchip/
Dsdram_rk3328.c40 struct dtd_rockchip_rk3328_dmc dtplat; member
51 struct dtd_rockchip_rk3328_dmc *dtplat = &plat->dtplat; in conv_of_platdata() local
54 ret = regmap_init_mem_platdata(dev, dtplat->reg, in conv_of_platdata()
55 ARRAY_SIZE(dtplat->reg) / 2, in conv_of_platdata()
525 struct dtd_rockchip_rk3328_dmc *dtplat = &plat->dtplat; in rk3328_dmc_init() local
527 (void *)dtplat->rockchip_sdram_params; in rk3328_dmc_init()
Dsdram_rk3399.c98 struct dtd_rockchip_rk3399_dmc dtplat; member
3060 struct dtd_rockchip_rk3399_dmc *dtplat = &plat->dtplat; in conv_of_platdata() local
3063 ret = regmap_init_mem_platdata(dev, dtplat->reg, in conv_of_platdata()
3064 ARRAY_SIZE(dtplat->reg) / 2, in conv_of_platdata()
3095 struct dtd_rockchip_rk3399_dmc *dtplat = &plat->dtplat; in rk3399_dmc_init() local
3097 (void *)dtplat->rockchip_sdram_params; in rk3399_dmc_init()
3130 ret = clk_get_by_index_platdata(dev, 0, dtplat->clocks, &priv->ddr_clk); in rk3399_dmc_init()
/external/u-boot/doc/driver-model/
Dof-plat.rst229 struct dtd_mmc dtplat;
258 struct dtd_mmc *dtplat = &plat->dtplat;
260 plat->fifo_depth = dtplat->fifo_depth;