Lines Matching refs:cnt
98 uint32_t cnt; in entropy_cc13xx_cc26xx_get_entropy() local
114 cnt = ring_buf_get(&data->pool, buf, len); in entropy_cc13xx_cc26xx_get_entropy()
117 if (cnt) { in entropy_cc13xx_cc26xx_get_entropy()
118 buf += cnt; in entropy_cc13xx_cc26xx_get_entropy()
119 len -= cnt; in entropy_cc13xx_cc26xx_get_entropy()
132 uint32_t cnt; in entropy_cc13xx_cc26xx_isr() local
143 cnt = ring_buf_put(&data->pool, (uint8_t *)num, sizeof(num)); in entropy_cc13xx_cc26xx_isr()
146 if (cnt != sizeof(num)) { in entropy_cc13xx_cc26xx_isr()
174 uint16_t cnt; in entropy_cc13xx_cc26xx_get_entropy_isr() local
181 cnt = ring_buf_get(&data->pool, buf, len); in entropy_cc13xx_cc26xx_get_entropy_isr()
184 if ((cnt == len) || ((flags & ENTROPY_BUSYWAIT) == 0U)) { in entropy_cc13xx_cc26xx_get_entropy_isr()
185 read = cnt; in entropy_cc13xx_cc26xx_get_entropy_isr()
187 buf += cnt; in entropy_cc13xx_cc26xx_get_entropy_isr()
188 len -= cnt; in entropy_cc13xx_cc26xx_get_entropy_isr()
212 cnt = ring_buf_get(&data->pool, buf, len); in entropy_cc13xx_cc26xx_get_entropy_isr()
220 if (cnt) { in entropy_cc13xx_cc26xx_get_entropy_isr()
221 buf += cnt; in entropy_cc13xx_cc26xx_get_entropy_isr()
222 len -= cnt; in entropy_cc13xx_cc26xx_get_entropy_isr()