Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/gpio/
A Dgpio-em.c183 static inline struct em_gio_priv *gpio_to_priv(struct gpio_chip *chip) in gpio_to_priv() function
190 em_gio_write(gpio_to_priv(chip), GIO_E0, BIT(offset)); in em_gio_direction_input()
196 return !!(em_gio_read(gpio_to_priv(chip), GIO_I) & BIT(offset)); in em_gio_get()
203 em_gio_write(gpio_to_priv(chip), reg, in __em_gio_set()
221 em_gio_write(gpio_to_priv(chip), GIO_E1, BIT(offset)); in em_gio_direction_output()
227 return irq_create_mapping(gpio_to_priv(chip)->irq_domain, offset); in em_gio_to_irq()

Completed in 9 milliseconds