Searched refs:scl_gpio (Results 1 – 2 of 2) sorted by relevance
42 struct gpio_dt_spec scl_gpio; member57 gpio_pin_set_dt(&config->scl_gpio, state); in i2c_gpio_set_scl()139 if (!device_is_ready(config->scl_gpio.port)) { in i2c_gpio_init()144 err = gpio_pin_configure_dt(&config->scl_gpio, GPIO_OUTPUT_HIGH); in i2c_gpio_init()190 .scl_gpio = GPIO_DT_SPEC_INST_GET(_num, scl_gpios), \
56 struct gpio_dt_spec scl_gpio; member305 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()862 if (!device_is_ready(cfg->scl_gpio.port)) { in i2c_xec_init()901 .scl_gpio = GPIO_DT_SPEC_INST_GET(n, scl_gpios), \