Home
last modified time | relevance | path

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

/openbmc/linux/drivers/gpio/
H A Dgpio-da9055.c22 #define DA9055_PORT_SHIFT(offset) (4 * (offset % 2)) macro
44 gpio_direction = ret & (DA9055_PORT_MASK) << DA9055_PORT_SHIFT(offset); in da9055_gpio_get()
45 gpio_direction >>= DA9055_PORT_SHIFT(offset); in da9055_gpio_get()
78 << DA9055_PORT_SHIFT(offset); in da9055_gpio_direction_input()
83 DA9055_PORT_SHIFT(offset), in da9055_gpio_direction_input()
95 << DA9055_PORT_SHIFT(offset); in da9055_gpio_direction_output()
100 DA9055_PORT_SHIFT(offset), in da9055_gpio_direction_output()