Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/sensor/
Ddefault_rtio_sensor.c71 static inline uint32_t compute_header_size(int num_output_samples) in compute_header_size() argument
74 (num_output_samples * sizeof(struct sensor_chan_spec)); in compute_header_size()
84 static inline uint32_t compute_min_buf_len(int num_output_samples) in compute_min_buf_len() argument
86 return compute_header_size(num_output_samples) + (num_output_samples * sizeof(q31_t)); in compute_min_buf_len()
120 const int num_output_samples = compute_num_samples(channels, cfg->count); in sensor_submit_fallback_sync() local
121 uint32_t min_buf_len = compute_min_buf_len(num_output_samples); in sensor_submit_fallback_sync()
146 header->num_channels = num_output_samples; in sensor_submit_fallback_sync()
149 q31_t *q = (q31_t *)(buf + compute_header_size(num_output_samples)); in sensor_submit_fallback_sync()