Home
last modified time | relevance | path

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

12

/openbmc/qemu/include/hw/isa/
H A Disa.h34 typedef int (*IsaDmaTransferHandler)(void *opaque, int nchan, int pos,
40 bool (*has_autoinitialization)(IsaDma *obj, int nchan);
41 int (*read_memory)(IsaDma *obj, int nchan, void *buf, int pos, int len);
42 int (*write_memory)(IsaDma *obj, int nchan, void *buf, int pos, int len);
43 void (*hold_DREQ)(IsaDma *obj, int nchan);
44 void (*release_DREQ)(IsaDma *obj, int nchan);
46 void (*register_channel)(IsaDma *obj, int nchan,
74 IsaDma *isa_bus_get_dma(ISABus *bus, int nchan);
/openbmc/linux/drivers/comedi/drivers/
H A Dadl_pci7x3x.c349 int nchan; in adl_pci7x3x_auto_attach() local
402 s->n_chan = nchan; in adl_pci7x3x_auto_attach()
411 nchan = board->di_nchan - nchan; in adl_pci7x3x_auto_attach()
412 if (nchan) { in adl_pci7x3x_auto_attach()
417 s->n_chan = nchan; in adl_pci7x3x_auto_attach()
435 s->n_chan = nchan; in adl_pci7x3x_auto_attach()
444 nchan = board->do_nchan - nchan; in adl_pci7x3x_auto_attach()
445 if (nchan) { in adl_pci7x3x_auto_attach()
450 s->n_chan = nchan; in adl_pci7x3x_auto_attach()
464 nchan = 1; in adl_pci7x3x_auto_attach()
[all …]
H A Ddmm32at.c160 unsigned int chanspec, int nchan) in dmm32at_ai_set_chanspec() argument
164 unsigned int last_chan = (chan + nchan - 1) % s->n_chan; in dmm32at_ai_set_chanspec()
168 if (nchan > 1) in dmm32at_ai_set_chanspec()
/openbmc/qemu/hw/dma/
H A Di8257.c294 static bool i8257_dma_has_autoinitialization(IsaDma *obj, int nchan) in i8257_dma_has_autoinitialization() argument
297 return (d->regs[nchan & 3].mode >> 4) & 1; in i8257_dma_has_autoinitialization()
300 static void i8257_dma_hold_DREQ(IsaDma *obj, int nchan) in i8257_dma_hold_DREQ() argument
305 ichan = nchan & 3; in i8257_dma_hold_DREQ()
310 static void i8257_dma_release_DREQ(IsaDma *obj, int nchan) in i8257_dma_release_DREQ() argument
315 ichan = nchan & 3; in i8257_dma_release_DREQ()
381 static void i8257_dma_register_channel(IsaDma *obj, int nchan, in i8257_dma_register_channel() argument
389 ichan = nchan & 3; in i8257_dma_register_channel()
405 I8257Regs *r = &d->regs[nchan & 3]; in i8257_dma_read_memory()
433 I8257Regs *r = &s->regs[nchan & 3]; in i8257_dma_write_memory()
[all …]
H A Dtrace-events22 i8257_unregistered_dma(int nchan, int dma_pos, int dma_len) "unregistered DMA channel used nchan=%d…
/openbmc/linux/drivers/gpu/drm/msm/disp/mdp4/
H A 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()
/openbmc/qemu/hw/isa/
H A Disa-bus.c115 IsaDma *isa_bus_get_dma(ISABus *bus, int nchan) in isa_bus_get_dma() argument
118 return bus->dma[nchan > 3 ? 1 : 0]; in isa_bus_get_dma()
/openbmc/linux/drivers/input/touchscreen/
H A 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()
/openbmc/qemu/hw/audio/
H A Dsb16.c1178 static int write_audio (SB16State *s, int nchan, int dma_pos, in write_audio() argument
1181 IsaDma *isa_dma = nchan == s->dma ? s->isa_dma : s->isa_hdma; in write_audio()
1199 copied = k->read_memory(isa_dma, nchan, tmpbuf, dma_pos, to_copy); in write_audio()
1214 static int SB_read_DMA (void *opaque, int nchan, int dma_pos, int dma_len) in SB_read_DMA() argument
1221 " dma_pos=%d dma_len=%d\n", s->block_size, nchan, in SB_read_DMA()
1254 written = write_audio (s, nchan, dma_pos, dma_len, copy); in SB_read_DMA()
1259 s->mixer_regs[0x82] |= (nchan & 4) ? 2 : 1; in SB_read_DMA()
H A Dcs4231a.c527 static int cs_write_audio (CSState *s, int nchan, int dma_pos, in cs_write_audio() argument
547 copied = k->read_memory(s->isa_dma, nchan, tmpbuf, dma_pos, to_copy); in cs_write_audio()
573 static int cs_dma_read (void *opaque, int nchan, int dma_pos, int dma_len) in cs_dma_read() argument
592 written = cs_write_audio (s, nchan, dma_pos, dma_len, copy); in cs_dma_read()
H A Dgus.c182 static int GUS_read_DMA (void *opaque, int nchan, int dma_pos, int dma_len) in GUS_read_DMA() argument
196 copied = k->read_memory(s->isa_dma, nchan, tmpbuf, pos, to_copy); in GUS_read_DMA()
/openbmc/qemu/include/hw/ppc/
H A Dmac_dbdma.h171 void DBDMA_register_channel(void *dbdma, int nchan, qemu_irq irq,
/openbmc/qemu/hw/block/
H A Dfdc-internal.h150 int fdctrl_transfer_handler(void *opaque, int nchan, int dma_pos, int dma_len);
H A Dfdc.c1590 int fdctrl_transfer_handler(void *opaque, int nchan, int dma_pos, int dma_len) in fdctrl_transfer_handler() argument
1642 k->write_memory(fdctrl->dma, nchan, fdctrl->fifo + rel_pos, in fdctrl_transfer_handler()
1657 k->read_memory(fdctrl->dma, nchan, fdctrl->fifo + rel_pos, in fdctrl_transfer_handler()
1675 k->read_memory(fdctrl->dma, nchan, tmpbuf, fdctrl->data_pos, in fdctrl_transfer_handler()
/openbmc/qemu/hw/misc/macio/
H A Dmac_dbdma.c565 void DBDMA_register_channel(void *dbdma, int nchan, qemu_irq irq, in DBDMA_register_channel() argument
570 DBDMA_channel *ch = &s->channels[nchan]; in DBDMA_register_channel()
572 DBDMA_DPRINTFCH(ch, "DBDMA_register_channel 0x%x\n", nchan); in DBDMA_register_channel()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dt4_hw.c5630 int nchan = adap->params.arch.nchan; in t4_tp_get_err_stats() local
5638 t4_tp_mib_read(adap, st->tnl_cong_drops, nchan, in t4_tp_get_err_stats()
5640 t4_tp_mib_read(adap, st->ofld_chan_drops, nchan, in t4_tp_get_err_stats()
5644 t4_tp_mib_read(adap, st->ofld_vlan_drops, nchan, in t4_tp_get_err_stats()
5646 t4_tp_mib_read(adap, st->tcp6_in_errs, nchan, in t4_tp_get_err_stats()
5663 int nchan = adap->params.arch.nchan; in t4_tp_get_cpl_stats() local
5914 if (adap->params.arch.nchan == NCHAN) { in t4_get_chan_txrate()
5922 if (adap->params.arch.nchan == NCHAN) { in t4_get_chan_txrate()
9140 adapter->params.arch.nchan = NCHAN; in t4_prep_adapter()
9154 adapter->params.arch.nchan = NCHAN; in t4_prep_adapter()
[all …]
H A Dcxgb4_uld.h434 unsigned char nchan:4; /* # of channels */ member
H A 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()
H A Dcxgb4_main.c5908 u8 num_uld = 0, nchan = adap->params.nports; in enable_msix() local
5920 need = 8 * nchan; in enable_msix()
5922 need = nchan; in enable_msix()
5928 uld_need = num_uld * nchan; in enable_msix()
5940 mirror_need = nchan; in enable_msix()
5991 ofldqsets = nchan; in enable_msix()
6065 pi->nmirrorqsets = s->mirrorqsets / nchan; in enable_msix()
H A Dcxgb4_uld.c608 lld->nchan = adap->params.nports; in uld_init()
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcommon.h303 unsigned int nchan; /* # of channels */ member
/openbmc/linux/arch/sparc/kernel/
H A Dleon_pci_grpci2.c148 unsigned int nchan; /* 0x04 Next DMA Channel Address */ member
/openbmc/linux/drivers/scsi/cxgbi/cxgb4i/
H A Dcxgb4i.c1863 step = lldi->ntxq / lldi->nchan; in init_act_open()
1865 step = lldi->nrxq / lldi->nchan; in init_act_open()
2229 lldi->ports[0]->name, lldi->nchan, lldi->ntxq, in t4_uld_add()
/openbmc/linux/drivers/infiniband/hw/cxgb4/
H A Dcm.c2114 cdev->rdev.lldi.nchan; in import_ep()
2117 cdev->rdev.lldi.nchan; in import_ep()
2132 cdev->rdev.lldi.nchan; in import_ep()
2136 cdev->rdev.lldi.nchan; in import_ep()
4178 step = dev->rdev.lldi.nrxq / dev->rdev.lldi.nchan; in rx_pkt()
/openbmc/linux/drivers/target/iscsi/cxgbit/
H A Dcxgbit_cm.c942 cdev->lldi.nchan; in cxgbit_offload_init()
945 cdev->lldi.nchan; in cxgbit_offload_init()

12