Searched refs:internal_id (Results 1 – 5 of 5) sorted by relevance
482 enum periphc_internal_id internal_id; in get_periph_source_reg() local489 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() local506 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 …]
462 enum periphc_internal_id internal_id; in get_periph_source_reg() local469 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() local486 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 …]
407 enum periphc_internal_id internal_id; in get_periph_source_reg() local410 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() local423 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() local455 internal_id = periph_id_to_internal_id[periph_id]; in get_periph_clock_id()[all …]
703 enum periphc_internal_id internal_id; in get_periph_source_reg() local710 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 …]
624 enum periphc_internal_id internal_id; in get_periph_source_reg() local631 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 …]