Lines Matching defs:shift
58 * @shift: register bit shift corresponding to the reset line to check
67 static int am33xx_prm_is_hardreset_asserted(u8 shift, u8 part, s16 inst,
73 v &= 1 << shift;
74 v >>= shift;
81 * @shift: register bit shift corresponding to the reset line to assert
93 static int am33xx_prm_assert_hardreset(u8 shift, u8 part, s16 inst,
96 u32 mask = 1 << shift;
106 * @shift: register bit shift corresponding to the reset line to deassert
107 * @st_shift: reset status register bit shift corresponding to the reset line
122 static int am33xx_prm_deassert_hardreset(u8 shift, u8 st_shift, u8 part,
130 if (am33xx_prm_is_hardreset_asserted(shift, 0, inst, rstctrl_offs) == 0)
137 mask = 1 << shift;