/drivers/staging/comedi/drivers/ |
D | adl_pci7x3x.c | 162 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 …]
|
D | dmm32at.c | 168 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/ |
D | mdp4_lcdc_encoder.c | 113 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/ |
D | t4_hw.c | 4839 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 …]
|
D | cxgb4_uld.h | 250 unsigned char nchan:4; /* # of channels */ member
|
D | cxgb4_main.c | 2456 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()
|
D | cxgb4.h | 303 u8 nchan; member
|
D | cxgb4_debugfs.c | 808 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/ |
D | cyclades.c | 3507 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/ |
D | cxgb4i.c | 1449 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/ |
D | common.h | 303 unsigned int nchan; /* # of channels */ member
|
D | t3_hw.c | 3662 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()
|
D | cxgb3_main.c | 2392 m.pm_total = p->pmtx_size + p->chan_rx_size * p->nchan; in cxgb_extension_ioctl()
|
/drivers/infiniband/hw/cxgb4/ |
D | cm.c | 1971 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()
|
D | device.c | 1045 ctx->lldi.nchan, ctx->lldi.nrxq, in c4iw_uld_add()
|