Home
last modified time | relevance | path

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

1234

/Zephyr-latest/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.c165 const uint32_t gpio = (GPIOx == GPIOA) ? LL_PWR_GPIO_A : LL_PWR_GPIO_B; in ll_gpio_set_pin_pull() local
188 const uint32_t gpio = (GPIOx == GPIOA) ? LL_PWR_GPIO_A : LL_PWR_GPIO_B; in ll_gpio_get_pin_pull() local
224 GPIO_TypeDef *gpio = (GPIO_TypeDef *)cfg->base; in gpio_stm32_configure_raw() local
357 GPIO_TypeDef *gpio = (GPIO_TypeDef *)cfg->base; in gpio_stm32_port_get_raw() local
369 GPIO_TypeDef *gpio = (GPIO_TypeDef *)cfg->base; in gpio_stm32_port_set_masked_raw() local
386 GPIO_TypeDef *gpio = (GPIO_TypeDef *)cfg->base; in gpio_stm32_port_set_bits_raw() local
401 GPIO_TypeDef *gpio = (GPIO_TypeDef *)cfg->base; in gpio_stm32_port_clear_bits_raw() local
421 GPIO_TypeDef *gpio = (GPIO_TypeDef *)cfg->base; in gpio_stm32_port_toggle_bits() local
542 GPIO_TypeDef *gpio = (GPIO_TypeDef *)cfg->base; in gpio_stm32_get_config() local
Dgpio_shell.c200 static int get_sh_gpio(const struct shell *sh, char **argv, struct sh_gpio *gpio) in get_sh_gpio()
231 struct sh_gpio gpio; in cmd_gpio_conf() local
341 struct sh_gpio gpio; in cmd_gpio_get() local
364 struct sh_gpio gpio; in cmd_gpio_set() local
391 struct sh_gpio gpio; in cmd_gpio_toggle() local
444 struct sh_gpio gpio; in cmd_gpio_blink() local
/Zephyr-latest/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-latest/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
Dinput_gpio_qdec.c71 const struct gpio_dt_spec *gpio = &cfg->ab_gpio[i]; in gpio_qdec_irq_setup() local
268 const struct gpio_dt_spec *gpio = &cfg->ab_gpio[i]; in gpio_qdec_init() local
293 const struct gpio_dt_spec *gpio = &cfg->led_gpio[i]; in gpio_qdec_init() local
334 const struct gpio_dt_spec *gpio = &cfg->ab_gpio[i]; in gpio_qdec_pin_suspend() local
/Zephyr-latest/boards/phytec/reel_board/
Dboard.c15 volatile NRF_GPIO_Type *gpio = NRF_P1; in board_reel_board_init() local
/Zephyr-latest/boards/heltec/heltec_wireless_stick_lite_v3/
Dboard_init.c16 const struct device *gpio; in board_heltec_wireless_stick_lite_v3_init() local
/Zephyr-latest/boards/heltec/heltec_wifi_lora32_v2/
Dboard_init.c16 const struct device *gpio; in board_heltec_wifi_lora32_v2_init() local
/Zephyr-latest/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-latest/boards/arm/v2m_musca_b1/
Dv2m_musca_b1-common.dtsi43 gpio: gpio@1000000 { label
/Zephyr-latest/boards/arm/v2m_musca_s1/
Dv2m_musca_s1-common.dtsi43 gpio: gpio@110000 { label
/Zephyr-latest/dts/arm64/broadcom/
Dbcm2711.dtsi55 gpio: gpio@fe200000 { label
/Zephyr-latest/dts/arm/quicklogic/
Dquicklogic_eos_s3.dtsi56 gpio: gpio@40005000 { label
/Zephyr-latest/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-latest/drivers/sensor/ti/tmp1075/
Dtmp1075_trigger.c21 void tmp1075_trigger_handle_alert(const struct device *gpio, struct gpio_callback *cb, in tmp1075_trigger_handle_alert()
/Zephyr-latest/dts/riscv/
Dneorv32.dtsi89 gpio: gpio { label
/Zephyr-latest/boards/silabs/dev_kits/sltb004a/
Dboard.c12 const struct device *gpio; member
/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()
/Zephyr-latest/dts/arm/silabs/
Defm32_pg_1b.dtsi88 gpio: gpio@4000a400 { label
Defr32fg1p.dtsi89 gpio: gpio@4000a400 { label
/Zephyr-latest/drivers/sensor/ti/tmp108/
Dtmp108_trigger.c53 void tmp108_trigger_handle_alert(const struct device *gpio, in tmp108_trigger_handle_alert()

1234