Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/firmware/arm_scmi/
Dsensors.c32 __le16 num_returned; member
122 u16 num_returned, num_remaining; in scmi_sensor_description_get() local
141 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()
Dclock.c146 u16 num_returned, num_remaining; in scmi_clock_describe_rates_get() local
171 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()
Dperf.c102 __le16 num_returned; member
265 u16 num_returned, num_remaining; in scmi_perf_describe_levels_get() local
288 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()
/Linux-v5.10/drivers/virtio/
Dvirtio_balloon.c414 unsigned long num_returned; in return_free_pages_to_mm() local
417 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()