Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/gpio/
H A Daspeed_gpio.c185 static const struct aspeed_gpio_bank *to_bank(unsigned int offset) in to_bank() function
197 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_direction_input()
211 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_direction_output()
231 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_get_value()
241 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_set_value()
257 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_get_function()
/openbmc/linux/drivers/gpio/
H A Dgpio-aspeed.c283 const struct aspeed_gpio_bank *bank = to_bank(offset); in have_gpio()
342 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_copro_request()
366 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_copro_release()
386 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_get()
395 const struct aspeed_gpio_bank *bank = to_bank(offset); in __aspeed_gpio_set()
433 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_dir_in()
461 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_dir_out()
489 const struct aspeed_gpio_bank *bank = to_bank(offset); in aspeed_gpio_get_direction()
524 *bank = to_bank(*offset); in irqd_to_aspeed_gpio_data()
729 treg = bank_reg(gpio, to_bank(offset), reg_tolerance); in aspeed_gpio_reset_tolerance()
[all …]
H A Dgpio-aspeed-sgpio.c135 static const struct aspeed_sgpio_bank *to_bank(unsigned int offset) in to_bank() function
172 const struct aspeed_sgpio_bank *bank = to_bank(offset); in aspeed_sgpio_get()
190 const struct aspeed_sgpio_bank *bank = to_bank(offset); in sgpio_set_value()
264 *bank = to_bank(*offset); in irqd_to_aspeed_sgpio_data()
494 reg = bank_reg(gpio, to_bank(offset), reg_tolerance); in aspeed_sgpio_reset_tolerance()