Home
last modified time | relevance | path

Searched refs:gpio_pin_configure_dt (Results 1 – 25 of 390) sorted by relevance

12345678910>>...16

/Zephyr-latest/drivers/fpga/
Dfpga_ice40_spi.c57 ret = gpio_pin_configure_dt(&config->cdone, GPIO_INPUT) || in fpga_ice40_load()
58 gpio_pin_configure_dt(&config->creset, GPIO_OUTPUT_HIGH) || in fpga_ice40_load()
59 gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
63 ret = gpio_pin_configure_dt(&config->creset, GPIO_OUTPUT_LOW); in fpga_ice40_load()
70 ret = gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_LOW); in fpga_ice40_load()
87 ret = gpio_pin_configure_dt(&config->creset, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
97 ret = gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
113 ret = gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_LOW); in fpga_ice40_load()
129 ret = gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
161 (void)gpio_pin_configure_dt(&config->creset, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
[all …]
Dfpga_ice40_bitbang.c165 ret = gpio_pin_configure_dt(&config->cdone, GPIO_INPUT) || in fpga_ice40_load()
166 gpio_pin_configure_dt(&config->creset, GPIO_OUTPUT_HIGH) || in fpga_ice40_load()
167 gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_HIGH) || in fpga_ice40_load()
168 gpio_pin_configure_dt(&config_bitbang->clk, GPIO_OUTPUT_HIGH) || in fpga_ice40_load()
169 gpio_pin_configure_dt(&config_bitbang->pico, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
227 (void)gpio_pin_configure_dt(&config->creset, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
228 (void)gpio_pin_configure_dt(&config->bus.config.cs.gpio, GPIO_OUTPUT_HIGH); in fpga_ice40_load()
229 (void)gpio_pin_configure_dt(&config_bitbang->clk, GPIO_DISCONNECTED); in fpga_ice40_load()
230 (void)gpio_pin_configure_dt(&config_bitbang->pico, GPIO_DISCONNECTED); in fpga_ice40_load()
Dfpga_ice40_common.c59 ret = gpio_pin_configure_dt(&config->creset, on ? GPIO_OUTPUT_HIGH : GPIO_OUTPUT_LOW); in fpga_ice40_on_off()
110 ret = gpio_pin_configure_dt(&config->creset, GPIO_OUTPUT_HIGH); in fpga_ice40_init()
116 ret = gpio_pin_configure_dt(&config->cdone, GPIO_INPUT); in fpga_ice40_init()
/Zephyr-latest/boards/actinius/common/
Dactinius_board_common.c34 (void)gpio_pin_configure_dt(&sim, GPIO_OUTPUT_HIGH); in actinius_board_set_sim_select()
37 (void)gpio_pin_configure_dt(&sim, GPIO_OUTPUT_LOW); in actinius_board_set_sim_select()
57 (void)gpio_pin_configure_dt(&charger_en, GPIO_OUTPUT_LOW); in actinius_board_set_charger_enable()
60 (void)gpio_pin_configure_dt(&charger_en, GPIO_OUTPUT_HIGH); in actinius_board_set_charger_enable()
/Zephyr-latest/boards/96boards/wistrio/
Drf.c27 (void)gpio_pin_configure_dt(&rf1, GPIO_OUTPUT_HIGH); in rf_init()
28 (void)gpio_pin_configure_dt(&rf2, GPIO_OUTPUT_HIGH); in rf_init()
29 (void)gpio_pin_configure_dt(&rf3, GPIO_OUTPUT_LOW); in rf_init()
/Zephyr-latest/samples/boards/96boards/argonkey/microphone/src/
Dmain.c54 gpio_pin_configure_dt(&led0, GPIO_OUTPUT_ACTIVE); in signal_sampling_started()
55 gpio_pin_configure_dt(&led1, GPIO_OUTPUT_INACTIVE); in signal_sampling_started()
60 gpio_pin_configure_dt(&led0, GPIO_OUTPUT_ACTIVE); in signal_sampling_stopped()
61 gpio_pin_configure_dt(&led1, GPIO_OUTPUT_ACTIVE); in signal_sampling_stopped()
66 gpio_pin_configure_dt(&led0, GPIO_OUTPUT_INACTIVE); in signal_print_stopped()
67 gpio_pin_configure_dt(&led1, GPIO_OUTPUT_ACTIVE); in signal_print_stopped()
/Zephyr-latest/boards/ti/common/
Dboard_antenna.c66 gpio_pin_configure_dt(&ant_gpios[i], 0); in board_antenna_init()
82 gpio_pin_configure_dt(&ant_gpios[i], 0); in board_cc13xx_rf_callback()
113 gpio_pin_configure_dt(&ant_gpios[BOARD_ANT_GPIO_SUBG], 1); in board_cc13xx_rf_callback()
121 gpio_pin_configure_dt(&ant_gpios[BOARD_ANT_GPIO_24G], 1); in board_cc13xx_rf_callback()
/Zephyr-latest/boards/norik/octopus_io_board/
Dboard.c26 (void)gpio_pin_configure_dt(&simctrl, GPIO_OUTPUT_LOW); in board_late_init_hook()
29 (void)gpio_pin_configure_dt(&simctrl, GPIO_OUTPUT_HIGH); in board_late_init_hook()
/Zephyr-latest/boards/norik/octopus_som/
Dboard.c26 (void)gpio_pin_configure_dt(&simctrl, GPIO_OUTPUT_LOW); in board_late_init_hook()
29 (void)gpio_pin_configure_dt(&simctrl, GPIO_OUTPUT_HIGH); in board_late_init_hook()
/Zephyr-latest/boards/arduino/nano_33_ble/
Dboard.c27 res = gpio_pin_configure_dt(&pull_up, GPIO_OUTPUT_HIGH); in board_init()
32 return gpio_pin_configure_dt(&user_led, GPIO_OUTPUT_INACTIVE); in board_init()
/Zephyr-latest/soc/atmel/sam0/common/
Dsoc_samr3x_radio_off.c21 ret = gpio_pin_configure_dt(&reset, GPIO_OUTPUT_ACTIVE); in radio_off_setup()
26 ret = gpio_pin_configure_dt(&cs, GPIO_OUTPUT_INACTIVE); in radio_off_setup()
/Zephyr-latest/boards/particle/argon/
Dboard.c27 gpio_pin_configure_dt(&ufl_gpio, (on ? GPIO_OUTPUT_ACTIVE : GPIO_OUTPUT_INACTIVE)); in external_antenna()
28 gpio_pin_configure_dt(&pcb_gpio, (on ? GPIO_OUTPUT_INACTIVE : GPIO_OUTPUT_ACTIVE)); in external_antenna()
/Zephyr-latest/boards/particle/xenon/
Dboard.c27 gpio_pin_configure_dt(&ufl_gpio, (on ? GPIO_OUTPUT_ACTIVE : GPIO_OUTPUT_INACTIVE)); in external_antenna()
28 gpio_pin_configure_dt(&pcb_gpio, (on ? GPIO_OUTPUT_INACTIVE : GPIO_OUTPUT_ACTIVE)); in external_antenna()
/Zephyr-latest/drivers/lora/
Dsx126x_standalone.c73 if (gpio_pin_configure_dt(&sx126x_gpio_reset, GPIO_OUTPUT_ACTIVE) || in sx126x_variant_init()
74 gpio_pin_configure_dt(&sx126x_gpio_busy, GPIO_INPUT) || in sx126x_variant_init()
75 gpio_pin_configure_dt(&sx126x_gpio_dio1, GPIO_INPUT)) { in sx126x_variant_init()
/Zephyr-latest/samples/boards/st/power_mgmt/wkup_pins/src/
Dmain.c31 gpio_pin_configure_dt(&led, GPIO_OUTPUT_ACTIVE); in main()
35 gpio_pin_configure_dt(&button, STM32_GPIO_WKUP); in main()
/Zephyr-latest/drivers/dp/
Dswdp_bitbang.c193 gpio_pin_configure_dt(&config->dio, GPIO_OUTPUT_ACTIVE); in pin_swdio_out_enable()
215 gpio_pin_configure_dt(&config->dio, GPIO_INPUT); in pin_swdio_out_disable()
574 ret = gpio_pin_configure_dt(&config->dnoe, GPIO_OUTPUT_ACTIVE); in sw_port_on()
581 ret = gpio_pin_configure_dt(&config->dout, GPIO_OUTPUT_ACTIVE); in sw_port_on()
587 ret = gpio_pin_configure_dt(&config->dio, GPIO_INPUT); in sw_port_on()
593 ret = gpio_pin_configure_dt(&config->noe, GPIO_OUTPUT_ACTIVE); in sw_port_on()
599 ret = gpio_pin_configure_dt(&config->clk, GPIO_OUTPUT_ACTIVE); in sw_port_on()
605 ret = gpio_pin_configure_dt(&config->reset, GPIO_OUTPUT_ACTIVE); in sw_port_on()
621 ret = gpio_pin_configure_dt(&config->dnoe, GPIO_OUTPUT_INACTIVE); in sw_port_off()
627 ret = gpio_pin_configure_dt(&config->dout, GPIO_OUTPUT_ACTIVE); in sw_port_off()
[all …]
/Zephyr-latest/boards/beagle/beagleconnect_freedom/
Dboard_antenna.c65 gpio_pin_configure_dt(&ant_gpios[i], 0); in board_antenna_init()
81 gpio_pin_configure_dt(&ant_gpios[i], 0); in board_cc13xx_rf_callback()
112 gpio_pin_configure_dt(&ant_gpios[BOARD_ANT_GPIO_SUBG], 1); in board_cc13xx_rf_callback()
/Zephyr-latest/samples/subsys/usb_c/source/src/
Dpower_ctrl.c122 ret = gpio_pin_configure_dt(&source_en, GPIO_OUTPUT); in power_ctrl_init()
129 ret = gpio_pin_configure_dt(&dcdc_en, GPIO_OUTPUT); in power_ctrl_init()
136 ret = gpio_pin_configure_dt(&vconn1_en, GPIO_OUTPUT | GPIO_OPEN_DRAIN); in power_ctrl_init()
143 ret = gpio_pin_configure_dt(&vconn2_en, GPIO_OUTPUT | GPIO_OPEN_DRAIN); in power_ctrl_init()
/Zephyr-latest/modules/nrf_wifi/bus/
Drpu_hw_if.c120 ret = gpio_pin_configure_dt(&host_irq_spec, GPIO_INPUT); in rpu_irq_config()
155 ret = gpio_pin_configure_dt(&host_irq_spec, GPIO_DISCONNECTED); in rpu_irq_remove()
186 ret = gpio_pin_configure_dt(&bucken_spec, (GPIO_OUTPUT | NRF_GPIO_DRIVE_H0H1)); in rpu_gpio_config()
192 ret = gpio_pin_configure_dt(&iovdd_ctrl_spec, GPIO_OUTPUT); in rpu_gpio_config()
195 gpio_pin_configure_dt(&bucken_spec, GPIO_DISCONNECTED); in rpu_gpio_config()
208 ret = gpio_pin_configure_dt(&bucken_spec, GPIO_DISCONNECTED); in rpu_gpio_remove()
214 ret = gpio_pin_configure_dt(&iovdd_ctrl_spec, GPIO_DISCONNECTED); in rpu_gpio_remove()
/Zephyr-latest/drivers/mipi_dbi/
Dmipi_dbi_bitbang.c200 ret = gpio_pin_configure_dt(&config->cmd_data, GPIO_OUTPUT_ACTIVE); in mipi_dbi_bitbang_init()
208 gpio_pin_configure_dt(&config->rd, GPIO_OUTPUT_ACTIVE); in mipi_dbi_bitbang_init()
213 ret = gpio_pin_configure_dt(&config->wr, GPIO_OUTPUT_ACTIVE); in mipi_dbi_bitbang_init()
221 gpio_pin_configure_dt(&config->e, GPIO_OUTPUT_ACTIVE); in mipi_dbi_bitbang_init()
226 ret = gpio_pin_configure_dt(&config->cs, GPIO_OUTPUT_ACTIVE); in mipi_dbi_bitbang_init()
234 ret = gpio_pin_configure_dt(&config->reset, GPIO_OUTPUT_ACTIVE); in mipi_dbi_bitbang_init()
243 ret = gpio_pin_configure_dt(&config->data[i], GPIO_OUTPUT_ACTIVE); in mipi_dbi_bitbang_init()
/Zephyr-latest/drivers/wifi/winc1500/
Dwifi_winc1500_nm_bus_wrapper.c94 gpio_pin_configure_dt(&winc1500_config.chip_en_gpio, GPIO_OUTPUT_LOW); in nm_bus_init()
100 gpio_pin_configure_dt(&winc1500_config.irq_gpio, GPIO_INPUT); in nm_bus_init()
105 gpio_pin_configure_dt(&winc1500_config.reset_gpio, GPIO_OUTPUT_LOW); in nm_bus_init()
/Zephyr-latest/drivers/stepper/ti/
Ddrv8424.c59 ret = gpio_pin_configure_dt(pin, GPIO_OUTPUT_INACTIVE); in drv8424_set_microstep_pin()
77 ret = gpio_pin_configure_dt(pin, GPIO_DISCONNECTED); in drv8424_set_microstep_pin()
288 ret = gpio_pin_configure_dt(&config->sleep_pin, GPIO_OUTPUT_ACTIVE); in drv8424_init()
298 ret = gpio_pin_configure_dt(&config->en_pin, GPIO_OUTPUT_INACTIVE); in drv8424_init()
307 ret = gpio_pin_configure_dt(&config->m0_pin, GPIO_OUTPUT_INACTIVE); in drv8424_init()
315 ret = gpio_pin_configure_dt(&config->m1_pin, GPIO_OUTPUT_INACTIVE); in drv8424_init()
/Zephyr-latest/samples/sensor/qdec/src/
Dmain.c55 gpio_pin_configure_dt(&phase_a, GPIO_OUTPUT); in qenc_emulate_init()
61 gpio_pin_configure_dt(&phase_b, GPIO_OUTPUT); in qenc_emulate_init()
/Zephyr-latest/drivers/power_domain/
Dpower_domain_gpio_monitor.c107 rc = gpio_pin_configure_dt(&config->power_good_gpio, GPIO_INPUT); in pd_gpio_monitor_init()
115 gpio_pin_configure_dt(&config->power_good_gpio, GPIO_DISCONNECTED); in pd_gpio_monitor_init()
135 gpio_pin_configure_dt(&config->power_good_gpio, GPIO_DISCONNECTED); in pd_gpio_monitor_init()
/Zephyr-latest/boards/arduino/portenta_h7/
Dboard.c20 return gpio_pin_configure_dt(&led1, GPIO_OUTPUT_INACTIVE); in board_init()

12345678910>>...16