Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/disp/mdp4/
Dmdp4_lcdc_encoder.c64 int bpp, nchan, swap; in setup_phy() local
75 nchan = 1; in setup_phy()
116 if (nchan == 2) { in setup_phy()
161 if (nchan == 2) { in setup_phy()
181 switch (nchan) { in setup_phy()
194 DRM_DEV_ERROR(dev->dev, "unknown # of channels: %d\n", nchan); in setup_phy()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
Ddwxgmac2_dma.c446 static void dwxgmac2_rx_watchdog(void __iomem *ioaddr, u32 riwt, u32 nchan) in dwxgmac2_rx_watchdog() argument
450 for (i = 0; i < nchan; i++) in dwxgmac2_rx_watchdog()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/
Dt4_hw.c5658 int nchan = adap->params.arch.nchan; in t4_tp_get_err_stats() local
5660 t4_tp_mib_read(adap, st->mac_in_errs, nchan, TP_MIB_MAC_IN_ERR_0_A, in t4_tp_get_err_stats()
5662 t4_tp_mib_read(adap, st->hdr_in_errs, nchan, TP_MIB_HDR_IN_ERR_0_A, in t4_tp_get_err_stats()
5664 t4_tp_mib_read(adap, st->tcp_in_errs, nchan, TP_MIB_TCP_IN_ERR_0_A, in t4_tp_get_err_stats()
5666 t4_tp_mib_read(adap, st->tnl_cong_drops, nchan, in t4_tp_get_err_stats()
5668 t4_tp_mib_read(adap, st->ofld_chan_drops, nchan, in t4_tp_get_err_stats()
5670 t4_tp_mib_read(adap, st->tnl_tx_drops, nchan, TP_MIB_TNL_DROP_0_A, in t4_tp_get_err_stats()
5672 t4_tp_mib_read(adap, st->ofld_vlan_drops, nchan, in t4_tp_get_err_stats()
5674 t4_tp_mib_read(adap, st->tcp6_in_errs, nchan, in t4_tp_get_err_stats()
5691 int nchan = adap->params.arch.nchan; in t4_tp_get_cpl_stats() local
[all …]
Dcxgb4_uld.h434 unsigned char nchan:4; /* # of channels */ member
Dcxgb4_debugfs.c827 if (adap->params.arch.nchan == NCHAN) { in tx_rate_show()
3517 for (i = 0; i < adap->params.arch.nchan; i++) in meminfo_show()
3601 for (i = 0; i < adap->params.arch.nchan; i++) \
3610 for (i = 0; i < adap->params.arch.nchan; i++) \
3716 for (i = 0; i < adap->params.arch.nchan; i++) in show_fcoe_stats()
3740 if (adap->params.arch.nchan == NCHAN) in tp_stats_show()
Dcxgb4_main.c5918 u8 num_uld = 0, nchan = adap->params.nports; in enable_msix() local
5930 need = 8 * nchan; in enable_msix()
5932 need = nchan; in enable_msix()
5938 uld_need = num_uld * nchan; in enable_msix()
5950 mirror_need = nchan; in enable_msix()
6001 ofldqsets = nchan; in enable_msix()
6075 pi->nmirrorqsets = s->mirrorqsets / nchan; in enable_msix()
Dcxgb4_uld.c608 lld->nchan = adap->params.nports; in uld_init()
Dcxgb4.h429 u8 nchan; member
Dcudbg_lib.c794 for (i = 0; i < padap->params.arch.nchan; i++) { in cudbg_fill_meminfo()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb3/
Dcommon.h303 unsigned int nchan; /* # of channels */ member
Dt3_hw.c3699 p->nchan = adapter->params.chan_map == 3 ? 2 : 1; in t3_prep_adapter()
3704 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()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dleon_pci_grpci2.c146 unsigned int nchan; /* 0x04 Next DMA Channel Address */ member
/kernel/linux/linux-5.10/drivers/scsi/cxgbi/cxgb4i/
Dcxgb4i.c1862 step = lldi->ntxq / lldi->nchan; in init_act_open()
1864 step = lldi->nrxq / lldi->nchan; in init_act_open()
2228 lldi->ports[0]->name, lldi->nchan, lldi->ntxq, in t4_uld_add()
/kernel/linux/linux-5.10/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()
4170 step = dev->rdev.lldi.nrxq / dev->rdev.lldi.nchan; in rx_pkt()
Ddevice.c1091 ctx->lldi.nchan, ctx->lldi.nrxq, in c4iw_uld_add()
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
Dcxgbit_cm.c940 cdev->lldi.nchan; in cxgbit_offload_init()
943 cdev->lldi.nchan; in cxgbit_offload_init()
/kernel/linux/linux-5.10/drivers/crypto/chelsio/
Dchcr_algo.c1462 rxq_perchan = u_ctx->lldi.nrxq / u_ctx->lldi.nchan; in chcr_device_init()
1463 txq_perchan = ntxq / u_ctx->lldi.nchan; in chcr_device_init()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c1230 step = cdev->lldi->nrxq / cdev->lldi->nchan; in chtls_recv_sock()