Home
last modified time | relevance | path

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

/drivers/media/pci/cx25821/
Dcx25821-sram.h231 #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/
Dnwbutton.c34 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/
Dtsi721_dma.c343 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 …]
Dtsi721.h519 __le32 bcount; member
Dtsi721.c131 bd_ptr[0].bcount = cpu_to_le32((sys_size << 26) | 0x04); in tsi721_maint_dma()
/drivers/media/pci/sta2x11/
Dsta2x11_vip.c136 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/
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()
/drivers/infiniband/hw/mlx5/
Dodp.c106 pklm->bcount = cpu_to_be32(MLX5_IMR_MTT_SIZE); in populate_klm()
135 pklm->bcount = cpu_to_be32(MLX5_IMR_MTT_SIZE); in populate_klm()
921 if (offset >= be32_to_cpu(pklm->bcount)) { in pagefault_single_data_segment()
922 offset -= be32_to_cpu(pklm->bcount); in pagefault_single_data_segment()
935 be32_to_cpu(pklm->bcount) - offset); in pagefault_single_data_segment()
Dwr.c442 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()
Dmr.c2457 klms[i].bcount = cpu_to_be32(sg_dma_len(sg) - sg_offset); in mlx5_ib_sg_to_klms()
2478 klms[i + j].bcount = cpu_to_be32(sg_dma_len(sg) - in mlx5_ib_sg_to_klms()
/drivers/vdpa/mlx5/core/
Dmr.c166 klm->bcount = cpu_to_be32(klm_bcount(dmr->end - dmr->start)); in fill_indir()
170 klm->bcount = cpu_to_be32(klm_bcount(dmr->start - preve)); in fill_indir()
/drivers/atm/
Dnicstar.c355 int bcount; in ns_init_card() local
698 if ((bcount = in ns_init_card()
702 i, j, bcount); in ns_init_card()
728 if ((bcount = in ns_init_card()
732 i, j, bcount); in ns_init_card()
/drivers/isdn/hardware/mISDN/
Dhfcmulti.c4807 int bcount = 0; in init_e1_port() local
4854 bcount++; in init_e1_port()
4856 dch->dev.nrbchan = bcount; in init_e1_port()