Home
last modified time | relevance | path

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

/openbmc/linux/drivers/comedi/drivers/
H A Dcomedi_bond.c66 unsigned int n_left, n_done, base_chan; in bonding_dio_insn_bits() local
78 n_done = 0; in bonding_dio_insn_bits()
97 b_write_mask = (write_mask >> n_done) & b_mask; in bonding_dio_insn_bits()
98 b_data_bits = (data_bits >> n_done) & b_mask; in bonding_dio_insn_bits()
106 data[1] &= ~(b_mask << n_done); in bonding_dio_insn_bits()
107 data[1] |= (b_data_bits & b_mask) << n_done; in bonding_dio_insn_bits()
113 n_done += b_chans; in bonding_dio_insn_bits()
/openbmc/linux/tools/testing/selftests/kvm/aarch64/
H A Darch_timer.c298 unsigned int i, n_done; in test_vcpu_migration() local
304 for (n_done = 0, i = 0; i < test_args.nr_vcpus; i++) { in test_vcpu_migration()
310 n_done++; in test_vcpu_migration()
316 } while (test_args.nr_vcpus != n_done); in test_vcpu_migration()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_guts.c3418 int n_done = 0; in yaffs_file_rd() local
3486 n_done += n_copy; in yaffs_file_rd()
3488 return n_done; in yaffs_file_rd()
3499 int n_done = 0; in yaffs_do_file_wr() local
3649 n_done += n_copy; in yaffs_do_file_wr()
3655 if ((start_write + n_done) > in->variant.file_variant.file_size) in yaffs_do_file_wr()
3656 in->variant.file_variant.file_size = (start_write + n_done); in yaffs_do_file_wr()
3659 return n_done; in yaffs_do_file_wr()