Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpio-aspeed.c251 static const struct aspeed_gpio_bank *to_bank(unsigned int offset) in to_bank() function
281 const struct aspeed_gpio_bank *bank = to_bank(offset); in have_gpio()
340 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_copro_request()
364 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_copro_release()
384 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_get()
393 const struct aspeed_gpio_bank *bank = to_bank(offset); in __aspeed_gpio_set()
429 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_dir_in()
457 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_dir_out()
485 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_get_direction()
521 *bank = to_bank(*offset); in irqd_to_aspeed_gpio_data()
[all …]
Dsgpio-aspeed.c118 static const struct aspeed_sgpio_bank *to_bank(unsigned int offset) in to_bank() function
129 const struct aspeed_sgpio_bank *bank = to_bank(offset); in aspeed_sgpio_get()
149 const struct aspeed_sgpio_bank *bank = to_bank(offset); in sgpio_set_value()
229 *bank = to_bank(*offset); in irqd_to_aspeed_sgpio_data()