Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpio/
H A Dgpio-exar.c31 unsigned int first_pin; member
53 unsigned int addr = (offset + exar_gpio->first_pin) / 8 ? in exar_set_direction()
55 unsigned int bit = (offset + exar_gpio->first_pin) % 8; in exar_set_direction()
76 unsigned int addr = (offset + exar_gpio->first_pin) / 8 ? in exar_get_direction()
78 unsigned int bit = (offset + exar_gpio->first_pin) % 8; in exar_get_direction()
89 unsigned int addr = (offset + exar_gpio->first_pin) / 8 ? in exar_get_value()
91 unsigned int bit = (offset + exar_gpio->first_pin) % 8; in exar_get_value()
100 unsigned int addr = (offset + exar_gpio->first_pin) / 8 ? in exar_set_value()
102 unsigned int bit = (offset + exar_gpio->first_pin) % 8; in exar_set_value()
123 u32 first_pin, ngpio in gpio_exar_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/gpio/
H A Dgpio-exar.c39 unsigned int first_pin; member
50 unsigned int pin = exar_gpio->first_pin + (offset % 16); in exar_offset_to_sel_addr()
60 unsigned int pin = exar_gpio->first_pin + (offset % 16); in exar_offset_to_lvl_addr()
70 unsigned int pin = exar_gpio->first_pin + (offset % 16); in exar_offset_to_bit()
152 u32 first_pin, ngpios; in gpio_exar_probe() local
164 ret = device_property_read_u32(dev, "exar,first-pin", &first_pin); in gpio_exar_probe()
214 exar_gpio->first_pin = first_pin; in gpio_exar_probe()

Completed in 2 milliseconds