Lines Matching full:id
24 static size_t reset_id2reg_offset(unsigned int id) in reset_id2reg_offset() argument
26 size_t offset = (id & RESET_ID_MASK) >> RESET_ID_SHIFT; in reset_id2reg_offset()
42 unsigned int id = to_stm32_rstline(rstctrl)->id; in reset_assert() local
48 switch (id) { in reset_assert()
66 offset = reset_id2reg_offset(id); in reset_assert()
67 bit_mask = BIT(reset_id2reg_bit_pos(id)); in reset_assert()
87 unsigned int id = to_stm32_rstline(rstctrl)->id; in reset_deassert() local
93 switch (id) { in reset_deassert()
110 offset = reset_id2reg_offset(id) + RCC_MP_RSTCLRR_OFFSET; in reset_deassert()
111 bit_mask = BIT(reset_id2reg_bit_pos(id)); in reset_deassert()
135 static const struct rstctrl_ops *stm32_reset_get_ops(unsigned int id __unused) in stm32_reset_get_ops()