Searched refs:bits_left (Results 1 – 3 of 3) sorted by relevance
105 int bits_left; member151 if (dev->data.bits_left >= bits_needed) in keyspan_load_tester()166 while ((dev->data.bits_left + 7 < (sizeof(dev->data.tester) * 8)) && in keyspan_load_tester()168 dev->data.tester += (dev->data.buffer[dev->data.pos++] << dev->data.bits_left); in keyspan_load_tester()169 dev->data.bits_left += 8; in keyspan_load_tester()206 remote->data.bits_left = 0; in keyspan_check_data()220 while ((remote->data.bits_left >= 14 || remote->data.pos < remote->data.len) && !found) { in keyspan_check_data()229 remote->data.bits_left -= 14; in keyspan_check_data()234 --remote->data.bits_left; in keyspan_check_data()263 remote->data.bits_left -= 5; in keyspan_check_data()[all …]
65 unsigned long *bits_left, unsigned int *per_mil_done) in drbd_get_syncer_progress() argument77 *bits_left = device->ov_left; in drbd_get_syncer_progress()79 *bits_left = drbd_bm_total_weight(device) - device->rs_failed; in drbd_get_syncer_progress()82 if (*bits_left > *rs_total) { in drbd_get_syncer_progress()86 *bits_left = *rs_total; in drbd_get_syncer_progress()99 unsigned long left = *bits_left >> shift; in drbd_get_syncer_progress()
201 s32 bits_left; in ath5k_hw_rfb_op() local243 for (bits_shifted = 0, bits_left = num_bits; bits_left > 0; in ath5k_hw_rfb_op()246 last_bit = (position + bits_left > 8) ? 8 : in ath5k_hw_rfb_op()247 position + bits_left; in ath5k_hw_rfb_op()262 bits_left -= 8 - position; in ath5k_hw_rfb_op()