Home
last modified time | relevance | path

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

/drivers/staging/comedi/drivers/
Dadl_pci7x3x.c162 int nchan; in adl_pci7x3x_auto_attach() local
184 nchan = min(board->di_nchan, 32); in adl_pci7x3x_auto_attach()
190 s->n_chan = nchan; in adl_pci7x3x_auto_attach()
199 nchan = board->di_nchan - nchan; in adl_pci7x3x_auto_attach()
200 if (nchan) { in adl_pci7x3x_auto_attach()
205 s->n_chan = nchan; in adl_pci7x3x_auto_attach()
217 nchan = min(board->do_nchan, 32); in adl_pci7x3x_auto_attach()
223 s->n_chan = nchan; in adl_pci7x3x_auto_attach()
232 nchan = board->do_nchan - nchan; in adl_pci7x3x_auto_attach()
233 if (nchan) { in adl_pci7x3x_auto_attach()
[all …]
Ddmm32at.c168 unsigned int chanspec, int nchan) in dmm32at_ai_set_chanspec() argument
172 unsigned int last_chan = (chan + nchan - 1) % s->n_chan; in dmm32at_ai_set_chanspec()
176 if (nchan > 1) in dmm32at_ai_set_chanspec()
/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_lcdc_encoder.c113 int bpp, nchan, swap; in setup_phy() local
124 nchan = 1; in setup_phy()
165 if (nchan == 2) { in setup_phy()
210 if (nchan == 2) { in setup_phy()
230 switch (nchan) { in setup_phy()
243 dev_err(dev->dev, "unknown # of channels: %d\n", nchan); in setup_phy()
/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c4839 int nchan = adap->params.arch.nchan; in t4_tp_get_err_stats() local
4842 st->mac_in_errs, nchan, TP_MIB_MAC_IN_ERR_0_A); in t4_tp_get_err_stats()
4844 st->hdr_in_errs, nchan, TP_MIB_HDR_IN_ERR_0_A); in t4_tp_get_err_stats()
4846 st->tcp_in_errs, nchan, TP_MIB_TCP_IN_ERR_0_A); in t4_tp_get_err_stats()
4848 st->tnl_cong_drops, nchan, TP_MIB_TNL_CNG_DROP_0_A); in t4_tp_get_err_stats()
4850 st->ofld_chan_drops, nchan, TP_MIB_OFD_CHN_DROP_0_A); in t4_tp_get_err_stats()
4852 st->tnl_tx_drops, nchan, TP_MIB_TNL_DROP_0_A); in t4_tp_get_err_stats()
4854 st->ofld_vlan_drops, nchan, TP_MIB_OFD_VLN_DROP_0_A); in t4_tp_get_err_stats()
4856 st->tcp6_in_errs, nchan, TP_MIB_TCP_V6IN_ERR_0_A); in t4_tp_get_err_stats()
4871 int nchan = adap->params.arch.nchan; in t4_tp_get_cpl_stats() local
[all …]
Dcxgb4_uld.h250 unsigned char nchan:4; /* # of channels */ member
Dcxgb4_main.c2456 lli.nchan = adap->params.nports; in uld_attach()
4459 unsigned int nchan = adap->params.nports; in enable_msix() local
4474 ofld_need = 3 * nchan; in enable_msix()
4504 s->rdmaqs = nchan; in enable_msix()
4505 s->rdmaciqs = nchan; in enable_msix()
4511 s->ofldqsets = (i / nchan) * nchan; /* round down */ in enable_msix()
Dcxgb4.h303 u8 nchan; member
Dcxgb4_debugfs.c808 if (adap->params.arch.nchan == NCHAN) { in tx_rate_show()
2944 for (i = 0; i < adap->params.arch.nchan; i++) { in meminfo_show()
/drivers/tty/
Dcyclades.c3507 u32 mailbox, status, nchan; in cyz_load_fw() local
3628 nchan = readl(&pt_zfwctrl->board_ctrl.n_channel); in cyz_load_fw()
3630 readl(&pt_zfwctrl->board_ctrl.fw_version), nchan); in cyz_load_fw()
3632 if (nchan == 0) { in cyz_load_fw()
3658 return nchan; in cyz_load_fw()
3672 unsigned int device_id, nchan = 0, card_no, i, j; in cy_pci_probe() local
3731 nchan = CyPORTS_PER_CHIP * cyy_init_card(addr2, 1); in cy_pci_probe()
3732 if (nchan == 0) { in cy_pci_probe()
3792 nchan = retval; in cy_pci_probe()
3795 if ((cy_next_channel + nchan) > NR_PORTS) { in cy_pci_probe()
[all …]
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1449 step = lldi->ntxq / lldi->nchan; in init_act_open()
1451 step = lldi->nrxq / lldi->nchan; in init_act_open()
1772 lldi->ports[0]->name, lldi->nchan, lldi->ntxq, in t4_uld_add()
/drivers/net/ethernet/chelsio/cxgb3/
Dcommon.h303 unsigned int nchan; /* # of channels */ member
Dt3_hw.c3662 p->nchan = adapter->params.chan_map == 3 ? 2 : 1; in t3_prep_adapter()
3667 p->chan_tx_size = p->pmtx_size / p->nchan; in t3_prep_adapter()
Dcxgb3_main.c2392 m.pm_total = p->pmtx_size + p->chan_rx_size * p->nchan; in cxgb_extension_ioctl()
/drivers/infiniband/hw/cxgb4/
Dcm.c1971 cdev->rdev.lldi.nchan; in import_ep()
1974 cdev->rdev.lldi.nchan; in import_ep()
1991 cdev->rdev.lldi.nchan; in import_ep()
1995 cdev->rdev.lldi.nchan; in import_ep()
3894 step = dev->rdev.lldi.nrxq / dev->rdev.lldi.nchan; in rx_pkt()
Ddevice.c1045 ctx->lldi.nchan, ctx->lldi.nrxq, in c4iw_uld_add()