Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/maps/
Dpmcmsp-flash.c48 static int fcnt; variable
70 for (fcnt = 0; (env = prom_getenv(flash_name)); fcnt++) in init_msp_flash()
71 flash_name[5] = '0' + fcnt + 1; in init_msp_flash()
73 if (fcnt < 1) in init_msp_flash()
76 printk(KERN_NOTICE "Found %d PMC flash devices\n", fcnt); in init_msp_flash()
78 msp_flash = kcalloc(fcnt, sizeof(*msp_flash), GFP_KERNEL); in init_msp_flash()
82 msp_parts = kcalloc(fcnt, sizeof(*msp_parts), GFP_KERNEL); in init_msp_flash()
86 msp_maps = kcalloc(fcnt, sizeof(*msp_maps), GFP_KERNEL); in init_msp_flash()
91 for (i = 0; i < fcnt; i++) { in init_msp_flash()
207 for (i = 0; i < fcnt; i++) { in cleanup_msp_flash()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.c232 u32 fcnt, bcnt; in dpaa2_eth_get_ethtool_stats() local
289 &fcnt, &bcnt); in dpaa2_eth_get_ethtool_stats()
296 fcnt_tx_total += fcnt; in dpaa2_eth_get_ethtool_stats()
299 fcnt_rx_total += fcnt; in dpaa2_eth_get_ethtool_stats()
Ddpaa2-eth.c1780 u32 fcnt = 0, bcnt = 0, total = 0; in dpaa2_eth_ingress_fq_count() local
1785 err = dpaa2_io_query_fq_count(NULL, fq->fqid, &fcnt, &bcnt); in dpaa2_eth_ingress_fq_count()
1790 total += fcnt; in dpaa2_eth_ingress_fq_count()
/kernel/linux/linux-5.10/drivers/ata/
Dpata_hpt3x2n.c414 u32 fcnt; in hpt3x2n_pci_clock() local
417 fcnt = inl(iobase + 0x90); /* Not PCI readable for some chips */ in hpt3x2n_pci_clock()
418 if ((fcnt >> 12) != 0xABCDE) { in hpt3x2n_pci_clock()
431 fcnt = total / 128; in hpt3x2n_pci_clock()
433 fcnt &= 0x1FF; in hpt3x2n_pci_clock()
435 freq = (fcnt * 77) / 192; in hpt3x2n_pci_clock()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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");
799 dev_info(&pdev->dev, "sync: num of frames per sub-buffer: %u\n", fcnt); in dim2_probe()
800 hal_ret = dim_startup(dev->io_base, dev->clk_speed, fcnt); in dim2_probe()
Dhal.h58 u32 fcnt);
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc.c1445 u16 fcnt = 0; in npc_mcam_get_free_count() local
1449 return fcnt; in npc_mcam_get_free_count()
1453 return fcnt; in npc_mcam_get_free_count()
1457 fcnt += next - index; in npc_mcam_get_free_count()
1462 fcnt += end - index; in npc_mcam_get_free_count()
1463 return fcnt; in npc_mcam_get_free_count()
1471 u16 fcnt; in npc_get_mcam_search_range_priority() local
1493 fcnt = npc_mcam_get_free_count(mcam->bmap, in npc_get_mcam_search_range_priority()
1495 if (fcnt > req->count) in npc_get_mcam_search_range_priority()
1518 fcnt = npc_mcam_get_free_count(mcam->bmap, in npc_get_mcam_search_range_priority()
[all …]
/kernel/linux/linux-5.10/include/soc/fsl/
Ddpaa2-io.h129 u32 *fcnt, u32 *bcnt);
/kernel/linux/linux-5.10/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;
/kernel/linux/linux-5.10/drivers/soc/fsl/dpio/
Ddpio-service.c728 u32 *fcnt, u32 *bcnt) in dpaa2_io_query_fq_count() argument
745 *fcnt = qbman_fq_state_frame_count(&state); in dpaa2_io_query_fq_count()
/kernel/linux/linux-5.10/drivers/staging/media/zoran/
Dzoran_device.c869 u32 fcnt; in zoran_reap_stat_com() local
890 fcnt = (stat_com & GENMASK(31, 24)) >> 24; in zoran_reap_stat_com()
900 seq = (fcnt + zr->jpg_err_seq) & 0xff; in zoran_reap_stat_com()
/kernel/linux/linux-5.10/drivers/mmc/host/
Ddw_mmc.c2495 unsigned int remain, fcnt; in dw_mci_read_data_pio() local
2507 fcnt = (SDMMC_GET_FCNT(mci_readl(host, STATUS)) in dw_mci_read_data_pio()
2509 len = min(remain, fcnt); in dw_mci_read_data_pio()
2550 unsigned int remain, fcnt; in dw_mci_write_data_pio() local
2562 fcnt = ((fifo_depth - in dw_mci_write_data_pio()
2565 len = min(remain, fcnt); in dw_mci_write_data_pio()
/kernel/linux/linux-5.10/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()
1301 int fcnt = esp_read8(ESP_FFLAGS) & ESP_FF_FBYTES; in esp_finish_select() local
1305 if (!fcnt && in esp_finish_select()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e_main.c2180 int aq_err, fcnt; in i40e_aqc_add_filters() local
2184 fcnt = i40e_update_filter_state(num_add, list, add_head); in i40e_aqc_add_filters()
2186 if (fcnt != num_add) { in i40e_aqc_add_filters()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0005_linux_include.patch14603 u32 *fcnt, u32 *bcnt);