Home
last modified time | relevance | path

Searched refs:bcount (Results 1 – 25 of 29) sorted by relevance

12

/linux-3.4.99/drivers/media/video/cx25821/
Dcx25821-sram.h245 #define BYTES_TO_DWORDS(bcount) ((bcount) >> 2) argument
246 #define BYTES_TO_QWORDS(bcount) ((bcount) >> 3) argument
247 #define BYTES_TO_OWORDS(bcount) ((bcount) >> 4) argument
/linux-3.4.99/crypto/
Dtcrypt.c74 int bcount; in test_cipher_jiffies() local
77 for (start = jiffies, end = start + sec * HZ, bcount = 0; in test_cipher_jiffies()
78 time_before(jiffies, end); bcount++) { in test_cipher_jiffies()
89 bcount, sec, (long)bcount * blen); in test_cipher_jiffies()
248 int bcount; in test_hash_jiffies_digest() local
251 for (start = jiffies, end = start + sec * HZ, bcount = 0; in test_hash_jiffies_digest()
252 time_before(jiffies, end); bcount++) { in test_hash_jiffies_digest()
259 bcount / sec, ((long)bcount * blen) / sec); in test_hash_jiffies_digest()
268 int bcount, pcount; in test_hash_jiffies() local
274 for (start = jiffies, end = start + sec * HZ, bcount = 0; in test_hash_jiffies()
[all …]
/linux-3.4.99/drivers/ide/
Dide-atapi.c323 void ide_read_bcount_and_ireason(ide_drive_t *drive, u16 *bcount, u8 *ireason) in ide_read_bcount_and_ireason() argument
330 *bcount = (tf.lbah << 8) | tf.lbam; in ide_read_bcount_and_ireason()
397 u16 bcount; in ide_pc_intr() local
506 ide_read_bcount_and_ireason(drive, &bcount, &ireason); in ide_pc_intr()
508 if (ide_check_ireason(drive, rq, bcount, ireason, write)) in ide_pc_intr()
511 done = min_t(unsigned int, bcount, cmd->nleft); in ide_pc_intr()
517 bcount -= done; in ide_pc_intr()
519 if (bcount) in ide_pc_intr()
520 ide_pad_transfer(drive, write, bcount); in ide_pc_intr()
523 rq->cmd[0], done, bcount, rq->resid_len); in ide_pc_intr()
[all …]
Dide-dma-sff.c124 u32 cur_addr, cur_len, xcount, bcount; in ide_build_dmatable() local
139 bcount = 0x10000 - (cur_addr & 0xffff); in ide_build_dmatable()
140 if (bcount > cur_len) in ide_build_dmatable()
141 bcount = cur_len; in ide_build_dmatable()
143 xcount = bcount & 0xffff; in ide_build_dmatable()
154 cur_addr += bcount; in ide_build_dmatable()
155 cur_len -= bcount; in ide_build_dmatable()
Dtx4939ide.c244 u32 cur_addr, cur_len, bcount; in tx4939ide_build_dmatable() local
257 bcount = 0x10000 - (cur_addr & 0xffff); in tx4939ide_build_dmatable()
258 if (bcount > cur_len) in tx4939ide_build_dmatable()
259 bcount = cur_len; in tx4939ide_build_dmatable()
264 if (bcount == 0x10000) in tx4939ide_build_dmatable()
265 bcount = 0x8000; in tx4939ide_build_dmatable()
266 *table++ = bcount & 0xffff; in tx4939ide_build_dmatable()
268 cur_addr += bcount; in tx4939ide_build_dmatable()
269 cur_len -= bcount; in tx4939ide_build_dmatable()
Dsgiioc4.c435 u32 bcount = in sgiioc4_build_dmatable() local
438 if (bcount > cur_len) in sgiioc4_build_dmatable()
439 bcount = cur_len; in sgiioc4_build_dmatable()
452 *table = cpu_to_be32(bcount); in sgiioc4_build_dmatable()
455 cur_addr += bcount; in sgiioc4_build_dmatable()
456 cur_len -= bcount; in sgiioc4_build_dmatable()
Dide-tape.c989 static void idetape_pad_zeros(ide_drive_t *drive, int bcount) in idetape_pad_zeros() argument
995 while (bcount) { in idetape_pad_zeros()
996 unsigned int count = min(tape->buffer_size, bcount); in idetape_pad_zeros()
999 bcount -= count; in idetape_pad_zeros()
/linux-3.4.99/drivers/char/
Dnwbutton.c33 static int bcount; /* The number of bytes in the buffer */ variable
137 bcount = sprintf (button_output_buffer, "%d\n", button_press_count); in button_sequence_finished()
172 return (copy_to_user (buffer, &button_output_buffer, bcount)) in button_read()
173 ? -EFAULT : bcount; in button_read()
/linux-3.4.99/include/media/
Dvideobuf-core.h229 unsigned int bcount, unsigned int bsize,
232 unsigned int bcount, unsigned int bsize,
/linux-3.4.99/arch/blackfin/include/asm/
Dbfin_dma.h86 __BFP(bcount);
/linux-3.4.99/fs/xfs/
Dxfs_itable.c615 int bcount; in xfs_inumbers() local
631 bcount = MIN(left, (int)(PAGE_SIZE / sizeof(*buffer))); in xfs_inumbers()
632 buffer = kmem_alloc(bcount * sizeof(*buffer), KM_SLEEP); in xfs_inumbers()
685 if (bufidx == bcount) { in xfs_inumbers()
Dxfs_log_recover.c450 int bcount; in xlog_find_verify_cycle() local
452 bcount = min(bufblks, (start_blk + nbblks - i)); in xlog_find_verify_cycle()
454 error = xlog_bread(log, i, bcount, bp, &buf); in xlog_find_verify_cycle()
458 for (j = 0; j < bcount; j++) { in xlog_find_verify_cycle()
1248 int bcount, endcount; in xlog_write_log_records() local
1250 bcount = min(bufblks, end_block - start_block); in xlog_write_log_records()
1251 endcount = bcount - j; in xlog_write_log_records()
Dxfs_trace.h699 __field(unsigned long long, bcount)
712 __entry->bcount = be64_to_cpu(dqp->q_core.d_bcount);
731 __entry->bcount,
/linux-3.4.99/sound/oss/
Dsb_audio.c256 static int sb1_audio_prepare_for_input(int dev, int bsize, int bcount) in sb1_audio_prepare_for_input() argument
271 static int sb1_audio_prepare_for_output(int dev, int bsize, int bcount) in sb1_audio_prepare_for_output() argument
468 static int sbpro_audio_prepare_for_input(int dev, int bsize, int bcount) in sbpro_audio_prepare_for_input() argument
496 static int sbpro_audio_prepare_for_output(int dev, int bsize, int bcount) in sbpro_audio_prepare_for_output() argument
632 static int sb16_audio_prepare_for_input(int dev, int bsize, int bcount) in sb16_audio_prepare_for_input() argument
658 static int sb16_audio_prepare_for_output(int dev, int bsize, int bcount) in sb16_audio_prepare_for_output() argument
Dpas2_pcm.c363 static int pas_audio_prepare_for_input(int dev, int bsize, int bcount) in pas_audio_prepare_for_input() argument
369 static int pas_audio_prepare_for_output(int dev, int bsize, int bcount) in pas_audio_prepare_for_output() argument
Dsb_ess.c438 static int ess_audio_prepare_for_input(int dev, int bsize, int bcount) in ess_audio_prepare_for_input() argument
459 static int ess_audio_prepare_for_output_audio1 (int dev, int bsize, int bcount) in ess_audio_prepare_for_output_audio1() argument
480 static int ess_audio_prepare_for_output_audio2 (int dev, int bsize, int bcount) in ess_audio_prepare_for_output_audio2() argument
518 static int ess_audio_prepare_for_output(int dev, int bsize, int bcount) in ess_audio_prepare_for_output() argument
528 return ess_audio_prepare_for_output_audio2 (dev, bsize, bcount); in ess_audio_prepare_for_output()
530 return ess_audio_prepare_for_output_audio1 (dev, bsize, bcount); in ess_audio_prepare_for_output()
Dvidc.c321 static int vidc_audio_prepare_for_input(int dev, int bsize, int bcount) in vidc_audio_prepare_for_input() argument
338 static int vidc_audio_prepare_for_output(int dev, int bsize, int bcount) in vidc_audio_prepare_for_output() argument
Dad1848.c193 static int ad1848_prepare_for_output(int dev, int bsize, int bcount);
194 static int ad1848_prepare_for_input(int dev, int bsize, int bcount);
1127 static int ad1848_prepare_for_output(int dev, int bsize, int bcount) in ad1848_prepare_for_output() argument
1195 static int ad1848_prepare_for_input(int dev, int bsize, int bcount) in ad1848_prepare_for_input() argument
Dwaveartist.c560 waveartist_prepare_for_input(int dev, int bsize, int bcount) in waveartist_prepare_for_input() argument
615 waveartist_prepare_for_output(int dev, int bsize, int bcount) in waveartist_prepare_for_output() argument
/linux-3.4.99/drivers/media/video/
Dvideobuf-core.c385 unsigned int bcount, unsigned int bsize, in __videobuf_mmap_setup() argument
398 for (i = 0; i < bcount; i++) { in __videobuf_mmap_setup()
429 unsigned int bcount, unsigned int bsize, in videobuf_mmap_setup() argument
434 ret = __videobuf_mmap_setup(q, bcount, bsize, memory); in videobuf_mmap_setup()
/linux-3.4.99/fs/ext3/
Dnamei.c257 unsigned bcount; member
295 unsigned bcount = 0; in dx_show_entries() local
311 bcount += stats.bcount; in dx_show_entries()
314 if (bcount) in dx_show_entries()
316 names, space/bcount,(space/bcount)*100/blocksize); in dx_show_entries()
317 return (struct stats) { names, space, bcount}; in dx_show_entries()
/linux-3.4.99/fs/ext4/
Dnamei.c270 unsigned bcount; member
308 unsigned bcount = 0; in dx_show_entries() local
325 bcount += stats.bcount; in dx_show_entries()
328 if (bcount) in dx_show_entries()
330 levels ? "" : " ", names, space/bcount, in dx_show_entries()
331 (space/bcount)*100/blocksize); in dx_show_entries()
332 return (struct stats) { names, space, bcount}; in dx_show_entries()
/linux-3.4.99/drivers/rapidio/devices/
Dtsi721.h480 __le32 bcount; member
/linux-3.4.99/fs/udf/
Dinode.c2130 loff_t lbcount = 0, bcount = in inode_bmap() local
2144 *offset = (bcount - lbcount) >> blocksize_bits; in inode_bmap()
2149 } while (lbcount <= bcount); in inode_bmap()
2151 *offset = (bcount + *elen - lbcount) >> blocksize_bits; in inode_bmap()
/linux-3.4.99/drivers/atm/
Dnicstar.c363 int bcount; in ns_init_card() local
697 if ((bcount = in ns_init_card()
701 i, j, bcount); in ns_init_card()
727 if ((bcount = in ns_init_card()
731 i, j, bcount); in ns_init_card()

12