Home
last modified time | relevance | path

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

12

/linux-6.1.9/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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/infiniband/hw/mlx5/
Dodp.c554 u64 user_va, size_t bcnt, u32 *bytes_mapped, in pagefault_real_mr() argument
574 np = ib_umem_odp_map_dma_and_lock(odp, user_va, bcnt, access_mask, fault); in pagefault_real_mr()
596 *bytes_mapped += min_t(u32, new_mappings, bcnt); in pagefault_real_mr()
607 size_t bcnt, u32 *bytes_mapped, u32 flags) in pagefault_implicit_mr() argument
609 unsigned long end_idx = (user_va + bcnt - 1) >> MLX5_IMR_MTT_SHIFT; in pagefault_implicit_mr()
617 mlx5_imr_ksm_entries * MLX5_IMR_MTT_SIZE - user_va < bcnt)) in pagefault_implicit_mr()
621 while (bcnt) { in pagefault_implicit_mr()
644 len = min_t(u64, user_va + bcnt, ib_umem_end(umem_odp)) - in pagefault_implicit_mr()
655 bcnt -= len; in pagefault_implicit_mr()
691 static int pagefault_dmabuf_mr(struct mlx5_ib_mr *mr, size_t bcnt, in pagefault_dmabuf_mr() argument
[all …]
/linux-6.1.9/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
/linux-6.1.9/drivers/block/aoe/
Daoecmd.c1467 int bcnt = 0; in setdbcnt() local
1472 if (bcnt == 0 || bcnt > (*t)->minbcnt) in setdbcnt()
1473 bcnt = (*t)->minbcnt; in setdbcnt()
1474 if (bcnt != d->maxbcnt) { in setdbcnt()
1475 d->maxbcnt = bcnt; in setdbcnt()
1477 d->aoemajor, d->aoeminor, bcnt); in setdbcnt()
1482 setifbcnt(struct aoetgt *t, struct net_device *nd, int bcnt) in setifbcnt() argument
1489 minbcnt = bcnt; in setifbcnt()
1496 p->bcnt = bcnt; /* we're updating */ in setifbcnt()
1498 } else if (minbcnt > p->bcnt) in setifbcnt()
[all …]
Daoe.h135 int bcnt; member
/linux-6.1.9/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.c234 u32 fcnt, bcnt; in dpaa2_eth_get_ethtool_stats() local
291 &fcnt, &bcnt); in dpaa2_eth_get_ethtool_stats()
299 bcnt_tx_total += bcnt; in dpaa2_eth_get_ethtool_stats()
302 bcnt_rx_total += bcnt; in dpaa2_eth_get_ethtool_stats()
/linux-6.1.9/drivers/infiniband/core/
Dumem_odp.c347 u64 bcnt, u64 access_mask, bool fault) in ib_umem_odp_map_dma_and_lock() argument
362 user_virt + bcnt > ib_umem_end(umem_odp)) in ib_umem_odp_map_dma_and_lock()
380 range.end = ALIGN(user_virt + bcnt, 1UL << page_shift); in ib_umem_odp_map_dma_and_lock()
/linux-6.1.9/include/rdma/
Dib_umem_odp.h97 u64 bcnt, u64 access_mask, bool fault);
/linux-6.1.9/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()
/linux-6.1.9/include/soc/fsl/
Ddpaa2-io.h131 u32 *fcnt, u32 *bcnt);
/linux-6.1.9/drivers/net/ethernet/nvidia/
Dforcedeth.c2213 u32 bcnt; in nv_start_xmit() local
2252 bcnt = (size > NV_TX2_TSO_MAX_SIZE) ? NV_TX2_TSO_MAX_SIZE : size; in nv_start_xmit()
2254 skb->data + offset, bcnt, in nv_start_xmit()
2268 np->put_tx_ctx->dma_len = bcnt; in nv_start_xmit()
2271 put_tx->flaglen = cpu_to_le32((bcnt-1) | tx_flags); in nv_start_xmit()
2274 offset += bcnt; in nv_start_xmit()
2275 size -= bcnt; in nv_start_xmit()
2292 bcnt = (frag_size > NV_TX2_TSO_MAX_SIZE) ? NV_TX2_TSO_MAX_SIZE : frag_size; in nv_start_xmit()
2296 bcnt, in nv_start_xmit()
2318 np->put_tx_ctx->dma_len = bcnt; in nv_start_xmit()
[all …]
/linux-6.1.9/net/ipv4/netfilter/
Darp_tables.c613 u64 bcnt, pcnt; in get_counters() local
619 bcnt = tmp->bcnt; in get_counters()
623 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
642 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1034 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
/linux-6.1.9/drivers/usb/dwc2/
Dhcd_intr.c158 u32 grxsts, chnum, bcnt, dpid, pktsts; in dwc2_rx_fifo_level_intr() local
172 bcnt = (grxsts & GRXSTS_BYTECNT_MASK) >> GRXSTS_BYTECNT_SHIFT; in dwc2_rx_fifo_level_intr()
179 dev_vdbg(hsotg->dev, " Count = %d\n", bcnt); in dwc2_rx_fifo_level_intr()
188 if (bcnt > 0) { in dwc2_rx_fifo_level_intr()
189 dwc2_read_packet(hsotg, chan->xfer_buf, bcnt); in dwc2_rx_fifo_level_intr()
192 chan->xfer_count += bcnt; in dwc2_rx_fifo_level_intr()
193 chan->xfer_buf += bcnt; in dwc2_rx_fifo_level_intr()
/linux-6.1.9/include/uapi/linux/netfilter_bridge/
Debtables.h41 __u64 bcnt; member
/linux-6.1.9/drivers/edac/
Dcpc925_edac.c438 u32 bcnt, rank, col, bank, row; in cpc925_mc_get_pfn() local
443 bcnt = (mear & MEAR_BCNT_MASK) >> MEAR_BCNT_SHIFT; in cpc925_mc_get_pfn()
463 col += bcnt; in cpc925_mc_get_pfn()
/linux-6.1.9/drivers/dma/ti/
Dedma.c913 int bcnt, ccnt, cidx; in edma_config_pset() local
940 bcnt = dma_length / acnt - ccnt * (SZ_64K - 1); in edma_config_pset()
945 if (bcnt) in edma_config_pset()
948 bcnt = SZ_64K - 1; in edma_config_pset()
961 bcnt = burst; in edma_config_pset()
962 ccnt = dma_length / (acnt * bcnt); in edma_config_pset()
967 cidx = acnt * bcnt; in edma_config_pset()
1006 param->a_b_cnt = bcnt << 16 | acnt; in edma_config_pset()
/linux-6.1.9/net/ipv6/netfilter/
Dip6_tables.c771 u64 bcnt, pcnt; in get_counters() local
777 bcnt = tmp->bcnt; in get_counters()
781 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters()
800 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters()
1205 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()

12