Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-debugifc.c118 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 …]
H A 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 …]
H A Dpvrusb2-i2c-core.c385 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 …]
H A 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()
H A Dpvrusb2-sysfs.c196 bcnt = 0; in show_enum()
201 bcnt += ccnt; in show_enum()
203 buf[bcnt] = '\n'; in show_enum()
204 bcnt++; in show_enum()
208 return bcnt; in show_enum()
217 unsigned int bcnt, ccnt; in show_bits() local
220 bcnt = 0; in show_bits()
226 bcnt += ccnt; in show_bits()
228 buf[bcnt] = '\n'; in show_bits()
229 bcnt++; in show_bits()
[all …]
H A Dpvrusb2-hdw.c1590 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()
2994 buf+bcnt, in pvr2_hdw_commit_setup()
2996 bcnt += ccnt; in pvr2_hdw_commit_setup()
2997 bcnt += scnprintf(buf+bcnt,sizeof(buf)-bcnt," <%s>", in pvr2_hdw_commit_setup()
3846 bcnt = 0; in pvr2_issue_simple_cmd()
3850 bcnt += ccnt; in pvr2_issue_simple_cmd()
4860 bcnt = 0; in pvr2_hdw_state_report()
[all …]
H A 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()
/openbmc/linux/drivers/crypto/caam/
H A 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()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dodp.c620 while (bcnt) { in pagefault_implicit_mr()
654 bcnt -= len; in pagefault_implicit_mr()
793 size_t bcnt; member
922 frame->bcnt = min_t(size_t, bcnt, in pagefault_single_data_segment()
928 bcnt -= frame->bcnt; in pagefault_single_data_segment()
945 bcnt = frame->bcnt; in pagefault_single_data_segment()
996 size_t bcnt; in pagefault_data_segments() local
1014 bcnt = bcnt & MLX5_WQE_INLINE_SEG_BYTE_COUNT_MASK; in pagefault_data_segments()
1028 *total_wqe_bytes += bcnt - min_t(size_t, bcnt, in pagefault_data_segments()
1033 if (bcnt == 0) in pagefault_data_segments()
[all …]
/openbmc/linux/include/uapi/linux/netfilter/
H A 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
/openbmc/u-boot/drivers/mmc/
H A Dmmc_spi.c77 u32 bcnt, u32 bsize) in mmc_spi_readdata() argument
84 while (bcnt--) { in mmc_spi_readdata()
112 u32 bcnt, u32 bsize, int multi) in mmc_spi_writedata() argument
122 while (bcnt--) { in mmc_spi_writedata()
155 if (multi && bcnt == -1) { /* stop multi write */ in mmc_spi_writedata()
/openbmc/u-boot/arch/arm/include/asm/ti-common/
H A Dti-edma3.h81 int bcnt; member
117 int bcnt, int ccnt, u16 bcnt_rld,
/openbmc/u-boot/drivers/dma/
H A Dti-edma3.c252 int bcnt, int ccnt, u16 bcnt_rld, in edma3_set_transfer_params() argument
273 __raw_writel((bcnt << 16) | (acnt & 0xffff), &rg->a_b_cnt); in edma3_set_transfer_params()
325 __raw_writel((cfg->bcnt << 16) | (cfg->acnt & 0xffff), &rg->a_b_cnt); in edma3_slot_configure()
420 slot.bcnt = b_cnt_value; in __edma3_transfer()
457 slot.bcnt = 1; in __edma3_transfer()
/openbmc/linux/drivers/block/aoe/
H A Daoecmd.c1478 int bcnt = 0; in setdbcnt() local
1483 if (bcnt == 0 || bcnt > (*t)->minbcnt) in setdbcnt()
1484 bcnt = (*t)->minbcnt; in setdbcnt()
1485 if (bcnt != d->maxbcnt) { in setdbcnt()
1486 d->maxbcnt = bcnt; in setdbcnt()
1488 d->aoemajor, d->aoeminor, bcnt); in setdbcnt()
1500 minbcnt = bcnt; in setifbcnt()
1507 p->bcnt = bcnt; /* we're updating */ in setifbcnt()
1509 } else if (minbcnt > p->bcnt) in setifbcnt()
1510 minbcnt = p->bcnt; /* find the min interface */ in setifbcnt()
[all …]
/openbmc/qemu/hw/usb/
H A Du2f-passthru.c111 uint16_t bcnt = 0; in packet_init_get_bcnt() local
112 bcnt |= packet_init->bcnth << 8; in packet_init_get_bcnt()
113 bcnt |= packet_init->bcntl; in packet_init_get_bcnt()
115 return bcnt; in packet_init_get_bcnt()
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-filter/ebtables/ebtables-2.0.11/
H A Debtables-legacy-save34 line=${line/-- bcnt \=/}
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/
H A 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()
H A Ddpaa2-ethtool.c272 u32 fcnt, bcnt; in dpaa2_eth_get_ethtool_stats() local
314 &fcnt, &bcnt); in dpaa2_eth_get_ethtool_stats()
322 bcnt_tx_total += bcnt; in dpaa2_eth_get_ethtool_stats()
325 bcnt_rx_total += bcnt; in dpaa2_eth_get_ethtool_stats()
/openbmc/linux/drivers/infiniband/core/
H A 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()
/openbmc/linux/include/rdma/
H A Dib_umem_odp.h97 u64 bcnt, u64 access_mask, bool fault);
/openbmc/linux/include/soc/fsl/
H A Ddpaa2-io.h131 u32 *fcnt, u32 *bcnt);
/openbmc/linux/fs/nilfs2/
H A 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()
/openbmc/linux/drivers/net/ethernet/nvidia/
H A Dforcedeth.c2213 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 …]
/openbmc/linux/drivers/usb/dwc2/
H A 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()
/openbmc/linux/include/uapi/linux/netfilter_bridge/
H A Debtables.h41 __u64 bcnt; member

12