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

/linux-4.1.27/drivers/staging/comedi/drivers/
H A Dadl_pci7x3x.c162 int nchan; adl_pci7x3x_auto_attach() local
184 nchan = min(board->di_nchan, 32); adl_pci7x3x_auto_attach()
190 s->n_chan = nchan; adl_pci7x3x_auto_attach()
199 nchan = board->di_nchan - nchan; adl_pci7x3x_auto_attach()
200 if (nchan) { adl_pci7x3x_auto_attach()
205 s->n_chan = nchan; adl_pci7x3x_auto_attach()
217 nchan = min(board->do_nchan, 32); adl_pci7x3x_auto_attach()
223 s->n_chan = nchan; adl_pci7x3x_auto_attach()
232 nchan = board->do_nchan - nchan; adl_pci7x3x_auto_attach()
233 if (nchan) { adl_pci7x3x_auto_attach()
238 s->n_chan = nchan; adl_pci7x3x_auto_attach()
H A Ddmm32at.c168 unsigned int chanspec, int nchan) dmm32at_ai_set_chanspec()
172 unsigned int last_chan = (chan + nchan - 1) % s->n_chan; dmm32at_ai_set_chanspec()
176 if (nchan > 1) dmm32at_ai_set_chanspec()
166 dmm32at_ai_set_chanspec(struct comedi_device *dev, struct comedi_subdevice *s, unsigned int chanspec, int nchan) dmm32at_ai_set_chanspec() argument
H A Dicp_multi.c393 if (CR_CHAN(chanlist[i]) > (s->nchan / 2)) {
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp4/
H A Dmdp4_lcdc_encoder.c113 int bpp, nchan, swap; setup_phy() local
124 nchan = 1; setup_phy()
165 if (nchan == 2) { setup_phy()
210 if (nchan == 2) { setup_phy()
230 switch (nchan) { setup_phy()
243 dev_err(dev->dev, "unknown # of channels: %d\n", nchan); setup_phy()
/linux-4.1.27/drivers/tty/
H A Dcyclades.c3520 u32 mailbox, status, nchan; cyz_load_fw() local
3641 nchan = readl(&pt_zfwctrl->board_ctrl.n_channel); cyz_load_fw()
3643 readl(&pt_zfwctrl->board_ctrl.fw_version), nchan); cyz_load_fw()
3645 if (nchan == 0) { cyz_load_fw()
3671 return nchan; cyz_load_fw()
3685 unsigned int device_id, nchan = 0, card_no, i, j; cy_pci_probe() local
3744 nchan = CyPORTS_PER_CHIP * cyy_init_card(addr2, 1); cy_pci_probe()
3745 if (nchan == 0) { cy_pci_probe()
3805 nchan = retval; cy_pci_probe()
3808 if ((cy_next_channel + nchan) > NR_PORTS) { cy_pci_probe()
3836 card->num_chips = nchan / CyPORTS_PER_CHIP; cy_pci_probe()
3865 card->nports = nchan; cy_pci_probe()
3895 "port %d.\n", card_name, card_no + 1, nchan, cy_next_channel); cy_pci_probe()
3896 for (j = 0, i = cy_next_channel; i < cy_next_channel + nchan; i++, j++) cy_pci_probe()
3899 cy_next_channel += nchan; cy_pci_probe()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_uld.h241 unsigned char nchan:4; /* # of channels */ member in struct:cxgb4_lld_info
H A Dcxgb4_main.c2412 lli.nchan = adap->params.nports; uld_attach()
4278 unsigned int nchan = adap->params.nports; enable_msix() local
4292 /* need nchan for each possible ULD */ enable_msix()
4293 ofld_need = 3 * nchan; enable_msix()
4323 s->rdmaqs = nchan; enable_msix()
4324 s->rdmaciqs = nchan; enable_msix()
4330 s->ofldqsets = (i / nchan) * nchan; /* round down */ enable_msix()
/linux-4.1.27/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c1439 step = lldi->ntxq / lldi->nchan; init_act_open()
1441 step = lldi->nrxq / lldi->nchan; init_act_open()
1747 lldi->ports[0]->name, lldi->nchan, lldi->ntxq, t4_uld_add()
/linux-4.1.27/drivers/infiniband/hw/cxgb4/
H A Ddevice.c1052 PDBG("%s found device %s nchan %u nrxq %u ntxq %u nports %u\n", c4iw_uld_add()
1054 ctx->lldi.nchan, ctx->lldi.nrxq, c4iw_uld_add()
H A Dcm.c1911 cdev->rdev.lldi.nchan; import_ep()
1914 cdev->rdev.lldi.nchan; import_ep()
1930 cdev->rdev.lldi.nchan; import_ep()
1934 cdev->rdev.lldi.nchan; import_ep()
3750 step = dev->rdev.lldi.nrxq / dev->rdev.lldi.nchan; rx_pkt()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
H A Dcommon.h303 unsigned int nchan; /* # of channels */ member in struct:tp_params
H A Dt3_hw.c3662 p->nchan = adapter->params.chan_map == 3 ? 2 : 1; t3_prep_adapter()
3667 p->chan_tx_size = p->pmtx_size / p->nchan; t3_prep_adapter()
H A Dcxgb3_main.c2379 m.pm_total = p->pmtx_size + p->chan_rx_size * p->nchan;
/linux-4.1.27/arch/sparc/kernel/
H A Dleon_pci_grpci2.c145 unsigned int nchan; /* 0x04 Next DMA Channel Address */ member in struct:grpci2_bd_chan
/linux-4.1.27/sound/pci/hda/
H A Dpatch_ca0132.c2317 "chpadr=0x%08x frmsz=%u nchan=%u " dspxfr_one_seg()

Completed in 451 milliseconds