Home
last modified time | relevance | path

Searched refs:bcount (Results 1 – 16 of 16) 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/net/ethernet/mellanox/mlx5/core/en/xsk/
Drx.c112 .bcount = frame_size, in mlx5e_xsk_alloc_rx_mpwqe()
117 .bcount = pad_size, in mlx5e_xsk_alloc_rx_mpwqe()
/drivers/media/pci/sta2x11/
Dsta2x11_vip.c137 int tcount, bcount; member
244 vip->bcount = 0; in vip_active_buf_next()
268 vip->bcount = 0; in queue_setup()
794 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/
Dwr.c221 int bcount = mr->desc_size * (mr->mmkey.ndescs + mr->meta_ndescs); in set_reg_data_seg() local
224 dseg->byte_count = cpu_to_be32(ALIGN(bcount, 64)); in set_reg_data_seg()
459 data_klm->bcount = cpu_to_be32(data_len); in set_sig_data_segment()
498 data_sentry->bcount = cpu_to_be16(block_size); in set_sig_data_segment()
503 prot_sentry->bcount = cpu_to_be16(prot_size); in set_sig_data_segment()
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()
902 if (offset >= be32_to_cpu(pklm->bcount)) { in pagefault_single_data_segment()
903 offset -= be32_to_cpu(pklm->bcount); in pagefault_single_data_segment()
916 be32_to_cpu(pklm->bcount) - offset); in pagefault_single_data_segment()
Dmr.c2379 klms[i].bcount = cpu_to_be32(sg_dma_len(sg) - sg_offset); in mlx5_ib_sg_to_klms()
2400 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.c4777 int bcount = 0; in init_e1_port() local
4824 bcount++; in init_e1_port()
4826 dch->dev.nrbchan = bcount; in init_e1_port()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c399 .bcount = cpu_to_be32(xsk_chunk_size), in mlx5e_create_umr_mkey()
404 .bcount = cpu_to_be32((1 << page_shift) - xsk_chunk_size), in mlx5e_create_umr_mkey()
Den_rx.c687 umr_wqe->inline_klms[i].bcount = in mlx5e_build_shampo_hd_umr()