Searched refs:num_remaining (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/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.6.21/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() 147 st->num_remaining = NUM_REMAINING_LEVELS(flags); in iter_volt_levels_update_state() 152 st->num_remaining, in iter_volt_levels_update_state()
|
D | clock.c | 223 st->num_remaining = NUM_REMAINING(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() 242 st->num_remaining = 0; in iter_clk_describe_update_state()
|
D | sensors.c | 74 __le16 num_remaining; member 284 st->num_remaining = NUM_INTERVALS_REMAINING(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() 387 st->num_remaining = NUM_AXIS_REMAINING(flags); in iter_axes_desc_update_state() 441 st->num_remaining = NUM_AXIS_REMAINING(flags); in iter_axes_extended_name_update_state() 563 st->num_remaining = le16_to_cpu(r->num_remaining); in iter_sens_descr_update_state()
|
D | protocols.h | 197 unsigned int num_remaining; member
|
D | perf.c | 123 __le16 num_remaining; member 134 __le16 num_remaining; member 334 st->num_remaining = le16_to_cpu(r->num_remaining); in iter_perf_levels_update_state()
|
D | driver.c | 1577 } while (st->num_returned && st->num_remaining); in scmi_iterator_run()
|