/drivers/ide/ |
D | ide-atapi.c | 349 void ide_read_bcount_and_ireason(ide_drive_t *drive, u16 *bcount, u8 *ireason) in ide_read_bcount_and_ireason() argument 356 *bcount = (tf.lbah << 8) | tf.lbam; in ide_read_bcount_and_ireason() 423 u16 bcount; in ide_pc_intr() local 533 ide_read_bcount_and_ireason(drive, &bcount, &ireason); in ide_pc_intr() 535 if (ide_check_ireason(drive, rq, bcount, ireason, write)) in ide_pc_intr() 538 done = min_t(unsigned int, bcount, cmd->nleft); in ide_pc_intr() 544 bcount -= done; in ide_pc_intr() 546 if (bcount) in ide_pc_intr() 547 ide_pad_transfer(drive, write, bcount); in ide_pc_intr() 550 scsi_req(rq)->cmd[0], done, bcount, scsi_req(rq)->resid_len); in ide_pc_intr() [all …]
|
D | ide-dma-sff.c | 125 u32 cur_addr, cur_len, xcount, bcount; in ide_build_dmatable() local 140 bcount = 0x10000 - (cur_addr & 0xffff); in ide_build_dmatable() 141 if (bcount > cur_len) in ide_build_dmatable() 142 bcount = cur_len; in ide_build_dmatable() 144 xcount = bcount & 0xffff; in ide_build_dmatable() 155 cur_addr += bcount; in ide_build_dmatable() 156 cur_len -= bcount; in ide_build_dmatable()
|
D | tx4939ide.c | 243 u32 cur_addr, cur_len, bcount; in tx4939ide_build_dmatable() local 256 bcount = 0x10000 - (cur_addr & 0xffff); in tx4939ide_build_dmatable() 257 if (bcount > cur_len) in tx4939ide_build_dmatable() 258 bcount = cur_len; in tx4939ide_build_dmatable() 263 if (bcount == 0x10000) in tx4939ide_build_dmatable() 264 bcount = 0x8000; in tx4939ide_build_dmatable() 265 *table++ = bcount & 0xffff; in tx4939ide_build_dmatable() 267 cur_addr += bcount; in tx4939ide_build_dmatable() 268 cur_len -= bcount; in tx4939ide_build_dmatable()
|
D | ide-tape.c | 992 static void idetape_pad_zeros(ide_drive_t *drive, int bcount) in idetape_pad_zeros() argument 998 while (bcount) { in idetape_pad_zeros() 999 unsigned int count = min(tape->buffer_size, bcount); in idetape_pad_zeros() 1002 bcount -= count; in idetape_pad_zeros()
|
/drivers/media/pci/cx25821/ |
D | cx25821-sram.h | 231 #define BYTES_TO_DWORDS(bcount) ((bcount) >> 2) argument 232 #define BYTES_TO_QWORDS(bcount) ((bcount) >> 3) argument 233 #define BYTES_TO_OWORDS(bcount) ((bcount) >> 4) argument
|
/drivers/char/ |
D | nwbutton.c | 34 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()
|
/drivers/rapidio/devices/ |
D | tsi721_dma.c | 343 bd_ptr->bcount = cpu_to_le32(((desc->rio_addr & 0x3) << 30) | in tsi721_desc_fill_init() 359 tsi721_desc_fill_end(struct tsi721_dma_desc *bd_ptr, u32 bcount, bool interrupt) in tsi721_desc_fill_end() argument 367 bd_ptr->bcount |= cpu_to_le32(bcount & TSI721_DMAD_BCOUNT1); in tsi721_desc_fill_end() 416 u32 bcount; in tsi721_submit_sg() local 437 bcount = 0; in tsi721_submit_sg() 471 bcount + sg_dma_len(sg) <= TSI721_BDMA_MAX_BCOUNT) { in tsi721_submit_sg() 473 bcount += sg_dma_len(sg); in tsi721_submit_sg() 477 tsi721_desc_fill_end(bd_ptr, bcount, 0); in tsi721_submit_sg() 479 bdma_chan->id, bcount); in tsi721_submit_sg() 504 bcount = sg_dma_len(sg); in tsi721_submit_sg() [all …]
|
D | tsi721.h | 519 __le32 bcount; member
|
D | tsi721.c | 131 bd_ptr[0].bcount = cpu_to_le32((sys_size << 26) | 0x04); in tsi721_maint_dma()
|
/drivers/media/pci/sta2x11/ |
D | sta2x11_vip.c | 136 int tcount, bcount; member 243 vip->bcount = 0; in vip_active_buf_next() 267 vip->bcount = 0; in queue_setup() 796 vip->bcount++; in vip_irq()
|
/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()
|
/drivers/infiniband/hw/mlx5/ |
D | wr.c | 442 int bcount = mr->desc_size * (mr->ndescs + mr->meta_ndescs); in set_reg_data_seg() local 445 dseg->byte_count = cpu_to_be32(ALIGN(bcount, 64)); in set_reg_data_seg() 680 data_klm->bcount = cpu_to_be32(data_len); in set_sig_data_segment() 719 data_sentry->bcount = cpu_to_be16(block_size); in set_sig_data_segment() 724 prot_sentry->bcount = cpu_to_be16(prot_size); in set_sig_data_segment()
|
D | odp.c | 104 pklm->bcount = cpu_to_be32(MLX5_IMR_MTT_SIZE); in populate_klm() 137 pklm->bcount = cpu_to_be32(MLX5_IMR_MTT_SIZE); in populate_klm() 982 if (offset >= be32_to_cpu(pklm->bcount)) { in pagefault_single_data_segment() 983 offset -= be32_to_cpu(pklm->bcount); in pagefault_single_data_segment() 996 be32_to_cpu(pklm->bcount) - offset); in pagefault_single_data_segment()
|
D | mr.c | 2186 klms[i].bcount = cpu_to_be32(sg_dma_len(sg) - sg_offset); in mlx5_ib_sg_to_klms() 2207 klms[i + j].bcount = cpu_to_be32(sg_dma_len(sg) - in mlx5_ib_sg_to_klms()
|
/drivers/vdpa/mlx5/core/ |
D | mr.c | 165 klm->bcount = cpu_to_be32(klm_bcount(dmr->end - dmr->start)); in fill_indir() 169 klm->bcount = cpu_to_be32(klm_bcount(dmr->start - preve)); in fill_indir()
|
/drivers/atm/ |
D | nicstar.c | 353 int bcount; in ns_init_card() local 696 if ((bcount = in ns_init_card() 700 i, j, bcount); in ns_init_card() 726 if ((bcount = in ns_init_card() 730 i, j, bcount); in ns_init_card()
|
/drivers/isdn/hardware/mISDN/ |
D | hfcmulti.c | 4809 int bcount = 0; in init_e1_port() local 4856 bcount++; in init_e1_port() 4858 dch->dev.nrbchan = bcount; in init_e1_port()
|