Searched refs:power_gpio (Results 1 – 6 of 6) sorted by relevance
/Zephyr-latest/drivers/sensor/current_amp/ |
D | current_amp.c | 85 if (config->power_gpio.port == NULL) { in pm_action() 92 ret = gpio_pin_set_dt(&config->power_gpio, 1); in pm_action() 99 ret = gpio_pin_set_dt(&config->power_gpio, 0); in pm_action() 127 if (config->power_gpio.port != NULL) { in current_init() 128 if (!gpio_is_ready_dt(&config->power_gpio)) { in current_init() 133 ret = gpio_pin_configure_dt(&config->power_gpio, GPIO_OUTPUT_ACTIVE); in current_init()
|
/Zephyr-latest/include/zephyr/drivers/adc/ |
D | current_sense_amplifier.h | 18 struct gpio_dt_spec power_gpio; member 37 .power_gpio = GPIO_DT_SPEC_GET_OR(node_id, power_gpios, {0}), \
|
/Zephyr-latest/drivers/modem/ |
D | ublox-sara-r4.c | 45 static const struct gpio_dt_spec power_gpio = GPIO_DT_SPEC_INST_GET(0, mdm_power_gpios); variable 966 gpio_pin_set_dt(&power_gpio, 1); in pin_init() 970 gpio_pin_set_dt(&power_gpio, 0); in pin_init() 977 gpio_pin_set_dt(&power_gpio, 1); in pin_init() 988 gpio_pin_set_dt(&power_gpio, 0); in pin_init() 991 gpio_pin_set_dt(&power_gpio, 1); in pin_init() 1003 gpio_pin_set_dt(&power_gpio, 0); in pin_init() 1009 gpio_pin_set_dt(&power_gpio, 1); in pin_init() 1024 gpio_pin_configure_dt(&power_gpio, GPIO_INPUT); in pin_init() 2194 ret = gpio_pin_configure_dt(&power_gpio, GPIO_OUTPUT); in modem_init()
|
D | modem_cellular.c | 155 struct gpio_dt_spec power_gpio; member 590 if (modem_cellular_gpio_is_enabled(&config->power_gpio)) { in modem_cellular_begin_power_off_pulse() 628 if (modem_cellular_gpio_is_enabled(&config->power_gpio)) { in modem_cellular_idle_event_handler() 710 gpio_pin_set_dt(&config->power_gpio, 1); in modem_cellular_on_power_on_pulse_state_enter() 737 gpio_pin_set_dt(&config->power_gpio, 0); in modem_cellular_on_power_on_pulse_state_leave() 873 if (modem_cellular_gpio_is_enabled(&config->power_gpio)) { in modem_cellular_run_init_script_event_handler() 1198 gpio_pin_set_dt(&config->power_gpio, 1); in modem_cellular_on_power_off_pulse_state_enter() 1221 gpio_pin_set_dt(&config->power_gpio, 0); in modem_cellular_on_power_off_pulse_state_leave() 1718 if (modem_cellular_gpio_is_enabled(&config->power_gpio)) { in modem_cellular_init() 1719 gpio_pin_configure_dt(&config->power_gpio, GPIO_OUTPUT_INACTIVE); in modem_cellular_init() [all …]
|
D | quectel-bg9x.c | 24 static const struct gpio_dt_spec power_gpio = GPIO_DT_SPEC_INST_GET(0, mdm_power_gpios); variable 914 gpio_pin_set_dt(&power_gpio, 1); in pin_init() 920 gpio_pin_set_dt(&power_gpio, 0); in pin_init() 1229 ret = gpio_pin_configure_dt(&power_gpio, GPIO_OUTPUT_LOW); in modem_init()
|
D | simcom-sim7080.c | 35 static const struct gpio_dt_spec power_gpio = GPIO_DT_SPEC_INST_GET(0, mdm_power_gpios); variable 1249 gpio_pin_set_dt(&power_gpio, 1); in modem_pwrkey() 1251 gpio_pin_set_dt(&power_gpio, 0); in modem_pwrkey() 2404 ret = gpio_pin_configure_dt(&power_gpio, GPIO_OUTPUT_LOW); in modem_init()
|