/external/u-boot/arch/arm/include/asm/arch-tegra/ |
D | clock.h | 96 void clock_enable(enum periph_id clkid); 103 void clock_disable(enum periph_id clkid); 111 void clock_set_enable(enum periph_id clkid, int enable); 120 void reset_periph(enum periph_id periph_id, int us_delay); 128 void reset_set_enable(enum periph_id periph_id, int enable); 160 void clock_ll_set_source(enum periph_id periph_id, unsigned source); 170 int clock_ll_set_source_bits(enum periph_id periph_id, int mux_bits, 185 void clock_ll_set_source_divisor(enum periph_id periph_id, unsigned source, 196 enum clock_id clock_get_periph_parent(enum periph_id periph_id); 207 unsigned clock_start_periph_pll(enum periph_id periph_id, [all …]
|
D | funcmux.h | 26 int funcmux_select(enum periph_id id, int config);
|
/external/u-boot/arch/arm/mach-tegra/ |
D | clock.c | 163 void clock_ll_set_source_divisor(enum periph_id periph_id, unsigned source, in clock_ll_set_source_divisor() argument 166 u32 *reg = get_periph_source_reg(periph_id); in clock_ll_set_source_divisor() 180 int clock_ll_set_source_bits(enum periph_id periph_id, int mux_bits, in clock_ll_set_source_bits() argument 183 u32 *reg = get_periph_source_reg(periph_id); in clock_ll_set_source_bits() 208 static int clock_ll_get_source_bits(enum periph_id periph_id, int mux_bits) in clock_ll_get_source_bits() argument 210 u32 *reg = get_periph_source_reg(periph_id); in clock_ll_get_source_bits() 231 void clock_ll_set_source(enum periph_id periph_id, unsigned source) in clock_ll_set_source() argument 233 clock_ll_set_source_bits(periph_id, MASK_BITS_31_30, source); in clock_ll_set_source() 309 unsigned long clock_get_periph_rate(enum periph_id periph_id, in clock_get_periph_rate() argument 312 u32 *reg = get_periph_source_reg(periph_id); in clock_get_periph_rate() [all …]
|
D | board.c | 175 static enum periph_id id_for_uart[] = { in setup_uarts() 186 enum periph_id id = id_for_uart[i]; in setup_uarts()
|
/external/u-boot/arch/arm/mach-tegra/tegra114/ |
D | clock.c | 478 u32 *get_periph_source_reg(enum periph_id periph_id) in get_periph_source_reg() argument 485 if (periph_id == PERIPH_ID_CSI) in get_periph_source_reg() 488 assert(periph_id >= PERIPH_ID_FIRST && periph_id < PERIPH_ID_COUNT); in get_periph_source_reg() 489 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_source_reg() 498 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument 503 if (!clock_periph_id_isvalid(periph_id)) in get_periph_clock_info() 506 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_clock_info() 524 enum clock_id get_periph_clock_id(enum periph_id periph_id, int source) in get_periph_clock_id() argument 529 if (!clock_periph_id_isvalid(periph_id)) in get_periph_clock_id() 532 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_clock_id() [all …]
|
/external/u-boot/arch/arm/mach-tegra/tegra30/ |
D | clock.c | 458 u32 *get_periph_source_reg(enum periph_id periph_id) in get_periph_source_reg() argument 465 if (periph_id == PERIPH_ID_CSI) in get_periph_source_reg() 468 assert(periph_id >= PERIPH_ID_FIRST && periph_id < PERIPH_ID_COUNT); in get_periph_source_reg() 469 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_source_reg() 478 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument 483 if (!clock_periph_id_isvalid(periph_id)) in get_periph_clock_info() 486 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_clock_info() 504 enum clock_id get_periph_clock_id(enum periph_id periph_id, int source) in get_periph_clock_id() argument 509 if (!clock_periph_id_isvalid(periph_id)) in get_periph_clock_id() 512 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_clock_id() [all …]
|
/external/u-boot/arch/arm/mach-tegra/tegra20/ |
D | clock.c | 403 u32 *get_periph_source_reg(enum periph_id periph_id) in get_periph_source_reg() argument 409 assert(clock_periph_id_isvalid(periph_id)); in get_periph_source_reg() 410 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_source_reg() 415 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument 420 if (!clock_periph_id_isvalid(periph_id)) in get_periph_clock_info() 423 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_clock_info() 447 enum clock_id get_periph_clock_id(enum periph_id periph_id, int source) in get_periph_clock_id() argument 452 if (!clock_periph_id_isvalid(periph_id)) in get_periph_clock_id() 455 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_clock_id() 478 int get_periph_clock_source(enum periph_id periph_id, in get_periph_clock_source() argument [all …]
|
/external/u-boot/arch/arm/mach-tegra/tegra124/ |
D | clock.c | 620 u32 *get_periph_source_reg(enum periph_id periph_id) in get_periph_source_reg() argument 627 if (periph_id == PERIPH_ID_CSI) in get_periph_source_reg() 630 assert(periph_id >= PERIPH_ID_FIRST && periph_id < PERIPH_ID_COUNT); in get_periph_source_reg() 631 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_source_reg() 644 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument 649 if (!clock_periph_id_isvalid(periph_id)) in get_periph_clock_info() 652 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_clock_info() 670 enum clock_id get_periph_clock_id(enum periph_id periph_id, int source) in get_periph_clock_id() argument 675 if (!clock_periph_id_isvalid(periph_id)) in get_periph_clock_id() 678 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_clock_id() [all …]
|
/external/u-boot/arch/arm/mach-tegra/tegra210/ |
D | clock.c | 699 u32 *get_periph_source_reg(enum periph_id periph_id) in get_periph_source_reg() argument 706 if (periph_id == PERIPH_ID_CSI) in get_periph_source_reg() 709 assert(periph_id >= PERIPH_ID_FIRST && periph_id < PERIPH_ID_COUNT); in get_periph_source_reg() 710 internal_id = INTERNAL_ID(periph_id_to_internal_id[periph_id]); in get_periph_source_reg() 734 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument 739 if (!clock_periph_id_isvalid(periph_id)) in get_periph_clock_info() 742 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_clock_info() 760 enum clock_id get_periph_clock_id(enum periph_id periph_id, int source) in get_periph_clock_id() argument 765 if (!clock_periph_id_isvalid(periph_id)) in get_periph_clock_id() 768 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_clock_id() [all …]
|
D | funcmux.c | 14 int funcmux_select(enum periph_id id, int config) in funcmux_select()
|
/external/u-boot/drivers/spi/ |
D | exynos_spi.c | 24 enum periph_id periph_id; member 34 enum periph_id periph_id; /* Peripheral ID for this device */ member 258 plat->periph_id = pinmux_decode_periph_id(blob, node); in exynos_spi_ofdata_to_platdata() 260 if (plat->periph_id == PERIPH_ID_NONE) { in exynos_spi_ofdata_to_platdata() 262 plat->periph_id); in exynos_spi_ofdata_to_platdata() 272 __func__, plat->regs, plat->periph_id, plat->frequency, in exynos_spi_ofdata_to_platdata() 284 if (plat->periph_id == PERIPH_ID_SPI1 || in exynos_spi_probe() 285 plat->periph_id == PERIPH_ID_SPI2) in exynos_spi_probe() 293 priv->periph_id = plat->periph_id; in exynos_spi_probe() 303 exynos_pinmux_config(priv->periph_id, PINMUX_FLAG_NONE); in exynos_spi_claim_bus() [all …]
|
D | tegra20_slink.c | 82 int periph_id; member 99 plat->periph_id = clock_decode_periph_id(bus); in tegra30_spi_ofdata_to_platdata() 101 if (plat->periph_id == PERIPH_ID_NONE) { in tegra30_spi_ofdata_to_platdata() 103 plat->periph_id); in tegra30_spi_ofdata_to_platdata() 113 __func__, plat->base, plat->periph_id, plat->frequency, in tegra30_spi_ofdata_to_platdata() 128 priv->periph_id = plat->periph_id; in tegra30_spi_probe() 131 clock_start_periph_pll(priv->periph_id, CLOCK_ID_PERIPH, in tegra30_spi_probe() 145 clock_start_periph_pll(priv->periph_id, CLOCK_ID_PERIPH, in tegra30_spi_claim_bus()
|
D | tegra20_sflash.c | 71 int periph_id; member 93 plat->periph_id = clock_decode_periph_id(bus); in tegra20_sflash_ofdata_to_platdata() 95 if (plat->periph_id == PERIPH_ID_NONE) { in tegra20_sflash_ofdata_to_platdata() 97 plat->periph_id); in tegra20_sflash_ofdata_to_platdata() 107 __func__, plat->base, plat->periph_id, plat->frequency, in tegra20_sflash_ofdata_to_platdata() 122 priv->periph_id = plat->periph_id; in tegra20_sflash_probe() 125 clock_start_periph_pll(priv->periph_id, CLOCK_ID_PERIPH, in tegra20_sflash_probe() 139 clock_start_periph_pll(priv->periph_id, CLOCK_ID_PERIPH, in tegra20_sflash_claim_bus()
|
D | tegra210_qspi.c | 90 int periph_id; member 102 plat->periph_id = clock_decode_periph_id(bus); in tegra210_qspi_ofdata_to_platdata() 104 if (plat->periph_id == PERIPH_ID_NONE) { in tegra210_qspi_ofdata_to_platdata() 106 plat->periph_id); in tegra210_qspi_ofdata_to_platdata() 116 __func__, plat->base, plat->periph_id, plat->frequency, in tegra210_qspi_ofdata_to_platdata() 131 priv->periph_id = plat->periph_id; in tegra210_qspi_probe() 134 clock_start_periph_pll(priv->periph_id, CLOCK_ID_PERIPH, priv->freq); in tegra210_qspi_probe() 145 clock_start_periph_pll(priv->periph_id, CLOCK_ID_PERIPH, priv->freq); in tegra210_qspi_claim_bus()
|
D | tegra114_spi.c | 91 int periph_id; member 101 plat->periph_id = clock_decode_periph_id(bus); in tegra114_spi_ofdata_to_platdata() 103 if (plat->periph_id == PERIPH_ID_NONE) { in tegra114_spi_ofdata_to_platdata() 105 plat->periph_id); in tegra114_spi_ofdata_to_platdata() 115 __func__, plat->base, plat->periph_id, plat->frequency, in tegra114_spi_ofdata_to_platdata() 133 priv->periph_id = plat->periph_id; in tegra114_spi_probe() 139 rate = clock_start_periph_pll(priv->periph_id, CLOCK_ID_PERIPH, in tegra114_spi_probe() 142 rate = clock_start_periph_pll(priv->periph_id, CLOCK_ID_OSC, in tegra114_spi_probe()
|
D | tegra_spi.h | 7 enum periph_id periph_id; member
|
/external/u-boot/drivers/usb/host/ |
D | ehci-tegra.c | 79 enum periph_id periph_id;/* peripheral id */ member 283 reset_periph(config->periph_id, 2); in usbf_reset_controller() 317 if (config->periph_id == PERIPH_ID_USBD) { in init_phy_mux() 355 clock_enable(config->periph_id); in init_utmi_usb_controller() 449 if (config->periph_id != PERIPH_ID_USBD) { in init_utmi_usb_controller() 526 if (config->periph_id == PERIPH_ID_USBD) in init_utmi_usb_controller() 529 if (config->periph_id == PERIPH_ID_USB2) in init_utmi_usb_controller() 532 if (config->periph_id == PERIPH_ID_USB3) in init_utmi_usb_controller() 614 clock_enable(config->periph_id); in init_ulpi_usb_controller() 719 config->periph_id = clock_decode_periph_id(dev); in fdt_decode_usb() [all …]
|
/external/u-boot/doc/driver-model/ |
D | spi-howto.txt | 186 enum periph_id periph_id; 198 enum periph_id periph_id; 229 plat->periph_id = pinmux_decode_periph_id(blob, node); 231 if (plat->periph_id == PERIPH_ID_NONE) { 233 plat->periph_id); 242 debug("%s: regs=%p, periph_id=%d, max-frequency=%d, deactivate_delay=%d\n", 243 __func__, plat->regs, plat->periph_id, plat->frequency, 255 .periph_id = ... 282 enum periph_id periph_id; /* Peripheral ID for this device */ 297 enum periph_id periph_id; /* Peripheral ID for this device */ [all …]
|
/external/u-boot/arch/arm/mach-exynos/ |
D | clock.c | 21 enum periph_id id; 1438 static int exynos5_set_spi_clk(enum periph_id periph_id, in exynos5_set_spi_clk() argument 1452 __func__, periph_id); in exynos5_set_spi_clk() 1458 switch (periph_id) { in exynos5_set_spi_clk() 1486 periph_id); in exynos5_set_spi_clk() 1495 static int exynos5420_set_spi_clk(enum periph_id periph_id, in exynos5420_set_spi_clk() argument 1510 __func__, periph_id); in exynos5420_set_spi_clk() 1516 switch (periph_id) { in exynos5420_set_spi_clk() 1549 periph_id); in exynos5420_set_spi_clk() 1628 enum periph_id id; in get_uart_clk() [all …]
|
/external/u-boot/arch/arm/include/asm/arch-stv0991/ |
D | stv0991_defs.h | 11 extern int stv0991_pinmux_config(enum periph_id);
|
D | stv0991_periph.h | 16 enum periph_id { enum
|
/external/u-boot/arch/arm/include/asm/arch-hi6220/ |
D | periph.h | 16 enum periph_id { enum
|
/external/u-boot/arch/arm/mach-s5pc1xx/include/mach/ |
D | periph.h | 16 enum periph_id { enum
|
/external/u-boot/arch/arm/include/asm/arch-aspeed/ |
D | pinctrl.h | 13 enum periph_id { enum
|
/external/u-boot/arch/arm/mach-exynos/include/mach/ |
D | periph.h | 16 enum periph_id { enum
|