Searched refs:sda_gpio (Results 1 – 2 of 2) sorted by relevance
43 struct gpio_dt_spec sda_gpio; member64 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), \
55 struct gpio_dt_spec sda_gpio; member299 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), \