Searched refs:gpio_reset (Results 1 – 10 of 10) sorted by relevance
/Zephyr-latest/drivers/mfd/ |
D | mfd_max22017.c | 26 const struct gpio_dt_spec gpio_reset; member 141 if (config->gpio_reset.port != NULL) { in max22017_reset() 142 ret = gpio_pin_set_dt(&config->gpio_reset, 0); in max22017_reset() 147 ret = gpio_pin_set_dt(&config->gpio_reset, 1); in max22017_reset() 287 if (config->gpio_reset.port != NULL) { in max22017_init() 288 ret = gpio_pin_configure_dt(&config->gpio_reset, GPIO_OUTPUT_ACTIVE); in max22017_init() 380 .gpio_reset = GPIO_DT_SPEC_INST_GET_OR(index, rst_gpios, {0}), \
|
D | mfd_bd8lb600fs.c | 28 const struct gpio_dt_spec gpio_reset; member 199 if (!gpio_is_ready_dt(&config->gpio_reset)) { in bd8lb600fs_init() 211 result = gpio_pin_configure_dt(&config->gpio_reset, GPIO_OUTPUT_ACTIVE); in bd8lb600fs_init() 219 gpio_pin_set_dt(&config->gpio_reset, 0); in bd8lb600fs_init() 229 .gpio_reset = GPIO_DT_SPEC_GET_BY_IDX(DT_DRV_INST(inst), reset_gpios, 0), \
|
D | mfd_tle9104.c | 100 const struct gpio_dt_spec gpio_reset; member 476 if (config->gpio_reset.port != NULL) { in tle9104_init() 477 if (!gpio_is_ready_dt(&config->gpio_reset)) { in tle9104_init() 482 result = gpio_pin_configure_dt(&config->gpio_reset, GPIO_OUTPUT_ACTIVE); in tle9104_init() 489 gpio_pin_set_dt(&config->gpio_reset, 0); in tle9104_init() 603 .gpio_reset = TLE9104_INIT_GPIO_FIELDS(inst, resn_gpios), \
|
/Zephyr-latest/drivers/dac/ |
D | dac_ad56xx.c | 34 const struct gpio_dt_spec gpio_reset; member 133 if (config->gpio_reset.port != NULL) { in ad56xx_init() 135 result = gpio_pin_configure_dt(&config->gpio_reset, GPIO_OUTPUT_ACTIVE); in ad56xx_init() 142 gpio_pin_set_dt(&config->gpio_reset, 0); in ad56xx_init() 176 .gpio_reset = GPIO_DT_SPEC_INST_GET_OR(index, reset_gpios, {0}), \
|
/Zephyr-latest/drivers/gpio/ |
D | gpio_mcp23xxx.h | 61 struct gpio_dt_spec gpio_reset; member
|
D | gpio_pcal64xxa.c | 123 const struct gpio_dt_spec gpio_reset; member 875 if (drv_cfg->gpio_reset.port != NULL) { in pcal64xxa_apply_initial_state() 876 if (!gpio_is_ready_dt(&drv_cfg->gpio_reset)) { in pcal64xxa_apply_initial_state() 882 rc = gpio_pin_configure_dt(&drv_cfg->gpio_reset, GPIO_OUTPUT_ACTIVE); in pcal64xxa_apply_initial_state() 891 rc = gpio_pin_set_dt(&drv_cfg->gpio_reset, 0); in pcal64xxa_apply_initial_state() 1119 .gpio_reset = PCAL64XXA_INIT_RESET_GPIO_FIELDS(idx), \ 1153 .gpio_reset = PCAL64XXA_INIT_RESET_GPIO_FIELDS(idx), \
|
D | gpio_mcp23xxx.c | 503 if (config->gpio_reset.port) { in gpio_mcp23xxx_init() 504 err = gpio_pin_configure_dt(&config->gpio_reset, GPIO_OUTPUT_ACTIVE); in gpio_mcp23xxx_init() 512 err = gpio_pin_set_dt(&config->gpio_reset, 0); in gpio_mcp23xxx_init()
|
D | gpio_mcp230xx.c | 94 .gpio_reset = GPIO_DT_SPEC_INST_GET_OR(inst, reset_gpios, {0}), \
|
D | gpio_mcp23sxx.c | 134 .gpio_reset = GPIO_DT_SPEC_INST_GET_OR(inst, reset_gpios, {0}), \
|
/Zephyr-latest/drivers/adc/ |
D | adc_ads1x4s0x.c | 429 const struct gpio_dt_spec gpio_reset; member 1444 if (config->gpio_reset.port != NULL) { in ads1x4s0x_init() 1445 result = gpio_pin_configure_dt(&config->gpio_reset, GPIO_OUTPUT_ACTIVE); in ads1x4s0x_init() 1490 if (config->gpio_reset.port == NULL) { in ads1x4s0x_init() 1498 gpio_pin_set_dt(&config->gpio_reset, 0); in ads1x4s0x_init() 1581 .gpio_reset = GPIO_DT_SPEC_INST_GET_OR(n, reset_gpios, {0}), \
|