Home
last modified time | relevance | path

Searched refs:fcnt (Results 1 – 22 of 22) sorted by relevance

/linux-6.6.21/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.6.21/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()
74 fcnt = 0; in dpaa2_dbg_fqs_show()
77 if (!fq->stats.frames && !fcnt) in dpaa2_dbg_fqs_show()
86 fcnt); in dpaa2_dbg_fqs_show()
Ddpaa2-ethtool.c272 u32 fcnt, bcnt; in dpaa2_eth_get_ethtool_stats() local
314 &fcnt, &bcnt); in dpaa2_eth_get_ethtool_stats()
321 fcnt_tx_total += fcnt; in dpaa2_eth_get_ethtool_stats()
324 fcnt_rx_total += fcnt; in dpaa2_eth_get_ethtool_stats()
Ddpaa2-eth.c2232 u32 fcnt = 0, bcnt = 0, total = 0; in dpaa2_eth_ingress_fq_count() local
2237 err = dpaa2_io_query_fq_count(NULL, fq->fqid, &fcnt, &bcnt); in dpaa2_eth_ingress_fq_count()
2242 total += fcnt; in dpaa2_eth_ingress_fq_count()
/linux-6.6.21/drivers/ata/
Dpata_hpt3x2n.c409 u32 fcnt; in hpt3x2n_pci_clock() local
415 fcnt = inl(pci_resource_start(pdev, 4) + 0x90); in hpt3x2n_pci_clock()
416 if ((fcnt >> 12) != 0xABCDE) { in hpt3x2n_pci_clock()
429 fcnt = total / 128; in hpt3x2n_pci_clock()
431 fcnt &= 0x1FF; in hpt3x2n_pci_clock()
433 freq = (fcnt * base) / 192; /* in MHz */ in hpt3x2n_pci_clock()
Dpata_hpt37x.c650 u32 fcnt; in hpt37x_pci_clock() local
665 fcnt = inl(pci_resource_start(pdev_fn0, 4) + 0x90); in hpt37x_pci_clock()
668 fcnt = inl(pci_resource_start(pdev, 4) + 0x90); in hpt37x_pci_clock()
671 if ((fcnt >> 12) != 0xABCDE) { in hpt37x_pci_clock()
684 fcnt = total / 128; in hpt37x_pci_clock()
686 fcnt &= 0x1FF; in hpt37x_pci_clock()
688 freq = (fcnt * base) / 192; /* in MHz */ in hpt37x_pci_clock()
/linux-6.6.21/net/sched/
Dsch_fq.c224 int i, fcnt = 0; in fq_gc() local
236 tofree[fcnt++] = f; in fq_gc()
237 if (fcnt == FQ_GC_MAX) in fq_gc()
247 if (!fcnt) in fq_gc()
250 for (i = fcnt; i > 0; ) { in fq_gc()
254 q->flows -= fcnt; in fq_gc()
255 q->inactive_flows -= fcnt; in fq_gc()
256 q->stat_gc_flows += fcnt; in fq_gc()
258 kmem_cache_free_bulk(fq_flow_cachep, fcnt, tofree); in fq_gc()
704 int fcnt = 0; in fq_rehash() local
[all …]
/linux-6.6.21/drivers/staging/most/dim2/
Dhal.c80 u32 fcnt; member
460 u16 const bd_factor = g.fcnt + 2; in check_bytes_per_frame()
502 u32 const unit = bytes_per_frame << g.fcnt; in norm_sync_buffer_size()
541 g.fcnt << MLBC0_FCNT_SHIFT | in dim2_initialize()
713 u32 fcnt) in dim_startup() argument
725 if (fcnt > MLBC0_FCNT_MAX_VAL) in dim_startup()
729 g.fcnt = fcnt; in dim_startup()
859 u16 bd_factor = g.fcnt + 2; in dim_init_sync()
Ddim2.c42 static u8 fcnt = 4; /* (1 << fcnt) frames per subbuffer */ variable
43 module_param(fcnt, byte, 0000);
44 MODULE_PARM_DESC(fcnt, "Num of frames per sub-buffer for sync channels as a power of 2");
108 u8 fcnt; member
755 u8 dev_fcnt = fcnt; in dim2_probe()
796 if (pdata->fcnt) in dim2_probe()
797 dev_fcnt = pdata->fcnt; in dim2_probe()
1063 .fcnt = 3,
Dhal.h58 u32 fcnt);
/linux-6.6.21/drivers/isdn/hardware/mISDN/
Dhfcpci.c665 int fcnt; in hfcpci_fill_dfifo() local
684 fcnt = df->f1 - df->f2; /* frame count actually buffered */ in hfcpci_fill_dfifo()
685 if (fcnt < 0) in hfcpci_fill_dfifo()
686 fcnt += (MAX_D_FRAMES + 1); /* if wrap around */ in hfcpci_fill_dfifo()
687 if (fcnt > (MAX_D_FRAMES - 1)) { in hfcpci_fill_dfifo()
742 int maxlen, fcnt; in hfcpci_fill_fifo() local
774 fcnt = le16_to_cpu(*z2t) - le16_to_cpu(*z1t); in hfcpci_fill_fifo()
775 if (fcnt <= 0) in hfcpci_fill_fifo()
776 fcnt += B_FIFO_SIZE; in hfcpci_fill_fifo()
779 if (count > fcnt) in hfcpci_fill_fifo()
[all …]
/linux-6.6.21/drivers/scsi/aacraid/
Dlinit.c664 struct fib_count_data fcnt = { }; in get_num_of_incomplete_fibs() local
666 scsi_host_busy_iter(shost, fib_count_iter, &fcnt); in get_num_of_incomplete_fibs()
670 dev_info(ctrl_dev, "outstanding cmd: midlevel-%d\n", fcnt.mlcnt); in get_num_of_incomplete_fibs()
671 dev_info(ctrl_dev, "outstanding cmd: lowlevel-%d\n", fcnt.llcnt); in get_num_of_incomplete_fibs()
672 dev_info(ctrl_dev, "outstanding cmd: error handler-%d\n", fcnt.ehcnt); in get_num_of_incomplete_fibs()
673 dev_info(ctrl_dev, "outstanding cmd: firmware-%d\n", fcnt.fwcnt); in get_num_of_incomplete_fibs()
674 dev_info(ctrl_dev, "outstanding cmd: kernel-%d\n", fcnt.krlcnt); in get_num_of_incomplete_fibs()
676 return fcnt.mlcnt + fcnt.llcnt + fcnt.ehcnt + fcnt.fwcnt; in get_num_of_incomplete_fibs()
/linux-6.6.21/include/soc/fsl/
Ddpaa2-io.h131 u32 *fcnt, u32 *bcnt);
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c2394 u16 fcnt = 0; in npc_mcam_get_free_count() local
2398 return fcnt; in npc_mcam_get_free_count()
2402 return fcnt; in npc_mcam_get_free_count()
2406 fcnt += next - index; in npc_mcam_get_free_count()
2411 fcnt += end - index; in npc_mcam_get_free_count()
2412 return fcnt; in npc_mcam_get_free_count()
2420 u16 fcnt; in npc_get_mcam_search_range_priority() local
2442 fcnt = npc_mcam_get_free_count(mcam->bmap, in npc_get_mcam_search_range_priority()
2444 if (fcnt > req->count) in npc_get_mcam_search_range_priority()
2467 fcnt = npc_mcam_get_free_count(mcam->bmap, in npc_get_mcam_search_range_priority()
[all …]
/linux-6.6.21/arch/mips/include/asm/octeon/
Dcvmx-npi-defs.h527 uint64_t fcnt:7; member
531 uint64_t fcnt:7;
557 uint64_t fcnt:7; member
561 uint64_t fcnt:7;
1968 uint64_t fcnt:6; member
1972 uint64_t fcnt:6;
1983 uint64_t fcnt:5; member
1987 uint64_t fcnt:5;
Dcvmx-dpi-defs.h141 uint64_t fcnt:7; member
145 uint64_t fcnt:7;
Dcvmx-npei-defs.h938 uint64_t fcnt:7; member
942 uint64_t fcnt:7;
3259 uint64_t fcnt:5; member
3263 uint64_t fcnt:5;
/linux-6.6.21/drivers/media/pci/zoran/
Dzoran_device.c805 u32 fcnt; in zoran_reap_stat_com() local
828 fcnt = (stat_com & GENMASK(31, 24)) >> 24; in zoran_reap_stat_com()
843 seq = (fcnt + zr->jpg_err_seq) & 0xff; in zoran_reap_stat_com()
/linux-6.6.21/drivers/soc/fsl/dpio/
Ddpio-service.c766 u32 *fcnt, u32 *bcnt) in dpaa2_io_query_fq_count() argument
783 *fcnt = qbman_fq_state_frame_count(&state); in dpaa2_io_query_fq_count()
/linux-6.6.21/drivers/mmc/host/
Ddw_mmc.c2601 unsigned int remain, fcnt; in dw_mci_read_data_pio() local
2613 fcnt = (SDMMC_GET_FCNT(mci_readl(host, STATUS)) in dw_mci_read_data_pio()
2615 len = min(remain, fcnt); in dw_mci_read_data_pio()
2656 unsigned int remain, fcnt; in dw_mci_write_data_pio() local
2668 fcnt = ((fifo_depth - in dw_mci_write_data_pio()
2671 len = min(remain, fcnt); in dw_mci_write_data_pio()
/linux-6.6.21/drivers/scsi/
Desp_scsi.c220 int fcnt = esp_read8(ESP_FFLAGS) & ESP_FF_FBYTES; in hme_read_fifo() local
223 while (fcnt--) { in hme_read_fifo()
1293 int fcnt = esp_read8(ESP_FFLAGS) & ESP_FF_FBYTES; in esp_finish_select() local
1297 if (!fcnt && in esp_finish_select()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_main.c2387 int fcnt; in i40e_aqc_add_filters() local
2390 fcnt = i40e_update_filter_state(num_add, list, add_head); in i40e_aqc_add_filters()
2392 if (fcnt != num_add) { in i40e_aqc_add_filters()