Lines Matching refs:sel
213 uint8_t sel; /* Relates to enum stm32mp1_parent_sel */ member
250 .sel = (_parent_sel), \
262 .sel = _UNKNOWN_SEL, \
274 .sel = (_parent_sel), \
286 .sel = _UNKNOWN_SEL, \
301 .sel = (_parent_sel), \
311 .sel = _UNKNOWN_SEL, \
614 return (enum stm32mp1_parent_sel)gate_ref(i)->sel; in stm32mp1_clk_get_sel()
624 const struct stm32mp1_clk_sel *sel = NULL; in stm32mp1_clk_get_parent() local
650 sel = clk_sel_ref(s); in stm32mp1_clk_get_parent()
651 p_sel = (io_read32(rcc_base + sel->offset) >> sel->src) & sel->msk; in stm32mp1_clk_get_parent()
652 if (p_sel < sel->nb_parent) in stm32mp1_clk_get_parent()
653 return (int)sel->parent[p_sel]; in stm32mp1_clk_get_parent()
1067 const struct stm32mp1_clk_sel *sel = clk_sel_ref(s); in get_parent_id_parent() local
1070 p_sel = (io_read32(rcc_base + sel->offset) >> sel->src) & in get_parent_id_parent()
1071 sel->msk; in get_parent_id_parent()
1073 if (p_sel < sel->nb_parent) in get_parent_id_parent()
1074 return sel->parent[p_sel]; in get_parent_id_parent()