Home
last modified time | relevance | path

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

/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()
/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.c246 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.c2103 u32 fcnt = 0, bcnt = 0, total = 0; in dpaa2_eth_ingress_fq_count() local
2108 err = dpaa2_io_query_fq_count(NULL, fq->fqid, &fcnt, &bcnt); in dpaa2_eth_ingress_fq_count()
2113 total += fcnt; in dpaa2_eth_ingress_fq_count()
/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()
/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);
/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))
/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 …]
/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()
/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 …]
/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()
/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()
/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()
/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()
/drivers/net/ethernet/intel/i40e/
Di40e_main.c2393 int fcnt; in i40e_aqc_add_filters() local
2396 fcnt = i40e_update_filter_state(num_add, list, add_head); in i40e_aqc_add_filters()
2398 if (fcnt != num_add) { in i40e_aqc_add_filters()