Home
last modified time | relevance | path

Searched refs:drv (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-Core-3.7.0/drivers/sensor/bosch/bmp581/
Dbmp581.c29 static int validate_chip_id(struct bmp581_data *drv);
209 static int validate_chip_id(struct bmp581_data *drv) in validate_chip_id() argument
213 CHECKIF(drv == NULL) { in validate_chip_id()
217 if ((drv->chip_id == BMP5_CHIP_ID_PRIM) || (drv->chip_id == BMP5_CHIP_ID_SEC)) { in validate_chip_id()
220 drv->chip_id = 0; in validate_chip_id()
266 struct bmp581_data *drv = (struct bmp581_data *)dev->data; in set_osr_config() local
296 get_osr_odr_press_config(&drv->osr_odr_press_config, dev); in set_osr_config()
309 struct bmp581_data *drv = (struct bmp581_data *)dev->data; in set_odr_config() local
320 get_osr_odr_press_config(&drv->osr_odr_press_config, dev); in set_odr_config()
365 struct bmp581_data *drv = (struct bmp581_data *)dev->data; in bmp581_sample_fetch() local
[all …]
/Zephyr-Core-3.7.0/subsys/bluetooth/host/
Dhci_raw.c69 int bt_hci_driver_register(const struct bt_hci_driver *drv) in bt_hci_driver_register() argument
71 if (bt_dev.drv) { in bt_hci_driver_register()
75 if (!drv->open || !drv->send) { in bt_hci_driver_register()
79 bt_dev.drv = drv; in bt_hci_driver_register()
81 LOG_DBG("Registered %s", drv->name ? drv->name : ""); in bt_hci_driver_register()
83 bt_monitor_new_index(BT_MONITOR_TYPE_PRIMARY, drv->bus, in bt_hci_driver_register()
84 BT_ADDR_ANY, drv->name ? drv->name : "bt0"); in bt_hci_driver_register()
333 return bt_dev.drv->send(buf);
388 const struct bt_hci_driver *drv = bt_dev.drv; local
390 if (!drv) {
[all …]
Dhci_raw_internal.h21 const struct bt_hci_driver *drv;
Dhci_core.c140 return ((bt_dev.drv->quirks & BT_QUIRK_NO_RESET) != 0); in drv_quirk_no_reset()
145 return ((bt_dev.drv->quirks & BT_QUIRK_NO_AUTO_DLE) != 0); in drv_quirk_no_auto_dle()
3934 if (bt_dev.drv->setup) { in hci_init()
3935 err = bt_dev.drv->setup(&setup_params); in hci_init()
3998 return bt_dev.drv->send(buf); in bt_send()
4120 int bt_hci_driver_register(const struct bt_hci_driver *drv) argument
4122 if (bt_dev.drv) {
4126 if (!drv->open || !drv->send) {
4130 bt_dev.drv = drv;
4132 LOG_DBG("Registered %s", drv->name ? drv->name : "");
[all …]
/Zephyr-Core-3.7.0/modules/lvgl/
Dlvgl_fs.c14 static bool lvgl_fs_ready(struct _lv_fs_drv_t *drv) in lvgl_fs_ready() argument
56 static void *lvgl_fs_open(struct _lv_fs_drv_t *drv, const char *path, lv_fs_mode_t mode) in lvgl_fs_open() argument
86 static lv_fs_res_t lvgl_fs_close(struct _lv_fs_drv_t *drv, void *file) in lvgl_fs_close() argument
95 static lv_fs_res_t lvgl_fs_read(struct _lv_fs_drv_t *drv, void *file, void *buf, uint32_t btr, in lvgl_fs_read() argument
112 static lv_fs_res_t lvgl_fs_write(struct _lv_fs_drv_t *drv, void *file, const void *buf, in lvgl_fs_write() argument
136 static lv_fs_res_t lvgl_fs_seek(struct _lv_fs_drv_t *drv, void *file, uint32_t pos, in lvgl_fs_seek() argument
158 static lv_fs_res_t lvgl_fs_tell(struct _lv_fs_drv_t *drv, void *file, uint32_t *pos_p) in lvgl_fs_tell() argument
171 static void *lvgl_fs_dir_open(struct _lv_fs_drv_t *drv, const char *path) in lvgl_fs_dir_open() argument
196 static lv_fs_res_t lvgl_fs_dir_read(struct _lv_fs_drv_t *drv, void *dir, char *fn) in lvgl_fs_dir_read() argument
204 static lv_fs_res_t lvgl_fs_dir_close(struct _lv_fs_drv_t *drv, void *dir) in lvgl_fs_dir_close() argument
/Zephyr-Core-3.7.0/drivers/misc/ethos_u/
Dethos_u.c116 struct ethosu_driver drv; member
122 struct ethosu_driver *drv = &data->drv; in ethosu_zephyr_irq_handler() local
124 ethosu_irq_handler(drv); in ethosu_zephyr_irq_handler()
131 struct ethosu_driver *drv = &data->drv; in ethosu_zephyr_init() local
142 if (ethosu_init(drv, config->base_addr, NULL, 0, config->secure_enable, in ethosu_zephyr_init()
/Zephyr-Core-3.7.0/modules/lvgl/input/
Dlvgl_common_input.c26 static void lvgl_input_read_cb(lv_indev_drv_t *drv, lv_indev_data_t *data) in lvgl_input_read_cb() argument
28 const struct device *dev = drv->user_data; in lvgl_input_read_cb()
34 if (drv->type == LV_INDEV_TYPE_ENCODER) { in lvgl_input_read_cb()
/Zephyr-Core-3.7.0/tests/bluetooth/hci_uart_async/src/
Dtest_hci_uart_async.c86 struct drv_data *drv = dev->data; in drv_open() local
90 drv->recv = recv; in drv_open()
228 struct drv_data *drv = dev->data; in ZTEST() local
235 err = drv->recv(dev, buf); in ZTEST()
/Zephyr-Core-3.7.0/tests/bluetooth/hci_prop_evt/src/
Dmain.c98 struct driver_data *drv = dev->data; in cmd_handle() local
116 drv->recv(dev, evt); in cmd_handle()
220 struct driver_data *drv = dev->data; in driver_open() local
222 drv->recv = recv; in driver_open()
263 struct driver_data *drv = dev->data; in bt_recv_job_cb() local
269 drv->recv(dev, data->buf); in bt_recv_job_cb()
/Zephyr-Core-3.7.0/tests/bluetooth/host_long_adv_recv/src/
Dmain.c127 struct driver_data *drv = dev->data; in cmd_handle() local
145 drv->recv(dev, evt); in cmd_handle()
235 struct driver_data *drv = dev->data; in driver_open() local
237 drv->recv = recv; in driver_open()
278 struct driver_data *drv = dev->data; in bt_recv_job_cb() local
282 drv->recv(dev, data->buf); in bt_recv_job_cb()
/Zephyr-Core-3.7.0/include/zephyr/drivers/bluetooth/
Dhci_driver.h165 __deprecated int bt_hci_driver_register(const struct bt_hci_driver *drv);
/Zephyr-Core-3.7.0/drivers/bluetooth/hci/
Dslz_hci.c209 static const struct bt_hci_driver_api drv = { variable
218 POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &drv)
Dhci_ifx_psoc6_bless.c268 static const struct bt_hci_driver_api drv = { variable
278 POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &drv)
Dhci_esp32.c361 static const struct bt_hci_driver_api drv = { variable
371 POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &drv)
Dhci_ifx_cyw208xx.c269 static const struct bt_hci_driver_api drv = { variable
419 POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &drv)
Dhci_nxp.c399 static const struct bt_hci_driver_api drv = { variable
441 POST_KERNEL, CONFIG_BT_HCI_INIT_PRIORITY, &drv)
Dhci_ambiq.c410 static const struct bt_hci_driver_api drv = { variable
440 CONFIG_BT_HCI_INIT_PRIORITY, &drv)
Dspi.c423 static const struct bt_hci_driver_api drv = { variable
456 POST_KERNEL, CONFIG_BT_SPI_INIT_PRIORITY, &drv)
Dipc.c382 static const struct bt_hci_driver_api drv = { variable
402 POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &drv)
Dhci_stm32wba.c477 static const struct bt_hci_driver_api drv = { variable
489 POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &drv)
Dhci_da1469x.c498 static const struct bt_hci_driver_api drv = { variable
522 POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &drv)
Dipm_stm32wb.c610 static const struct bt_hci_driver_api drv = { variable
636 POST_KERNEL, CONFIG_KERNEL_INIT_PRIORITY_DEVICE, &drv)
/Zephyr-Core-3.7.0/drivers/dp/
DKconfig14 module-str = dp drv
/Zephyr-Core-3.7.0/drivers/usb/uhc/
DKconfig36 module-str = uhc drv
/Zephyr-Core-3.7.0/drivers/usb/udc/
DKconfig54 module-str = usb drv

12