Home
last modified time | relevance | path

Searched refs:device (Results 226 – 250 of 4822) sorted by relevance

12345678910>>...193

/Zephyr-latest/include/zephyr/drivers/interrupt_controller/
Dwuc_ite_it8xxx2.h20 void it8xxx2_wuc_enable(const struct device *dev, uint8_t mask);
29 void it8xxx2_wuc_disable(const struct device *dev, uint8_t mask);
38 void it8xxx2_wuc_clear_status(const struct device *dev, uint8_t mask);
47 void it8xxx2_wuc_set_polarity(const struct device *dev, uint8_t mask,
/Zephyr-latest/drivers/sensor/st/iis3dhhc/
Diis3dhhc.h25 int (*bus_init)(const struct device *dev);
44 const struct device *dev;
57 int iis3dhhc_spi_init(const struct device *dev);
60 int iis3dhhc_trigger_set(const struct device *dev,
64 int iis3dhhc_init_interrupt(const struct device *dev);
/Zephyr-latest/include/zephyr/drivers/
Despi_emul.h87 typedef struct espi_emul *(*emul_find_emul)(const struct device *dev, unsigned int chipsel);
99 typedef int (*emul_trigger_event)(const struct device *dev, struct espi_event *evt);
139 int espi_emul_register(const struct device *dev, struct espi_emul *emul);
152 int emul_espi_host_send_vw(const struct device *espi_dev, enum espi_vwire_signal vw, uint8_t level);
164 int emul_espi_host_port80_write(const struct device *espi_dev, uint32_t data);
174 uintptr_t emul_espi_host_get_acpi_shm(const struct device *espi_dev);
Di2c.h78 const struct device *bus;
202 typedef void (*i2c_callback_t)(const struct device *dev, int result, void *data);
212 typedef int (*i2c_api_configure_t)(const struct device *dev,
214 typedef int (*i2c_api_get_config_t)(const struct device *dev,
216 typedef int (*i2c_api_full_io_t)(const struct device *dev,
220 typedef int (*i2c_api_target_register_t)(const struct device *dev,
222 typedef int (*i2c_api_target_unregister_t)(const struct device *dev,
225 typedef int (*i2c_api_transfer_cb_t)(const struct device *dev,
238 typedef void (*i2c_api_iodev_submit)(const struct device *dev,
242 typedef int (*i2c_api_recover_bus_t)(const struct device *dev);
[all …]
/Zephyr-latest/drivers/serial/
Duart_litex.c33 void (*config_func)(const struct device *dev);
53 static void uart_litex_poll_out(const struct device *dev, unsigned char c) in uart_litex_poll_out()
71 static int uart_litex_poll_in(const struct device *dev, unsigned char *c) in uart_litex_poll_in()
94 static void uart_litex_irq_tx_enable(const struct device *dev) in uart_litex_irq_tx_enable()
118 static void uart_litex_irq_tx_disable(const struct device *dev) in uart_litex_irq_tx_disable()
132 static void uart_litex_irq_rx_enable(const struct device *dev) in uart_litex_irq_rx_enable()
146 static void uart_litex_irq_rx_disable(const struct device *dev) in uart_litex_irq_rx_disable()
162 static int uart_litex_irq_tx_ready(const struct device *dev) in uart_litex_irq_tx_ready()
178 static int uart_litex_irq_rx_ready(const struct device *dev) in uart_litex_irq_rx_ready()
201 static int uart_litex_fifo_fill(const struct device *dev, in uart_litex_fifo_fill()
[all …]
Dserial_test.c47 static bool is_irq_rx_pending(const struct device *dev) in is_irq_rx_pending()
54 static bool is_irq_tx_pending(const struct device *dev) in is_irq_tx_pending()
61 static void irq_process(const struct device *dev) in irq_process()
87 static void irq_rx_enable(const struct device *dev) in irq_rx_enable()
96 static void irq_rx_disable(const struct device *dev) in irq_rx_disable()
104 static int irq_rx_ready(const struct device *dev) in irq_rx_ready()
113 static void irq_tx_enable(const struct device *dev) in irq_tx_enable()
122 static void irq_tx_disable(const struct device *dev) in irq_tx_disable()
130 static int irq_tx_ready(const struct device *dev) in irq_tx_ready()
139 static void irq_callback_set(const struct device *dev, uart_irq_callback_user_data_t cb, in irq_callback_set()
[all …]
Duart_psoc6.c101 static int uart_psoc6_init(const struct device *dev) in uart_psoc6_init()
134 static int uart_psoc6_poll_in(const struct device *dev, unsigned char *c) in uart_psoc6_poll_in()
145 static void uart_psoc6_poll_out(const struct device *dev, unsigned char c) in uart_psoc6_poll_out()
153 static int uart_psoc6_err_check(const struct device *dev) in uart_psoc6_err_check()
176 static int uart_psoc6_fifo_fill(const struct device *dev, in uart_psoc6_fifo_fill()
185 static int uart_psoc6_fifo_read(const struct device *dev, in uart_psoc6_fifo_read()
194 static void uart_psoc6_irq_tx_enable(const struct device *dev) in uart_psoc6_irq_tx_enable()
201 static void uart_psoc6_irq_tx_disable(const struct device *dev) in uart_psoc6_irq_tx_disable()
208 static int uart_psoc6_irq_tx_ready(const struct device *dev) in uart_psoc6_irq_tx_ready()
218 static int uart_psoc6_irq_tx_complete(const struct device *dev) in uart_psoc6_irq_tx_complete()
[all …]
Duart_si32_usart.c26 const struct device *clock_dev;
37 static int usart_si32_poll_in(const struct device *dev, unsigned char *c) in usart_si32_poll_in()
50 static void usart_si32_poll_out(const struct device *dev, unsigned char c) in usart_si32_poll_out()
62 static int usart_si32_err_check(const struct device *dev) in usart_si32_err_check()
90 static int usart_si32_fifo_fill(const struct device *dev, const uint8_t *tx_data, int size) in usart_si32_fifo_fill()
108 static int usart_si32_fifo_read(const struct device *dev, uint8_t *rx_data, const int size) in usart_si32_fifo_read()
124 static void usart_si32_irq_tx_enable(const struct device *dev) in usart_si32_irq_tx_enable()
131 static void usart_si32_irq_tx_disable(const struct device *dev) in usart_si32_irq_tx_disable()
138 static int usart_si32_irq_tx_ready(const struct device *dev) in usart_si32_irq_tx_ready()
145 static int usart_si32_irq_tx_complete(const struct device *dev) in usart_si32_irq_tx_complete()
[all …]
Duart_sam.c45 static int uart_sam_poll_in(const struct device *dev, unsigned char *c) in uart_sam_poll_in()
61 static void uart_sam_poll_out(const struct device *dev, unsigned char c) in uart_sam_poll_out()
75 static int uart_sam_err_check(const struct device *dev) in uart_sam_err_check()
99 static int uart_sam_baudrate_set(const struct device *dev, uint32_t baudrate) in uart_sam_baudrate_set()
143 static uint8_t uart_sam_get_parity(const struct device *dev) in uart_sam_get_parity()
164 static int uart_sam_configure(const struct device *dev, in uart_sam_configure()
203 static int uart_sam_config_get(const struct device *dev, in uart_sam_config_get()
220 static int uart_sam_fifo_fill(const struct device *dev, in uart_sam_fifo_fill()
237 static int uart_sam_fifo_read(const struct device *dev, uint8_t *rx_data, in uart_sam_fifo_read()
259 static void uart_sam_irq_tx_enable(const struct device *dev) in uart_sam_irq_tx_enable()
[all …]
Duart_hvc_xen.c32 static int read_from_ring(const struct device *dev, char *str, int len) in read_from_ring()
58 static int write_to_ring(const struct device *dev, const char *str, int len) in write_to_ring()
87 static int xen_hvc_poll_in(const struct device *dev, in xen_hvc_poll_in()
103 static void xen_hvc_poll_out(const struct device *dev, in xen_hvc_poll_out()
111 static int xen_hvc_fifo_fill(const struct device *dev, const uint8_t *tx_data, in xen_hvc_fifo_fill()
132 static int xen_hvc_fifo_read(const struct device *dev, uint8_t *rx_data, in xen_hvc_fifo_read()
138 static void xen_hvc_irq_tx_enable(const struct device *dev) in xen_hvc_irq_tx_enable()
148 static int xen_hvc_irq_tx_ready(const struct device *dev) in xen_hvc_irq_tx_ready()
153 static void xen_hvc_irq_rx_enable(const struct device *dev) in xen_hvc_irq_rx_enable()
163 static int xen_hvc_irq_tx_complete(const struct device *dev) in xen_hvc_irq_tx_complete()
[all …]
/Zephyr-latest/drivers/rtc/
Drtc_handlers.c10 static inline int z_vrfy_rtc_set_time(const struct device *dev, const struct rtc_time *timeptr) in z_vrfy_rtc_set_time()
18 static inline int z_vrfy_rtc_get_time(const struct device *dev, struct rtc_time *timeptr) in z_vrfy_rtc_get_time()
27 static inline int z_vrfy_rtc_alarm_get_supported_fields(const struct device *dev, uint16_t id, in z_vrfy_rtc_alarm_get_supported_fields()
36 static inline int z_vrfy_rtc_alarm_set_time(const struct device *dev, uint16_t id, uint16_t mask, in z_vrfy_rtc_alarm_set_time()
45 static inline int z_vrfy_rtc_alarm_get_time(const struct device *dev, uint16_t id, uint16_t *mask, in z_vrfy_rtc_alarm_get_time()
55 static inline int z_vrfy_rtc_alarm_is_pending(const struct device *dev, uint16_t id) in z_vrfy_rtc_alarm_is_pending()
64 static inline int z_vrfy_rtc_set_calibration(const struct device *dev, int32_t calibration) in z_vrfy_rtc_set_calibration()
72 static inline int z_vrfy_rtc_get_calibration(const struct device *dev, int32_t *calibration) in z_vrfy_rtc_get_calibration()
/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()
73 void sys_trace_gpio_port_set_bits_raw_enter_user(const struct device *port, gpio_port_pins_t pins) in sys_trace_gpio_port_set_bits_raw_enter_user()
78 void sys_trace_gpio_port_set_bits_raw_exit_user(const struct device *port, int ret) in sys_trace_gpio_port_set_bits_raw_exit_user()
83 void sys_trace_gpio_port_clear_bits_raw_enter_user(const struct device *port, gpio_port_pins_t pins) in sys_trace_gpio_port_clear_bits_raw_enter_user()
88 void sys_trace_gpio_port_clear_bits_raw_exit_user(const struct device *port, int ret) in sys_trace_gpio_port_clear_bits_raw_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/samples/subsys/pm/device_pm/src/
Ddummy_driver.h11 typedef int (*dummy_api_open_t)(const struct device *dev);
13 typedef int (*dummy_api_read_t)(const struct device *dev,
15 typedef int (*dummy_api_write_t)(const struct device *dev,
17 typedef int (*dummy_api_close_t)(const struct device *dev);
/Zephyr-latest/drivers/dma/
Ddma_handlers.c14 static inline int z_vrfy_dma_start(const struct device *dev, uint32_t channel) in z_vrfy_dma_start()
17 return z_impl_dma_start((const struct device *)dev, channel); in z_vrfy_dma_start()
21 static inline int z_vrfy_dma_stop(const struct device *dev, uint32_t channel) in z_vrfy_dma_stop()
24 return z_impl_dma_stop((const struct device *)dev, channel); in z_vrfy_dma_stop()
/Zephyr-latest/include/zephyr/drivers/sensor/
Dscd4x.h53 int scd4x_forced_recalibration(const struct device *dev, uint16_t target_concentration,
65 int scd4x_self_test(const struct device *dev);
78 int scd4x_persist_settings(const struct device *dev);
90 int scd4x_factory_reset(const struct device *dev);
/Zephyr-latest/drivers/audio/
Dmpxxdtyy.h23 const struct device *comm_master;
33 uint16_t sw_filter_lib_init(const struct device *dev, struct dmic_cfg *cfg);
39 int mpxxdtyy_i2s_read(const struct device *dev, uint8_t stream, void **buffer,
41 int mpxxdtyy_i2s_trigger(const struct device *dev, enum dmic_trigger cmd);
42 int mpxxdtyy_i2s_configure(const struct device *dev, struct dmic_cfg *cfg);
/Zephyr-latest/drivers/ipm/
Dipm_nrfx_ipc.c43 static int ipm_nrf_send(const struct device *dev, int wait, uint32_t id, in ipm_nrf_send()
58 static int ipm_nrf_max_data_size_get(const struct device *dev) in ipm_nrf_max_data_size_get()
65 static uint32_t ipm_nrf_max_id_val_get(const struct device *dev) in ipm_nrf_max_id_val_get()
72 static void ipm_nrf_register_callback(const struct device *dev, in ipm_nrf_register_callback()
80 static int ipm_nrf_set_enabled(const struct device *dev, int enable) in ipm_nrf_set_enabled()
93 static int ipm_nrf_init(const struct device *dev) in ipm_nrf_init()
116 const struct device *ipm_device[NRFX_IPC_ID_MAX_VALUE];
135 static int vipm_nrf_max_data_size_get(const struct device *dev) in vipm_nrf_max_data_size_get()
140 static uint32_t vipm_nrf_max_id_val_get(const struct device *dev) in vipm_nrf_max_id_val_get()
147 static int vipm_nrf_init(const struct device *dev) in vipm_nrf_init()
[all …]
/Zephyr-latest/drivers/counter/
Dcounter_esp32_rtc.c47 const struct device *clock_dev;
56 static int counter_esp32_init(const struct device *dev) in counter_esp32_init()
79 static int counter_esp32_start(const struct device *dev) in counter_esp32_start()
87 static int counter_esp32_stop(const struct device *dev) in counter_esp32_stop()
99 static int counter_esp32_get_value(const struct device *dev, uint32_t *ticks) in counter_esp32_get_value()
108 static int counter_esp32_set_alarm(const struct device *dev, uint8_t chan_id, in counter_esp32_set_alarm()
145 static int counter_esp32_cancel_alarm(const struct device *dev, uint8_t chan_id) in counter_esp32_cancel_alarm()
159 static int counter_esp32_set_top_value(const struct device *dev, in counter_esp32_set_top_value()
171 static uint32_t counter_esp32_get_pending_int(const struct device *dev) in counter_esp32_get_pending_int()
185 static uint32_t counter_esp32_get_top_value(const struct device *dev) in counter_esp32_get_top_value()
[all …]
/Zephyr-latest/drivers/auxdisplay/
Dauxdisplay_itron.c54 const struct device *uart;
60 static int send_cmd(const struct device *dev, const uint8_t *command, uint8_t length, bool pm,
62 static int auxdisplay_itron_is_busy(const struct device *dev);
63 static int auxdisplay_itron_clear(const struct device *dev);
64 static int auxdisplay_itron_set_powered(const struct device *dev, bool enabled);
67 void auxdisplay_itron_busy_gpio_change_callback(const struct device *port, in auxdisplay_itron_busy_gpio_change_callback()
77 static int auxdisplay_itron_init(const struct device *dev) in auxdisplay_itron_init()
154 static int auxdisplay_itron_set_powered(const struct device *dev, bool enabled) in auxdisplay_itron_set_powered()
166 static bool auxdisplay_itron_is_powered(const struct device *dev) in auxdisplay_itron_is_powered()
184 static int auxdisplay_itron_display_on(const struct device *dev) in auxdisplay_itron_display_on()
[all …]
/Zephyr-latest/drivers/sensor/jedec/jc42/
Djc42.h68 const struct device *dev;
91 int jc42_reg_read(const struct device *dev, uint8_t reg, uint16_t *val);
92 int jc42_reg_write_16bit(const struct device *dev, uint8_t reg, uint16_t val);
93 int jc42_reg_write_8bit(const struct device *dev, uint8_t reg, uint8_t val);
96 int jc42_attr_set(const struct device *dev, enum sensor_channel chan, enum sensor_attribute attr,
98 int jc42_trigger_set(const struct device *dev, const struct sensor_trigger *trig,
100 int jc42_setup_interrupt(const struct device *dev);
/Zephyr-latest/drivers/sensor/bosch/bma4xx/
Dbma4xx_spi.c19 static int bma4xx_spi_read_data(const struct device *dev, uint8_t reg_addr, in bma4xx_spi_read_data()
25 static int bma4xx_spi_write_data(const struct device *dev, uint8_t reg_addr, in bma4xx_spi_write_data()
31 static int bma4xx_spi_read_reg(const struct device *dev, uint8_t reg_addr, in bma4xx_spi_read_reg()
37 static int bma4xx_spi_write_reg(const struct device *dev, uint8_t reg_addr, in bma4xx_spi_write_reg()
43 static int bma4xx_spi_update_reg(const struct device *dev, uint8_t reg_addr, in bma4xx_spi_update_reg()
57 int bma4xx_spi_init(const struct device *dev) in bma4xx_spi_init()
/Zephyr-latest/drivers/bbram/
Dbbram_handlers.c10 static inline int z_vrfy_bbram_check_invalid(const struct device *dev) in z_vrfy_bbram_check_invalid()
17 static inline int z_vrfy_bbram_check_standby_power(const struct device *dev) in z_vrfy_bbram_check_standby_power()
24 static inline int z_vrfy_bbram_check_power(const struct device *dev) in z_vrfy_bbram_check_power()
31 static inline int z_vrfy_bbram_get_size(const struct device *dev, size_t *size) in z_vrfy_bbram_get_size()
39 static inline int z_vrfy_bbram_read(const struct device *dev, size_t offset, in z_vrfy_bbram_read()
48 static inline int z_vrfy_bbram_write(const struct device *dev, size_t offset, in z_vrfy_bbram_write()
/Zephyr-latest/drivers/sensor/st/stts751/
Dstts751.h28 int (*bus_init)(const struct device *dev);
35 const struct device *dev;
61 int stts751_i2c_init(const struct device *dev);
64 int stts751_trigger_set(const struct device *dev,
68 int stts751_init_interrupt(const struct device *dev);
/Zephyr-latest/include/zephyr/drivers/gpio/
Dgpio_emul.h56 int gpio_emul_input_set_masked(const struct device *port, gpio_port_pins_t pins,
69 static inline int gpio_emul_input_set(const struct device *port, gpio_pin_t pin, in gpio_emul_input_set()
85 int gpio_emul_output_get_masked(const struct device *port, gpio_port_pins_t pins,
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);
/Zephyr-latest/include/zephyr/drivers/firmware/scmi/
Dshmem.h33 int scmi_shmem_write_message(const struct device *shmem,
45 int scmi_shmem_read_message(const struct device *shmem,
57 void scmi_shmem_update_flags(const struct device *shmem,
65 uint32_t scmi_shmem_channel_status(const struct device *shmem);

12345678910>>...193