Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/firmware/arm_scmi/
Dvoltage.c93 u32 num_returned, u32 num_remaining, in scmi_init_voltage_levels() argument
98 num_levels = num_returned + num_remaining; in scmi_init_voltage_levels()
104 (segmented && (num_remaining || num_returned != 3))) { in scmi_init_voltage_levels()
107 num_levels, num_returned, num_remaining, v->id); in scmi_init_voltage_levels()
146 st->num_returned = NUM_RETURNED_LEVELS(flags); in iter_volt_levels_update_state()
151 ret = scmi_init_voltage_levels(p->dev, p->v, st->num_returned, in iter_volt_levels_update_state()
Dclock.c224 st->num_returned = NUM_RETURNED(flags); in iter_clk_describe_update_state()
229 (st->num_returned != 3 || st->num_remaining != 0)) { in iter_clk_describe_update_state()
232 p->clk->name, st->num_returned, st->num_remaining, in iter_clk_describe_update_state()
239 if (st->num_returned != 3 && st->num_remaining == 0 && in iter_clk_describe_update_state()
241 st->num_returned = 3; in iter_clk_describe_update_state()
Dsensors.c73 __le16 num_returned; member
283 st->num_returned = NUM_INTERVALS_RETURNED(flags); in iter_intervals_update_state()
292 s->intervals.count = st->num_returned + st->num_remaining; in iter_intervals_update_state()
295 (st->num_remaining || st->num_returned != 3)) { in iter_intervals_update_state()
386 st->num_returned = NUM_AXIS_RETURNED(flags); in iter_axes_desc_update_state()
440 st->num_returned = NUM_AXIS_RETURNED(flags); in iter_axes_extended_name_update_state()
562 st->num_returned = le16_to_cpu(r->num_returned); in iter_sens_descr_update_state()
Dprotocols.h196 unsigned int num_returned; member
Dperf.c122 __le16 num_returned; member
133 __le16 num_returned; member
333 st->num_returned = le16_to_cpu(r->num_returned); in iter_perf_levels_update_state()
Ddriver.c1556 if (st->num_returned > st->max_resources - st->desc_index) { in scmi_iterator_run()
1564 for (st->loop_idx = 0; st->loop_idx < st->num_returned; in scmi_iterator_run()
1571 st->desc_index += st->num_returned; in scmi_iterator_run()
1577 } while (st->num_returned && st->num_remaining); in scmi_iterator_run()
/linux-6.6.21/drivers/virtio/
Dvirtio_balloon.c411 unsigned long num_returned; in return_free_pages_to_mm() local
414 for (num_returned = 0; num_returned < num_to_return; num_returned++) { in return_free_pages_to_mm()
421 vb->num_free_page_blocks -= num_returned; in return_free_pages_to_mm()
424 return num_returned; in return_free_pages_to_mm()