Home
last modified time | relevance | path

Searched refs:gpio_callback (Results 1 – 25 of 388) sorted by relevance

12345678910>>...16

/Zephyr-latest/samples/boards/bbc/microbit/line_follower_robot/src/
Dmain.c26 static struct gpio_callback left_cb;
27 static struct gpio_callback right_cb;
32 static void left_irq(const struct device *dev, struct gpio_callback *cb, in left_irq()
38 static void right_irq(const struct device *dev, struct gpio_callback *cb, in right_irq()
/Zephyr-latest/tests/drivers/gpio/gpio_basic_api/src/
Dgpio_emul_callback.c22 struct gpio_callback *cb,
25 struct gpio_callback gpio_emul_callback = {
31 struct gpio_callback *cb, in gpio_emul_callback_handler()
/Zephyr-latest/subsys/tracing/user/
Dtracing_user.c61 void __weak sys_trace_gpio_init_callback_enter_user(struct gpio_callback *callback, in sys_trace_gpio_init_callback_enter_user()
64 void __weak sys_trace_gpio_init_callback_exit_user(struct gpio_callback *callback) {} in sys_trace_gpio_init_callback_exit_user()
66 struct gpio_callback *callback) {} in sys_trace_gpio_add_callback_enter_user()
69 struct gpio_callback *callback) {} in sys_trace_gpio_remove_callback_enter_user()
76 struct gpio_callback *callback) {} in sys_trace_gpio_fire_callback_user()
253 void sys_trace_gpio_init_callback_enter(struct gpio_callback *callback, in sys_trace_gpio_init_callback_enter()
259 void sys_trace_gpio_init_callback_exit(struct gpio_callback *callback) in sys_trace_gpio_init_callback_exit()
264 void sys_trace_gpio_add_callback_enter(const struct device *port, struct gpio_callback *callback) in sys_trace_gpio_add_callback_enter()
275 struct gpio_callback *callback) in sys_trace_gpio_remove_callback_enter()
301 void sys_trace_gpio_fire_callback(const struct device *port, struct gpio_callback *callback) in sys_trace_gpio_fire_callback()
/Zephyr-latest/include/zephyr/drivers/wifi/nrf_wifi/bus/
Drpu_hw_if.h44 int rpu_irq_config(struct gpio_callback *irq_callback_data, void (*irq_handler)());
45 int rpu_irq_remove(struct gpio_callback *irq_callback_data);
Dqspi_if.h77 void gpio_free_irq(int pin, struct gpio_callback *button_cb_data);
79 int gpio_request_irq(int pin, struct gpio_callback *button_cb_data, void (*irq_handler)());
/Zephyr-latest/include/zephyr/drivers/mfd/
Dnpm2100.h112 int mfd_npm2100_add_callback(const struct device *dev, struct gpio_callback *callback);
121 int mfd_npm2100_remove_callback(const struct device *dev, struct gpio_callback *callback);
Dnpm1300.h149 int mfd_npm1300_add_callback(const struct device *dev, struct gpio_callback *callback);
158 int mfd_npm1300_remove_callback(const struct device *dev, struct gpio_callback *callback);
/Zephyr-latest/drivers/serial/
Duart_ite_it8xxx2.c47 void uart1_wui_isr(const struct device *gpio, struct gpio_callback *cb, in uart1_wui_isr()
67 void uart2_wui_isr(const struct device *gpio, struct gpio_callback *cb, in uart2_wui_isr()
163 static struct gpio_callback uart1_wui_cb; in uart_it8xxx2_init()
170 static struct gpio_callback uart2_wui_cb; in uart_it8xxx2_init()
/Zephyr-latest/drivers/sensor/st/iis328dq/
Diis328dq.h69 struct gpio_callback int1_cb;
70 struct gpio_callback int2_cb;
/Zephyr-latest/samples/subsys/tracing/src/
Dgpio_main.c19 void test_handler(const struct device *port, struct gpio_callback *cb, gpio_port_pins_t pins) in test_handler()
49 static struct gpio_callback gpio_cb; in gpio_sample()
/Zephyr-latest/include/zephyr/drivers/gpio/
Dgpio_utils.h60 struct gpio_callback *callback, in gpio_manage_callback()
94 struct gpio_callback *cb, *tmp; in gpio_fire_callbacks()
/Zephyr-latest/drivers/sensor/ti/tmp1075/
Dtmp1075.h54 struct gpio_callback temp_alert_gpio_cb;
72 void tmp1075_trigger_handle_alert(const struct device *port, struct gpio_callback *cb,
/Zephyr-latest/samples/bluetooth/encrypted_advertising/peripheral/src/
Dmain.c33 static struct gpio_callback button_cb_data;
39 static void button_pressed(const struct device *dev, struct gpio_callback *cb, uint32_t pins) in button_pressed()
/Zephyr-latest/samples/bluetooth/mesh/src/
Dmicrobit.c32 static void button_pressed(const struct device *dev, struct gpio_callback *cb, in button_pressed()
51 static struct gpio_callback button_cb; in configure_button()
/Zephyr-latest/tests/drivers/sensor/hc-sr04/src/
Dmain.c33 struct gpio_callback cb;
42 struct gpio_callback *cb,
79 struct gpio_callback *cb, in gpio_emul_callback_handler()
/Zephyr-latest/drivers/sensor/ti/ina23x/
Dina23x_trigger.h15 struct gpio_callback gpio_cb;
/Zephyr-latest/samples/basic/button/src/
Dmain.c30 static struct gpio_callback button_cb_data;
39 void button_pressed(const struct device *dev, struct gpio_callback *cb, in button_pressed()
/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/
Dapp_gpio.c17 struct gpio_callback *cb, uint32_t pins) in button_pressed()
58 static struct gpio_callback button_cb[4]; in app_gpio_init()
/Zephyr-latest/samples/bluetooth/encrypted_advertising/central/src/
Dmain.c37 static struct gpio_callback button_cb_data;
45 static void button_pressed(const struct device *dev, struct gpio_callback *cb, uint32_t pins) in button_pressed()
/Zephyr-latest/drivers/mfd/
Dmfd_npm1300.c56 struct gpio_callback gpio_cb;
83 static void gpio_callback(const struct device *dev, struct gpio_callback *cb, uint32_t pins) in gpio_callback() function
157 gpio_init_callback(&mfd_data->gpio_cb, gpio_callback, in mfd_npm1300_init()
276 int mfd_npm1300_add_callback(const struct device *dev, struct gpio_callback *callback) in mfd_npm1300_add_callback()
304 int mfd_npm1300_remove_callback(const struct device *dev, struct gpio_callback *callback) in mfd_npm1300_remove_callback()
Dmfd_npm2100.c81 struct gpio_callback gpio_cb;
115 static void gpio_callback(const struct device *dev, struct gpio_callback *cb, uint32_t pins) in gpio_callback() function
281 gpio_init_callback(&mfd_data->gpio_cb, gpio_callback, BIT(config->host_int_gpios.pin)); in mfd_npm2100_init()
371 int mfd_npm2100_add_callback(const struct device *dev, struct gpio_callback *callback) in mfd_npm2100_add_callback()
398 int mfd_npm2100_remove_callback(const struct device *dev, struct gpio_callback *callback) in mfd_npm2100_remove_callback()
/Zephyr-latest/drivers/sensor/ti/ti_hdc/
Dti_hdc.h33 struct gpio_callback gpio_cb;
/Zephyr-latest/drivers/misc/ft8xx/
Dft8xx_drv.h30 struct gpio_callback *cb, uint32_t pins);
/Zephyr-latest/samples/boards/bbc/microbit/sound/src/
Dmain.c50 static void button_pressed(const struct device *dev, struct gpio_callback *cb, in button_pressed()
86 static struct gpio_callback button_cb_data; in main()
/Zephyr-latest/drivers/sensor/honeywell/sm351lt/
Dsm351lt.h26 struct gpio_callback gpio_cb;

12345678910>>...16