Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/pinctrl/
H A Dpinctrl_stm32.c273 static int prep_gpio_dsc(struct stm32_gpio_dsc *gpio_dsc, u32 port_pin) in prep_gpio_dsc() argument
275 gpio_dsc->port = (port_pin & 0x1F000) >> 12; in prep_gpio_dsc()
276 gpio_dsc->pin = (port_pin & 0x0F00) >> 8; in prep_gpio_dsc()
/openbmc/linux/drivers/gpio/
H A Dgpio-realtek-otto.c127 unsigned int port_pin = line % 8; in realtek_gpio_line_imr_pos_swapped() local
130 return 2 * (8 * (port ^ 1) + port_pin); in realtek_gpio_line_imr_pos_swapped()