Home
last modified time | relevance | path

Searched defs:gpio (Results 1 – 25 of 80) sorted by relevance

1234

/Zephyr-Core-3.7.0/drivers/gpio/
Dgpio_b91.c30 #define GET_PORT_NUM(gpio) ((uint8_t)(((uint32_t)gpio - DT_REG_ADDR(DT_NODELABEL(gpioa))) / \ argument
34 #define IS_PORT_C(gpio) ((uint32_t)gpio == DT_REG_ADDR(DT_NODELABEL(gpioc))) argument
37 #define IS_PORT_D(gpio) ((uint32_t)gpio == DT_REG_ADDR(DT_NODELABEL(gpiod))) argument
99 volatile struct gpio_b91_t *gpio = GET_GPIO(dev); in gpiob_b91_irq_en_set() local
116 volatile struct gpio_b91_t *gpio = GET_GPIO(dev); in gpiob_b91_irq_en_clr() local
132 volatile struct gpio_b91_t *gpio = GET_GPIO(dev); in gpio_b91_irq_en_get() local
169 volatile struct gpio_b91_t *gpio = GET_GPIO(dev); in gpio_b91_irq_set() local
221 static void gpio_b91_up_down_res_set(volatile struct gpio_b91_t *gpio, in gpio_b91_up_down_res_set()
253 static void gpio_b91_config_up_down_res(volatile struct gpio_b91_t *gpio, in gpio_b91_config_up_down_res()
267 static void gpio_b91_config_in_out(volatile struct gpio_b91_t *gpio, in gpio_b91_config_in_out()
[all …]
Dgpio_mchp_mss.c74 volatile struct mss_gpio_t *gpio = DEV_GPIO(dev); in mss_gpio_config() local
107 volatile struct mss_gpio_t *gpio = DEV_GPIO(dev); in mss_gpio_port_toggle_bits() local
117 volatile struct mss_gpio_t *gpio = DEV_GPIO(dev); in mss_gpio_port_get_raw() local
128 volatile struct mss_gpio_t *gpio = DEV_GPIO(dev); in mss_gpio_port_set_masked_raw() local
138 volatile struct mss_gpio_t *gpio = DEV_GPIO(dev); in mss_gpio_port_set_bits_raw() local
148 volatile struct mss_gpio_t *gpio = DEV_GPIO(dev); in mss_gpio_port_clear_bits_raw() local
161 volatile struct mss_gpio_t *gpio = DEV_GPIO(dev); in mss_gpio_pin_interrupt_configure() local
211 volatile struct mss_gpio_t *gpio = DEV_GPIO(dev); in mss_gpio_init() local
223 volatile struct mss_gpio_t *gpio = DEV_GPIO(dev); in mss_gpio_irq_handler() local
Dgpio_sam4l.c45 Gpio * const gpio = cfg->regs; in gpio_sam_port_configure() local
106 Gpio * const gpio = cfg->regs; in gpio_sam_port_get_raw() local
118 Gpio * const gpio = cfg->regs; in gpio_sam_port_set_masked_raw() local
129 Gpio * const gpio = cfg->regs; in gpio_sam_port_set_bits_raw() local
140 Gpio * const gpio = cfg->regs; in gpio_sam_port_clear_bits_raw() local
151 Gpio * const gpio = cfg->regs; in gpio_sam_port_toggle_bits() local
164 Gpio * const gpio = cfg->regs; in gpio_sam_port_interrupt_configure() local
201 Gpio * const gpio = cfg->regs; in gpio_sam_isr() local
Dgpio_sifive.c104 volatile struct gpio_sifive_t *gpio = DEV_GPIO(dev); in gpio_sifive_irq_handler() local
146 volatile struct gpio_sifive_t *gpio = DEV_GPIO(dev); in gpio_sifive_config() local
181 volatile struct gpio_sifive_t *gpio = DEV_GPIO(dev); in gpio_sifive_port_get_raw() local
192 volatile struct gpio_sifive_t *gpio = DEV_GPIO(dev); in gpio_sifive_port_set_masked_raw() local
202 volatile struct gpio_sifive_t *gpio = DEV_GPIO(dev); in gpio_sifive_port_set_bits_raw() local
212 volatile struct gpio_sifive_t *gpio = DEV_GPIO(dev); in gpio_sifive_port_clear_bits_raw() local
222 volatile struct gpio_sifive_t *gpio = DEV_GPIO(dev); in gpio_sifive_port_toggle_bits() local
234 volatile struct gpio_sifive_t *gpio = DEV_GPIO(dev); in gpio_sifive_pin_interrupt_configure() local
334 volatile struct gpio_sifive_t *gpio = DEV_GPIO(dev); in gpio_sifive_init() local
Dgpio_stm32.c167 GPIO_TypeDef *gpio = (GPIO_TypeDef *)cfg->base; in gpio_stm32_configure_raw() local
418 GPIO_TypeDef *gpio = (GPIO_TypeDef *)cfg->base; in gpio_stm32_port_get_raw() local
430 GPIO_TypeDef *gpio = (GPIO_TypeDef *)cfg->base; in gpio_stm32_port_set_masked_raw() local
447 GPIO_TypeDef *gpio = (GPIO_TypeDef *)cfg->base; in gpio_stm32_port_set_bits_raw() local
462 GPIO_TypeDef *gpio = (GPIO_TypeDef *)cfg->base; in gpio_stm32_port_clear_bits_raw() local
482 GPIO_TypeDef *gpio = (GPIO_TypeDef *)cfg->base; in gpio_stm32_port_toggle_bits() local
598 GPIO_TypeDef *gpio = (GPIO_TypeDef *)cfg->base; in gpio_stm32_get_config() local
Dgpio_shell.c222 static int get_sh_gpio(const struct shell *sh, char **argv, struct sh_gpio *gpio) in get_sh_gpio()
253 struct sh_gpio gpio; in cmd_gpio_conf() local
363 struct sh_gpio gpio; in cmd_gpio_get() local
386 struct sh_gpio gpio; in cmd_gpio_set() local
413 struct sh_gpio gpio; in cmd_gpio_toggle() local
466 struct sh_gpio gpio; in cmd_gpio_blink() local
/Zephyr-Core-3.7.0/soc/atmel/sam/common/
Dsoc_sam4l_gpio.c14 static void configure_common_attr(volatile Gpio *gpio, in configure_common_attr()
44 static void configure_input_attr(volatile Gpio *gpio, in configure_input_attr()
88 volatile Gpio *gpio = pin->regs; in soc_gpio_configure() local
/Zephyr-Core-3.7.0/drivers/input/
Dinput_gpio_kbd_matrix.c74 const struct gpio_dt_spec *gpio = &cfg->col_gpio[i]; in gpio_kbd_matrix_drive_column() local
107 const struct gpio_dt_spec *gpio = &cfg->row_gpio[i]; in gpio_kbd_matrix_read_row() local
150 const struct gpio_dt_spec *gpio = &cfg->row_gpio[i]; in gpio_kbd_matrix_set_detect_mode() local
162 const struct gpio_dt_spec *gpio, int gpio_count) in gpio_kbd_matrix_is_gpio_coherent()
197 const struct gpio_dt_spec *gpio = &cfg->col_gpio[i]; in gpio_kbd_matrix_init() local
216 const struct gpio_dt_spec *gpio = &cfg->row_gpio[i]; in gpio_kbd_matrix_init() local
/Zephyr-Core-3.7.0/boards/phytec/reel_board/
Dboard.c15 volatile NRF_GPIO_Type *gpio = NRF_P1; in board_reel_board_init() local
/Zephyr-Core-3.7.0/boards/heltec/heltec_wireless_stick_lite_v3/
Dboard_init.c16 const struct device *gpio; in board_heltec_wireless_stick_lite_v3_init() local
/Zephyr-Core-3.7.0/boards/espressif/esp32_ethernet_kit/
Dboard_init.c14 const struct device *gpio = DEVICE_DT_GET(DT_NODELABEL(gpio0)); in board_esp32_ethernet_kit_init() local
/Zephyr-Core-3.7.0/boards/heltec/heltec_wifi_lora32_v2/
Dboard_init.c16 const struct device *gpio; in board_heltec_wifi_lora32_v2_init() local
/Zephyr-Core-3.7.0/boards/arm/v2m_musca_b1/
Dv2m_musca_b1-common.dtsi43 gpio: gpio@1000000 { label
/Zephyr-Core-3.7.0/boards/arm/v2m_musca_s1/
Dv2m_musca_s1-common.dtsi43 gpio: gpio@110000 { label
/Zephyr-Core-3.7.0/dts/arm64/broadcom/
Dbcm2711.dtsi55 gpio: gpio@fe200000 { label
/Zephyr-Core-3.7.0/dts/arm/quicklogic/
Dquicklogic_eos_s3.dtsi56 gpio: gpio@40005000 { label
/Zephyr-Core-3.7.0/boards/nordic/nrf9160dk/
Dboard.c39 const struct device *gpio; member
97 static void chip_reset(const struct device *gpio, in chip_reset()
108 static void reset_pin_wait_inactive(const struct device *gpio, uint32_t pin) in reset_pin_wait_inactive()
123 const struct device *gpio = GET_DEV(reset_input, gpios, 0); in reset_pin_configure() local
/Zephyr-Core-3.7.0/dts/riscv/
Dneorv32.dtsi89 gpio: gpio { label
/Zephyr-Core-3.7.0/boards/silabs/dev_kits/sltb004a/
Dboard.c12 const struct device *gpio; member
/Zephyr-Core-3.7.0/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()
/Zephyr-Core-3.7.0/dts/arm/silabs/
Defm32_pg_1b.dtsi88 gpio: gpio@4000a400 { label
Defr32fg1p.dtsi89 gpio: gpio@4000a400 { label
Defr32mg21.dtsi114 gpio: gpio@5003c300 { label
/Zephyr-Core-3.7.0/drivers/sensor/ti/tmp108/
Dtmp108_trigger.c53 void tmp108_trigger_handle_alert(const struct device *gpio, in tmp108_trigger_handle_alert()
/Zephyr-Core-3.7.0/drivers/pinctrl/
Dpinctrl_ite_it8xxx2.c66 struct pinctrl_it8xxx2_gpio gpio; member
74 const struct pinctrl_it8xxx2_gpio *gpio = &(pinctrl_config->gpio); in pinctrl_it8xxx2_set() local
149 const struct pinctrl_it8xxx2_gpio *gpio = &(pinctrl_config->gpio); in pinctrl_gpio_it8xxx2_configure_pins() local

1234