Home
last modified time | relevance | path

Searched refs:driver_data (Results 1 – 23 of 23) sorted by relevance

/Zephyr-latest/tests/drivers/ipm/src/
Dipm_dummy.c27 struct ipm_dummy_driver_data *driver_data = d->data; in ipm_dummy_isr() local
32 if (!driver_data->regs.enabled || !driver_data->regs.busy) { in ipm_dummy_isr()
36 if (driver_data->cb) { in ipm_dummy_isr()
37 driver_data->cb(d, in ipm_dummy_isr()
38 driver_data->cb_context, driver_data->regs.id, in ipm_dummy_isr()
39 (volatile void *)&driver_data->regs.data); in ipm_dummy_isr()
41 driver_data->regs.busy = 0U; in ipm_dummy_isr()
50 struct ipm_dummy_driver_data *driver_data; in ipm_dummy_send() local
55 driver_data = d->data; in ipm_dummy_send()
60 if (driver_data->regs.busy) { in ipm_dummy_send()
[all …]
/Zephyr-latest/drivers/console/
Dipm_console_receiver.c25 struct ipm_console_receiver_runtime_data *driver_data; in ipm_console_thread() local
28 driver_data = (struct ipm_console_receiver_runtime_data *)arg1; in ipm_console_thread()
35 k_sem_take(&driver_data->sem, K_FOREVER); in ipm_console_thread()
37 ret = ring_buf_item_get(&driver_data->rb, &type, in ipm_console_thread()
75 if (driver_data->channel_disabled && in ipm_console_thread()
76 ring_buf_item_space_get(&driver_data->rb)) { in ipm_console_thread()
78 ipm_set_enabled(driver_data->ipm_device, 1); in ipm_console_thread()
79 driver_data->channel_disabled = 0; in ipm_console_thread()
89 struct ipm_console_receiver_runtime_data *driver_data = user_data; in ipm_console_receive_callback() local
95 ret = ring_buf_item_put(&driver_data->rb, 0, id, NULL, 0); in ipm_console_receive_callback()
[all …]
/Zephyr-latest/drivers/counter/
Dcounter_imx_epit.c36 struct imx_epit_data *driver_data = dev->data; in imx_epit_isr() local
40 if (driver_data->callback != NULL) { in imx_epit_isr()
41 driver_data->callback(dev, (void *)driver_data->user_data); in imx_epit_isr()
103 struct imx_epit_data *driver_data = dev->data; in imx_epit_set_top_value() local
108 driver_data->callback = cfg->callback; in imx_epit_set_top_value()
109 driver_data->user_data = cfg->user_data; in imx_epit_set_top_value()
/Zephyr-latest/drivers/ipm/
Dipm_mhu.c127 struct ipm_mhu_data *driver_data = d->data; in ipm_mhu_isr() local
136 if (driver_data->callback) { in ipm_mhu_isr()
137 driver_data->callback(d, driver_data->user_data, cpu_id, in ipm_mhu_isr()
160 struct ipm_mhu_data *driver_data = d->data; in ipm_mhu_register_cb() local
162 driver_data->callback = cb; in ipm_mhu_register_cb()
163 driver_data->user_data = user_data; in ipm_mhu_register_cb()
Dipm_mcux.c138 struct mcux_mailbox_data *driver_data = d->data; in mcux_mailbox_ipm_register_callback() local
140 driver_data->callback = cb; in mcux_mailbox_ipm_register_callback()
141 driver_data->callback_ctx = context; in mcux_mailbox_ipm_register_callback()
Dipm_imx.c243 struct imx_mu_data *driver_data = dev->data; in imx_mu_ipm_register_callback() local
245 driver_data->callback = cb; in imx_mu_ipm_register_callback()
246 driver_data->user_data = user_data; in imx_mu_ipm_register_callback()
/Zephyr-latest/drivers/lora/
Drylrxxx.c132 struct rylr_data *driver_data = user_data; in on_ok() local
134 driver_data->handler_error = err; in on_ok()
140 struct rylr_data *driver_data = user_data; in on_err() local
142 driver_data->handler_error = -EIO; in on_err()
145 driver_data->handler_error = -EBADMSG; in on_err()
156 struct rylr_data *driver_data = user_data; in on_rx() local
160 driver_data->handler_error = 0; in on_rx()
163 driver_data->handler_error = -EBADMSG; in on_rx()
173 if (RYLR_IS_RX_PENDING(driver_data->pending_async_flags)) { in on_rx()
174 driver_data->async_rx_cb(driver_data->dev, msg.data, msg.length, msg.rssi, msg.snr, in on_rx()
[all …]
/Zephyr-latest/tests/bluetooth/bluetooth/src/
Dbluetooth.c20 struct driver_data { struct
44 static struct driver_data driver_data_##inst = { \
/Zephyr-latest/tests/bluetooth/hci_prop_evt/src/
Dmain.c23 struct driver_data { struct
98 struct driver_data *drv = dev->data; in cmd_handle()
220 struct driver_data *drv = dev->data; in driver_open()
244 static struct driver_data driver_data_##inst = { \
263 struct driver_data *drv = dev->data; in bt_recv_job_cb()
/Zephyr-latest/drivers/modem/
Dmodem_context.h72 void *driver_data; member
Dquectel-bg9x.c1260 mctx.driver_data = &mdata; in modem_init()
Dublox-sara-r4.c2216 mctx.driver_data = &mdata; in modem_init()
Dsimcom-sim7080.c2410 mctx.driver_data = &mdata; in modem_init()
/Zephyr-latest/drivers/flash/
Dspi_nor.c294 struct spi_nor_data *const driver_data = dev->data; in record_entered_dpd() local
296 driver_data->ts_enter_dpd = k_uptime_get_32(); in record_entered_dpd()
312 struct spi_nor_data *const driver_data = dev->data; in delay_until_exit_dpd_ok() local
313 int32_t since = (int32_t)(k_uptime_get_32() - driver_data->ts_enter_dpd); in delay_until_exit_dpd_ok()
378 struct spi_nor_data *const driver_data = dev->data; in spi_nor_access() local
399 && driver_data->flag_access_32bit)); in spi_nor_access()
579 struct spi_nor_data *const driver_data = dev->data; in acquire_device() local
581 k_sem_take(&driver_data->sem, K_FOREVER); in acquire_device()
595 struct spi_nor_data *const driver_data = dev->data; in release_device() local
597 k_sem_give(&driver_data->sem); in release_device()
[all …]
/Zephyr-latest/tests/bluetooth/host_long_adv_recv/src/
Dmain.c28 struct driver_data { struct
127 struct driver_data *drv = dev->data; in cmd_handle()
235 struct driver_data *drv = dev->data; in driver_open()
258 static struct driver_data driver_data_##inst = { \
278 struct driver_data *drv = dev->data; in bt_recv_job_cb()
/Zephyr-latest/drivers/adc/
Dadc_nrfx_adc.c30 struct driver_data { struct
37 static struct driver_data m_data = { argument
Dadc_nrfx_saadc.c85 struct driver_data { struct
98 static struct driver_data m_data = { argument
Dadc_vf610.c141 struct vf610_adc_data *data = dev->driver_data; in vf610_adc_read_async()
/Zephyr-latest/drivers/clock_control/
Dclock_control_nrf2_global_hsfll.c285 static struct global_hsfll_dev_data driver_data = { variable
297 &driver_data,
/Zephyr-latest/include/zephyr/drivers/
Dvideo.h125 void *driver_data; member
/Zephyr-latest/doc/kernel/drivers/
Dindex.rst460 and ``driver_data`` structures, with initialization of the ``config_info``
505 data to be placed first in the ``config_info`` and ``driver_data``
/Zephyr-latest/drivers/wifi/esp_at/
Desp.c1612 data->mctx.driver_data = data; in esp_init()
/Zephyr-latest/doc/releases/
Drelease-notes-2.4.rst94 ``driver_api`` to ``api`` and finally ``driver_data`` to ``data``.