Lines Matching refs:shift

1288 	unsigned int index, shift;  in tz1090_pinctrl_gpio_select()  local
1296 shift = pin & 0x1f; in tz1090_pinctrl_gpio_select()
1302 gpio_en &= ~BIT(shift); in tz1090_pinctrl_gpio_select()
1304 gpio_en |= BIT(shift); in tz1090_pinctrl_gpio_select()
1327 unsigned int index, shift; in tz1090_pinctrl_perip_select() local
1335 shift = pin & 0x1f; in tz1090_pinctrl_perip_select()
1341 pin_en &= ~BIT(shift); in tz1090_pinctrl_perip_select()
1343 pin_en |= BIT(shift); in tz1090_pinctrl_perip_select()
1531 unsigned char shift; member
1642 u32 *reg, u32 *width, u32 *mask, u32 *shift, in tz1090_pinconf_reg() argument
1669 *shift = pu->shift; in tz1090_pinconf_reg()
1673 *mask = (BIT(*width) - 1) << *shift; in tz1090_pinconf_reg()
1684 u32 reg, width, mask, shift, val, tmp, arg; in tz1090_pinconf_get() local
1688 &reg, &width, &mask, &shift, &val); in tz1090_pinconf_get()
1694 arg = ((tmp & mask) >> shift) == val; in tz1090_pinconf_get()
1714 u32 reg, width, mask, shift, val, tmp; in tz1090_pinconf_set() local
1727 &reg, &width, &mask, &shift, &val); in tz1090_pinconf_set()
1743 tmp |= val << shift; in tz1090_pinconf_set()
1767 u32 *reg, u32 *width, u32 *mask, u32 *shift, in tz1090_pinconf_group_reg() argument
1796 *shift = g->slw_bit * *width; in tz1090_pinconf_group_reg()
1797 *mask = (BIT(*width) - 1) << *shift; in tz1090_pinconf_group_reg()
1811 u32 reg, width, mask, shift, val; in tz1090_pinconf_group_get() local
1829 &reg, &width, &mask, &shift, &map); in tz1090_pinconf_group_get()
1835 arg = map[(val & mask) >> shift]; in tz1090_pinconf_group_get()
1855 u32 reg, width, mask, shift, val; in tz1090_pinconf_group_set() local
1881 &width, &mask, &shift, &map); in tz1090_pinconf_group_set()
1905 val |= i << shift; in tz1090_pinconf_group_set()