Searched refs:port_index (Results 1 – 3 of 3) sorted by relevance
43 uint8_t port_index = PORT_INDEX(pin_mux); in configure_pin() local47 uint32_t *GPx_MFPx = ((uint32_t *)MFP_BASE) + port_index * 4 + (pin_index / 4); in configure_pin()48 uint32_t *GPx_MFOSx = ((uint32_t *)MFOS_BASE) + port_index; in configure_pin()62 gpio_configure(pin, port_index, pin_index); in configure_pin()
43 uint32_t port_index; in gpio_numaker_configure() local76 port_index = (config->reg - config->gpa_base) / config->size; in gpio_numaker_configure()77 GPx_MFPx = ((uint32_t *)&SYS->GPA_MFP0) + port_index * 4 + (pin / 4); in gpio_numaker_configure()
85 uint8_t port_index, shift; in gpio_gd32_configure_extiss() local120 port_index = (config->reg - GPIOA) / (GPIOB - GPIOA); in gpio_gd32_configure_extiss()124 *extiss |= port_index << shift; in gpio_gd32_configure_extiss()