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

/linux-4.1.27/drivers/gpio/
H A Dgpio-da9055.c27 #define DA9055_PORT_SHIFT(offset) (4 * (offset % 2)) macro
54 gpio_direction = ret & (DA9055_PORT_MASK) << DA9055_PORT_SHIFT(offset); da9055_gpio_get()
55 gpio_direction >>= DA9055_PORT_SHIFT(offset); da9055_gpio_get()
88 << DA9055_PORT_SHIFT(offset); da9055_gpio_direction_input()
93 DA9055_PORT_SHIFT(offset), da9055_gpio_direction_input()
105 << DA9055_PORT_SHIFT(offset); da9055_gpio_direction_output()
110 DA9055_PORT_SHIFT(offset), da9055_gpio_direction_output()

Completed in 95 milliseconds