Home
last modified time | relevance | path

Searched refs:bits_left (Results 1 – 3 of 3) sorted by relevance

/drivers/input/misc/
Dkeyspan_remote.c106 int bits_left; member
152 if (dev->data.bits_left >= bits_needed) in keyspan_load_tester()
167 while ((dev->data.bits_left + 7 < (sizeof(dev->data.tester) * 8)) && in keyspan_load_tester()
169 dev->data.tester += (dev->data.buffer[dev->data.pos++] << dev->data.bits_left); in keyspan_load_tester()
170 dev->data.bits_left += 8; in keyspan_load_tester()
207 remote->data.bits_left = 0; in keyspan_check_data()
221 while ((remote->data.bits_left >= 14 || remote->data.pos < remote->data.len) && !found) { in keyspan_check_data()
230 remote->data.bits_left -= 14; in keyspan_check_data()
235 --remote->data.bits_left; in keyspan_check_data()
264 remote->data.bits_left -= 5; in keyspan_check_data()
[all …]
/drivers/block/drbd/
Ddrbd_int.h2196 unsigned long *bits_left, unsigned int *per_mil_done) in drbd_get_syncer_progress() argument
2207 *bits_left = mdev->ov_left; in drbd_get_syncer_progress()
2209 *bits_left = drbd_bm_total_weight(mdev) - mdev->rs_failed; in drbd_get_syncer_progress()
2212 if (*bits_left > mdev->rs_total) { in drbd_get_syncer_progress()
2221 *bits_left, mdev->rs_total, mdev->rs_failed); in drbd_get_syncer_progress()
2234 unsigned long left = *bits_left >> shift; in drbd_get_syncer_progress()
/drivers/net/wireless/ath/ath5k/
Dphy.c199 s32 bits_left; in ath5k_hw_rfb_op() local
241 for (bits_shifted = 0, bits_left = num_bits; bits_left > 0; in ath5k_hw_rfb_op()
244 last_bit = (position + bits_left > 8) ? 8 : in ath5k_hw_rfb_op()
245 position + bits_left; in ath5k_hw_rfb_op()
260 bits_left -= 8 - position; in ath5k_hw_rfb_op()