/linux/drivers/media/usb/pvrusb2/ |
A D | pvrusb2-debugifc.c | 118 int bcnt = 0; in pvr2_debugifc_print_info() local 122 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 175 return bcnt; in pvr2_debugifc_print_status() 292 unsigned int bcnt = 0; in pvr2_debugifc_docmd() local 296 for (bcnt = 0; bcnt < count; bcnt++) { in pvr2_debugifc_docmd() 297 if (buf[bcnt] == '\n') break; in pvr2_debugifc_docmd() 302 if (bcnt < count) bcnt++; in pvr2_debugifc_docmd() 303 buf += bcnt; in pvr2_debugifc_docmd() [all …]
|
A D | pvrusb2-ioread.c | 391 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 …]
|
A D | pvrusb2-i2c-core.c | 385 u16 tcnt,bcnt,offs; in pvr2_i2c_xfer() local 401 bcnt = tcnt; 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() 447 msgs[1].buf+offs,bcnt)) { in pvr2_i2c_xfer() 451 offs += bcnt; in pvr2_i2c_xfer() [all …]
|
A D | pvrusb2-std.c | 282 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()
|
A D | pvrusb2-sysfs.c | 200 bcnt = 0; in show_enum() 205 bcnt += ccnt; 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 224 bcnt = 0; in show_bits() 230 bcnt += ccnt; in show_bits() 232 buf[bcnt] = '\n'; in show_bits() 233 bcnt++; in show_bits() [all …]
|
A D | pvrusb2-hdw.c | 1590 if (bcnt > FIRMWARE_CHUNK_SIZE) bcnt = FIRMWARE_CHUNK_SIZE; in pvr2_upload_firmware2() 1871 bcnt,buf); in pvr2_hdw_setup_std() 1880 bcnt,buf); in pvr2_hdw_setup_std() 1890 bcnt,buf); in pvr2_hdw_setup_std() 2990 buf+bcnt, in pvr2_hdw_commit_setup() 2992 bcnt += ccnt; in pvr2_hdw_commit_setup() 2993 bcnt += scnprintf(buf+bcnt,sizeof(buf)-bcnt," <%s>", in pvr2_hdw_commit_setup() 3837 bcnt = 0; in pvr2_issue_simple_cmd() 3841 bcnt += ccnt; in pvr2_issue_simple_cmd() 4851 bcnt = 0; in pvr2_hdw_state_report() [all …]
|
A D | pvrusb2-io.c | 118 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/drivers/crypto/caam/ |
A D | dpseci-debugfs.c | 12 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/drivers/infiniband/hw/mlx5/ |
A D | odp.c | 619 while (bcnt) { in pagefault_implicit_mr() 653 bcnt -= len; in pagefault_implicit_mr() 787 size_t bcnt; member 915 frame->bcnt = min_t(size_t, bcnt, in pagefault_single_data_segment() 921 bcnt -= frame->bcnt; in pagefault_single_data_segment() 938 bcnt = frame->bcnt; in pagefault_single_data_segment() 989 size_t bcnt; in pagefault_data_segments() local 1007 bcnt = bcnt & MLX5_WQE_INLINE_SEG_BYTE_COUNT_MASK; in pagefault_data_segments() 1020 *total_wqe_bytes += bcnt - min_t(size_t, bcnt, in pagefault_data_segments() 1025 if (bcnt == 0) in pagefault_data_segments() [all …]
|
/linux/include/uapi/linux/netfilter/ |
A D | x_tables.h | 107 #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/drivers/block/aoe/ |
A D | aoecmd.c | 1468 int bcnt = 0; in setdbcnt() local 1473 if (bcnt == 0 || bcnt > (*t)->minbcnt) in setdbcnt() 1474 bcnt = (*t)->minbcnt; in setdbcnt() 1475 if (bcnt != d->maxbcnt) { in setdbcnt() 1476 d->maxbcnt = bcnt; in setdbcnt() 1478 d->aoemajor, d->aoeminor, bcnt); in setdbcnt() 1490 minbcnt = bcnt; in setifbcnt() 1497 p->bcnt = bcnt; /* we're updating */ in setifbcnt() 1499 } else if (minbcnt > p->bcnt) in setifbcnt() 1500 minbcnt = p->bcnt; /* find the min interface */ in setifbcnt() [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
A D | dpaa2-eth-debugfs.c | 63 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()
|
A D | dpaa2-ethtool.c | 232 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()
|
/linux/drivers/infiniband/core/ |
A D | umem_odp.c | 350 u64 bcnt, u64 access_mask, bool fault) in ib_umem_odp_map_dma_and_lock() argument 365 user_virt + bcnt > ib_umem_end(umem_odp)) in ib_umem_odp_map_dma_and_lock() 383 range.end = ALIGN(user_virt + bcnt, 1UL << page_shift); in ib_umem_odp_map_dma_and_lock()
|
/linux/fs/nilfs2/ |
A D | recovery.c | 285 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/include/rdma/ |
A D | ib_umem_odp.h | 97 u64 bcnt, u64 access_mask, bool fault);
|
/linux/drivers/net/ethernet/nvidia/ |
A D | forcedeth.c | 2213 u32 bcnt; in nv_start_xmit() local 2274 offset += bcnt; in nv_start_xmit() 2275 size -= bcnt; in nv_start_xmit() 2296 bcnt, in nv_start_xmit() 2323 offset += bcnt; in nv_start_xmit() 2324 frag_size -= bcnt; in nv_start_xmit() 2387 u32 bcnt; in nv_start_xmit_optimized() local 2452 offset += bcnt; in nv_start_xmit_optimized() 2453 size -= bcnt; in nv_start_xmit_optimized() 2473 bcnt, in nv_start_xmit_optimized() [all …]
|
/linux/include/soc/fsl/ |
A D | dpaa2-io.h | 131 u32 *fcnt, u32 *bcnt);
|
/linux/net/ipv4/netfilter/ |
A D | arp_tables.c | 613 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()
|
A D | ip_tables.c | 754 u64 bcnt, pcnt; in get_counters() local 760 bcnt = tmp->bcnt; in get_counters() 764 ADD_COUNTER(counters[i], bcnt, pcnt); in get_counters() 783 ADD_COUNTER(counters[i], tmp->bcnt, tmp->pcnt); in get_old_counters() 1189 ADD_COUNTER(*tmp, paddc[i].bcnt, paddc[i].pcnt); in do_add_counters()
|
/linux/drivers/dma/ti/ |
A D | k3-udma.c | 794 uc->bcnt = 0; in udma_reset_counters() 1046 u32 peer_bcnt, bcnt; in udma_is_desc_really_done() local 1057 if (peer_bcnt < bcnt) { in udma_is_desc_really_done() 1118 uc->bcnt += d->residue; in udma_check_tx_completion() 1171 uc->bcnt += d->residue; in udma_ring_irq_handler() 1207 uc->bcnt += d->residue; in udma_udma_irq_handler() 3786 u32 bcnt = 0; in udma_tx_status() local 3797 if (bcnt > peer_bcnt) in udma_tx_status() 3807 if (peer_bcnt > bcnt) in udma_tx_status() 3814 bcnt -= uc->bcnt; in udma_tx_status() [all …]
|
A D | edma.c | 961 int bcnt, ccnt, cidx; in edma_config_pset() local 988 bcnt = dma_length / acnt - ccnt * (SZ_64K - 1); in edma_config_pset() 993 if (bcnt) in edma_config_pset() 996 bcnt = SZ_64K - 1; in edma_config_pset() 1009 bcnt = burst; in edma_config_pset() 1010 ccnt = dma_length / (acnt * bcnt); in edma_config_pset() 1015 cidx = acnt * bcnt; in edma_config_pset() 1054 param->a_b_cnt = bcnt << 16 | acnt; in edma_config_pset()
|
/linux/drivers/usb/dwc2/ |
A D | hcd_intr.c | 188 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()
|
/linux/drivers/edac/ |
A D | cpc925_edac.c | 438 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/net/ipv6/netfilter/ |
A D | ip6_tables.c | 771 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()
|