Home
last modified time | relevance | path

Searched refs:ALTR_A10SR_LED_VALID_SHIFT (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/gpio/
A Dgpio-altera-a10sr.c33 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()
/linux/include/linux/mfd/
A Daltera-a10sr.h41 #define ALTR_A10SR_LED_VALID_SHIFT 4 /* LED - Upper 4 bits valid */ macro
42 #define ALTR_A10SR_OUT_VALID_RANGE_LO ALTR_A10SR_LED_VALID_SHIFT

Completed in 4 milliseconds