/Zephyr-latest/include/zephyr/drivers/ |
D | clock_control.h | 74 typedef void (*clock_control_cb_t)(const struct device *dev, 78 typedef int (*clock_control)(const struct device *dev, 81 typedef int (*clock_control_get)(const struct device *dev, 85 typedef int (*clock_control_async_on_fn)(const struct device *dev, 91 const struct device *dev, 94 typedef int (*clock_control_set)(const struct device *dev, 98 typedef int (*clock_control_configure_fn)(const struct device *dev, 125 static inline int clock_control_on(const struct device *dev, in clock_control_on() 144 static inline int clock_control_off(const struct device *dev, in clock_control_off() 170 static inline int clock_control_async_on(const struct device *dev, in clock_control_async_on() [all …]
|
D | mbox.h | 89 const struct device *dev; 155 typedef void (*mbox_callback_t)(const struct device *dev, 169 typedef int (*mbox_send_t)(const struct device *dev, 181 typedef int (*mbox_mtu_get_t)(const struct device *dev); 195 typedef int (*mbox_register_callback_t)(const struct device *dev, 209 typedef int (*mbox_set_enabled_t)(const struct device *dev, 220 typedef uint32_t (*mbox_max_channels_get_t)(const struct device *dev); 263 __syscall int mbox_send(const struct device *dev, mbox_channel_id_t channel_id, 266 static inline int z_impl_mbox_send(const struct device *dev, in z_impl_mbox_send() 310 static inline int mbox_register_callback(const struct device *dev, in mbox_register_callback() [all …]
|
D | eeprom.h | 47 typedef int (*eeprom_api_read)(const struct device *dev, off_t offset, 55 typedef int (*eeprom_api_write)(const struct device *dev, off_t offset, 62 typedef size_t (*eeprom_api_size)(const struct device *dev); 82 __syscall int eeprom_read(const struct device *dev, off_t offset, void *data, 85 static inline int z_impl_eeprom_read(const struct device *dev, off_t offset, in z_impl_eeprom_read() 104 __syscall int eeprom_write(const struct device *dev, off_t offset, 108 static inline int z_impl_eeprom_write(const struct device *dev, off_t offset, in z_impl_eeprom_write() 124 __syscall size_t eeprom_get_size(const struct device *dev); 126 static inline size_t z_impl_eeprom_get_size(const struct device *dev) in z_impl_eeprom_get_size()
|
D | video.h | 238 typedef int (*video_api_set_format_t)(const struct device *dev, enum video_endpoint_id ep, 247 typedef int (*video_api_get_format_t)(const struct device *dev, enum video_endpoint_id ep, 256 typedef int (*video_api_set_frmival_t)(const struct device *dev, enum video_endpoint_id ep, 265 typedef int (*video_api_get_frmival_t)(const struct device *dev, enum video_endpoint_id ep, 274 typedef int (*video_api_enum_frmival_t)(const struct device *dev, enum video_endpoint_id ep, 283 typedef int (*video_api_enqueue_t)(const struct device *dev, enum video_endpoint_id ep, 292 typedef int (*video_api_dequeue_t)(const struct device *dev, enum video_endpoint_id ep, 302 typedef int (*video_api_flush_t)(const struct device *dev, enum video_endpoint_id ep, bool cancel); 310 typedef int (*video_api_stream_start_t)(const struct device *dev); 318 typedef int (*video_api_stream_stop_t)(const struct device *dev); [all …]
|
D | haptics.h | 28 typedef int (*haptics_stop_output_t)(const struct device *dev); 34 typedef int (*haptics_start_output_t)(const struct device *dev); 52 __syscall int haptics_start_output(const struct device *dev); 54 static inline int z_impl_haptics_start_output(const struct device *dev) in z_impl_haptics_start_output() 69 __syscall int haptics_stop_output(const struct device *dev); 71 static inline int z_impl_haptics_stop_output(const struct device *dev) in z_impl_haptics_stop_output()
|
D | i2s.h | 322 int (*configure)(const struct device *dev, enum i2s_dir dir, 324 const struct i2s_config *(*config_get)(const struct device *dev, 326 int (*read)(const struct device *dev, void **mem_block, size_t *size); 327 int (*write)(const struct device *dev, void *mem_block, size_t size); 328 int (*trigger)(const struct device *dev, enum i2s_dir dir, 357 __syscall int i2s_configure(const struct device *dev, enum i2s_dir dir, 360 static inline int z_impl_i2s_configure(const struct device *dev, in z_impl_i2s_configure() 378 static inline const struct i2s_config *i2s_config_get(const struct device *dev, in i2s_config_get() 418 static inline int i2s_read(const struct device *dev, void **mem_block, in i2s_read() 451 __syscall int i2s_buf_read(const struct device *dev, void *buf, size_t *size); [all …]
|
D | lora.h | 123 typedef void (*lora_recv_cb)(const struct device *dev, uint8_t *data, uint16_t size, 132 typedef int (*lora_api_config)(const struct device *dev, 141 typedef int (*lora_api_send)(const struct device *dev, 150 typedef int (*lora_api_send_async)(const struct device *dev, 160 typedef int (*lora_api_recv)(const struct device *dev, uint8_t *data, 171 typedef int (*lora_api_recv_async)(const struct device *dev, lora_recv_cb cb, 180 typedef int (*lora_api_test_cw)(const struct device *dev, uint32_t frequency, 202 static inline int lora_config(const struct device *dev, in lora_config() 221 static inline int lora_send(const struct device *dev, in lora_send() 244 static inline int lora_send_async(const struct device *dev, in lora_send_async() [all …]
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_handlers.c | 11 static inline int z_vrfy_pwm_set_cycles(const struct device *dev, in z_vrfy_pwm_set_cycles() 16 return z_impl_pwm_set_cycles((const struct device *)dev, channel, in z_vrfy_pwm_set_cycles() 21 static inline int z_vrfy_pwm_get_cycles_per_sec(const struct device *dev, in z_vrfy_pwm_get_cycles_per_sec() 27 return z_impl_pwm_get_cycles_per_sec((const struct device *)dev, in z_vrfy_pwm_get_cycles_per_sec() 34 static inline int z_vrfy_pwm_enable_capture(const struct device *dev, in z_vrfy_pwm_enable_capture() 38 return z_impl_pwm_enable_capture((const struct device *)dev, channel); in z_vrfy_pwm_enable_capture() 42 static inline int z_vrfy_pwm_disable_capture(const struct device *dev, in z_vrfy_pwm_disable_capture() 46 return z_impl_pwm_disable_capture((const struct device *)dev, channel); in z_vrfy_pwm_disable_capture() 50 static inline int z_vrfy_pwm_capture_cycles(const struct device *dev, in z_vrfy_pwm_capture_cycles() 64 err = z_impl_pwm_capture_cycles((const struct device *)dev, channel, in z_vrfy_pwm_capture_cycles()
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_fake.c | 18 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_set_time, const struct device *, const struct rtc_time *); 19 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_get_time, const struct device *, struct rtc_time *); 22 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_alarm_get_supported_fields, const struct device *, uint16_t, 24 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_alarm_set_time, const struct device *, uint16_t, uint16_t, 26 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_alarm_get_time, const struct device *, uint16_t, uint16_t *, 28 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_alarm_is_pending, const struct device *, uint16_t); 29 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_alarm_set_callback, const struct device *, uint16_t, 34 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_update_set_callback, const struct device *, 39 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_set_calibration, const struct device *, int32_t); 40 DEFINE_FAKE_VALUE_FUNC(int, rtc_fake_get_calibration, const struct device *, int32_t *);
|
/Zephyr-latest/include/zephyr/drivers/uart/ |
D | serial_test.h | 32 int serial_vnd_queue_in_data(const struct device *dev, const unsigned char *data, uint32_t size); 41 uint32_t serial_vnd_out_data_size_get(const struct device *dev); 61 uint32_t serial_vnd_read_out_data(const struct device *dev, unsigned char *data, uint32_t size); 81 uint32_t serial_vnd_peek_out_data(const struct device *dev, unsigned char *data, uint32_t size); 89 typedef void (*serial_vnd_write_cb_t)(const struct device *dev, void *user_data); 99 void serial_vnd_set_callback(const struct device *dev, serial_vnd_write_cb_t callback,
|
/Zephyr-latest/drivers/stepper/step_dir/ |
D | step_dir_stepper_timing_source.h | 17 typedef int (*stepper_timing_source_init)(const struct device *dev); 26 typedef int (*stepper_timing_source_update)(const struct device *dev, uint32_t velocity); 34 typedef int (*stepper_timing_source_start)(const struct device *dev); 43 typedef bool (*stepper_timing_sources_requires_reschedule)(const struct device *dev); 51 typedef int (*stepper_timing_source_stop)(const struct device *dev); 59 typedef bool (*stepper_timing_source_is_running)(const struct device *dev);
|
/Zephyr-latest/include/zephyr/drivers/misc/nxp_flexio/ |
D | nxp_flexio.h | 46 void nxp_flexio_irq_enable(const struct device *dev); 52 void nxp_flexio_irq_disable(const struct device *dev); 58 void nxp_flexio_lock(const struct device *dev); 64 void nxp_flexio_unlock(const struct device *dev); 76 int nxp_flexio_get_rate(const struct device *dev, uint32_t *rate); 85 int nxp_flexio_child_attach(const struct device *dev,
|
/Zephyr-latest/include/zephyr/ |
D | irq_nextlevel.h | 25 typedef void (*irq_next_level_func_t)(const struct device *dev, 27 typedef unsigned int (*irq_next_level_get_state_t)(const struct device *dev); 28 typedef void (*irq_next_level_priority_t)(const struct device *dev, 31 typedef int (*irq_next_level_get_line_state_t)(const struct device *dev, 53 static inline void irq_enable_next_level(const struct device *dev, in irq_enable_next_level() 70 static inline void irq_disable_next_level(const struct device *dev, in irq_disable_next_level() 89 static inline unsigned int irq_is_enabled_next_level(const struct device *dev) in irq_is_enabled_next_level() 108 static inline void irq_set_priority_next_level(const struct device *dev, in irq_set_priority_next_level() 129 static inline unsigned int irq_line_is_enabled_next_level(const struct device *dev, in irq_line_is_enabled_next_level()
|
/Zephyr-latest/subsys/usb/device_next/ |
D | Kconfig | 6 bool "New USB device stack [EXPERIMENTAL]" 11 New experimental USB device stack. 20 bool "USB device shell" 23 Enable USB device shell. 29 USB device thread initialization priority level. 32 int "USB device stack thread stack size" 35 USB device stack thread stack size in bytes. 41 Maximum number of USB device controller events that can be queued. 44 int "Maximum number of USB device notification messages" 48 Maximum number of USB device notification messages that can be queued. [all …]
|
/Zephyr-latest/drivers/sensor/tdk/icm42670/ |
D | icm42670_trigger.h | 13 int icm42670_trigger_set(const struct device *dev, const struct sensor_trigger *trig, 22 int icm42670_trigger_init(const struct device *dev); 30 int icm42670_trigger_enable_interrupt(const struct device *dev); 37 void icm42670_lock(const struct device *dev); 44 void icm42670_unlock(const struct device *dev);
|
/Zephyr-latest/drivers/gnss/ |
D | gnss_emul.c | 33 const struct device *dev; 49 static void gnss_emul_lock_sem(const struct device *dev) in gnss_emul_lock_sem() 56 static void gnss_emul_unlock_sem(const struct device *dev) in gnss_emul_unlock_sem() 63 static void gnss_emul_update_fix_timestamp(const struct device *dev, bool resuming) in gnss_emul_update_fix_timestamp() 76 static bool gnss_emul_fix_is_acquired(const struct device *dev) in gnss_emul_fix_is_acquired() 86 static void gnss_emul_clear_fix_timestamp(const struct device *dev) in gnss_emul_clear_fix_timestamp() 94 static void gnss_emul_schedule_work(const struct device *dev) in gnss_emul_schedule_work() 101 static bool gnss_emul_cancel_work(const struct device *dev) in gnss_emul_cancel_work() 109 static bool gnss_emul_is_resumed(const struct device *dev) in gnss_emul_is_resumed() 116 static void gnss_emul_lock(const struct device *dev) in gnss_emul_lock() [all …]
|
/Zephyr-latest/include/zephyr/drivers/mfd/ |
D | axp192.h | 78 int mfd_axp192_gpio_func_ctrl(const struct device *dev, const struct device *client_dev, 91 int mfd_axp192_gpio_func_get(const struct device *dev, uint8_t gpio, enum axp192_gpio_func *func); 105 int mfd_axp192_gpio_pd_ctrl(const struct device *dev, uint8_t gpio, bool enable); 118 int mfd_axp192_gpio_pd_get(const struct device *dev, uint8_t gpio, bool *enabled); 128 int mfd_axp192_gpio_read_port(const struct device *dev, uint8_t *value); 139 int mfd_axp192_gpio_write_port(const struct device *dev, uint8_t value, uint8_t mask);
|
/Zephyr-latest/include/zephyr/net/ |
D | phy.h | 95 typedef void (*phy_callback_t)(const struct device *dev, 107 int (*get_link)(const struct device *dev, 111 int (*cfg_link)(const struct device *dev, 115 int (*link_cb_set)(const struct device *dev, phy_callback_t cb, 119 int (*read)(const struct device *dev, uint16_t reg_addr, 123 int (*write)(const struct device *dev, uint16_t reg_addr, 142 static inline int phy_configure_link(const struct device *dev, in phy_configure_link() 164 static inline int phy_get_link_state(const struct device *dev, in phy_get_link_state() 187 static inline int phy_link_callback_set(const struct device *dev, in phy_link_callback_set() 209 static inline int phy_read(const struct device *dev, uint16_t reg_addr, in phy_read() [all …]
|
/Zephyr-latest/include/zephyr/drivers/adc/ |
D | adc_emul.h | 59 typedef int (*adc_emul_value_func)(const struct device *dev, unsigned int chan, 72 int adc_emul_const_value_set(const struct device *dev, unsigned int chan, 85 int adc_emul_const_raw_value_set(const struct device *dev, unsigned int chan, uint32_t raw_value); 99 int adc_emul_value_func_set(const struct device *dev, unsigned int chan, 114 int adc_emul_raw_value_func_set(const struct device *dev, unsigned int chan, 127 int adc_emul_ref_voltage_set(const struct device *dev, enum adc_reference ref,
|
/Zephyr-latest/drivers/sensor/tdk/icm42688/ |
D | icm42688_trigger.h | 14 int icm42688_trigger_set(const struct device *dev, const struct sensor_trigger *trig, 23 int icm42688_trigger_init(const struct device *dev); 32 int icm42688_trigger_enable_interrupt(const struct device *dev, struct icm42688_cfg *new_cfg); 39 void icm42688_lock(const struct device *dev); 46 void icm42688_unlock(const struct device *dev);
|
/Zephyr-latest/drivers/lora/ |
D | sx12xx_common.h | 23 int sx12xx_lora_send(const struct device *dev, uint8_t *data, 26 int sx12xx_lora_send_async(const struct device *dev, uint8_t *data, 29 int sx12xx_lora_recv(const struct device *dev, uint8_t *data, uint8_t size, 32 int sx12xx_lora_recv_async(const struct device *dev, lora_recv_cb cb, void *user_data); 34 int sx12xx_lora_config(const struct device *dev, 37 int sx12xx_lora_test_cw(const struct device *dev, uint32_t frequency, 41 int sx12xx_init(const struct device *dev);
|
/Zephyr-latest/tests/kernel/device/src/ |
D | main.c | 70 ZTEST(device, test_dummy_device) in ZTEST() argument 72 const struct device *dev; in ZTEST() 100 ZTEST_USER(device, test_dynamic_name) in ZTEST_USER() argument 102 const struct device *mux; in ZTEST_USER() 118 ZTEST_USER(device, test_bogus_dynamic_name) in ZTEST_USER() argument 120 const struct device *mux; in ZTEST_USER() 135 ZTEST_USER(device, test_null_dynamic_name) in ZTEST_USER() argument 141 const struct device *mux; in ZTEST_USER() 215 ZTEST(device, test_pre_kernel_detection) in ZTEST() argument 253 ZTEST(device, test_device_list) in ZTEST() argument [all …]
|
/Zephyr-latest/subsys/pm/ |
D | device.c | 42 int pm_device_action_run(const struct device *dev, in pm_device_action_run() 99 static int power_domain_add_or_remove(const struct device *dev, in power_domain_add_or_remove() 100 const struct device *domain, in power_domain_add_or_remove() 113 STRUCT_SECTION_FOREACH(device, iter_dev) { in power_domain_add_or_remove() 162 int pm_device_power_domain_remove(const struct device *dev, in pm_device_power_domain_remove() 163 const struct device *domain) in pm_device_power_domain_remove() 168 int pm_device_power_domain_add(const struct device *dev, in pm_device_power_domain_add() 169 const struct device *domain) in pm_device_power_domain_add() 180 static int pm_device_children_visitor(const struct device *dev, void *context) in pm_device_children_visitor() 195 void pm_device_children_action_run(const struct device *dev, in pm_device_children_action_run() [all …]
|
/Zephyr-latest/drivers/mfd/ |
D | mfd_ad559x.h | 36 int (*read_raw)(const struct device *dev, uint8_t *val, size_t len); 37 int (*write_raw)(const struct device *dev, uint8_t *val, size_t len); 38 int (*read_reg)(const struct device *dev, uint8_t reg, uint8_t reg_data, uint16_t *val); 39 int (*write_reg)(const struct device *dev, uint8_t reg, uint16_t val); 50 int (*bus_init)(const struct device *dev); 58 int mfd_ad559x_i2c_init(const struct device *dev); 59 int mfd_ad559x_spi_init(const struct device *dev);
|
/Zephyr-latest/drivers/counter/ |
D | timer_tmr_cmsdk_apb.c | 19 typedef void (*timer_config_func_t)(const struct device *dev); 40 static int tmr_cmsdk_apb_start(const struct device *dev) in tmr_cmsdk_apb_start() 54 static int tmr_cmsdk_apb_stop(const struct device *dev) in tmr_cmsdk_apb_stop() 64 static int tmr_cmsdk_apb_get_value(const struct device *dev, uint32_t *ticks) in tmr_cmsdk_apb_get_value() 75 static int tmr_cmsdk_apb_set_top_value(const struct device *dev, in tmr_cmsdk_apb_set_top_value() 105 static uint32_t tmr_cmsdk_apb_get_top_value(const struct device *dev) in tmr_cmsdk_apb_get_top_value() 114 static uint32_t tmr_cmsdk_apb_get_pending_int(const struct device *dev) in tmr_cmsdk_apb_get_pending_int() 133 const struct device *dev = (const struct device *)arg; in tmr_cmsdk_apb_isr() 144 static int tmr_cmsdk_apb_init(const struct device *dev) in tmr_cmsdk_apb_init() 151 const struct device *const clk = DEVICE_DT_GET(DT_INST_CLOCKS_CTLR(0)); in tmr_cmsdk_apb_init() [all …]
|