Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/i2c/
Di2c_gpio.c42 struct gpio_dt_spec scl_gpio; member
57 gpio_pin_set_dt(&config->scl_gpio, state); in i2c_gpio_set_scl()
160 if (!gpio_is_ready_dt(&config->scl_gpio)) { in i2c_gpio_init()
165 err = gpio_pin_configure_dt(&config->scl_gpio, GPIO_OUTPUT_HIGH); in i2c_gpio_init()
211 .scl_gpio = GPIO_DT_SPEC_INST_GET(_num, scl_gpios), \
Di2c_mchp_xec.c56 struct gpio_dt_spec scl_gpio; member
305 if (config->sda_gpio.port == config->scl_gpio.port) { in check_lines_high()
308 if (gpio_port_get_raw(config->scl_gpio.port, &scl)) { in check_lines_high()
315 return (sda & BIT(config->sda_gpio.pin)) && (scl & BIT(config->scl_gpio.pin)); in check_lines_high()
865 if (!gpio_is_ready_dt(&cfg->scl_gpio)) { in i2c_xec_init()
904 .scl_gpio = GPIO_DT_SPEC_INST_GET(n, scl_gpios), \