Home
last modified time | relevance | path

Searched refs:internal_id (Results 1 – 5 of 5) sorted by relevance

/external/u-boot/arch/arm/mach-tegra/tegra114/
Dclock.c482 enum periphc_internal_id internal_id; in get_periph_source_reg() local
489 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_source_reg()
490 assert(internal_id != -1); in get_periph_source_reg()
491 if (internal_id >= PERIPHC_VW_FIRST) { in get_periph_source_reg()
492 internal_id -= PERIPHC_VW_FIRST; in get_periph_source_reg()
493 return &clkrst->crc_clk_src_vw[internal_id]; in get_periph_source_reg()
495 return &clkrst->crc_clk_src[internal_id]; in get_periph_source_reg()
501 enum periphc_internal_id internal_id; in get_periph_clock_info() local
506 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_clock_info()
507 if (!periphc_internal_id_isvalid(internal_id)) in get_periph_clock_info()
[all …]
/external/u-boot/arch/arm/mach-tegra/tegra30/
Dclock.c462 enum periphc_internal_id internal_id; in get_periph_source_reg() local
469 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_source_reg()
470 assert(internal_id != -1); in get_periph_source_reg()
471 if (internal_id >= PERIPHC_VW_FIRST) { in get_periph_source_reg()
472 internal_id -= PERIPHC_VW_FIRST; in get_periph_source_reg()
473 return &clkrst->crc_clk_src_vw[internal_id]; in get_periph_source_reg()
475 return &clkrst->crc_clk_src[internal_id]; in get_periph_source_reg()
481 enum periphc_internal_id internal_id; in get_periph_clock_info() local
486 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_clock_info()
487 if (!periphc_internal_id_isvalid(internal_id)) in get_periph_clock_info()
[all …]
/external/u-boot/arch/arm/mach-tegra/tegra20/
Dclock.c407 enum periphc_internal_id internal_id; in get_periph_source_reg() local
410 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_source_reg()
411 assert(internal_id != -1); in get_periph_source_reg()
412 return &clkrst->crc_clk_src[internal_id]; in get_periph_source_reg()
418 enum periphc_internal_id internal_id; in get_periph_clock_info() local
423 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_clock_info()
424 if (!periphc_internal_id_isvalid(internal_id)) in get_periph_clock_info()
427 *type = clock_periph_type[internal_id]; in get_periph_clock_info()
449 enum periphc_internal_id internal_id; in get_periph_clock_id() local
455 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_clock_id()
[all …]
/external/u-boot/arch/arm/mach-tegra/tegra210/
Dclock.c703 enum periphc_internal_id internal_id; in get_periph_source_reg() local
710 internal_id = INTERNAL_ID(periph_id_to_internal_id[periph_id]); in get_periph_source_reg()
711 assert(internal_id != -1); in get_periph_source_reg()
713 if (internal_id < PERIPHC_VW_FIRST) in get_periph_source_reg()
715 return &clkrst->crc_clk_src[internal_id]; in get_periph_source_reg()
717 if (internal_id < PERIPHC_X_FIRST) { in get_periph_source_reg()
719 internal_id -= PERIPHC_VW_FIRST; in get_periph_source_reg()
720 return &clkrst->crc_clk_src_vw[internal_id]; in get_periph_source_reg()
723 if (internal_id < PERIPHC_Y_FIRST) { in get_periph_source_reg()
725 internal_id -= PERIPHC_X_FIRST; in get_periph_source_reg()
[all …]
/external/u-boot/arch/arm/mach-tegra/tegra124/
Dclock.c624 enum periphc_internal_id internal_id; in get_periph_source_reg() local
631 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_source_reg()
632 assert(internal_id != -1); in get_periph_source_reg()
633 if (internal_id >= PERIPHC_X_FIRST) { in get_periph_source_reg()
634 internal_id -= PERIPHC_X_FIRST; in get_periph_source_reg()
635 return &clkrst->crc_clk_src_x[internal_id]; in get_periph_source_reg()
636 } else if (internal_id >= PERIPHC_VW_FIRST) { in get_periph_source_reg()
637 internal_id -= PERIPHC_VW_FIRST; in get_periph_source_reg()
638 return &clkrst->crc_clk_src_vw[internal_id]; in get_periph_source_reg()
640 return &clkrst->crc_clk_src[internal_id]; in get_periph_source_reg()
[all …]