Searched refs:port_pin (Results 1 – 2 of 2) sorted by relevance
273 static int prep_gpio_dsc(struct stm32_gpio_dsc *gpio_dsc, u32 port_pin) in prep_gpio_dsc() argument275 gpio_dsc->port = (port_pin & 0x1F000) >> 12; in prep_gpio_dsc()276 gpio_dsc->pin = (port_pin & 0x0F00) >> 8; in prep_gpio_dsc()
127 unsigned int port_pin = line % 8; in realtek_gpio_line_imr_pos_swapped() local130 return 2 * (8 * (port ^ 1) + port_pin); in realtek_gpio_line_imr_pos_swapped()