Searched refs:intb_gpio (Results 1 – 5 of 5) sorted by relevance
/Zephyr-latest/drivers/sensor/ti/fdc2x1x/ |
D | fdc2x1x_trigger.c | 95 gpio_pin_interrupt_configure_dt(&cfg->intb_gpio, GPIO_INT_DISABLE); in fdc2x1x_trigger_set() 125 gpio_pin_interrupt_configure_dt(&cfg->intb_gpio, GPIO_INT_EDGE_TO_ACTIVE); in fdc2x1x_trigger_set() 138 if (!gpio_is_ready_dt(&cfg->intb_gpio)) { in fdc2x1x_init_interrupt() 139 LOG_ERR("%s: intb_gpio device not ready", cfg->intb_gpio.port->name); in fdc2x1x_init_interrupt() 148 gpio_pin_configure_dt(&cfg->intb_gpio, GPIO_INPUT); in fdc2x1x_init_interrupt() 152 BIT(cfg->intb_gpio.pin)); in fdc2x1x_init_interrupt() 154 if (gpio_add_callback(cfg->intb_gpio.port, &drv_data->gpio_cb) < 0) { in fdc2x1x_init_interrupt()
|
D | fdc2x1x.h | 188 struct gpio_dt_spec intb_gpio; member
|
D | fdc2x1x.c | 968 .intb_gpio = GPIO_DT_SPEC_INST_GET(n, intb_gpios), \
|
/Zephyr-latest/drivers/usb/bc12/ |
D | emul_bc12_pi3usb9201.c | 57 struct gpio_dt_spec intb_gpio; member 110 gpio_emul_input_set(cfg->intb_gpio.port, cfg->intb_gpio.pin, 0); in pi3usb9201_emul_set_reg() 134 gpio_emul_input_set(cfg->intb_gpio.port, cfg->intb_gpio.pin, 1); in pi3usb9201_emul_get_reg() 153 gpio_emul_input_set(cfg->intb_gpio.port, cfg->intb_gpio.pin, 1); in pi3usb9201_emul_reset() 273 gpio_emul_input_set(cfg->intb_gpio.port, cfg->intb_gpio.pin, 0); in pi3usb9201_emul_set_pd_partner_state() 320 .intb_gpio = GPIO_DT_SPEC_INST_GET_OR(n, intb_gpios, {0}), \
|
D | bc12_pi3usb9201.c | 24 struct gpio_dt_spec intb_gpio; member 567 if (!gpio_is_ready_dt(&cfg->intb_gpio)) { in pi3usb9201_init() 580 rv = gpio_pin_configure_dt(&cfg->intb_gpio, GPIO_INPUT); in pi3usb9201_init() 587 BIT(cfg->intb_gpio.pin)); in pi3usb9201_init() 590 rv = gpio_add_callback(cfg->intb_gpio.port, &pi3usb9201_data->gpio_cb); in pi3usb9201_init() 596 rv = gpio_pin_interrupt_configure_dt(&cfg->intb_gpio, GPIO_INT_EDGE_FALLING); in pi3usb9201_init() 614 .intb_gpio = GPIO_DT_SPEC_INST_GET(inst, intb_gpios), \
|