Searched refs:ALTR_A10SR_LED_VALID_SHIFT (Results 1 – 2 of 2) sorted by relevance
33 return !!(val & BIT(offset - ALTR_A10SR_LED_VALID_SHIFT)); in altr_a10sr_gpio_get()42 BIT(ALTR_A10SR_LED_VALID_SHIFT + offset), in altr_a10sr_gpio_set()43 value ? BIT(ALTR_A10SR_LED_VALID_SHIFT + offset) in altr_a10sr_gpio_set()50 if (nr < (ALTR_A10SR_IN_VALID_RANGE_LO - ALTR_A10SR_LED_VALID_SHIFT)) in altr_a10sr_gpio_direction_input()59 if (nr > (ALTR_A10SR_OUT_VALID_RANGE_HI - ALTR_A10SR_LED_VALID_SHIFT)) in altr_a10sr_gpio_direction_output()
41 #define ALTR_A10SR_LED_VALID_SHIFT 4 /* LED - Upper 4 bits valid */ macro42 #define ALTR_A10SR_OUT_VALID_RANGE_LO ALTR_A10SR_LED_VALID_SHIFT
Completed in 4 milliseconds