Home
last modified time | relevance | path

Searched refs:work_ctx (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/sensor/melexis/mlx90394/
Dmlx90394_async.c28 data->work_ctx.iodev_sqe->sqe.iodev->data; in mlx90394_async_fetch()
36 rtio_iodev_sqe_err(data->work_ctx.iodev_sqe, rc); in mlx90394_async_fetch()
40 rc = rtio_sqe_rx_buf(data->work_ctx.iodev_sqe, buf_len, buf_len, &buf, &buf_len); in mlx90394_async_fetch()
43 rtio_iodev_sqe_err(data->work_ctx.iodev_sqe, rc); in mlx90394_async_fetch()
50 edata->header.timestamp = data->work_ctx.timestamp; in mlx90394_async_fetch()
51 edata->header.config_val = data->work_ctx.config_val; in mlx90394_async_fetch()
90 rtio_iodev_sqe_err(data->work_ctx.iodev_sqe, -ENOTSUP); in mlx90394_async_fetch()
94 rtio_iodev_sqe_ok(data->work_ctx.iodev_sqe, 0); in mlx90394_async_fetch()
119 data->work_ctx.timestamp = sensor_clock_cycles_to_ns(cycles); in mlx90394_submit()
120 data->work_ctx.iodev_sqe = iodev_sqe; in mlx90394_submit()
[all …]
Dmlx90394.h59 } work_ctx; member
/Zephyr-latest/drivers/sensor/asahi_kasei/akm09918c/
Dakm09918c_async.c92 data->work_ctx.timestamp = sensor_clock_cycles_to_ns(cycles); in akm09918_after_start_cb()
93 data->work_ctx.iodev_sqe = iodev_sqe; in akm09918_after_start_cb()
101 rc = k_work_schedule(&data->work_ctx.async_fetch_work, K_USEC(AKM09918C_MEASURE_TIME_US)); in akm09918_after_start_cb()
Dakm09918c.h43 } work_ctx; member
Dakm09918c.c237 k_work_init_delayable(&data->work_ctx.async_fetch_work, akm09918_async_fetch); in akm09918c_init()