Home
last modified time | relevance | path

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

12

/u-boot/drivers/serial/
A Dserial_rockchip.c17 struct dtd_rockchip_rk3188_uart dtplat; member
20 struct dtd_rockchip_rk3188_uart *dtplat, s_dtplat; variable
23 struct dtd_rockchip_rk3288_uart dtplat; member
26 struct dtd_rockchip_rk3288_uart *dtplat, s_dtplat; variable
34 plat->plat.base = plat->dtplat.reg[0]; in rockchip_serial_probe()
35 plat->plat.reg_shift = plat->dtplat.reg_shift; in rockchip_serial_probe()
36 plat->plat.clock = plat->dtplat.clock_frequency; in rockchip_serial_probe()
A Dserial_mt7620.c67 struct dtd_serial_mt7620 dtplat; member
135 plat->regs = (void __iomem *)KSEG1ADDR(plat->dtplat.reg[0]); in mt7620_serial_probe()
136 plat->clock = plat->dtplat.clock_frequency; in mt7620_serial_probe()
/u-boot/arch/x86/cpu/apollolake/
A Dpmc.c143 struct dtd_intel_apl_pmc *dtplat = &plat->dtplat; in apl_pmc_ofdata_to_uc_plat() local
145 plat->bdf = pci_ofplat_get_devfn(dtplat->reg[0]); in apl_pmc_ofdata_to_uc_plat()
146 upriv->pmc_bar0 = (void *)dtplat->early_regs[0]; in apl_pmc_ofdata_to_uc_plat()
147 upriv->pmc_bar2 = (void *)dtplat->early_regs[2]; in apl_pmc_ofdata_to_uc_plat()
148 upriv->acpi_base = dtplat->early_regs[4]; in apl_pmc_ofdata_to_uc_plat()
149 upriv->gpe0_dwx_mask = dtplat->gpe0_dwx_mask; in apl_pmc_ofdata_to_uc_plat()
150 upriv->gpe0_dwx_shift_base = dtplat->gpe0_dwx_shift_base; in apl_pmc_ofdata_to_uc_plat()
151 upriv->gpe0_sts_reg = dtplat->gpe0_sts; in apl_pmc_ofdata_to_uc_plat()
153 upriv->gpe0_en_reg = dtplat->gpe0_en; in apl_pmc_ofdata_to_uc_plat()
155 upriv->gpe0_count = min((int)ARRAY_SIZE(dtplat->gpe0_dw), GPE0_REG_MAX); in apl_pmc_ofdata_to_uc_plat()
[all …]
A Duart.c93 struct dtd_intel_apl_ns16550 *dtplat; in apl_ns16550_of_to_plat() local
106 dtplat = &plat->dtplat; in apl_ns16550_of_to_plat()
107 ns.base = dtplat->early_regs[0]; in apl_ns16550_of_to_plat()
109 ns.reg_shift = dtplat->reg_shift; in apl_ns16550_of_to_plat()
111 ns.clock = dtplat->clock_frequency; in apl_ns16550_of_to_plat()
113 ns.bdf = pci_ofplat_get_devfn(dtplat->reg[0]); in apl_ns16550_of_to_plat()
A Dhostbridge.c240 struct dtd_intel_apl_hostbridge *dtplat = &plat->dtplat; in apl_hostbridge_of_to_plat() local
243 plat->pciex_region_size = dtplat->pciex_region_size; in apl_hostbridge_of_to_plat()
244 plat->bdf = pci_ofplat_get_devfn(dtplat->reg[0]); in apl_hostbridge_of_to_plat()
247 plat->early_pads = dtplat->early_pads; in apl_hostbridge_of_to_plat()
248 size = ARRAY_SIZE(dtplat->early_pads); in apl_hostbridge_of_to_plat()
/u-boot/drivers/mmc/
A Drockchip_sdhci.c23 struct dtd_rockchip_rk3399_sdhci_5_1 dtplat; member
44 struct dtd_rockchip_rk3399_sdhci_5_1 *dtplat = &plat->dtplat; in arasan_sdhci_probe() local
47 host->ioaddr = map_sysmem(dtplat->reg[0], dtplat->reg[1]); in arasan_sdhci_probe()
48 max_frequency = dtplat->max_frequency; in arasan_sdhci_probe()
49 ret = clk_get_by_driver_info(dev, dtplat->clocks, &clk); in arasan_sdhci_probe()
A Drockchip_dw_mmc.c24 struct dtd_rockchip_rk3288_dw_mshc dtplat; member
111 struct dtd_rockchip_rk3288_dw_mshc *dtplat = &plat->dtplat; in rockchip_dwmmc_probe() local
114 host->ioaddr = map_sysmem(dtplat->reg[0], dtplat->reg[1]); in rockchip_dwmmc_probe()
115 host->buswidth = dtplat->bus_width; in rockchip_dwmmc_probe()
119 priv->fifo_depth = dtplat->fifo_depth; in rockchip_dwmmc_probe()
122 priv->minmax[1] = dtplat->max_frequency; in rockchip_dwmmc_probe()
124 ret = clk_get_by_driver_info(dev, dtplat->clocks, &priv->clk); in rockchip_dwmmc_probe()
A Dftsdc010_mci.c52 struct ftsdc010 dtplat; member
436 struct ftsdc010 *dtplat = &plat->dtplat; in ftsdc010_mmc_probe() local
438 chip->ioaddr = map_sysmem(dtplat->reg[0], dtplat->reg[1]); in ftsdc010_mmc_probe()
439 chip->buswidth = dtplat->bus_width; in ftsdc010_mmc_probe()
442 memcpy(priv->minmax, dtplat->clock_freq_min_max, sizeof(priv->minmax)); in ftsdc010_mmc_probe()
443 ret = clk_get_by_driver_info(dev, dtplat->clocks, &priv->clk); in ftsdc010_mmc_probe()
A Dmxsmmc.c57 struct dtd_fsl_imx23_mmc dtplat; member
579 struct dtd_fsl_imx23_mmc *dtplat = &plat->dtplat; local
580 struct phandle_1_arg *p1a = &dtplat->clocks[0];
582 priv->buswidth = dtplat->bus_width;
583 priv->regs = (struct mxs_ssp_regs *)dtplat->reg[0];
584 priv->dma_channel = dtplat->dmas[1];
586 plat->non_removable = dtplat->non_removable;
A Dfsl_esdhc_imx.c118 struct dtd_fsl_esdhc dtplat; member
1513 struct dtd_fsl_esdhc *dtplat = &plat->dtplat; in fsl_esdhc_probe() local
1516 priv->esdhc_regs = map_sysmem(dtplat->reg[0], dtplat->reg[1]); in fsl_esdhc_probe()
1517 val = plat->dtplat.bus_width; in fsl_esdhc_probe()
1525 if (dtplat->non_removable) in fsl_esdhc_probe()
1533 ret = device_get_by_driver_info_idx(dtplat->cd_gpios->idx, in fsl_esdhc_probe()
1539 dtplat->cd_gpios->arg[0], GPIOD_IS_IN, in fsl_esdhc_probe()
1540 dtplat->cd_gpios->arg[1], &priv->cd_gpio); in fsl_esdhc_probe()
/u-boot/arch/x86/cpu/intel_common/
A Ditss.c170 struct dtd_intel_itss *dtplat = &plat->dtplat; in itss_of_to_plat() local
181 ret = p2sb_set_port_id(dev, dtplat->intel_p2sb_port_id); in itss_of_to_plat()
184 priv->route = (struct pmc_route *)dtplat->intel_pmc_routes; in itss_of_to_plat()
185 priv->route_count = ARRAY_SIZE(dtplat->intel_pmc_routes) / in itss_of_to_plat()
A Dp2sb.c108 plat->mmio_base = plat->dtplat.early_regs[0]; in p2sb_of_to_plat()
109 plat->bdf = pci_ofplat_get_devfn(plat->dtplat.reg[0]); in p2sb_of_to_plat()
/u-boot/drivers/spi/
A Dmxs_spi.c46 struct dtd_fsl_imx23_spi dtplat; member
321 struct dtd_fsl_imx23_spi *dtplat = &plat->dtplat; in mxs_spi_probe() local
322 struct phandle_1_arg *p1a = &dtplat->clocks[0]; in mxs_spi_probe()
324 priv->regs = (struct mxs_ssp_regs *)dtplat->reg[0]; in mxs_spi_probe()
325 priv->dma_channel = dtplat->dmas[1]; in mxs_spi_probe()
327 priv->max_freq = dtplat->spi_max_frequency; in mxs_spi_probe()
328 plat->num_cs = dtplat->num_cs; in mxs_spi_probe()
A Drk_spi.c180 struct dtd_rockchip_rk3288_spi *dtplat = &plat->of_plat; in conv_of_plat() local
184 plat->base = dtplat->reg[0]; in conv_of_plat()
186 ret = clk_get_by_driver_info(dev, dtplat->clocks, &priv->clk); in conv_of_plat()
/u-boot/drivers/gpio/
A Dmxs_gpio.c156 struct dtd_fsl_imx23_gpio dtplat; member
245 struct dtd_fsl_imx23_gpio *dtplat = &plat->dtplat; in mxs_gpio_probe() local
246 priv->bank = (unsigned int)dtplat->reg[0]; in mxs_gpio_probe()
247 uc_priv->gpio_count = dtplat->gpio_ranges[3]; in mxs_gpio_probe()
A Dmxc_gpio.c29 struct dtd_gpio_mxc dtplat; member
290 struct dtd_gpio_mxc *dtplat = &plat->dtplat; in mxc_gpio_probe() local
292 plat->regs = map_sysmem(dtplat->reg[0], dtplat->reg[1]); in mxc_gpio_probe()
/u-boot/arch/x86/include/asm/arch-apollolake/
A Dpmc.h11 struct dtd_intel_apl_pmc dtplat; member
A Duart.h21 struct dtd_intel_apl_ns16550 dtplat; member
A Dhostbridge.h20 struct dtd_intel_apl_hostbridge dtplat; member
/u-boot/arch/x86/include/asm/
A Dsysreset.h12 struct dtd_x86_reset dtplat; member
A Dp2sb.h12 struct dtd_intel_p2sb dtplat; member
A Ditss.h50 struct dtd_intel_itss dtplat; member
/u-boot/arch/sandbox/include/asm/
A Dserial.h14 struct dtd_sandbox_serial dtplat; member
/u-boot/drivers/ram/rockchip/
A Dsdram_rk3328.c43 struct dtd_rockchip_rk3328_dmc dtplat; member
54 struct dtd_rockchip_rk3328_dmc *dtplat = &plat->dtplat; in conv_of_plat() local
57 ret = regmap_init_mem_plat(dev, dtplat->reg, in conv_of_plat()
58 ARRAY_SIZE(dtplat->reg) / 2, &plat->map); in conv_of_plat()
523 struct dtd_rockchip_rk3328_dmc *dtplat = &plat->dtplat; in rk3328_dmc_init() local
525 (void *)dtplat->rockchip_sdram_params; in rk3328_dmc_init()
/u-boot/drivers/pinctrl/intel/
A Dpinctrl_apl.c144 ret = p2sb_set_port_id(dev, plat->dtplat.intel_p2sb_port_id); in apl_pinctrl_of_to_plat()

Completed in 35 milliseconds

12