ALTR_A10SR_LED_VALID_SHIFT 33 drivers/gpio/gpio-altera-a10sr.c return !!(val & BIT(offset - ALTR_A10SR_LED_VALID_SHIFT)); ALTR_A10SR_LED_VALID_SHIFT 42 drivers/gpio/gpio-altera-a10sr.c BIT(ALTR_A10SR_LED_VALID_SHIFT + offset), ALTR_A10SR_LED_VALID_SHIFT 43 drivers/gpio/gpio-altera-a10sr.c value ? BIT(ALTR_A10SR_LED_VALID_SHIFT + offset) ALTR_A10SR_LED_VALID_SHIFT 50 drivers/gpio/gpio-altera-a10sr.c if (nr < (ALTR_A10SR_IN_VALID_RANGE_LO - ALTR_A10SR_LED_VALID_SHIFT)) ALTR_A10SR_LED_VALID_SHIFT 59 drivers/gpio/gpio-altera-a10sr.c if (nr > (ALTR_A10SR_OUT_VALID_RANGE_HI - ALTR_A10SR_LED_VALID_SHIFT)) ALTR_A10SR_LED_VALID_SHIFT 42 include/linux/mfd/altera-a10sr.h #define ALTR_A10SR_OUT_VALID_RANGE_LO ALTR_A10SR_LED_VALID_SHIFT