Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpio-sama5d2-piobu.c77 * sama5d2_piobu_write_value() - writes value & mask at the pin's PIOBU register
79 static int sama5d2_piobu_write_value(struct gpio_chip *chip, unsigned int pin, in sama5d2_piobu_write_value() function
132 return sama5d2_piobu_write_value(chip, pin, PIOBU_DIRECTION, PIOBU_IN); in sama5d2_piobu_direction_input()
146 return sama5d2_piobu_write_value(chip, pin, PIOBU_DIRECTION | PIOBU_SOD, in sama5d2_piobu_direction_output()
180 sama5d2_piobu_write_value(chip, pin, PIOBU_SOD, value); in sama5d2_piobu_set()
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-sama5d2-piobu.c77 * sama5d2_piobu_write_value() - writes value & mask at the pin's PIOBU register
79 static int sama5d2_piobu_write_value(struct gpio_chip *chip, unsigned int pin, in sama5d2_piobu_write_value() function
132 return sama5d2_piobu_write_value(chip, pin, PIOBU_DIRECTION, PIOBU_IN); in sama5d2_piobu_direction_input()
146 return sama5d2_piobu_write_value(chip, pin, PIOBU_DIRECTION | PIOBU_SOD, in sama5d2_piobu_direction_output()
180 sama5d2_piobu_write_value(chip, pin, PIOBU_SOD, value); in sama5d2_piobu_set()

Completed in 2 milliseconds