Searched refs:num_returned (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/firmware/arm_scmi/ |
D | voltage.c | 93 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()
|
D | clock.c | 224 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()
|
D | sensors.c | 73 __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()
|
D | protocols.h | 189 unsigned int num_returned; member
|
D | perf.c | 115 __le16 num_returned; member 274 st->num_returned = le16_to_cpu(r->num_returned); in iter_perf_levels_update_state()
|
D | driver.c | 1258 if (st->num_returned > st->max_resources - st->desc_index) { in scmi_iterator_run() 1266 for (st->loop_idx = 0; st->loop_idx < st->num_returned; in scmi_iterator_run() 1273 st->desc_index += st->num_returned; in scmi_iterator_run() 1279 } while (st->num_returned && st->num_remaining); in scmi_iterator_run()
|
/linux-6.1.9/drivers/virtio/ |
D | virtio_balloon.c | 407 unsigned long num_returned; in return_free_pages_to_mm() local 410 for (num_returned = 0; num_returned < num_to_return; num_returned++) { in return_free_pages_to_mm() 417 vb->num_free_page_blocks -= num_returned; in return_free_pages_to_mm() 420 return num_returned; in return_free_pages_to_mm()
|