Lines Matching defs:shift
50 * @shift: register bit shift corresponding to the reset line to check
59 static int am33xx_prm_is_hardreset_asserted(u8 shift, u8 part, s16 inst,
65 v &= 1 << shift;
66 v >>= shift;
73 * @shift: register bit shift corresponding to the reset line to assert
85 static int am33xx_prm_assert_hardreset(u8 shift, u8 part, s16 inst,
88 u32 mask = 1 << shift;
98 * @shift: register bit shift corresponding to the reset line to deassert
99 * @st_shift: reset status register bit shift corresponding to the reset line
114 static int am33xx_prm_deassert_hardreset(u8 shift, u8 st_shift, u8 part,
122 if (am33xx_prm_is_hardreset_asserted(shift, 0, inst, rstctrl_offs) == 0)
129 mask = 1 << shift;