Home
last modified time | relevance | path

Searched refs:min_buf_len (Results 1 – 6 of 6) sorted by relevance

/Zephyr-Core-3.7.0/drivers/sensor/asahi_kasei/akm09918c/
Dakm09918c_async.c19 uint32_t min_buf_len = sizeof(struct akm09918c_encoded_data); in akm09918c_submit_sync() local
26 rc = rtio_sqe_rx_buf(iodev_sqe, min_buf_len, min_buf_len, &buf, &buf_len); in akm09918c_submit_sync()
28 LOG_ERR("Failed to get a read buffer of size %u bytes", min_buf_len); in akm09918c_submit_sync()
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bme280/
Dbme280_async.c17 uint32_t min_buf_len = sizeof(struct bme280_encoded_data); in bme280_submit_sync() local
27 rc = rtio_sqe_rx_buf(iodev_sqe, min_buf_len, min_buf_len, &buf, &buf_len); in bme280_submit_sync()
29 LOG_ERR("Failed to get a read buffer of size %u bytes", min_buf_len); in bme280_submit_sync()
/Zephyr-Core-3.7.0/drivers/sensor/tdk/icm42688/
Dicm42688_rtio.c53 uint32_t min_buf_len = sizeof(struct icm42688_encoded_data); in icm42688_submit_one_shot() local
60 rc = rtio_sqe_rx_buf(iodev_sqe, min_buf_len, min_buf_len, &buf, &buf_len); in icm42688_submit_one_shot()
62 LOG_ERR("Failed to get a read buffer of size %u bytes", min_buf_len); in icm42688_submit_one_shot()
/Zephyr-Core-3.7.0/drivers/sensor/
Ddefault_rtio_sensor.c121 uint32_t min_buf_len = compute_min_buf_len(num_output_samples); in sensor_submit_fallback_sync() local
135 rc = rtio_sqe_rx_buf(iodev_sqe, min_buf_len, min_buf_len, &buf, &buf_len); in sensor_submit_fallback_sync()
137 LOG_WRN("Failed to get a read buffer of size %u bytes", min_buf_len); in sensor_submit_fallback_sync()
/Zephyr-Core-3.7.0/drivers/sensor/bosch/bma4xx/
Dbma4xx.c351 uint32_t min_buf_len = sizeof(struct bma4xx_encoded_data); in bma4xx_submit_one_shot() local
358 rc = rtio_sqe_rx_buf(iodev_sqe, min_buf_len, min_buf_len, &buf, &buf_len); in bma4xx_submit_one_shot()
360 LOG_ERR("Failed to get a read buffer of size %u bytes", min_buf_len); in bma4xx_submit_one_shot()
/Zephyr-Core-3.7.0/include/zephyr/rtio/
Drtio.h1179 static inline int rtio_sqe_rx_buf(const struct rtio_iodev_sqe *iodev_sqe, uint32_t min_buf_len, in rtio_sqe_rx_buf() argument
1189 if (sqe->buf_len < min_buf_len) { in rtio_sqe_rx_buf()
1197 int rc = rtio_block_pool_alloc(r, min_buf_len, max_buf_len, buf, buf_len); in rtio_sqe_rx_buf()
1210 if (sqe->buf_len < min_buf_len) { in rtio_sqe_rx_buf()