Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_gpio.c43 struct gpio_dt_spec sda_gpio; member
64 gpio_pin_set_dt(&config->sda_gpio, state); in i2c_gpio_set_sda()
70 int rc = gpio_pin_get_dt(&config->sda_gpio); in i2c_gpio_get_sda()
171 if (!gpio_is_ready_dt(&config->sda_gpio)) { in i2c_gpio_init()
176 err = gpio_pin_configure_dt(&config->sda_gpio, in i2c_gpio_init()
179 err = gpio_pin_configure_dt(&config->sda_gpio, in i2c_gpio_init()
212 .sda_gpio = GPIO_DT_SPEC_INST_GET(_num, sda_gpios), \
Di2c_mchp_xec.c55 struct gpio_dt_spec sda_gpio; member
299 if (gpio_port_get_raw(config->sda_gpio.port, &sda)) { in check_lines_high()
305 if (config->sda_gpio.port == config->scl_gpio.port) { in check_lines_high()
315 return (sda & BIT(config->sda_gpio.pin)) && (scl & BIT(config->scl_gpio.pin)); in check_lines_high()
860 if (!gpio_is_ready_dt(&cfg->sda_gpio)) { in i2c_xec_init()
903 .sda_gpio = GPIO_DT_SPEC_INST_GET(n, sda_gpios), \