Lines Matching refs:PADS_PU_PD_SHIFT
32 #define PADS_PU_PD_SHIFT(pin) (2 * ((pin) % 16)) macro
1013 PADS_PU_PD_SHIFT(pin); in pistachio_pinconf_get()
1018 PADS_PU_PD_SHIFT(pin); in pistachio_pinconf_get()
1023 PADS_PU_PD_SHIFT(pin); in pistachio_pinconf_get()
1028 PADS_PU_PD_SHIFT(pin); in pistachio_pinconf_get()
1087 val &= ~(PADS_PU_PD_MASK << PADS_PU_PD_SHIFT(pin)); in pistachio_pinconf_set()
1088 val |= PADS_PU_PD_HIGHZ << PADS_PU_PD_SHIFT(pin); in pistachio_pinconf_set()
1093 val &= ~(PADS_PU_PD_MASK << PADS_PU_PD_SHIFT(pin)); in pistachio_pinconf_set()
1094 val |= PADS_PU_PD_UP << PADS_PU_PD_SHIFT(pin); in pistachio_pinconf_set()
1099 val &= ~(PADS_PU_PD_MASK << PADS_PU_PD_SHIFT(pin)); in pistachio_pinconf_set()
1100 val |= PADS_PU_PD_DOWN << PADS_PU_PD_SHIFT(pin); in pistachio_pinconf_set()
1105 val &= ~(PADS_PU_PD_MASK << PADS_PU_PD_SHIFT(pin)); in pistachio_pinconf_set()
1106 val |= PADS_PU_PD_BUS << PADS_PU_PD_SHIFT(pin); in pistachio_pinconf_set()