Home
last modified time | relevance | path

Searched refs:device (Results 451 – 475 of 4950) sorted by relevance

1...<<11121314151617181920>>...198

/Zephyr-latest/drivers/retained_mem/
Dretained_mem_handlers.c10 static inline ssize_t z_vrfy_retained_mem_size(const struct device *dev) in z_vrfy_retained_mem_size()
17 static inline int z_vrfy_retained_mem_read(const struct device *dev, off_t offset, in z_vrfy_retained_mem_read()
26 static inline int z_vrfy_retained_mem_write(const struct device *dev, off_t offset, in z_vrfy_retained_mem_write()
35 static inline int z_vrfy_retained_mem_clear(const struct device *dev) in z_vrfy_retained_mem_clear()
/Zephyr-latest/drivers/usb/udc/
Dudc_virtual.c32 void (*make_thread)(const struct device *dev);
54 static int vrt_request_reply(const struct device *dev, in vrt_request_reply()
65 static void ctrl_ep_clear_halt(const struct device *dev) in ctrl_ep_clear_halt()
76 static int vrt_ctrl_feed_dout(const struct device *dev, in vrt_ctrl_feed_dout()
92 static int vrt_handle_setup(const struct device *dev, in vrt_handle_setup()
139 static int vrt_handle_ctrl_out(const struct device *dev, in vrt_handle_ctrl_out()
159 static int vrt_handle_out(const struct device *dev, in vrt_handle_out()
201 static int isr_handle_ctrl_in(const struct device *dev, in isr_handle_ctrl_in()
226 static int vrt_handle_in(const struct device *dev, in vrt_handle_in()
277 static int vrt_handle_request(const struct device *dev, in vrt_handle_request()
[all …]
/Zephyr-latest/drivers/usb/uhc/
Duhc_virtual.c31 const struct device *dev;
60 static void vrt_event_submit(const struct device *dev, in vrt_event_submit()
77 static int vrt_xfer_control(const struct device *dev, in vrt_xfer_control()
153 static int vrt_xfer_bulk(const struct device *dev, in vrt_xfer_bulk()
180 static int vrt_schedule_xfer(const struct device *dev) in vrt_schedule_xfer()
202 static void vrt_hrslt_success(const struct device *dev, in vrt_hrslt_success()
265 static void vrt_xfer_drop_active(const struct device *dev, int err) in vrt_xfer_drop_active()
275 static int vrt_handle_reply(const struct device *dev, in vrt_handle_reply()
314 const struct device *dev = priv->dev; in xfer_work_handler()
367 static void vrt_device_act(const struct device *dev, in vrt_device_act()
[all …]
Duhc_common.c22 int uhc_submit_event(const struct device *dev, in uhc_submit_event()
40 void uhc_xfer_return(const struct device *dev, in uhc_xfer_return()
58 struct uhc_transfer *uhc_xfer_get_next(const struct device *dev) in uhc_xfer_get_next()
73 int uhc_xfer_append(const struct device *dev, in uhc_xfer_append()
83 struct net_buf *uhc_xfer_buf_alloc(const struct device *dev, in uhc_xfer_buf_alloc()
89 void uhc_xfer_buf_free(const struct device *dev, struct net_buf *const buf) in uhc_xfer_buf_free()
94 struct uhc_transfer *uhc_xfer_alloc(const struct device *dev, in uhc_xfer_alloc()
135 struct uhc_transfer *uhc_xfer_alloc_with_buf(const struct device *dev, in uhc_xfer_alloc_with_buf()
164 int uhc_xfer_free(const struct device *dev, struct uhc_transfer *const xfer) in uhc_xfer_free()
185 int uhc_xfer_buf_add(const struct device *dev, in uhc_xfer_buf_add()
[all …]
Duhc_max3421e.c56 static int max3421e_read_hirq(const struct device *dev, in max3421e_read_hirq()
100 static int max3421e_read(const struct device *dev, in max3421e_read()
109 static int max3421e_write_byte(const struct device *dev, in max3421e_write_byte()
128 static int max3421e_write(const struct device *dev, in max3421e_write()
154 static int max3421e_lock(const struct device *dev) in max3421e_lock()
161 static int max3421e_unlock(const struct device *dev) in max3421e_unlock()
169 static ALWAYS_INLINE int max3421e_hien_disable(const struct device *dev, in max3421e_hien_disable()
180 static ALWAYS_INLINE int max3421e_peraddr(const struct device *dev, in max3421e_peraddr()
202 static ALWAYS_INLINE void max3421e_tgl_update(const struct device *dev) in max3421e_tgl_update()
226 static ALWAYS_INLINE uint8_t max3421e_tgl_next(const struct device *dev, in max3421e_tgl_next()
[all …]
/Zephyr-latest/drivers/sensor/maxim/ds18b20/
Dds18b20.c62 const struct device *bus;
74 static int ds18b20_configure(const struct device *dev);
75 static int ds18b20_read_scratchpad(const struct device *dev, struct ds18b20_scratchpad *scratchpad);
83 static inline void ds18b20_temperature_from_raw(const struct device *dev, in ds18b20_temperature_from_raw()
113 static int ds18b20_write_scratchpad(const struct device *dev, in ds18b20_write_scratchpad()
118 const struct device *bus = cfg->bus; in ds18b20_write_scratchpad()
145 static int ds18b20_read_scratchpad(const struct device *dev, in ds18b20_read_scratchpad()
150 const struct device *bus = cfg->bus; in ds18b20_read_scratchpad()
177 static int ds18b20_temperature_convert(const struct device *dev) in ds18b20_temperature_convert()
182 const struct device *bus = cfg->bus; in ds18b20_temperature_convert()
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_fxl6408.c67 static int read_port_regs(const struct device *dev, uint8_t reg, uint8_t *cache) in read_port_regs()
96 static int write_port_regs(const struct device *dev, uint8_t reg, in write_port_regs()
116 static inline int update_input_regs(const struct device *dev, uint8_t *buf) in update_input_regs()
127 static inline int update_output_regs(const struct device *dev, uint8_t value) in update_output_regs()
136 static inline int update_high_z_regs(const struct device *dev, uint8_t value) in update_high_z_regs()
145 static inline int update_direction_regs(const struct device *dev, uint8_t value) in update_direction_regs()
154 static inline int update_pul_sel_regs(const struct device *dev, uint8_t value) in update_pul_sel_regs()
163 static inline int update_pul_en_regs(const struct device *dev, uint8_t value) in update_pul_en_regs()
172 static int setup_pin_dir(const struct device *dev, uint32_t pin, int flags) in setup_pin_dir()
225 static int setup_pin_pullupdown(const struct device *dev, uint32_t pin, in setup_pin_pullupdown()
[all …]
Dgpio_gecko.c76 const struct device *ports[NUMBER_OF_PORTS];
96 const struct device *dev) in gpio_gecko_add_port()
102 static int gpio_gecko_configure(const struct device *dev, in gpio_gecko_configure()
156 static int gpio_gecko_get_config(const struct device *dev, in gpio_gecko_get_config()
226 static int gpio_gecko_port_get_raw(const struct device *dev, uint32_t *value) in gpio_gecko_port_get_raw()
236 static int gpio_gecko_port_set_masked_raw(const struct device *dev, in gpio_gecko_port_set_masked_raw()
248 static int gpio_gecko_port_set_bits_raw(const struct device *dev, in gpio_gecko_port_set_bits_raw()
259 static int gpio_gecko_port_clear_bits_raw(const struct device *dev, in gpio_gecko_port_clear_bits_raw()
270 static int gpio_gecko_port_toggle_bits(const struct device *dev, in gpio_gecko_port_toggle_bits()
281 static int gpio_gecko_pin_interrupt_configure(const struct device *dev, in gpio_gecko_pin_interrupt_configure()
[all …]
/Zephyr-latest/samples/boards/st/sensortile_box_pro/sensors-on-board/src/
Dmain.c21 static void lps22df_trigger_handler(const struct device *dev, in lps22df_trigger_handler()
34 static void lsm6dsv16x_acc_trig_handler(const struct device *dev, in lsm6dsv16x_acc_trig_handler()
41 static void lsm6dsv16x_gyr_trig_handler(const struct device *dev, in lsm6dsv16x_gyr_trig_handler()
48 static void lsm6dsv16x_temp_trig_handler(const struct device *dev, in lsm6dsv16x_temp_trig_handler()
59 static void lis2mdl_trigger_handler(const struct device *dev, in lis2mdl_trigger_handler()
70 static void lis2du12_trigger_handler(const struct device *dev, in lis2du12_trigger_handler()
81 static void stts22h_trigger_handler(const struct device *dev, in stts22h_trigger_handler()
88 static void lps22df_config(const struct device *lps22df) in lps22df_config()
111 static void lsm6dsv16x_config(const struct device *lsm6dsv16x) in lsm6dsv16x_config()
168 static void lis2mdl_config(const struct device *lis2mdl) in lis2mdl_config()
[all …]
/Zephyr-latest/drivers/rtc/
Drtc_xmc4xxx.c36 static int rtc_xmc4xxx_set_time(const struct device *dev, const struct rtc_time *timeptr) in rtc_xmc4xxx_set_time()
54 static int rtc_xmc4xxx_get_time(const struct device *dev, struct rtc_time *timeptr) in rtc_xmc4xxx_get_time()
73 static void rtc_xmc4xxx_isr(const struct device *dev) in rtc_xmc4xxx_isr()
100 static int rtc_xmc4xxx_alarm_get_supported_fields(const struct device *dev, uint16_t id, in rtc_xmc4xxx_alarm_get_supported_fields()
110 static int rtc_xmc4xxx_alarm_set_time(const struct device *dev, uint16_t id, uint16_t mask, in rtc_xmc4xxx_alarm_set_time()
135 static int rtc_xmc4xxx_alarm_get_time(const struct device *dev, uint16_t id, uint16_t *mask, in rtc_xmc4xxx_alarm_get_time()
152 static int rtc_xmc4xxx_alarm_is_pending(const struct device *dev, uint16_t id) in rtc_xmc4xxx_alarm_is_pending()
175 static int rtc_xmc4xxx_alarm_set_callback(const struct device *dev, uint16_t id, in rtc_xmc4xxx_alarm_set_callback()
201 static int rtc_xmc4xxx_update_set_callback(const struct device *dev, rtc_update_callback callback, in rtc_xmc4xxx_update_set_callback()
250 static int rtc_xmc4xxx_init(const struct device *dev) in rtc_xmc4xxx_init()
/Zephyr-latest/drivers/pcie/endpoint/
Dpcie_ep_iproc_msi.c19 void iproc_pcie_msix_config(const struct device *dev) in iproc_pcie_msix_config()
31 void iproc_pcie_msi_config(const struct device *dev) in iproc_pcie_msi_config()
42 int iproc_pcie_generate_msi(const struct device *dev, const uint32_t msi_num) in iproc_pcie_generate_msi()
79 static int generate_msix(const struct device *dev, const uint32_t msix_num) in generate_msix()
114 static bool is_pcie_function_mask(const struct device *dev) in is_pcie_function_mask()
133 static int generate_pending_msix(const struct device *dev, const int msix_num) in generate_pending_msix()
163 static int generate_all_pending_msix(const struct device *dev) in generate_all_pending_msix()
176 const struct device *dev = arg; in iproc_pcie_func_mask_isr()
195 const struct device *dev = arg; in iproc_pcie_vector_mask_isr()
210 int iproc_pcie_generate_msix(const struct device *dev, const uint32_t msix_num) in iproc_pcie_generate_msix()
/Zephyr-latest/samples/shields/x_nucleo_iks02a1/standard/src/
Dmain.c16 static void iis2dlpc_trigger_handler(const struct device *dev, in iis2dlpc_trigger_handler()
27 static void iis2mdc_trigger_handler(const struct device *dev, in iis2mdc_trigger_handler()
39 static void ism330dhcx_acc_trigger_handler(const struct device *dev, in ism330dhcx_acc_trigger_handler()
46 static void ism330dhcx_gyr_trigger_handler(const struct device *dev, in ism330dhcx_gyr_trigger_handler()
54 static void iis2dlpc_config(const struct device *iis2dlpc) in iis2dlpc_config()
85 static void iis2mdc_config(const struct device *iis2mdc) in iis2mdc_config()
108 static void ism330dhcx_config(const struct device *ism330dhcx) in ism330dhcx_config()
170 const struct device *const iis2dlpc = DEVICE_DT_GET_ONE(st_iis2dlpc); in main()
171 const struct device *const iis2mdc = DEVICE_DT_GET_ONE(st_iis2mdc); in main()
172 const struct device *const ism330dhcx = DEVICE_DT_GET_ONE(st_ism330dhcx); in main()
/Zephyr-latest/drivers/ps2/
Dps2_npcx_controller.h27 int ps2_npcx_ctrl_write(const struct device *dev, uint8_t channel_id,
40 int ps2_npcx_ctrl_enable_interface(const struct device *dev, uint8_t channel,
53 int ps2_npcx_ctrl_configure(const struct device *dev, uint8_t channel_id,
/Zephyr-latest/samples/drivers/espi/src/
Despi_oob_handler.h29 void oob_rx_handler(const struct device *dev, struct espi_callback *cb,
43 int get_pch_temp_sync(const struct device *dev);
57 int get_pch_temp_async(const struct device *dev);
/Zephyr-latest/drivers/sensor/st/lis2dh/
Dlis2dh_i2c.c23 static int lis2dh_i2c_read_data(const struct device *dev, uint8_t reg_addr, in lis2dh_i2c_read_data()
32 static int lis2dh_i2c_write_data(const struct device *dev, uint8_t reg_addr, in lis2dh_i2c_write_data()
41 static int lis2dh_i2c_read_reg(const struct device *dev, uint8_t reg_addr, in lis2dh_i2c_read_reg()
49 static int lis2dh_i2c_write_reg(const struct device *dev, uint8_t reg_addr, in lis2dh_i2c_write_reg()
57 static int lis2dh_i2c_update_reg(const struct device *dev, uint8_t reg_addr, in lis2dh_i2c_update_reg()
73 int lis2dh_i2c_init(const struct device *dev) in lis2dh_i2c_init()
/Zephyr-latest/samples/sensor/lsm6dso/src/
Dmain.c17 static void fetch_and_display(const struct device *dev) in fetch_and_display()
45 static int set_sampling_freq(const struct device *dev) in set_sampling_freq()
72 static void trigger_handler(const struct device *dev, in trigger_handler()
78 static void test_trigger_mode(const struct device *dev) in test_trigger_mode()
96 static void test_polling_mode(const struct device *dev) in test_polling_mode()
111 const struct device *const dev = DEVICE_DT_GET_ONE(st_lsm6dso); in main()
/Zephyr-latest/drivers/serial/
Duart_ifx_cat1.c167 static int ifx_cat1_uart_poll_in(const struct device *dev, unsigned char *c) in ifx_cat1_uart_poll_in()
177 static void ifx_cat1_uart_poll_out(const struct device *dev, unsigned char c) in ifx_cat1_uart_poll_out()
184 static int ifx_cat1_uart_err_check(const struct device *dev) in ifx_cat1_uart_err_check()
205 static int ifx_cat1_uart_configure(const struct device *dev, in ifx_cat1_uart_configure()
242 static int ifx_cat1_uart_config_get(const struct device *dev, in ifx_cat1_uart_config_get()
264 const struct device *dev = (const struct device *) arg; in _uart_event_callback_irq_mode()
273 static int ifx_cat1_uart_fifo_fill(const struct device *dev, in ifx_cat1_uart_fifo_fill()
284 static int ifx_cat1_uart_fifo_read(const struct device *dev, in ifx_cat1_uart_fifo_read()
295 static void ifx_cat1_uart_irq_tx_enable(const struct device *dev) in ifx_cat1_uart_irq_tx_enable()
306 static void ifx_cat1_uart_irq_tx_disable(const struct device *dev) in ifx_cat1_uart_irq_tx_disable()
[all …]
/Zephyr-latest/drivers/w1/
Dw1_ds2482-800_channel.c21 const struct device *parent;
32 static int ds2482_reset_bus(const struct device *dev) in ds2482_reset_bus()
39 static int ds2482_read_bit(const struct device *dev) in ds2482_read_bit()
46 static int ds2482_write_bit(const struct device *dev, bool bit) in ds2482_write_bit()
53 static int ds2482_read_byte(const struct device *dev) in ds2482_read_byte()
60 static int ds2482_write_byte(const struct device *dev, uint8_t byte) in ds2482_write_byte()
67 static int ds2482_configure(const struct device *dev, enum w1_settings_type type, uint32_t value) in ds2482_configure()
106 static int ds2482_change_bus_lock(const struct device *dev, bool lock) in ds2482_change_bus_lock()
141 static int ds2482_init(const struct device *dev) in ds2482_init()
/Zephyr-latest/drivers/watchdog/
Dwdt_mcux_imx_wdog.c23 void (*irq_config_func)(const struct device *dev);
33 static int mcux_wdog_setup(const struct device *dev, uint8_t options) in mcux_wdog_setup()
56 static int mcux_wdog_disable(const struct device *dev) in mcux_wdog_disable()
69 static int mcux_wdog_install_timeout(const struct device *dev, in mcux_wdog_install_timeout()
106 static int mcux_wdog_feed(const struct device *dev, int channel_id) in mcux_wdog_feed()
122 static void mcux_wdog_isr(const struct device *dev) in mcux_wdog_isr()
137 static int mcux_wdog_init(const struct device *dev) in mcux_wdog_init()
159 static void mcux_wdog_config_func(const struct device *dev);
178 static void mcux_wdog_config_func(const struct device *dev) in mcux_wdog_config_func()
/Zephyr-latest/tests/bluetooth/hci_uart_async/src/
Dtest_hci_uart_async.c25 static const struct device *const zephyr_bt_c2h_uart = DEVICE_DT_GET(DT_CHOSEN(zephyr_bt_c2h_uart));
36 static void serial_vnd_data_callback(const struct device *dev, void *user_data);
37 static int drv_send(const struct device *dev, struct net_buf *buf);
38 static int drv_open(const struct device *dev, bt_hci_recv_t recv);
45 static int drv_init(const struct device *dev) in drv_init()
84 static int drv_open(const struct device *dev, bt_hci_recv_t recv) in drv_open()
103 static int drv_send(const struct device *dev, struct net_buf *buf) in drv_send()
117 static void serial_vnd_data_callback(const struct device *dev, void *user_data) in serial_vnd_data_callback()
227 const struct device *dev = DEVICE_DT_GET(DT_DRV_INST(0)); in ZTEST()
/Zephyr-latest/drivers/counter/
Dcounter_mcux_tpm.c26 const struct device *clock_dev;
42 static TPM_Type *get_base(const struct device *dev) in get_base()
47 static int mcux_tpm_start(const struct device *dev) in mcux_tpm_start()
57 static int mcux_tpm_stop(const struct device *dev) in mcux_tpm_stop()
66 static int mcux_tpm_get_value(const struct device *dev, uint32_t *ticks) in mcux_tpm_get_value()
75 static int mcux_tpm_set_alarm(const struct device *dev, uint8_t chan_id, in mcux_tpm_set_alarm()
114 static int mcux_tpm_cancel_alarm(const struct device *dev, uint8_t chan_id) in mcux_tpm_cancel_alarm()
130 void mcux_tpm_isr(const struct device *dev) in mcux_tpm_isr()
155 static uint32_t mcux_tpm_get_pending_int(const struct device *dev) in mcux_tpm_get_pending_int()
162 static int mcux_tpm_set_top_value(const struct device *dev,
[all …]
Dcounter_mcux_rtc.c29 void (*irq_config_func)(const struct device *dev);
32 static int mcux_rtc_start(const struct device *dev) in mcux_rtc_start()
47 static int mcux_rtc_stop(const struct device *dev) in mcux_rtc_stop()
65 static uint32_t mcux_rtc_read(const struct device *dev) in mcux_rtc_read()
87 static int mcux_rtc_get_value(const struct device *dev, uint32_t *ticks) in mcux_rtc_get_value()
93 static int mcux_rtc_set_alarm(const struct device *dev, uint8_t chan_id, in mcux_rtc_set_alarm()
133 static int mcux_rtc_cancel_alarm(const struct device *dev, uint8_t chan_id) in mcux_rtc_cancel_alarm()
147 static int mcux_rtc_set_top_value(const struct device *dev, in mcux_rtc_set_top_value()
172 static uint32_t mcux_rtc_get_pending_int(const struct device *dev) in mcux_rtc_get_pending_int()
181 static uint32_t mcux_rtc_get_top_value(const struct device *dev) in mcux_rtc_get_top_value()
[all …]
Dcounter_mcux_snvs.c31 void (*irq_config_func)(const struct device *dev);
43 static int mcux_snvs_start(const struct device *dev) in mcux_snvs_start()
50 static int mcux_snvs_stop(const struct device *dev) in mcux_snvs_stop()
57 static int mcux_snvs_get_value(const struct device *dev, uint32_t *ticks) in mcux_snvs_get_value()
71 static int mcux_snvs_set_alarm(const struct device *dev, in mcux_snvs_set_alarm()
137 static int mcux_snvs_cancel_alarm(const struct device *dev, in mcux_snvs_cancel_alarm()
170 static int mcux_snvs_set_top_value(const struct device *dev, in mcux_snvs_set_top_value()
179 static uint32_t mcux_snvs_get_pending_int(const struct device *dev) in mcux_snvs_get_pending_int()
193 static uint32_t mcux_snvs_get_top_value(const struct device *dev) in mcux_snvs_get_top_value()
200 void mcux_snvs_isr(const struct device *dev) in mcux_snvs_isr()
[all …]
/Zephyr-latest/drivers/sensor/ti/ina23x/
Dina230.h38 const struct device *dev;
43 const struct device *gpio;
66 int ina230_trigger_mode_init(const struct device *dev);
67 int ina230_trigger_set(const struct device *dev, const struct sensor_trigger *trig,
/Zephyr-latest/tests/drivers/clock_control/clock_control_api/src/
Dtest_clock_control.c21 typedef void (*test_func_t)(const struct device *dev,
25 typedef bool (*test_capability_check_t)(const struct device *dev,
28 static void setup_instance(const struct device *dev, clock_control_subsys_t subsys) in setup_instance()
51 static void tear_down_instance(const struct device *dev, in tear_down_instance()
56 const struct device *const clk = DEVICE_DT_GET_ONE(nordic_nrf_clock); in tear_down_instance()
79 static void test_with_single_instance(const struct device *dev, in test_with_single_instance()
115 static void test_on_off_status_instance(const struct device *dev, in test_on_off_status_instance()
146 static void async_capable_callback(const struct device *dev, in async_capable_callback()
154 static bool async_capable(const struct device *dev, clock_control_subsys_t subsys) in async_capable()
183 static void clock_on_callback(const struct device *dev, in clock_on_callback()
[all …]

1...<<11121314151617181920>>...198