Searched refs:num_returned (Results 1 – 4 of 4) sorted by relevance
32 __le16 num_returned; member122 u16 num_returned, num_remaining; in scmi_sensor_description_get() local141 num_returned = le16_to_cpu(buf->num_returned); in scmi_sensor_description_get()144 if (desc_index + num_returned > si->num_sensors) { in scmi_sensor_description_get()150 for (cnt = 0; cnt < num_returned; cnt++) { in scmi_sensor_description_get()168 desc_index += num_returned; in scmi_sensor_description_get()175 } while (num_returned && num_remaining); in scmi_sensor_description_get()
146 u16 num_returned, num_remaining; in scmi_clock_describe_rates_get() local171 num_returned = NUM_RETURNED(rates_flag); in scmi_clock_describe_rates_get()173 if (tot_rate_cnt + num_returned > SCMI_MAX_NUM_RATES) { in scmi_clock_describe_rates_get()189 for (cnt = 0; cnt < num_returned; cnt++, rate++) { in scmi_clock_describe_rates_get()194 tot_rate_cnt += num_returned; in scmi_clock_describe_rates_get()201 } while (num_returned && num_remaining); in scmi_clock_describe_rates_get()
102 __le16 num_returned; member265 u16 num_returned, num_remaining; in scmi_perf_describe_levels_get() local288 num_returned = le16_to_cpu(level_info->num_returned); in scmi_perf_describe_levels_get()290 if (tot_opp_cnt + num_returned > MAX_OPPS) { in scmi_perf_describe_levels_get()296 for (cnt = 0; cnt < num_returned; cnt++, opp++) { in scmi_perf_describe_levels_get()306 tot_opp_cnt += num_returned; in scmi_perf_describe_levels_get()313 } while (num_returned && num_remaining); in scmi_perf_describe_levels_get()
414 unsigned long num_returned; in return_free_pages_to_mm() local417 for (num_returned = 0; num_returned < num_to_return; num_returned++) { in return_free_pages_to_mm()424 vb->num_free_page_blocks -= num_returned; in return_free_pages_to_mm()427 return num_returned; in return_free_pages_to_mm()