Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/char/hw_random/
Diproc-rng200.c98 uint32_t num_remaining = max; in iproc_rng200_read() local
107 while ((num_remaining > 0) && time_before(jiffies, idle_endtime)) { in iproc_rng200_read()
115 return max - num_remaining; in iproc_rng200_read()
125 if (num_remaining >= sizeof(uint32_t)) { in iproc_rng200_read()
130 num_remaining -= sizeof(uint32_t); in iproc_rng200_read()
135 memcpy(buf, &rnd_number, num_remaining); in iproc_rng200_read()
136 buf += num_remaining; in iproc_rng200_read()
137 num_remaining = 0; in iproc_rng200_read()
145 return max - num_remaining; in iproc_rng200_read()
148 usleep_range(min(num_remaining * 10, 500U), 500); in iproc_rng200_read()
[all …]
/Linux-v5.4/drivers/firmware/arm_scmi/
Dsensors.c28 __le16 num_remaining; member
110 u16 num_returned, num_remaining; in scmi_sensor_description_get() local
130 num_remaining = le16_to_cpu(buf->num_remaining); in scmi_sensor_description_get()
161 } while (num_returned && num_remaining); in scmi_sensor_description_get()
Dclock.c131 u16 num_returned, num_remaining; in scmi_clock_describe_rates_get() local
154 num_remaining = NUM_REMAINING(rates_flag); in scmi_clock_describe_rates_get()
184 } while (num_returned && num_remaining); in scmi_clock_describe_rates_get()
Dperf.c86 __le16 num_remaining; member
242 u16 num_returned, num_remaining; in scmi_perf_describe_levels_get() local
266 num_remaining = le16_to_cpu(level_info->num_remaining); in scmi_perf_describe_levels_get()
288 } while (num_returned && num_remaining); in scmi_perf_describe_levels_get()