Home
last modified time | relevance | path

Searched refs:gpio_pin_t (Results 1 – 25 of 124) sorted by relevance

12345

/Zephyr-latest/subsys/tracing/user/
Dtracing_user.c29 gpio_pin_t pin, gpio_flags_t flags) {} in sys_trace_gpio_pin_interrupt_configure_enter_user()
31 gpio_pin_t pin, int ret) {} in sys_trace_gpio_pin_interrupt_configure_exit_user()
32 void __weak sys_trace_gpio_pin_configure_enter_user(const struct device *port, gpio_pin_t pin, in sys_trace_gpio_pin_configure_enter_user()
34 void __weak sys_trace_gpio_pin_configure_exit_user(const struct device *port, gpio_pin_t pin, in sys_trace_gpio_pin_configure_exit_user()
41 void __weak sys_trace_gpio_pin_get_config_enter_user(const struct device *port, gpio_pin_t pin, in sys_trace_gpio_pin_get_config_enter_user()
43 void __weak sys_trace_gpio_pin_get_config_exit_user(const struct device *port, gpio_pin_t pin, in sys_trace_gpio_pin_get_config_exit_user()
74 gpio_pin_t pins) {} in sys_trace_gpio_fire_callbacks_enter_user()
158 void sys_trace_gpio_pin_interrupt_configure_enter(const struct device *port, gpio_pin_t pin, in sys_trace_gpio_pin_interrupt_configure_enter()
164 void sys_trace_gpio_pin_interrupt_configure_exit(const struct device *port, gpio_pin_t pin, in sys_trace_gpio_pin_interrupt_configure_exit()
170 void sys_trace_gpio_pin_configure_enter(const struct device *port, gpio_pin_t pin, in sys_trace_gpio_pin_configure_enter()
[all …]
Dtracing_user.h53 typedef uint8_t gpio_pin_t; typedef
59 void sys_trace_gpio_pin_interrupt_configure_enter_user(const struct device *port, gpio_pin_t pin,
61 void sys_trace_gpio_pin_interrupt_configure_exit_user(const struct device *port, gpio_pin_t pin,
63 void sys_trace_gpio_pin_configure_enter_user(const struct device *port, gpio_pin_t pin,
65 void sys_trace_gpio_pin_configure_exit_user(const struct device *port, gpio_pin_t pin, int ret);
70 void sys_trace_gpio_pin_get_config_enter_user(const struct device *port, gpio_pin_t pin, int ret);
71 void sys_trace_gpio_pin_get_config_exit_user(const struct device *port, gpio_pin_t pin, int ret);
97 gpio_pin_t pins);
/Zephyr-latest/include/zephyr/drivers/interrupt_controller/
Dgpio_intc_stm32.h30 stm32_gpio_irq_line_t stm32_gpio_intc_get_pin_irq_line(uint32_t port, gpio_pin_t pin);
109 void stm32_exti_set_line_src_port(gpio_pin_t line, uint32_t port);
117 uint32_t stm32_exti_get_line_src_port(gpio_pin_t line);
/Zephyr-latest/include/zephyr/drivers/gpio/
Dgpio_emul.h69 static inline int gpio_emul_input_set(const struct device *port, gpio_pin_t pin, in gpio_emul_input_set()
97 static inline int gpio_emul_output_get(const struct device *port, gpio_pin_t pin) in gpio_emul_output_get()
122 int gpio_emul_flags_get(const struct device *port, gpio_pin_t pin, gpio_flags_t *flags);
Dgpio_sx1509b.h34 gpio_pin_t pin);
46 int sx1509b_led_intensity_pin_set(const struct device *dev, gpio_pin_t pin,
/Zephyr-latest/samples/subsys/tracing/src/
Dtracing_user.c62 void sys_trace_gpio_pin_configure_enter_user(const struct device *port, gpio_pin_t pin, in sys_trace_gpio_pin_configure_enter_user()
68 void sys_trace_gpio_pin_configure_exit_user(const struct device *port, gpio_pin_t pin, int ret) in sys_trace_gpio_pin_configure_exit_user()
93 void sys_trace_gpio_pin_interrupt_configure_enter_user(const struct device *port, gpio_pin_t pin, in sys_trace_gpio_pin_interrupt_configure_enter_user()
99 void sys_trace_gpio_pin_interrupt_configure_exit_user(const struct device *port, gpio_pin_t pin, in sys_trace_gpio_pin_interrupt_configure_exit_user()
/Zephyr-latest/drivers/gpio/
Dgpio_handlers.c11 gpio_pin_t pin, in z_vrfy_gpio_pin_configure()
23 gpio_pin_t pin, in z_vrfy_gpio_pin_get_config()
82 gpio_pin_t pin, in z_vrfy_gpio_pin_interrupt_configure()
Dgpio_b91.c95 static inline void gpiob_b91_irq_en_set(const struct device *dev, gpio_pin_t pin) in gpiob_b91_irq_en_set()
113 static inline void gpiob_b91_irq_en_clr(const struct device *dev, gpio_pin_t pin) in gpiob_b91_irq_en_clr()
162 void gpio_b91_irq_set(const struct device *dev, gpio_pin_t pin, in gpio_b91_irq_set()
222 gpio_pin_t pin, in gpio_b91_up_down_res_set()
254 gpio_pin_t pin, in gpio_b91_config_up_down_res()
268 gpio_pin_t pin, in gpio_b91_config_in_out()
309 gpio_pin_t pin, in gpio_b91_pin_configure()
420 gpio_pin_t pin, in gpio_b91_pin_interrupt_configure()
Dgpio_efinix_sapphire.c56 gpio_pin_t pin, uint32_t type) in cfg_output_enable_bit()
69 static inline void cfg_output_bit(const struct gpio_efinix_sapphire_cfg *config, gpio_pin_t pin, in cfg_output_bit()
85 static int gpio_efinix_sapphire_config(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) in gpio_efinix_sapphire_config()
Dgpio_axp192.c78 static int gpio_axp192_configure(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) in gpio_axp192_configure()
161 static int gpio_axp192_pin_interrupt_configure(const struct device *dev, gpio_pin_t pin, in gpio_axp192_pin_interrupt_configure()
173 static int gpio_axp192_get_config(const struct device *dev, gpio_pin_t pin, gpio_flags_t *out_flags) in gpio_axp192_get_config()
240 for (gpio_pin_t gpio = 0; gpio < config->ngpios; gpio++) { in gpio_axp192_port_get_direction()
Dgpio_renesas_ra_ioport.c28 gpio_pin_t vbatt_pins[];
54 static void gpio_ra_callback_adapter(const struct device *dev, gpio_pin_t pin) in gpio_ra_callback_adapter()
62 static int gpio_ra_pin_configure(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) in gpio_ra_pin_configure()
230 static int gpio_ra_pin_interrupt_configure(const struct device *port, gpio_pin_t pin, in gpio_ra_pin_interrupt_configure()
Dgpio_shell.c38 gpio_pin_t pin;
50 gpio_pin_t pin; in port_pin_get()
173 gpio_pin_t pin = PIN_NOT_FOUND; in get_gpio_pin()
174 gpio_pin_t i; in get_gpio_pin()
495 gpio_pin_t pin;
509 gpio_pin_t pin; in print_gpio_ctrl_info()
534 gpio_pin_t pin; in foreach_pin()
Dgpio_stm32.c142 static inline uint32_t stm32_pinval_get(gpio_pin_t pin) in stm32_pinval_get()
202 static inline void gpio_stm32_disable_pin_irqs(uint32_t port, gpio_pin_t pin) in gpio_stm32_disable_pin_irqs()
220 static void gpio_stm32_configure_raw(const struct device *dev, gpio_pin_t pin, in gpio_stm32_configure_raw()
440 int gpio_stm32_configure(const struct device *dev, gpio_pin_t pin, uint32_t conf, uint32_t func) in gpio_stm32_configure()
468 gpio_pin_t pin, gpio_flags_t flags) in gpio_stm32_config()
539 gpio_pin_t pin, gpio_flags_t *flags) in gpio_stm32_get_config()
565 gpio_pin_t pin, in gpio_stm32_pin_interrupt_configure()
Dgpio_mchp_xec_v2.c53 static inline uintptr_t pin_ctrl_addr(const struct device *dev, gpio_pin_t pin) in pin_ctrl_addr()
124 gpio_pin_t pin, gpio_flags_t flags) in gpio_xec_configure()
252 static void gpio_xec_intr_en(gpio_pin_t pin, enum gpio_int_mode mode, in gpio_xec_intr_en()
262 gpio_pin_t pin, in gpio_xec_pin_interrupt_configure()
429 int gpio_xec_get_config(const struct device *port, gpio_pin_t pin, gpio_flags_t *flags) in gpio_xec_get_config()
Dgpio_renesas_rz.c43 gpio_pin_t pin;
58 static int gpio_rz_pin_get_config(const struct device *dev, gpio_pin_t pin, gpio_flags_t *flags) in gpio_rz_pin_get_config()
72 gpio_pin_t pin = port_pin & 0xFF; in gpio_rz_pin_config_get_raw()
98 static int gpio_rz_pin_configure(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) in gpio_rz_pin_configure()
286 uint8_t tint_num, uint8_t irq_type, gpio_pin_t pin) in gpio_rz_int_enable()
312 static int gpio_rz_pin_interrupt_configure(const struct device *dev, gpio_pin_t pin, in gpio_rz_pin_interrupt_configure()
Dgpio_test.c29 gpio_pin_t pin, in vnd_gpio_pin_configure()
Dgpio_nxp_s32.c83 static int nxp_s32_gpio_configure(const struct device *dev, gpio_pin_t pin, in nxp_s32_gpio_configure()
241 gpio_pin_t pin, in nxp_s32_gpio_config_eirq()
309 gpio_pin_t pin, in nxp_s32_gpio_config_wkpu()
356 gpio_pin_t pin, in nxp_s32_gpio_pin_interrupt_configure()
384 gpio_pin_t pin, in nxp_s32_gpio_pin_get_config()
Dgpio_stellaris.c67 gpio_pin_t pin, gpio_flags_t flags) in gpio_stellaris_configure()
112 gpio_pin_t pin, in gpio_stellaris_get_config()
198 gpio_pin_t pin, in gpio_stellaris_pin_interrupt_configure()
Dgpio_ite_it8801.c45 static int ioex_check_is_not_valid(const struct device *dev, gpio_pin_t pin) in ioex_check_is_not_valid()
57 static int gpio_it8801_configure(const struct device *dev, gpio_pin_t pin, gpio_flags_t flags) in gpio_it8801_configure()
135 static int gpio_it8801_get_config(const struct device *dev, gpio_pin_t pin, gpio_flags_t *out_flags) in gpio_it8801_get_config()
320 static int gpio_it8801_pin_interrupt_configure(const struct device *dev, gpio_pin_t pin, in gpio_it8801_pin_interrupt_configure()
/Zephyr-latest/include/zephyr/drivers/
Dgpio.h255 typedef uint8_t gpio_pin_t; typedef
293 gpio_pin_t pin;
794 int (*pin_configure)(const struct device *port, gpio_pin_t pin,
797 int (*pin_get_config)(const struct device *port, gpio_pin_t pin,
812 gpio_pin_t pin,
866 gpio_pin_t pin,
870 gpio_pin_t pin, in z_impl_gpio_pin_interrupt_configure()
973 gpio_pin_t pin,
977 gpio_pin_t pin, in z_impl_gpio_pin_configure()
1106 static inline int gpio_pin_is_input(const struct device *port, gpio_pin_t pin) in gpio_pin_is_input()
[all …]
/Zephyr-latest/drivers/interrupt_controller/
Dintc_exti_stm32.c58 static inline uint32_t stm32_exti_linenum_to_src_cfg_line(gpio_pin_t linenum) in stm32_exti_linenum_to_src_cfg_line()
110 static inline stm32_gpio_irq_line_t linenum_to_ll_exti_line(gpio_pin_t linenum) in linenum_to_ll_exti_line()
118 static inline gpio_pin_t ll_exti_line_to_linenum(stm32_gpio_irq_line_t line) in ll_exti_line_to_linenum()
252 stm32_gpio_irq_line_t stm32_gpio_intc_get_pin_irq_line(uint32_t port, gpio_pin_t pin) in stm32_gpio_intc_get_pin_irq_line()
348 void stm32_exti_set_line_src_port(gpio_pin_t line, uint32_t port) in stm32_exti_set_line_src_port()
378 uint32_t stm32_exti_get_line_src_port(gpio_pin_t line) in stm32_exti_get_line_src_port()
Dintc_gpio_stm32wb0.c73 static inline stm32_gpio_irq_line_t portpin_to_ll_exti_line(uint32_t port, gpio_pin_t pin) in portpin_to_ll_exti_line()
197 stm32_gpio_irq_line_t stm32_gpio_intc_get_pin_irq_line(uint32_t port, gpio_pin_t pin) in stm32_gpio_intc_get_pin_irq_line()
/Zephyr-latest/samples/shields/npm6001_ek/src/
Dmain.c303 gpio_pin_t pin = 0U; in cmd_gpio_configure()
368 gpio_pin_t pin; in cmd_gpio_get()
371 pin = (gpio_pin_t)atoi(argv[1]); in cmd_gpio_get()
386 gpio_pin_t pin; in cmd_gpio_set()
390 pin = (gpio_pin_t)atoi(argv[1]); in cmd_gpio_set()
404 gpio_pin_t pin; in cmd_gpio_toggle()
407 pin = (gpio_pin_t)atoi(argv[1]); in cmd_gpio_toggle()
/Zephyr-latest/include/zephyr/drivers/misc/renesas_ra_external_interrupt/
Drenesas_ra_external_interrupt.h18 void (*isr)(const struct device *dev, gpio_pin_t pin);
/Zephyr-latest/boards/silabs/dev_kits/sltb004a/
Dboard.c13 gpio_pin_t pin;

12345