Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/staging/comedi/drivers/
Dadl_pci7x3x.c153 int nchan; in adl_pci7x3x_auto_attach() local
175 nchan = min(board->di_nchan, 32); in adl_pci7x3x_auto_attach()
181 s->n_chan = nchan; in adl_pci7x3x_auto_attach()
190 nchan = board->di_nchan - nchan; in adl_pci7x3x_auto_attach()
191 if (nchan) { in adl_pci7x3x_auto_attach()
196 s->n_chan = nchan; in adl_pci7x3x_auto_attach()
208 nchan = min(board->do_nchan, 32); in adl_pci7x3x_auto_attach()
214 s->n_chan = nchan; in adl_pci7x3x_auto_attach()
223 nchan = board->do_nchan - nchan; in adl_pci7x3x_auto_attach()
224 if (nchan) { in adl_pci7x3x_auto_attach()
[all …]
Ddmm32at.c161 unsigned int chanspec, int nchan) in dmm32at_ai_set_chanspec() argument
165 unsigned int last_chan = (chan + nchan - 1) % s->n_chan; in dmm32at_ai_set_chanspec()
169 if (nchan > 1) in dmm32at_ai_set_chanspec()
/Linux-v5.4/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_lcdc_encoder.c105 int bpp, nchan, swap; in setup_phy() local
116 nchan = 1; in setup_phy()
157 if (nchan == 2) { in setup_phy()
202 if (nchan == 2) { in setup_phy()
222 switch (nchan) { in setup_phy()
235 DRM_DEV_ERROR(dev->dev, "unknown # of channels: %d\n", nchan); in setup_phy()
/Linux-v5.4/drivers/input/touchscreen/
Dsx8654.c139 u8 nchan = hweight32(ts->data->chan_mask); in sx8650_irq() local
140 u8 readlen = nchan * sizeof(*data); in sx8650_irq()
160 for (i = 0; i < nchan; i++) { in sx8650_irq()
/Linux-v5.4/drivers/tty/
Dcyclades.c3482 u32 mailbox, status, nchan; in cyz_load_fw() local
3603 nchan = readl(&pt_zfwctrl->board_ctrl.n_channel); in cyz_load_fw()
3605 readl(&pt_zfwctrl->board_ctrl.fw_version), nchan); in cyz_load_fw()
3607 if (nchan == 0) { in cyz_load_fw()
3633 return nchan; in cyz_load_fw()
3647 unsigned int device_id, nchan = 0, card_no, i, j; in cy_pci_probe() local
3706 nchan = CyPORTS_PER_CHIP * cyy_init_card(addr2, 1); in cy_pci_probe()
3707 if (nchan == 0) { in cy_pci_probe()
3767 nchan = retval; in cy_pci_probe()
3770 if ((cy_next_channel + nchan) > NR_PORTS) { in cy_pci_probe()
[all …]
/Linux-v5.4/drivers/net/ethernet/stmicro/stmmac/
Ddwxgmac2_dma.c430 static void dwxgmac2_rx_watchdog(void __iomem *ioaddr, u32 riwt, u32 nchan) in dwxgmac2_rx_watchdog() argument
434 for (i = 0; i < nchan; i++) in dwxgmac2_rx_watchdog()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c5642 int nchan = adap->params.arch.nchan; in t4_tp_get_err_stats() local
5644 t4_tp_mib_read(adap, st->mac_in_errs, nchan, TP_MIB_MAC_IN_ERR_0_A, in t4_tp_get_err_stats()
5646 t4_tp_mib_read(adap, st->hdr_in_errs, nchan, TP_MIB_HDR_IN_ERR_0_A, in t4_tp_get_err_stats()
5648 t4_tp_mib_read(adap, st->tcp_in_errs, nchan, TP_MIB_TCP_IN_ERR_0_A, in t4_tp_get_err_stats()
5650 t4_tp_mib_read(adap, st->tnl_cong_drops, nchan, in t4_tp_get_err_stats()
5652 t4_tp_mib_read(adap, st->ofld_chan_drops, nchan, in t4_tp_get_err_stats()
5654 t4_tp_mib_read(adap, st->tnl_tx_drops, nchan, TP_MIB_TNL_DROP_0_A, in t4_tp_get_err_stats()
5656 t4_tp_mib_read(adap, st->ofld_vlan_drops, nchan, in t4_tp_get_err_stats()
5658 t4_tp_mib_read(adap, st->tcp6_in_errs, nchan, in t4_tp_get_err_stats()
5675 int nchan = adap->params.arch.nchan; in t4_tp_get_cpl_stats() local
[all …]
Dcxgb4_uld.h329 unsigned char nchan:4; /* # of channels */ member
Dcxgb4_debugfs.c827 if (adap->params.arch.nchan == NCHAN) { in tx_rate_show()
3319 for (i = 0; i < adap->params.arch.nchan; i++) in meminfo_show()
3360 for (i = 0; i < adap->params.arch.nchan; i++) \
3369 for (i = 0; i < adap->params.arch.nchan; i++) \
3475 for (i = 0; i < adap->params.arch.nchan; i++) in show_fcoe_stats()
3499 if (adap->params.arch.nchan == NCHAN) in tp_stats_show()
Dcxgb4_uld.c662 lld->nchan = adap->params.nports; in uld_init()
Dcxgb4_main.c5279 unsigned int nchan = adap->params.nports; in enable_msix() local
5304 ofld_need = adap->num_ofld_uld * nchan; in enable_msix()
5308 uld_need = adap->num_uld * nchan; in enable_msix()
5338 s->nqs_per_uld = nchan; in enable_msix()
Dcxgb4.h354 u8 nchan; member
Dcudbg_lib.c386 for (i = 0; i < padap->params.arch.nchan; i++) { in cudbg_fill_meminfo()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/
Dcommon.h303 unsigned int nchan; /* # of channels */ member
Dt3_hw.c3696 p->nchan = adapter->params.chan_map == 3 ? 2 : 1; in t3_prep_adapter()
3701 p->chan_tx_size = p->pmtx_size / p->nchan; in t3_prep_adapter()
Dcxgb3_main.c2403 m.pm_total = p->pmtx_size + p->chan_rx_size * p->nchan; in cxgb_extension_ioctl()
/Linux-v5.4/arch/sparc/kernel/
Dleon_pci_grpci2.c146 unsigned int nchan; /* 0x04 Next DMA Channel Address */ member
/Linux-v5.4/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1782 step = lldi->ntxq / lldi->nchan; in init_act_open()
1784 step = lldi->nrxq / lldi->nchan; in init_act_open()
2130 lldi->ports[0]->name, lldi->nchan, lldi->ntxq, in t4_uld_add()
/Linux-v5.4/drivers/infiniband/hw/cxgb4/
Dcm.c2109 cdev->rdev.lldi.nchan; in import_ep()
2112 cdev->rdev.lldi.nchan; in import_ep()
2128 cdev->rdev.lldi.nchan; in import_ep()
2132 cdev->rdev.lldi.nchan; in import_ep()
4166 step = dev->rdev.lldi.nrxq / dev->rdev.lldi.nchan; in rx_pkt()
Ddevice.c1090 ctx->lldi.nchan, ctx->lldi.nrxq, in c4iw_uld_add()
/Linux-v5.4/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c940 cdev->lldi.nchan; in cxgbit_offload_init()
943 cdev->lldi.nchan; in cxgbit_offload_init()
/Linux-v5.4/drivers/crypto/chelsio/
Dchcr_algo.c1378 rxq_perchan = u_ctx->lldi.nrxq / u_ctx->lldi.nchan; in chcr_device_init()
1379 txq_perchan = ntxq / u_ctx->lldi.nchan; in chcr_device_init()
/Linux-v5.4/drivers/crypto/chelsio/chtls/
Dchtls_cm.c1077 step = cdev->lldi->nrxq / cdev->lldi->nchan; in chtls_recv_sock()