Home
last modified time | relevance | path

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

/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/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.c234 u32 fcnt, bcnt; in dpaa2_eth_get_ethtool_stats() local
291 &fcnt, &bcnt); in dpaa2_eth_get_ethtool_stats()
298 fcnt_tx_total += fcnt; in dpaa2_eth_get_ethtool_stats()
301 fcnt_rx_total += fcnt; in dpaa2_eth_get_ethtool_stats()
Ddpaa2-eth.c2099 u32 fcnt = 0, bcnt = 0, total = 0; in dpaa2_eth_ingress_fq_count() local
2104 err = dpaa2_io_query_fq_count(NULL, fq->fqid, &fcnt, &bcnt); in dpaa2_eth_ingress_fq_count()
2109 total += fcnt; in dpaa2_eth_ingress_fq_count()
/linux-6.1.9/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.1.9/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.1.9/drivers/net/ethernet/marvell/octeon_ep/
Doctep_ctrl_mbox.h62 #define OCTEP_CTRL_MBOX_SZ(hsz, hcnt, fsz, fcnt) (OCTEP_CTRL_MBOX_INFO_SZ + \ argument
66 OCTEP_CTRL_MBOX_Q_SZ(fsz, fcnt))
/linux-6.1.9/drivers/staging/most/dim2/
Dhal.c80 u32 fcnt; member
461 u16 const bd_factor = g.fcnt + 2; in check_bytes_per_frame()
503 u32 const unit = bytes_per_frame << g.fcnt; in norm_sync_buffer_size()
542 g.fcnt << MLBC0_FCNT_SHIFT | in dim2_initialize()
714 u32 fcnt) in dim_startup() argument
726 if (fcnt > MLBC0_FCNT_MAX_VAL) in dim_startup()
730 g.fcnt = fcnt; in dim_startup()
860 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
752 u8 dev_fcnt = fcnt; in dim2_probe()
794 if (pdata->fcnt) in dim2_probe()
795 dev_fcnt = pdata->fcnt; in dim2_probe()
1064 .fcnt = 3,
Dhal.h58 u32 fcnt);
/linux-6.1.9/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.1.9/drivers/scsi/aacraid/
Dlinit.c665 struct fib_count_data fcnt = { }; in get_num_of_incomplete_fibs() local
667 scsi_host_busy_iter(shost, fib_count_iter, &fcnt); in get_num_of_incomplete_fibs()
671 dev_info(ctrl_dev, "outstanding cmd: midlevel-%d\n", fcnt.mlcnt); in get_num_of_incomplete_fibs()
672 dev_info(ctrl_dev, "outstanding cmd: lowlevel-%d\n", fcnt.llcnt); in get_num_of_incomplete_fibs()
673 dev_info(ctrl_dev, "outstanding cmd: error handler-%d\n", fcnt.ehcnt); in get_num_of_incomplete_fibs()
674 dev_info(ctrl_dev, "outstanding cmd: firmware-%d\n", fcnt.fwcnt); in get_num_of_incomplete_fibs()
675 dev_info(ctrl_dev, "outstanding cmd: kernel-%d\n", fcnt.krlcnt); in get_num_of_incomplete_fibs()
677 return fcnt.mlcnt + fcnt.llcnt + fcnt.ehcnt + fcnt.fwcnt; in get_num_of_incomplete_fibs()
/linux-6.1.9/include/soc/fsl/
Ddpaa2-io.h131 u32 *fcnt, u32 *bcnt);
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c2329 u16 fcnt = 0; in npc_mcam_get_free_count() local
2333 return fcnt; in npc_mcam_get_free_count()
2337 return fcnt; in npc_mcam_get_free_count()
2341 fcnt += next - index; in npc_mcam_get_free_count()
2346 fcnt += end - index; in npc_mcam_get_free_count()
2347 return fcnt; in npc_mcam_get_free_count()
2355 u16 fcnt; in npc_get_mcam_search_range_priority() local
2377 fcnt = npc_mcam_get_free_count(mcam->bmap, in npc_get_mcam_search_range_priority()
2379 if (fcnt > req->count) in npc_get_mcam_search_range_priority()
2402 fcnt = npc_mcam_get_free_count(mcam->bmap, in npc_get_mcam_search_range_priority()
[all …]
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/mmc/host/
Ddw_mmc.c2602 unsigned int remain, fcnt; in dw_mci_read_data_pio() local
2614 fcnt = (SDMMC_GET_FCNT(mci_readl(host, STATUS)) in dw_mci_read_data_pio()
2616 len = min(remain, fcnt); in dw_mci_read_data_pio()
2657 unsigned int remain, fcnt; in dw_mci_write_data_pio() local
2669 fcnt = ((fifo_depth - in dw_mci_write_data_pio()
2672 len = min(remain, fcnt); in dw_mci_write_data_pio()
/linux-6.1.9/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.1.9/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()