Home
last modified time | relevance | path

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

/Zephyr-latest/soc/st/stm32/common/
Dstm32_wkup_pins.c79 static const struct gpio_dt_spec empty_gpio = {.port = NULL, .pin = 0, .dt_flags = 0};
288 wakeup_pin_cfg.src_selection = wkup_pin_gpio_cfg->dt_flags & in stm32_pwr_wkup_pin_cfg_gpio()
300 if (gpio->dt_flags & GPIO_ACTIVE_LOW) { in stm32_pwr_wkup_pin_cfg_gpio()
321 if (gpio->dt_flags & GPIO_PULL_UP) { in stm32_pwr_wkup_pin_cfg_gpio()
323 } else if (gpio->dt_flags & GPIO_PULL_DOWN) { in stm32_pwr_wkup_pin_cfg_gpio()
/Zephyr-latest/tests/drivers/gpio/gpio_hogs/src/
Dmain.c82 if ((output_high_gpio.dt_flags & GPIO_ACTIVE_LOW) != 0) { in ZTEST()
95 if ((output_low_gpio.dt_flags & GPIO_ACTIVE_LOW) == 0) { in ZTEST()
/Zephyr-latest/samples/boards/espressif/light_sleep/src/
Dmain.c38 const int wakeup_level = (button.dt_flags & GPIO_ACTIVE_LOW) ? 0 : 1; in main()
/Zephyr-latest/drivers/sensor/bosch/bmp388/
Dbmp388_trigger.c149 GPIO_INPUT | cfg->gpio_int.dt_flags); in bmp388_trigger_mode_init()
/Zephyr-latest/drivers/input/
Dinput_gpio_kbd_matrix.c168 gpio[i].dt_flags != gpio0->dt_flags || in gpio_kbd_matrix_is_gpio_coherent()
/Zephyr-latest/drivers/sensor/adi/adt7420/
Dadt7420_trigger.c153 rc = gpio_pin_configure_dt(&cfg->int_gpio, GPIO_INPUT | cfg->int_gpio.dt_flags); in adt7420_init_interrupt()
/Zephyr-latest/drivers/sensor/ams/tsl2591/
Dtsl2591_trigger.c125 ret = gpio_pin_configure_dt(&config->int_gpio, GPIO_INPUT | config->int_gpio.dt_flags); in tsl2591_initialize_int()
/Zephyr-latest/drivers/sensor/amg88xx/
Damg88xx_trigger.c186 gpio_pin_configure_dt(&config->int_gpio, GPIO_INPUT | config->int_gpio.dt_flags); in amg88xx_init_interrupt()
/Zephyr-latest/drivers/sensor/st/lis2dh/
Dlis2dh.c521 ({.port = NULL, .pin = 0, .dt_flags = 0}))
526 ({.port = NULL, .pin = 0, .dt_flags = 0}), \
/Zephyr-latest/include/zephyr/drivers/
Dgpio.h295 gpio_dt_flags_t dt_flags; member
336 .dt_flags = DT_GPIO_FLAGS_BY_IDX(node_id, prop, idx), \
1049 spec->dt_flags | extra_flags); in gpio_pin_configure_dt()
/Zephyr-latest/drivers/mspi/
Dmspi_emul.c87 dev_id->ce.dt_flags == data->mspicfg.ce_group[i].dt_flags) { in mspi_verify_device()
Dmspi_ambiq_ap3.c282 dev_id->ce.dt_flags == cfg->mspicfg.ce_group[i].dt_flags) { in mspi_verify_device()
/Zephyr-latest/subsys/modbus/
Dmodbus_core.c22 .dt_flags = DT_INST_GPIO_FLAGS(inst, prop), \
/Zephyr-latest/subsys/mgmt/ec_host_cmd/backends/
Dec_host_cmd_backend_shi_ite.c461 ret = gpio_pin_configure(cfg->cs.port, cfg->cs.pin, GPIO_INPUT | cfg->cs.dt_flags); in shi_ite_init()
/Zephyr-latest/drivers/sensor/apds9960/
Dapds9960.c369 gpio_pin_configure_dt(&config->int_gpio, GPIO_INPUT | config->int_gpio.dt_flags); in apds9960_init_interrupt()
/Zephyr-latest/drivers/gpio/
Dgpio_stm32.c508 .dt_flags = (gpio_dt_flags_t)flags, in gpio_stm32_config()
/Zephyr-latest/drivers/lora/
Drylrxxx.c577 err = gpio_pin_configure_dt(&config->reset, config->reset.dt_flags); in rylr_init()
/Zephyr-latest/drivers/regulator/
Dregulator_npm1300.c455 inv = (spec->dt_flags & GPIO_ACTIVE_LOW) != 0U; in regulator_npm1300_set_pin_ctrl()
Dregulator_npm2100.c607 uint8_t offset = ((spec->dt_flags & GPIO_ACTIVE_LOW) != 0U) ? 0U : 1U; in init_pin_ctrl()
/Zephyr-latest/drivers/counter/
Drtc_mcp7940n.c718 if ((cfg->int_gpios.dt_flags & GPIO_ACTIVE_LOW) == GPIO_ACTIVE_LOW) { in mcp7940n_init()
/Zephyr-latest/drivers/adc/
Dadc_esp32.c634 .dt_flags = 0, in adc_esp32_channel_setup()
Dadc_ads1x1x.c171 ? GPIO_INPUT | config->alert_rdy.dt_flags in ads1x1x_setup_rdy_pin()
/Zephyr-latest/samples/drivers/espi/src/
Dmain.c224 spi_cfg.cs.gpio.dt_flags = 0; in spi_saf_init()
/Zephyr-latest/drivers/usb_c/tcpc/
Ducpd_numaker.c2342 .dt_flags = DT_PHA_BY_NAME(node_id, prop, name, flags), \