Lines Matching refs:desc_index
244 u32 desc_index = 0; in scmi_sensor_update_intervals() local
262 msg->index = cpu_to_le32(desc_index); in scmi_sensor_update_intervals()
304 } else if (desc_index + num_returned > s->intervals.count) { in scmi_sensor_update_intervals()
313 s->intervals.desc[desc_index + cnt] = in scmi_sensor_update_intervals()
316 desc_index += num_returned; in scmi_sensor_update_intervals()
333 u32 desc_index = 0; in scmi_sensor_axis_description() local
357 msg->axis_desc_index = cpu_to_le32(desc_index); in scmi_sensor_axis_description()
367 if (desc_index + num_returned > s->num_axis) { in scmi_sensor_axis_description()
381 a = &s->axis[desc_index + cnt]; in scmi_sensor_axis_description()
408 desc_index += num_returned; in scmi_sensor_axis_description()
425 u32 desc_index = 0; in scmi_sensor_description_get() local
441 put_unaligned_le32(desc_index, t->tx.buf); in scmi_sensor_description_get()
450 if (desc_index + num_returned > si->num_sensors) { in scmi_sensor_description_get()
462 s = &si->sensors[desc_index + cnt]; in scmi_sensor_description_get()
549 desc_index += num_returned; in scmi_sensor_description_get()