Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-wcd934x.c11 #define WCD_PIN_MASK(p) BIT(p) macro
31 if (value & WCD_PIN_MASK(pin)) in wcd_gpio_get_direction()
42 WCD_PIN_MASK(pin), 0); in wcd_gpio_direction_input()
51 WCD_PIN_MASK(pin), WCD_PIN_MASK(pin)); in wcd_gpio_direction_output()
54 WCD_PIN_MASK(pin), in wcd_gpio_direction_output()
55 val ? WCD_PIN_MASK(pin) : 0); in wcd_gpio_direction_output()
65 return !!(value & WCD_PIN_MASK(pin)); in wcd_gpio_get()
73 WCD_PIN_MASK(pin), val ? WCD_PIN_MASK(pin) : 0); in wcd_gpio_set()