Lines Matching full:intervals
153 __le32 intervals[]; member
304 * Max intervals is not declared previously anywhere so we in iter_intervals_update_state()
308 s->intervals.segmented = SEGMENTED_INTVL_FORMAT(flags); in iter_intervals_update_state()
309 s->intervals.count = st->num_returned + st->num_remaining; in iter_intervals_update_state()
310 /* segmented intervals are reported in one triplet */ in iter_intervals_update_state()
311 if (s->intervals.segmented && in iter_intervals_update_state()
315 s->id, s->intervals.count); in iter_intervals_update_state()
316 s->intervals.segmented = false; in iter_intervals_update_state()
317 s->intervals.count = 0; in iter_intervals_update_state()
321 if (s->intervals.count >= SCMI_MAX_PREALLOC_POOL) { in iter_intervals_update_state()
322 s->intervals.desc = in iter_intervals_update_state()
324 s->intervals.count, in iter_intervals_update_state()
325 sizeof(*s->intervals.desc), in iter_intervals_update_state()
327 if (!s->intervals.desc) { in iter_intervals_update_state()
328 s->intervals.segmented = false; in iter_intervals_update_state()
329 s->intervals.count = 0; in iter_intervals_update_state()
334 st->max_resources = s->intervals.count; in iter_intervals_update_state()
348 s->intervals.desc[st->desc_index + st->loop_idx] = in iter_intervals_process_response()
349 le32_to_cpu(r->intervals[st->loop_idx]); in iter_intervals_process_response()
368 iter = ph->hops->iter_response_init(ph, &ops, s->intervals.count, in scmi_sensor_update_intervals()
623 s->intervals.desc = s->intervals.prealloc_pool; in iter_sens_descr_process_response()
625 s->intervals.segmented = false; in iter_sens_descr_process_response()
626 s->intervals.count = 1; in iter_sens_descr_process_response()
632 s->intervals.desc[0] = (SENSOR_UPDATE_BASE(attrh) << 5) | in iter_sens_descr_process_response()
636 * From SCMIv3.0 update intervals are retrieved in iter_sens_descr_process_response()
643 "Update Intervals not available for sensor ID:%d\n", in iter_sens_descr_process_response()