Searched refs:num_remaining (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/char/hw_random/ |
D | iproc-rng200.c | 94 uint32_t num_remaining = max; in iproc_rng200_read() local 103 while ((num_remaining > 0) && time_before(jiffies, idle_endtime)) { in iproc_rng200_read() 111 return max - num_remaining; in iproc_rng200_read() 121 if (num_remaining >= sizeof(uint32_t)) { in iproc_rng200_read() 126 num_remaining -= sizeof(uint32_t); in iproc_rng200_read() 131 memcpy(buf, &rnd_number, num_remaining); in iproc_rng200_read() 132 buf += num_remaining; in iproc_rng200_read() 133 num_remaining = 0; in iproc_rng200_read() 141 return max - num_remaining; in iproc_rng200_read() 144 usleep_range(min(num_remaining * 10, 500U), 500); in iproc_rng200_read() [all …]
|
/linux-6.12.1/drivers/firmware/arm_scmi/ |
D | voltage.c | 96 u32 num_returned, u32 num_remaining, in scmi_init_voltage_levels() argument 101 num_levels = num_returned + num_remaining; in scmi_init_voltage_levels() 107 (segmented && (num_remaining || num_returned != 3))) { in scmi_init_voltage_levels() 110 num_levels, num_returned, num_remaining, v->id); in scmi_init_voltage_levels() 150 st->num_remaining = NUM_REMAINING_LEVELS(flags); in iter_volt_levels_update_state() 155 st->num_remaining, in iter_volt_levels_update_state()
|
D | sensors.c | 77 __le16 num_remaining; member 301 st->num_remaining = NUM_INTERVALS_REMAINING(flags); in iter_intervals_update_state() 309 s->intervals.count = st->num_returned + st->num_remaining; in iter_intervals_update_state() 312 (st->num_remaining || st->num_returned != 3)) { in iter_intervals_update_state() 404 st->num_remaining = NUM_AXIS_REMAINING(flags); in iter_axes_desc_update_state() 458 st->num_remaining = NUM_AXIS_REMAINING(flags); in iter_axes_extended_name_update_state() 580 st->num_remaining = le16_to_cpu(r->num_remaining); in iter_sens_descr_update_state()
|
D | clock.c | 253 st->num_remaining = NUM_PARENTS_REMAINING(flags); in iter_clk_possible_parents_update_state() 260 p->clk->num_parents = st->num_returned + st->num_remaining; in iter_clk_possible_parents_update_state() 268 st->max_resources = st->num_returned + st->num_remaining; in iter_clk_possible_parents_update_state() 441 st->num_remaining = NUM_REMAINING(flags); in iter_clk_describe_update_state() 447 (st->num_returned != 3 || st->num_remaining != 0)) { in iter_clk_describe_update_state() 450 p->clk->name, st->num_returned, st->num_remaining, in iter_clk_describe_update_state() 457 if (st->num_returned != 3 && st->num_remaining == 0 && in iter_clk_describe_update_state() 460 st->num_remaining = 0; in iter_clk_describe_update_state()
|
D | protocols.h | 201 unsigned int num_remaining; member
|
D | pinctrl.c | 267 st->num_remaining = REMAINING(r->flags); in iter_pinctrl_assoc_update_state() 360 st->num_remaining = le32_get_bits(r->num_configs, GENMASK(31, 24)); in iter_pinctrl_settings_get_update_state() 363 st->num_remaining = 0; in iter_pinctrl_settings_get_update_state()
|
D | perf.c | 126 __le16 num_remaining; member 137 __le16 num_remaining; member 371 st->num_remaining = le16_to_cpu(r->num_remaining); in iter_perf_levels_update_state()
|
D | driver.c | 1809 } while (st->num_returned && st->num_remaining); in scmi_iterator_run()
|