Home
last modified time | relevance | path

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

/u-boot/arch/arm/mach-uniphier/debug-uart/
A Ddebug-uart.c31 unsigned int mux_bits, unsigned int reg_stride) in sg_set_pinsel() argument
33 unsigned int shift = pin * mux_bits % 32; in sg_set_pinsel()
35 pin * mux_bits / 32 * reg_stride; in sg_set_pinsel()
36 u32 mask = (1U << mux_bits) - 1; in sg_set_pinsel()
A Ddebug-uart.h17 unsigned int mux_bits, unsigned int reg_stride);
/u-boot/arch/arm/mach-tegra/
A Dclock.c188 switch (mux_bits) { in clock_ll_set_source_bits()
216 switch (mux_bits) { in clock_ll_get_source_bits()
410 int mux_bits, unsigned divider) in adjust_periph_pll() argument
422 clock_ll_set_source_bits(periph_id, mux_bits, source); in adjust_periph_pll()
430 int err, mux_bits, divider_bits, type; in clock_get_periph_parent() local
437 source = clock_ll_get_source_bits(periph_id, mux_bits); in clock_get_periph_parent()
446 int mux_bits, divider_bits, source; in clock_adjust_periph_pll_div() local
451 source = get_periph_clock_source(periph_id, parent, &mux_bits, in clock_adjust_periph_pll_div()
460 if (adjust_periph_pll(periph_id, source, mux_bits, divider)) in clock_adjust_periph_pll_div()
715 int source, mux_bits, divider_bits; in clock_init() local
[all …]
/u-boot/arch/arm/mach-uniphier/arm32/
A Ddebug_ll.S24 .macro sg_set_pinsel, pin, muxval, mux_bits, reg_stride, ra, rd
25 ldr \ra, =(SG_BASE + SG_PINCTRL_BASE + \pin * \mux_bits / 32 * \reg_stride)
27 and \rd, \rd, #~(((1 << \mux_bits) - 1) << (\pin * \mux_bits % 32))
28 orr \rd, \rd, #(\muxval << (\pin * \mux_bits % 32))
/u-boot/drivers/pinctrl/uniphier/
A Dpinctrl-uniphier-core.c340 unsigned mux_bits = 8; in uniphier_pinmux_set_one() local
352 mux_bits = 4; in uniphier_pinmux_set_one()
360 mux_bits /= 2; in uniphier_pinmux_set_one()
365 reg = UNIPHIER_PINCTRL_PINMUX_BASE + pin * mux_bits / 32 * reg_stride; in uniphier_pinmux_set_one()
367 shift = pin * mux_bits % 32; in uniphier_pinmux_set_one()
368 mask = (1U << mux_bits) - 1; in uniphier_pinmux_set_one()
380 muxval >>= mux_bits; in uniphier_pinmux_set_one()
/u-boot/arch/arm/include/asm/arch-tegra/
A Dclock.h172 int clock_ll_set_source_bits(enum periph_id periph_id, int mux_bits,
315 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits,
344 enum clock_id parent, int *mux_bits, int *divider_bits);
/u-boot/arch/arm/mach-tegra/tegra20/
A Dclock.c418 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument
439 *mux_bits = MASK_BITS_31_28; in get_periph_clock_info()
441 *mux_bits = MASK_BITS_31_30; in get_periph_clock_info()
482 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source() argument
487 err = get_periph_clock_info(periph_id, mux_bits, divider_bits, &type); in get_periph_clock_source()
/u-boot/arch/arm/mach-tegra/tegra124/
A Dclock.c647 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument
663 *mux_bits = clock_source[*type][CLOCK_MAX_MUX]; in get_periph_clock_info()
705 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source() argument
710 err = get_periph_clock_info(periph_id, mux_bits, divider_bits, &type); in get_periph_clock_source()
1075 int mux_bits, divider_bits, source; in clock_set_display_rate() local
1133 &mux_bits, &divider_bits); in clock_set_display_rate()
1134 clock_ll_set_source_bits(PERIPH_ID_DISP1, mux_bits, source); in clock_set_display_rate()
/u-boot/arch/arm/mach-tegra/tegra114/
A Dclock.c501 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument
517 *mux_bits = clock_source[*type][CLOCK_MAX_MUX]; in get_periph_clock_info()
559 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source() argument
564 err = get_periph_clock_info(periph_id, mux_bits, divider_bits, &type); in get_periph_clock_source()
/u-boot/arch/arm/mach-tegra/tegra30/
A Dclock.c481 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument
497 *mux_bits = clock_source[*type][CLOCK_MAX_MUX]; in get_periph_clock_info()
539 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source() argument
544 err = get_periph_clock_info(periph_id, mux_bits, divider_bits, &type); in get_periph_clock_source()
/u-boot/arch/arm/mach-tegra/tegra210/
A Dclock.c739 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument
755 *mux_bits = clock_source[*type][CLOCK_MAX_MUX]; in get_periph_clock_info()
797 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source() argument
802 err = get_periph_clock_info(periph_id, mux_bits, divider_bits, &type); in get_periph_clock_source()

Completed in 18 milliseconds