/linux-4.4.14/drivers/media/pci/cx25821/ |
D | cx25821-sram.h | 245 #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-4.4.14/drivers/ide/ |
D | ide-atapi.c | 323 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 …]
|
D | ide-dma-sff.c | 124 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()
|
D | tx4939ide.c | 244 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()
|
D | sgiioc4.c | 434 u32 bcount = in sgiioc4_build_dmatable() local 437 if (bcount > cur_len) in sgiioc4_build_dmatable() 438 bcount = cur_len; in sgiioc4_build_dmatable() 451 *table = cpu_to_be32(bcount); in sgiioc4_build_dmatable() 454 cur_addr += bcount; in sgiioc4_build_dmatable() 455 cur_len -= bcount; in sgiioc4_build_dmatable()
|
D | ide-tape.c | 989 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-4.4.14/drivers/char/ |
D | nwbutton.c | 33 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() 175 return (copy_to_user (buffer, &button_output_buffer, bcount)) in button_read() 176 ? -EFAULT : bcount; in button_read()
|
/linux-4.4.14/crypto/ |
D | tcrypt.c | 98 int bcount; in test_cipher_jiffies() local 101 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_cipher_jiffies() 102 time_before(jiffies, end); bcount++) { in test_cipher_jiffies() 113 bcount, secs, (long)bcount * blen); in test_cipher_jiffies() 182 int bcount; in test_aead_jiffies() local 185 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_aead_jiffies() 186 time_before(jiffies, end); bcount++) { in test_aead_jiffies() 197 bcount, secs, (long)bcount * blen); in test_aead_jiffies() 562 int bcount; in test_hash_jiffies_digest() local 565 for (start = jiffies, end = start + secs * HZ, bcount = 0; in test_hash_jiffies_digest() [all …]
|
/linux-4.4.14/drivers/rapidio/devices/ |
D | tsi721_dma.c | 348 bd_ptr->bcount = cpu_to_le32(((desc->rio_addr & 0x3) << 30) | in tsi721_desc_fill_init() 364 tsi721_desc_fill_end(struct tsi721_dma_desc *bd_ptr, u32 bcount, bool interrupt) in tsi721_desc_fill_end() argument 372 bd_ptr->bcount |= cpu_to_le32(bcount & TSI721_DMAD_BCOUNT1); in tsi721_desc_fill_end() 421 u32 bcount; in tsi721_submit_sg() local 441 bcount = 0; in tsi721_submit_sg() 475 bcount + sg_dma_len(sg) <= TSI721_BDMA_MAX_BCOUNT) { in tsi721_submit_sg() 477 bcount += sg_dma_len(sg); in tsi721_submit_sg() 481 tsi721_desc_fill_end(bd_ptr, bcount, 0); in tsi721_submit_sg() 484 __func__, bcount); in tsi721_submit_sg() 510 bcount = sg_dma_len(sg); in tsi721_submit_sg() [all …]
|
D | tsi721.h | 492 __le32 bcount; member
|
D | tsi721.c | 126 bd_ptr[0].bcount = cpu_to_le32((sys_size << 26) | 0x04); in tsi721_maint_dma()
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/linux/ |
D | linux-crypto.c | 204 int bcount, err = 0; in cfs_crypto_performance_test() local 209 for (start = jiffies, end = start + sec * HZ, bcount = 0; in cfs_crypto_performance_test() 210 time_before(jiffies, end); bcount++) { in cfs_crypto_performance_test() 226 tmp = ((bcount * buf_len / jiffies_to_msecs(end - start)) * in cfs_crypto_performance_test()
|
/linux-4.4.14/include/media/ |
D | videobuf-core.h | 227 unsigned int bcount, unsigned int bsize, 230 unsigned int bcount, unsigned int bsize,
|
/linux-4.4.14/fs/xfs/ |
D | xfs_itable.c | 567 int bcount; in xfs_inumbers() local 577 bcount = MIN(left, (int)(PAGE_SIZE / sizeof(*buffer))); in xfs_inumbers() 578 buffer = kmem_alloc(bcount * sizeof(*buffer), KM_SLEEP); in xfs_inumbers() 609 if (++bufidx == bcount) { in xfs_inumbers()
|
D | xfs_log_recover.c | 465 int bcount; in xlog_find_verify_cycle() local 467 bcount = min(bufblks, (start_blk + nbblks - i)); in xlog_find_verify_cycle() 469 error = xlog_bread(log, i, bcount, bp, &buf); in xlog_find_verify_cycle() 473 for (j = 0; j < bcount; j++) { in xlog_find_verify_cycle() 1268 int bcount, endcount; in xlog_write_log_records() local 1270 bcount = min(bufblks, end_block - start_block); in xlog_write_log_records() 1271 endcount = bcount - j; in xlog_write_log_records()
|
D | xfs_trace.h | 875 __field(unsigned long long, bcount) 888 __entry->bcount = be64_to_cpu(dqp->q_core.d_bcount); 907 __entry->bcount,
|
/linux-4.4.14/sound/oss/ |
D | pas2_pcm.c | 347 static int pas_audio_prepare_for_input(int dev, int bsize, int bcount) in pas_audio_prepare_for_input() argument 353 static int pas_audio_prepare_for_output(int dev, int bsize, int bcount) in pas_audio_prepare_for_output() argument
|
D | sb_audio.c | 252 static int sb1_audio_prepare_for_input(int dev, int bsize, int bcount) in sb1_audio_prepare_for_input() argument 267 static int sb1_audio_prepare_for_output(int dev, int bsize, int bcount) in sb1_audio_prepare_for_output() argument 465 static int sbpro_audio_prepare_for_input(int dev, int bsize, int bcount) in sbpro_audio_prepare_for_input() argument 493 static int sbpro_audio_prepare_for_output(int dev, int bsize, int bcount) in sbpro_audio_prepare_for_output() argument 631 static int sb16_audio_prepare_for_input(int dev, int bsize, int bcount) in sb16_audio_prepare_for_input() argument 657 static int sb16_audio_prepare_for_output(int dev, int bsize, int bcount) in sb16_audio_prepare_for_output() argument
|
D | sb_ess.c | 438 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()
|
D | vidc.c | 321 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
|
D | ad1848.c | 191 static int ad1848_prepare_for_output(int dev, int bsize, int bcount); 192 static int ad1848_prepare_for_input(int dev, int bsize, int bcount); 1123 static int ad1848_prepare_for_output(int dev, int bsize, int bcount) in ad1848_prepare_for_output() argument 1191 static int ad1848_prepare_for_input(int dev, int bsize, int bcount) in ad1848_prepare_for_input() argument
|
D | waveartist.c | 567 waveartist_prepare_for_input(int dev, int bsize, int bcount) in waveartist_prepare_for_input() argument 624 waveartist_prepare_for_output(int dev, int bsize, int bcount) in waveartist_prepare_for_output() argument
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | bfin_dma.h | 159 __BFP(bcount);
|
/linux-4.4.14/include/linux/mlx5/ |
D | qp.h | 381 __be32 bcount; member 388 __be16 bcount; member
|
/linux-4.4.14/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 152 int tcount, bcount; member 259 vip->bcount = 0; in vip_active_buf_next() 284 vip->bcount = 0; in queue_setup() 812 vip->bcount++; in vip_irq()
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | videobuf-core.c | 385 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-4.4.14/fs/udf/ |
D | inode.c | 90 static int udf_read_extent_cache(struct inode *inode, loff_t bcount, in udf_read_extent_cache() argument 97 if ((iinfo->cached_extent.lstart <= bcount) && in udf_read_extent_cache() 2250 loff_t lbcount = 0, bcount = in inode_bmap() local 2256 if (!udf_read_extent_cache(inode, bcount, &lbcount, pos)) { in inode_bmap() 2265 *offset = (bcount - lbcount) >> blocksize_bits; in inode_bmap() 2270 } while (lbcount <= bcount); in inode_bmap() 2273 *offset = (bcount + *elen - lbcount) >> blocksize_bits; in inode_bmap()
|
/linux-4.4.14/fs/ext4/ |
D | namei.c | 593 unsigned bcount; member 690 unsigned bcount = 0; in dx_show_entries() local 709 bcount += stats.bcount; in dx_show_entries() 712 if (bcount) in dx_show_entries() 714 levels ? "" : " ", names, space/bcount, in dx_show_entries() 715 (space/bcount)*100/blocksize); in dx_show_entries() 716 return (struct stats) { names, space, bcount}; in dx_show_entries()
|
/linux-4.4.14/drivers/atm/ |
D | nicstar.c | 354 int bcount; in ns_init_card() local 687 if ((bcount = in ns_init_card() 691 i, j, bcount); in ns_init_card() 717 if ((bcount = in ns_init_card() 721 i, j, bcount); in ns_init_card()
|
/linux-4.4.14/drivers/infiniband/hw/mlx5/ |
D | qp.c | 2039 int bcount = mr->desc_size * mr->ndescs; in set_reg_data_seg() local 2042 dseg->byte_count = cpu_to_be32(ALIGN(bcount, 64)); in set_reg_data_seg() 2252 data_klm->bcount = cpu_to_be32(data_len); in set_sig_data_segment() 2293 data_sentry->bcount = cpu_to_be16(block_size); in set_sig_data_segment() 2298 prot_sentry->bcount = cpu_to_be16(prot_size); in set_sig_data_segment()
|
/linux-4.4.14/fs/reiserfs/ |
D | journal.c | 2991 unsigned long bcount = journal->j_bcount; in let_transaction_grow() local 3007 if (bcount == journal->j_bcount) in let_transaction_grow() 3009 bcount = journal->j_bcount; in let_transaction_grow()
|
/linux-4.4.14/fs/ocfs2/ |
D | alloc.c | 7275 u64 discard, bcount; in ocfs2_trim_extent() local 7277 bcount = ocfs2_clusters_to_blocks(sb, count); in ocfs2_trim_extent() 7281 trace_ocfs2_trim_extent(sb, (unsigned long long)discard, bcount); in ocfs2_trim_extent() 7283 return sb_issue_discard(sb, discard, bcount, GFP_NOFS, 0); in ocfs2_trim_extent()
|
/linux-4.4.14/drivers/isdn/hardware/mISDN/ |
D | hfcmulti.c | 4820 int bcount = 0; in init_e1_port() local 4867 bcount++; in init_e1_port() 4869 dch->dev.nrbchan = bcount; in init_e1_port()
|
/linux-4.4.14/arch/blackfin/kernel/ |
D | debug-mmrs.c | 325 __HMDMA(BCOUNT, bcount); in bfin_debug_mmrs_hmdma()
|