| /arch/arm/mach-uniphier/debug-uart/ |
| A D | debug-uart.c | 31 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 D | debug-uart.h | 17 unsigned int mux_bits, unsigned int reg_stride);
|
| /arch/arm/mach-tegra/ |
| A D | clock.c | 194 switch (mux_bits) { in clock_ll_set_source_bits() 222 switch (mux_bits) { in clock_ll_get_source_bits() 423 int mux_bits, unsigned divider) in adjust_periph_pll() argument 435 clock_ll_set_source_bits(periph_id, mux_bits, source); in adjust_periph_pll() 443 int err, mux_bits, divider_bits, type; in clock_get_periph_parent() local 450 source = clock_ll_get_source_bits(periph_id, mux_bits); in clock_get_periph_parent() 460 int mux_bits, divider_bits, source; in clock_adjust_periph_pll_div() local 465 source = get_periph_clock_source(periph_id, parent, &mux_bits, in clock_adjust_periph_pll_div() 484 if (adjust_periph_pll(periph_id, source, mux_bits, divider)) in clock_adjust_periph_pll_div() 820 int source, mux_bits, divider_bits; in clock_init() local [all …]
|
| /arch/arm/mach-uniphier/arm32/ |
| A D | debug_ll.S | 24 .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))
|
| /arch/arm/include/asm/arch-tegra/ |
| A D | clock.h | 172 int clock_ll_set_source_bits(enum periph_id periph_id, int mux_bits, 328 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, 357 enum clock_id parent, int *mux_bits, int *divider_bits);
|
| /arch/arm/mach-tegra/tegra20/ |
| A D | clock.c | 422 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument 443 *mux_bits = MASK_BITS_31_28; in get_periph_clock_info() 445 *mux_bits = MASK_BITS_31_30; in get_periph_clock_info() 486 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source() argument 491 err = get_periph_clock_info(periph_id, mux_bits, divider_bits, &type); in get_periph_clock_source()
|
| /arch/arm/mach-tegra/tegra124/ |
| A D | clock.c | 646 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument 662 *mux_bits = clock_source[*type][CLOCK_MAX_MUX]; in get_periph_clock_info() 704 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source() argument 709 err = get_periph_clock_info(periph_id, mux_bits, divider_bits, &type); in get_periph_clock_source() 1115 int mux_bits, divider_bits, source; in clock_set_display_rate() local 1173 &mux_bits, ÷r_bits); in clock_set_display_rate() 1174 clock_ll_set_source_bits(PERIPH_ID_DISP1, mux_bits, source); in clock_set_display_rate()
|
| /arch/arm/mach-tegra/tegra114/ |
| A D | clock.c | 498 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument 514 *mux_bits = clock_source[*type][CLOCK_MAX_MUX]; in get_periph_clock_info() 556 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source() argument 561 err = get_periph_clock_info(periph_id, mux_bits, divider_bits, &type); in get_periph_clock_source()
|
| /arch/arm/mach-tegra/tegra30/ |
| A D | clock.c | 479 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument 495 *mux_bits = clock_source[*type][CLOCK_MAX_MUX]; in get_periph_clock_info() 537 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source() argument 542 err = get_periph_clock_info(periph_id, mux_bits, divider_bits, &type); in get_periph_clock_source()
|
| /arch/arm/mach-tegra/tegra210/ |
| A D | clock.c | 727 int get_periph_clock_info(enum periph_id periph_id, int *mux_bits, in get_periph_clock_info() argument 743 *mux_bits = clock_source[*type][CLOCK_MAX_MUX]; in get_periph_clock_info() 785 enum clock_id parent, int *mux_bits, int *divider_bits) in get_periph_clock_source() argument 790 err = get_periph_clock_info(periph_id, mux_bits, divider_bits, &type); in get_periph_clock_source()
|