Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/charger/
Dcharger_bq24190.c25 struct gpio_dt_spec ce_gpio; member
440 if (config->ce_gpio.port != NULL) { in bq24190_charge_enable()
442 return gpio_pin_set_dt(&config->ce_gpio, 1); in bq24190_charge_enable()
444 return gpio_pin_set_dt(&config->ce_gpio, 0); in bq24190_charge_enable()
475 if (config->ce_gpio.port != NULL) { in bq24190_init()
476 if (!gpio_is_ready_dt(&config->ce_gpio)) { in bq24190_init()
480 ret = gpio_pin_configure_dt(&config->ce_gpio, GPIO_OUTPUT_INACTIVE); in bq24190_init()
511 .ce_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, ce_gpios, {}), \