| /drivers/crypto/caam/ |
| A D | dpseci-debugfs.c | 12 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/ |
| A D | dpaa2-eth-debugfs.c | 63 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()
|
| A D | dpaa2-ethtool.c | 267 u32 fcnt, bcnt; in dpaa2_eth_get_ethtool_stats() local 309 &fcnt, &bcnt); in dpaa2_eth_get_ethtool_stats() 316 fcnt_tx_total += fcnt; in dpaa2_eth_get_ethtool_stats() 319 fcnt_rx_total += fcnt; in dpaa2_eth_get_ethtool_stats()
|
| A D | dpaa2-eth.c | 2232 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()
|
| /drivers/ata/ |
| A D | pata_hpt3x2n.c | 409 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()
|
| A D | pata_hpt37x.c | 650 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/ |
| A D | hal.c | 80 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()
|
| A D | dim2.c | 42 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,
|
| A D | hal.h | 58 u32 fcnt);
|
| /drivers/isdn/hardware/mISDN/ |
| A D | hfcpci.c | 666 int fcnt; in hfcpci_fill_dfifo() local 686 if (fcnt < 0) in hfcpci_fill_dfifo() 743 int maxlen, fcnt; in hfcpci_fill_fifo() local 776 if (fcnt <= 0) in hfcpci_fill_fifo() 777 fcnt += B_FIFO_SIZE; in hfcpci_fill_fifo() 780 if (count > fcnt) in hfcpci_fill_fifo() 781 count = fcnt; in hfcpci_fill_fifo() 805 fcnt = B_FIFO_SIZE - fcnt; in hfcpci_fill_fifo() 812 count = (poll << 1) - fcnt; in hfcpci_fill_fifo() 829 fcnt += count; in hfcpci_fill_fifo() [all …]
|
| /drivers/scsi/aacraid/ |
| A D | linit.c | 666 struct fib_count_data fcnt = { }; in get_num_of_incomplete_fibs() local 668 scsi_host_busy_iter(shost, fib_count_iter, &fcnt); in get_num_of_incomplete_fibs() 672 dev_info(ctrl_dev, "outstanding cmd: midlevel-%d\n", fcnt.mlcnt); in get_num_of_incomplete_fibs() 673 dev_info(ctrl_dev, "outstanding cmd: lowlevel-%d\n", fcnt.llcnt); in get_num_of_incomplete_fibs() 674 dev_info(ctrl_dev, "outstanding cmd: error handler-%d\n", fcnt.ehcnt); in get_num_of_incomplete_fibs() 675 dev_info(ctrl_dev, "outstanding cmd: firmware-%d\n", fcnt.fwcnt); in get_num_of_incomplete_fibs() 676 dev_info(ctrl_dev, "outstanding cmd: kernel-%d\n", fcnt.krlcnt); in get_num_of_incomplete_fibs() 678 return fcnt.mlcnt + fcnt.llcnt + fcnt.ehcnt + fcnt.fwcnt; in get_num_of_incomplete_fibs()
|
| /drivers/net/ethernet/marvell/octeontx2/af/ |
| A D | rvu_npc.c | 2395 u16 fcnt = 0; in npc_mcam_get_free_count() local 2399 return fcnt; in npc_mcam_get_free_count() 2403 return fcnt; in npc_mcam_get_free_count() 2407 fcnt += next - index; in npc_mcam_get_free_count() 2412 fcnt += end - index; in npc_mcam_get_free_count() 2413 return fcnt; in npc_mcam_get_free_count() 2421 u16 fcnt; in npc_get_mcam_search_range_priority() local 2445 if (fcnt > req->count) in npc_get_mcam_search_range_priority() 2470 if (fcnt < req->count) in npc_get_mcam_search_range_priority() 2481 u16 fcnt, hp_fcnt, lp_fcnt; in npc_mcam_alloc_entries() local [all …]
|
| /drivers/media/pci/zoran/ |
| A D | zoran_device.c | 805 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/ |
| A D | dpio-service.c | 766 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/ |
| A D | dw_mmc.c | 2690 unsigned int remain, fcnt; in dw_mci_read_data_pio() local 2702 fcnt = (SDMMC_GET_FCNT(mci_readl(host, STATUS)) in dw_mci_read_data_pio() 2704 len = min(remain, fcnt); in dw_mci_read_data_pio() 2745 unsigned int remain, fcnt; in dw_mci_write_data_pio() local 2757 fcnt = ((fifo_depth - in dw_mci_write_data_pio() 2760 len = min(remain, fcnt); in dw_mci_write_data_pio()
|
| /drivers/scsi/ |
| A D | esp_scsi.c | 220 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/ |
| A D | i40e_main.c | 2379 int fcnt; in i40e_aqc_add_filters() local 2382 fcnt = i40e_update_filter_state(num_add, list, add_head); in i40e_aqc_add_filters() 2384 if (fcnt != num_add) { in i40e_aqc_add_filters()
|