Home
last modified time | relevance | path

Searched refs:periph_id (Results 1 – 25 of 42) sorted by relevance

12

/u-boot/arch/arm/include/asm/arch-tegra/
A Dclock.h122 void reset_periph(enum periph_id periph_id, int us_delay);
130 void reset_set_enable(enum periph_id periph_id, int enable);
162 void clock_ll_set_source(enum periph_id periph_id, unsigned source);
198 enum clock_id clock_get_periph_parent(enum periph_id periph_id);
209 unsigned clock_start_periph_pll(enum periph_id periph_id,
222 unsigned long clock_get_periph_rate(enum periph_id periph_id,
238 unsigned clock_adjust_periph_pll_div(enum periph_id periph_id,
258 void clock_ll_start_uart(enum periph_id periph_id);
296 u32 *get_periph_source_reg(enum periph_id periph_id);
343 int get_periph_clock_source(enum periph_id periph_id,
[all …]
A Dfuncmux.h26 int funcmux_select(enum periph_id id, int config);
A Dpowergate.h35 enum periph_id periph);
/u-boot/arch/arm/mach-tegra/
A Dclock.c183 int clock_ll_set_source_bits(enum periph_id periph_id, int mux_bits, in clock_ll_set_source_bits() argument
234 void clock_ll_set_source(enum periph_id periph_id, unsigned source) in clock_ll_set_source() argument
312 unsigned long clock_get_periph_rate(enum periph_id periph_id, in clock_get_periph_rate() argument
409 static int adjust_periph_pll(enum periph_id periph_id, int source, in adjust_periph_pll() argument
428 enum clock_id clock_get_periph_parent(enum periph_id periph_id) in clock_get_periph_parent() argument
442 unsigned clock_adjust_periph_pll_div(enum periph_id periph_id, in clock_adjust_periph_pll_div() argument
476 unsigned clock_start_periph_pll(enum periph_id periph_id, in clock_start_periph_pll() argument
502 void reset_periph(enum periph_id periph_id, int us_delay) in reset_periph() argument
646 void clock_ll_start_uart(enum periph_id periph_id) in clock_ll_start_uart() argument
713 enum periph_id periph_id; in clock_init() local
[all …]
/u-boot/arch/arm/mach-tegra/tegra114/
A Dclock.c481 u32 *get_periph_source_reg(enum periph_id periph_id) in get_periph_source_reg() argument
488 if (periph_id == PERIPH_ID_CSI) in get_periph_source_reg()
491 assert(periph_id >= PERIPH_ID_FIRST && periph_id < PERIPH_ID_COUNT); in get_periph_source_reg()
501 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument
527 enum clock_id get_periph_clock_id(enum periph_id periph_id, int source) in get_periph_clock_id() argument
558 int get_periph_clock_source(enum periph_id periph_id, in get_periph_clock_source() argument
577 void clock_set_enable(enum periph_id periph_id, int enable) in clock_set_enable() argument
592 reg |= PERIPH_MASK(periph_id); in clock_set_enable()
594 reg &= ~PERIPH_MASK(periph_id); in clock_set_enable()
598 void reset_set_enable(enum periph_id periph_id, int enable) in reset_set_enable() argument
[all …]
/u-boot/arch/arm/mach-tegra/tegra20/
A Dclock.c406 u32 *get_periph_source_reg(enum periph_id periph_id) in get_periph_source_reg() argument
418 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument
423 if (!clock_periph_id_isvalid(periph_id)) in get_periph_clock_info()
450 enum clock_id get_periph_clock_id(enum periph_id periph_id, int source) in get_periph_clock_id() argument
481 int get_periph_clock_source(enum periph_id periph_id, in get_periph_clock_source() argument
510 void clock_set_enable(enum periph_id periph_id, int enable) in clock_set_enable() argument
521 reg |= PERIPH_MASK(periph_id); in clock_set_enable()
523 reg &= ~PERIPH_MASK(periph_id); in clock_set_enable()
527 void reset_set_enable(enum periph_id periph_id, int enable) in reset_set_enable() argument
538 reg |= PERIPH_MASK(periph_id); in reset_set_enable()
[all …]
/u-boot/arch/arm/mach-tegra/tegra30/
A Dclock.c461 u32 *get_periph_source_reg(enum periph_id periph_id) in get_periph_source_reg() argument
468 if (periph_id == PERIPH_ID_CSI) in get_periph_source_reg()
471 assert(periph_id >= PERIPH_ID_FIRST && periph_id < PERIPH_ID_COUNT); in get_periph_source_reg()
481 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument
507 enum clock_id get_periph_clock_id(enum periph_id periph_id, int source) in get_periph_clock_id() argument
538 int get_periph_clock_source(enum periph_id periph_id, in get_periph_clock_source() argument
557 void clock_set_enable(enum periph_id periph_id, int enable) in clock_set_enable() argument
572 reg |= PERIPH_MASK(periph_id); in clock_set_enable()
574 reg &= ~PERIPH_MASK(periph_id); in clock_set_enable()
578 void reset_set_enable(enum periph_id periph_id, int enable) in reset_set_enable() argument
[all …]
/u-boot/drivers/spi/
A Dexynos_spi.c28 enum periph_id periph_id; member
38 enum periph_id periph_id; /* Peripheral ID for this device */ member
262 plat->periph_id = pinmux_decode_periph_id(blob, node); in exynos_spi_of_to_plat()
264 if (plat->periph_id == PERIPH_ID_NONE) { in exynos_spi_of_to_plat()
266 plat->periph_id); in exynos_spi_of_to_plat()
276 __func__, plat->regs, plat->periph_id, plat->frequency, in exynos_spi_of_to_plat()
288 if (plat->periph_id == PERIPH_ID_SPI1 || in exynos_spi_probe()
289 plat->periph_id == PERIPH_ID_SPI2) in exynos_spi_probe()
297 priv->periph_id = plat->periph_id; in exynos_spi_probe()
307 exynos_pinmux_config(priv->periph_id, PINMUX_FLAG_NONE); in exynos_spi_claim_bus()
[all …]
A Dtegra_spi.h7 enum periph_id periph_id; member
A Dtegra114_spi.c95 int periph_id; member
105 plat->periph_id = clock_decode_periph_id(bus); in tegra114_spi_of_to_plat()
107 if (plat->periph_id == PERIPH_ID_NONE) { in tegra114_spi_of_to_plat()
109 plat->periph_id); in tegra114_spi_of_to_plat()
119 __func__, plat->base, plat->periph_id, plat->frequency, in tegra114_spi_of_to_plat()
137 priv->periph_id = plat->periph_id; in tegra114_spi_probe()
143 rate = clock_start_periph_pll(priv->periph_id, CLOCK_ID_PERIPH, in tegra114_spi_probe()
146 rate = clock_start_periph_pll(priv->periph_id, CLOCK_ID_OSC, in tegra114_spi_probe()
A Dtegra20_sflash.c76 int periph_id; member
98 plat->periph_id = clock_decode_periph_id(bus); in tegra20_sflash_of_to_plat()
100 if (plat->periph_id == PERIPH_ID_NONE) { in tegra20_sflash_of_to_plat()
102 plat->periph_id); in tegra20_sflash_of_to_plat()
112 __func__, plat->base, plat->periph_id, plat->frequency, in tegra20_sflash_of_to_plat()
127 priv->periph_id = plat->periph_id; in tegra20_sflash_probe()
130 clock_start_periph_pll(priv->periph_id, CLOCK_ID_PERIPH, in tegra20_sflash_probe()
144 clock_start_periph_pll(priv->periph_id, CLOCK_ID_PERIPH, in tegra20_sflash_claim_bus()
A Dtegra20_slink.c87 int periph_id; member
104 plat->periph_id = clock_decode_periph_id(bus); in tegra30_spi_of_to_plat()
106 if (plat->periph_id == PERIPH_ID_NONE) { in tegra30_spi_of_to_plat()
108 plat->periph_id); in tegra30_spi_of_to_plat()
118 __func__, plat->base, plat->periph_id, plat->frequency, in tegra30_spi_of_to_plat()
133 priv->periph_id = plat->periph_id; in tegra30_spi_probe()
136 clock_start_periph_pll(priv->periph_id, CLOCK_ID_PERIPH, in tegra30_spi_probe()
150 clock_start_periph_pll(priv->periph_id, CLOCK_ID_PERIPH, in tegra30_spi_claim_bus()
A Dtegra210_qspi.c96 int periph_id; member
106 plat->periph_id = clock_decode_periph_id(bus); in tegra210_qspi_of_to_plat()
108 if (plat->periph_id == PERIPH_ID_NONE) { in tegra210_qspi_of_to_plat()
110 plat->periph_id); in tegra210_qspi_of_to_plat()
121 __func__, plat->base, plat->periph_id, plat->frequency, in tegra210_qspi_of_to_plat()
137 priv->periph_id = plat->periph_id; in tegra210_qspi_probe()
140 priv->periph_id); in tegra210_qspi_probe()
142 clock_start_periph_pll(priv->periph_id, CLOCK_ID_PERIPH, priv->freq); in tegra210_qspi_probe()
/u-boot/arch/arm/mach-tegra/tegra124/
A Dclock.c623 u32 *get_periph_source_reg(enum periph_id periph_id) in get_periph_source_reg() argument
630 if (periph_id == PERIPH_ID_CSI) in get_periph_source_reg()
633 assert(periph_id >= PERIPH_ID_FIRST && periph_id < PERIPH_ID_COUNT); in get_periph_source_reg()
647 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument
673 enum clock_id get_periph_clock_id(enum periph_id periph_id, int source) in get_periph_clock_id() argument
704 int get_periph_clock_source(enum periph_id periph_id, in get_periph_clock_source() argument
723 void clock_set_enable(enum periph_id periph_id, int enable) in clock_set_enable() argument
740 reg |= PERIPH_MASK(periph_id); in clock_set_enable()
742 reg &= ~PERIPH_MASK(periph_id); in clock_set_enable()
746 void reset_set_enable(enum periph_id periph_id, int enable) in reset_set_enable() argument
[all …]
/u-boot/arch/arm/mach-tegra/tegra210/
A Dclock.c704 u32 *get_periph_source_reg(enum periph_id periph_id) in get_periph_source_reg() argument
711 if (periph_id == PERIPH_ID_CSI) in get_periph_source_reg()
714 assert(periph_id >= PERIPH_ID_FIRST && periph_id < PERIPH_ID_COUNT); in get_periph_source_reg()
739 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument
765 enum clock_id get_periph_clock_id(enum periph_id periph_id, int source) in get_periph_clock_id() argument
796 int get_periph_clock_source(enum periph_id periph_id, in get_periph_clock_source() argument
815 void clock_set_enable(enum periph_id periph_id, int enable) in clock_set_enable() argument
835 reg |= PERIPH_MASK(periph_id); in clock_set_enable()
837 reg &= ~PERIPH_MASK(periph_id); in clock_set_enable()
841 void reset_set_enable(enum periph_id periph_id, int enable) in reset_set_enable() argument
[all …]
A Dfuncmux.c15 int funcmux_select(enum periph_id id, int config) in funcmux_select()
/u-boot/drivers/usb/host/
A Dehci-tegra.c81 enum periph_id periph_id;/* peripheral id */ member
285 reset_periph(config->periph_id, 2); in usbf_reset_controller()
319 if (config->periph_id == PERIPH_ID_USBD) { in init_phy_mux()
357 clock_enable(config->periph_id); in init_utmi_usb_controller()
451 if (config->periph_id != PERIPH_ID_USBD) { in init_utmi_usb_controller()
528 if (config->periph_id == PERIPH_ID_USBD) in init_utmi_usb_controller()
531 if (config->periph_id == PERIPH_ID_USB2) in init_utmi_usb_controller()
534 if (config->periph_id == PERIPH_ID_USB3) in init_utmi_usb_controller()
616 clock_enable(config->periph_id); in init_ulpi_usb_controller()
722 if (config->periph_id == PERIPH_ID_NONE) { in fdt_decode_usb()
[all …]
/u-boot/arch/arm/include/asm/arch-stv0991/
A Dstv0991_defs.h11 extern int stv0991_pinmux_config(enum periph_id);
A Dstv0991_periph.h16 enum periph_id { enum
/u-boot/arch/arm/include/asm/arch-hi6220/
A Dperiph.h16 enum periph_id { enum
/u-boot/arch/arm/mach-exynos/
A Dclock.c22 enum periph_id id;
1452 static int exynos5_set_spi_clk(enum periph_id periph_id, in exynos5_set_spi_clk() argument
1466 __func__, periph_id); in exynos5_set_spi_clk()
1472 switch (periph_id) { in exynos5_set_spi_clk()
1500 periph_id); in exynos5_set_spi_clk()
1509 static int exynos5420_set_spi_clk(enum periph_id periph_id, in exynos5420_set_spi_clk() argument
1524 __func__, periph_id); in exynos5420_set_spi_clk()
1530 switch (periph_id) { in exynos5420_set_spi_clk()
1563 periph_id); in exynos5420_set_spi_clk()
1642 enum periph_id id; in get_uart_clk()
[all …]
/u-boot/doc/driver-model/
A Dspi-howto.rst199 enum periph_id periph_id;
213 enum periph_id periph_id;
251 if (plat->periph_id == PERIPH_ID_NONE) {
253 plat->periph_id);
278 .periph_id = ...
308 enum periph_id periph_id; /* Peripheral ID for this device */
325 enum periph_id periph_id; /* Peripheral ID for this device */
364 if (plat->periph_id == PERIPH_ID_SPI1 ||
365 plat->periph_id == PERIPH_ID_SPI2)
373 priv->periph_id = plat->periph_id;
[all …]
/u-boot/arch/arm/mach-s5pc1xx/include/mach/
A Dperiph.h16 enum periph_id { enum
/u-boot/arch/arm/include/asm/arch-aspeed/
A Dpinctrl.h13 enum periph_id { enum
/u-boot/arch/arm/mach-exynos/include/mach/
A Dperiph.h16 enum periph_id { enum

Completed in 38 milliseconds

12