Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/pinctrl/
Dpinctrl_esp32.c80 uint32_t io_pin = (uint32_t) pin + ((ESP32_PORT_IDX(pin) == 1 && pin < 32) ? 32 : 0); in esp32_pin_apply_config()
186 if (ESP32_PORT_IDX(pin_num) >= esp32_gpio_ports_cnt) { in esp32_pin_configure()
190 port_addr = esp32_gpio_ports_addrs[ESP32_PORT_IDX(pin_num)]; in esp32_pin_configure()
253 if (ESP32_PORT_IDX(pin_num) == 0) { in esp32_pin_configure()
267 if (ESP32_PORT_IDX(pin_num) == 0) { in esp32_pin_configure()
/Zephyr-latest/include/zephyr/drivers/pinctrl/
Dpinctrl_esp32_common.h10 #define ESP32_PORT_IDX(_pin) \ macro