Home
last modified time | relevance | path

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

/drivers/staging/comedi/drivers/
Dadl_pci7x3x.c157 int nchan; in adl_pci7x3x_auto_attach() local
191 nchan = min(board->di_nchan, 32); in adl_pci7x3x_auto_attach()
197 s->n_chan = nchan; in adl_pci7x3x_auto_attach()
206 nchan = board->di_nchan - nchan; in adl_pci7x3x_auto_attach()
207 if (nchan) { in adl_pci7x3x_auto_attach()
212 s->n_chan = nchan; in adl_pci7x3x_auto_attach()
224 nchan = min(board->do_nchan, 32); in adl_pci7x3x_auto_attach()
230 s->n_chan = nchan; in adl_pci7x3x_auto_attach()
239 nchan = board->do_nchan - nchan; in adl_pci7x3x_auto_attach()
240 if (nchan) { in adl_pci7x3x_auto_attach()
[all …]
Dicp_multi.c442 if (CR_CHAN(chanlist[i]) > (s->nchan / 2)) {
/drivers/tty/
Dcyclades.c3518 u32 mailbox, status, nchan; in cyz_load_fw() local
3639 nchan = readl(&pt_zfwctrl->board_ctrl.n_channel); in cyz_load_fw()
3641 readl(&pt_zfwctrl->board_ctrl.fw_version), nchan); in cyz_load_fw()
3643 if (nchan == 0) { in cyz_load_fw()
3669 return nchan; in cyz_load_fw()
3683 unsigned int device_id, nchan = 0, card_no, i, j; in cy_pci_probe() local
3742 nchan = CyPORTS_PER_CHIP * cyy_init_card(addr2, 1); in cy_pci_probe()
3743 if (nchan == 0) { in cy_pci_probe()
3803 nchan = retval; in cy_pci_probe()
3806 if ((cy_next_channel + nchan) > NR_PORTS) { in cy_pci_probe()
[all …]
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_uld.h225 unsigned char nchan:4; /* # of channels */ member
Dcxgb4_main.c3679 lli.nchan = adap->params.nports; in uld_attach()
5395 unsigned int nchan = adap->params.nports; in enable_msix() local
5405 ofld_need = 2 * nchan; in enable_msix()
5426 i -= ofld_need - nchan; in enable_msix()
5427 s->ofldqsets = (i / nchan) * nchan; /* round down */ in enable_msix()
/drivers/infiniband/hw/cxgb4/
Dcm.c1629 step = ep->com.dev->rdev.lldi.ntxq / ep->com.dev->rdev.lldi.nchan; in c4iw_reconnect()
1632 step = ep->com.dev->rdev.lldi.nrxq / ep->com.dev->rdev.lldi.nchan; in c4iw_reconnect()
1921 cdev->rdev.lldi.nchan; in import_ep()
1924 cdev->rdev.lldi.nchan; in import_ep()
1938 cdev->rdev.lldi.nchan; in import_ep()
1942 cdev->rdev.lldi.nchan; in import_ep()
3117 step = dev->rdev.lldi.nrxq / dev->rdev.lldi.nchan; in rx_pkt()
Ddevice.c719 ctx->lldi.nchan, ctx->lldi.nrxq, in c4iw_uld_add()
/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1169 step = lldi->ntxq / lldi->nchan; in init_act_open()
1171 step = lldi->nrxq / lldi->nchan; in init_act_open()
1451 lldi->ports[0]->name, lldi->nchan, lldi->ntxq, in t4_uld_add()
/drivers/net/ethernet/chelsio/cxgb3/
Dcommon.h304 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.c2379 m.pm_total = p->pmtx_size + p->chan_rx_size * p->nchan; in cxgb_extension_ioctl()