/openbmc/qemu/hw/audio/ |
H A D | cs4231a.c | 527 static int cs_write_audio (CSState *s, int nchan, int dma_pos, in cs_write_audio() argument 538 int left = dma_len - dma_pos; in cs_write_audio() 547 copied = k->read_memory(s->isa_dma, nchan, tmpbuf, dma_pos, to_copy); in cs_write_audio() 562 dma_pos = (dma_pos + copied) % dma_len; 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 589 return dma_pos; in cs_dma_read() 592 written = cs_write_audio (s, nchan, dma_pos, dma_len, copy); in cs_dma_read() 594 dma_pos = (dma_pos + written) % dma_len; in cs_dma_read() 607 return dma_pos; in cs_dma_read()
|
H A D | sb16.c | 1178 static int write_audio (SB16State *s, int nchan, int dma_pos, in write_audio() argument 1190 int left = dma_len - dma_pos; in write_audio() 1203 dma_pos = (dma_pos + copied) % dma_len; in write_audio() 1222 dma_pos, dma_len); in SB_read_DMA() 1223 return dma_pos; in SB_read_DMA() 1233 return dma_pos; in SB_read_DMA() 1245 dma_pos, free, till, dma_len); in SB_read_DMA() 1254 written = write_audio (s, nchan, dma_pos, dma_len, copy); in SB_read_DMA() 1255 dma_pos = (dma_pos + written) % dma_len; in SB_read_DMA() 1269 dma_pos, free, dma_len, s->left_till_irq, copy, written, in SB_read_DMA() [all …]
|
H A D | gus.c | 182 static int GUS_read_DMA (void *opaque, int nchan, int dma_pos, int dma_len) in GUS_read_DMA() argument 187 int pos = dma_pos, mode, left = dma_len - dma_pos; in GUS_read_DMA() 189 ldebug ("read DMA %#x %d\n", dma_pos, dma_len); in GUS_read_DMA()
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | adl_pci9118.c | 434 if (dma_pos < start_pos) { in pci9118_ai_samples_ready() 436 x = start_pos - dma_pos; in pci9118_ai_samples_ready() 439 dma_pos += x; in pci9118_ai_samples_ready() 444 if (dma_pos < stop_pos) { in pci9118_ai_samples_ready() 446 x = stop_pos - dma_pos; in pci9118_ai_samples_ready() 450 dma_pos += x; in pci9118_ai_samples_ready() 476 dma_pos += n_raw_samples; in pci9118_ai_dma_xfer() 486 x = start_pos - dma_pos; in pci9118_ai_dma_xfer() 489 dma_pos += x; in pci9118_ai_dma_xfer() 496 x = stop_pos - dma_pos; in pci9118_ai_dma_xfer() [all …]
|
/openbmc/qemu/hw/dma/ |
H A D | trace-events | 22 i8257_unregistered_dma(int nchan, int dma_pos, int dma_len) "unregistered DMA channel used nchan=%d…
|
H A D | i8257.c | 474 static int i8257_phony_handler(void *opaque, int nchan, int dma_pos, in i8257_phony_handler() argument 477 trace_i8257_unregistered_dma(nchan, dma_pos, dma_len); in i8257_phony_handler() 478 return dma_pos; in i8257_phony_handler()
|
/openbmc/qemu/hw/block/ |
H A D | fdc-internal.h | 150 int fdctrl_transfer_handler(void *opaque, int nchan, int dma_pos, int dma_len);
|
H A D | fdc.c | 1590 int fdctrl_transfer_handler(void *opaque, int nchan, int dma_pos, int dma_len) in fdctrl_transfer_handler() argument
|
/openbmc/linux/drivers/staging/vme_user/ |
H A D | vme.c | 860 struct list_head *dma_pos = NULL; in vme_dma_request() local 875 list_for_each(dma_pos, &bridge->dma_resources) { in vme_dma_request() 876 dma_ctrlr = list_entry(dma_pos, in vme_dma_request()
|