Home
last modified time | relevance | path

Searched refs:bcnt (Results 1 – 25 of 45) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.c118 int bcnt = 0; in pvr2_debugifc_print_info() local
122 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_info()
124 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_info()
126 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_info()
128 return bcnt; in pvr2_debugifc_print_info()
135 int bcnt = 0; in pvr2_debugifc_print_status() local
145 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_status()
153 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_status()
157 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_status()
172 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_status()
[all …]
Dpvrusb2-ioread.c391 unsigned int bcnt; in pvr2_ioread_read() local
427 bcnt = cp->sync_key_len - cp->sync_buf_offs; in pvr2_ioread_read()
431 bcnt = cp->c_data_len - cp->c_data_offs; in pvr2_ioread_read()
434 if (!bcnt) break; in pvr2_ioread_read()
437 if (bcnt > cnt) bcnt = cnt; in pvr2_ioread_read()
439 if (copy_to_user(buf,src,bcnt)) { in pvr2_ioread_read()
446 cnt -= bcnt; in pvr2_ioread_read()
447 buf += bcnt; in pvr2_ioread_read()
448 copied_cnt += bcnt; in pvr2_ioread_read()
453 cp->sync_buf_offs += bcnt; in pvr2_ioread_read()
[all …]
Dpvrusb2-i2c-core.c385 u16 tcnt,bcnt,offs; in pvr2_i2c_xfer() local
401 bcnt = tcnt; in pvr2_i2c_xfer()
402 if (bcnt > sizeof(hdw->cmd_buffer)-1) { in pvr2_i2c_xfer()
403 bcnt = sizeof(hdw->cmd_buffer)-1; in pvr2_i2c_xfer()
406 msgs[0].buf+offs,bcnt)) { in pvr2_i2c_xfer()
410 offs += bcnt; in pvr2_i2c_xfer()
411 tcnt -= bcnt; in pvr2_i2c_xfer()
432 u16 tcnt,bcnt,wcnt,offs; in pvr2_i2c_xfer() local
441 bcnt = tcnt; in pvr2_i2c_xfer()
442 if (bcnt > sizeof(hdw->cmd_buffer)-1) { in pvr2_i2c_xfer()
[all …]
Dpvrusb2-std.c282 unsigned int bcnt; in pvr2_std_fill() local
289 bcnt = pvr2_std_id_to_str(std->name,sizeof(std->name)-1,id); in pvr2_std_fill()
290 std->name[bcnt] = 0; in pvr2_std_fill()
309 unsigned int idx,bcnt,idx2; in pvr2_std_create_enum() local
315 bcnt = pvr2_std_id_to_str(buf,sizeof(buf),id); in pvr2_std_create_enum()
318 (int)id,bcnt,buf); in pvr2_std_create_enum()
343 bcnt = pvr2_std_id_to_str(buf,sizeof(buf),fmsk); in pvr2_std_create_enum()
347 bcnt,buf); in pvr2_std_create_enum()
Dpvrusb2-sysfs.c197 unsigned int bcnt, ccnt, ecnt; in show_enum() local
200 bcnt = 0; in show_enum()
202 pvr2_ctrl_get_valname(cip->cptr, val, buf + bcnt, in show_enum()
203 PAGE_SIZE - bcnt, &ccnt); in show_enum()
205 bcnt += ccnt; in show_enum()
206 if (bcnt >= PAGE_SIZE) break; in show_enum()
207 buf[bcnt] = '\n'; in show_enum()
208 bcnt++; in show_enum()
212 return bcnt; in show_enum()
221 unsigned int bcnt, ccnt; in show_bits() local
[all …]
Dpvrusb2-hdw.c1504 unsigned int pipe, fw_len, fw_done, bcnt, icnt; in pvr2_upload_firmware2() local
1589 bcnt = fw_len - fw_done; in pvr2_upload_firmware2()
1590 if (bcnt > FIRMWARE_CHUNK_SIZE) bcnt = FIRMWARE_CHUNK_SIZE; in pvr2_upload_firmware2()
1591 memcpy(fw_ptr, fw_entry->data + fw_done, bcnt); in pvr2_upload_firmware2()
1604 for (icnt = 0; icnt < bcnt/4 ; icnt++) in pvr2_upload_firmware2()
1607 ret |= usb_bulk_msg(hdw->usb_dev, pipe, fw_ptr,bcnt, in pvr2_upload_firmware2()
1609 ret |= (actual_length != bcnt); in pvr2_upload_firmware2()
1611 fw_done += bcnt; in pvr2_upload_firmware2()
1862 unsigned int bcnt; in pvr2_hdw_setup_std() local
1868 bcnt = pvr2_std_id_to_str(buf,sizeof(buf),hdw->std_mask_eeprom); in pvr2_hdw_setup_std()
[all …]
Dpvrusb2-io.c118 unsigned int *bcnt; in pvr2_buffer_remove() local
124 bcnt = &sp->i_bcount; in pvr2_buffer_remove()
129 bcnt = &sp->q_bcount; in pvr2_buffer_remove()
134 bcnt = &sp->r_bcount; in pvr2_buffer_remove()
142 (*bcnt) -= ccnt; in pvr2_buffer_remove()
145 pvr2_buffer_state_decode(bp->state), *bcnt, *cnt); in pvr2_buffer_remove()
/kernel/linux/linux-5.10/drivers/crypto/caam/
Ddpseci-debugfs.c12 u32 fqid, fcnt, bcnt; in dpseci_dbg_fqs_show() local
23 err = dpaa2_io_query_fq_count(NULL, fqid, &fcnt, &bcnt); in dpseci_dbg_fqs_show()
27 seq_printf(file, "%5d%16u%16u\n", fqid, fcnt, bcnt); in dpseci_dbg_fqs_show()
37 err = dpaa2_io_query_fq_count(NULL, fqid, &fcnt, &bcnt); in dpseci_dbg_fqs_show()
41 seq_printf(file, "%5d%16u%16u\n", fqid, fcnt, bcnt); in dpseci_dbg_fqs_show()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dodp.c671 u64 user_va, size_t bcnt, u32 *bytes_mapped, in pagefault_real_mr() argument
691 np = ib_umem_odp_map_dma_and_lock(odp, user_va, bcnt, access_mask, fault); in pagefault_real_mr()
713 *bytes_mapped += min_t(u32, new_mappings, bcnt); in pagefault_real_mr()
724 size_t bcnt, u32 *bytes_mapped, u32 flags) in pagefault_implicit_mr() argument
726 unsigned long end_idx = (user_va + bcnt - 1) >> MLX5_IMR_MTT_SHIFT; in pagefault_implicit_mr()
734 mlx5_imr_ksm_entries * MLX5_IMR_MTT_SIZE - user_va < bcnt)) in pagefault_implicit_mr()
738 while (bcnt) { in pagefault_implicit_mr()
756 len = min_t(u64, user_va + bcnt, ib_umem_end(umem_odp)) - in pagefault_implicit_mr()
764 bcnt -= len; in pagefault_implicit_mr()
809 static int pagefault_mr(struct mlx5_ib_mr *mr, u64 io_virt, size_t bcnt, in pagefault_mr() argument
[all …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/
Dx_tables.h82 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0)
83 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0)
85 __u64 pcnt, bcnt; member
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/
Dx_tables.h107 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0)
108 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0)
111 __u64 pcnt, bcnt; /* Packet and byte counters */ member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/
Dx_tables.h79 #define SET_COUNTER(c,b,p) do { (c).bcnt = (b); (c).pcnt = (p); } while(0)
80 #define ADD_COUNTER(c,b,p) do { (c).bcnt += (b); (c).pcnt += (p); } while(0)
82 __u64 pcnt, bcnt; member
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth-debugfs.c63 u32 fcnt, bcnt; in dpaa2_dbg_fqs_show() local
72 err = dpaa2_io_query_fq_count(NULL, fq->fqid, &fcnt, &bcnt); in dpaa2_dbg_fqs_show()
Ddpaa2-ethtool.c232 u32 fcnt, bcnt; in dpaa2_eth_get_ethtool_stats() local
289 &fcnt, &bcnt); in dpaa2_eth_get_ethtool_stats()
297 bcnt_tx_total += bcnt; in dpaa2_eth_get_ethtool_stats()
300 bcnt_rx_total += bcnt; in dpaa2_eth_get_ethtool_stats()
/kernel/linux/linux-5.10/drivers/block/aoe/
Daoecmd.c1475 int bcnt = 0; in setdbcnt() local
1480 if (bcnt == 0 || bcnt > (*t)->minbcnt) in setdbcnt()
1481 bcnt = (*t)->minbcnt; in setdbcnt()
1482 if (bcnt != d->maxbcnt) { in setdbcnt()
1483 d->maxbcnt = bcnt; in setdbcnt()
1485 d->aoemajor, d->aoeminor, bcnt); in setdbcnt()
1490 setifbcnt(struct aoetgt *t, struct net_device *nd, int bcnt) in setifbcnt() argument
1497 minbcnt = bcnt; in setifbcnt()
1504 p->bcnt = bcnt; /* we're updating */ in setifbcnt()
1506 } else if (minbcnt > p->bcnt) in setifbcnt()
[all …]
/kernel/linux/linux-5.10/drivers/dma/ti/
Dk3-udma.c238 u32 bcnt; /* number of bytes completed since the start of the channel */ member
691 uc->bcnt = 0; in udma_reset_counters()
937 u32 peer_bcnt, bcnt; in udma_is_desc_really_done() local
945 bcnt = udma_tchanrt_read(uc, UDMA_CHAN_RT_BCNT_REG); in udma_is_desc_really_done()
948 if (peer_bcnt < bcnt) { in udma_is_desc_really_done()
949 uc->tx_drain.residue = bcnt - peer_bcnt; in udma_is_desc_really_done()
1009 uc->bcnt += d->residue; in udma_check_tx_completion()
1063 uc->bcnt += d->residue; in udma_ring_irq_handler()
1100 uc->bcnt += d->residue; in udma_udma_irq_handler()
2716 u32 bcnt = 0; in udma_tx_status() local
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dumem_odp.c353 u64 bcnt, u64 access_mask, bool fault) in ib_umem_odp_map_dma_and_lock() argument
368 user_virt + bcnt > ib_umem_end(umem_odp)) in ib_umem_odp_map_dma_and_lock()
386 range.end = ALIGN(user_virt + bcnt, 1UL << page_shift); in ib_umem_odp_map_dma_and_lock()
/kernel/linux/linux-5.10/include/rdma/
Dib_umem_odp.h97 u64 bcnt, u64 access_mask, bool fault);
/kernel/linux/linux-5.10/include/soc/fsl/
Ddpaa2-io.h129 u32 *fcnt, u32 *bcnt);
/kernel/linux/linux-5.10/fs/nilfs2/
Drecovery.c285 unsigned int bcnt; in nilfs_skip_summary_info() local
288 bcnt = DIV_ROUND_UP(count, nitem_per_block); in nilfs_skip_summary_info()
289 *offset = bytes * (count - (bcnt - 1) * nitem_per_block); in nilfs_skip_summary_info()
292 *pbh = __bread(nilfs->ns_bdev, blocknr + bcnt, in nilfs_skip_summary_info()
/kernel/linux/linux-5.10/drivers/net/ethernet/nvidia/
Dforcedeth.c2218 u32 bcnt; in nv_start_xmit() local
2257 bcnt = (size > NV_TX2_TSO_MAX_SIZE) ? NV_TX2_TSO_MAX_SIZE : size; in nv_start_xmit()
2259 skb->data + offset, bcnt, in nv_start_xmit()
2273 np->put_tx_ctx->dma_len = bcnt; in nv_start_xmit()
2276 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit()
2279 offset += bcnt; in nv_start_xmit()
2280 size -= bcnt; in nv_start_xmit()
2297 bcnt = (frag_size > NV_TX2_TSO_MAX_SIZE) ? NV_TX2_TSO_MAX_SIZE : frag_size; in nv_start_xmit()
2301 bcnt, in nv_start_xmit()
2323 np->put_tx_ctx->dma_len = bcnt; in nv_start_xmit()
[all …]
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Darp_tables.c612 u64 bcnt, pcnt; in get_counters() local
618 bcnt = tmp->bcnt; in get_counters()
622 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
641 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1033 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
/kernel/linux/linux-5.10/drivers/usb/dwc2/
Dhcd_intr.c188 u32 grxsts, chnum, bcnt, dpid, pktsts; in dwc2_rx_fifo_level_intr() local
202 bcnt = (grxsts & GRXSTS_BYTECNT_MASK) >> GRXSTS_BYTECNT_SHIFT; in dwc2_rx_fifo_level_intr()
209 dev_vdbg(hsotg->dev, " Count = %d\n", bcnt); in dwc2_rx_fifo_level_intr()
218 if (bcnt > 0) { in dwc2_rx_fifo_level_intr()
219 dwc2_read_packet(hsotg, chan->xfer_buf, bcnt); in dwc2_rx_fifo_level_intr()
222 chan->xfer_count += bcnt; in dwc2_rx_fifo_level_intr()
223 chan->xfer_buf += bcnt; in dwc2_rx_fifo_level_intr()
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter_bridge/
Debtables.h38 __u64 bcnt; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter_bridge/
Debtables.h25 __u64 bcnt; member

12