Searched refs:DA9055_PORT_SHIFT (Results 1 – 1 of 1) sorted by relevance
22 #define DA9055_PORT_SHIFT(offset) (4 * (offset % 2)) macro44 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()
Completed in 4 milliseconds