/src/sys/arch/atari/dev/ |
atari5380.c | 892 u_long bytes_done; local in function:falcon_get_dma_result 918 bytes_done = st_dmaaddr_get() - reqp->dm_cur->dm_addr; 919 if (bytes_done & 511) { 922 "of 512 (%ld)\n", bytes_done); 924 bytes_done &= ~511; 926 if ((*bytes_left = reqp->dm_cur->dm_count - bytes_done) == 0)
|
ncr5380.c | 1494 long bytes_left, bytes_done; local in function:dma_ready 1524 bytes_done = reqp->dm_cur->dm_count - bytes_left; 1533 memcpy(reqp->xdata_ptr, reqp->bouncerp, bytes_done); 1534 reqp->bouncerp += bytes_done; 1537 reqp->xdata_ptr = &reqp->xdata_ptr[bytes_done]; /* XXX */ 1538 reqp->xdata_len -= bytes_done; /* XXX */ 1539 if ((reqp->dm_cur->dm_count -= bytes_done) == 0) 1542 reqp->dm_cur->dm_addr += bytes_done;
|
atari5380.c | 892 u_long bytes_done; local in function:falcon_get_dma_result 918 bytes_done = st_dmaaddr_get() - reqp->dm_cur->dm_addr; 919 if (bytes_done & 511) { 922 "of 512 (%ld)\n", bytes_done); 924 bytes_done &= ~511; 926 if ((*bytes_left = reqp->dm_cur->dm_count - bytes_done) == 0)
|
ncr5380.c | 1494 long bytes_left, bytes_done; local in function:dma_ready 1524 bytes_done = reqp->dm_cur->dm_count - bytes_left; 1533 memcpy(reqp->xdata_ptr, reqp->bouncerp, bytes_done); 1534 reqp->bouncerp += bytes_done; 1537 reqp->xdata_ptr = &reqp->xdata_ptr[bytes_done]; /* XXX */ 1538 reqp->xdata_len -= bytes_done; /* XXX */ 1539 if ((reqp->dm_cur->dm_count -= bytes_done) == 0) 1542 reqp->dm_cur->dm_addr += bytes_done;
|
/src/sys/arch/mac68k/dev/ |
ncr5380.c | 1463 long bytes_left, bytes_done; local in function:dma_ready 1492 bytes_done = reqp->dm_cur->dm_count - bytes_left; 1501 memcpy(reqp->xdata_ptr, reqp->bouncerp, bytes_done); 1502 reqp->bouncerp += bytes_done; 1505 reqp->xdata_ptr = &reqp->xdata_ptr[bytes_done]; /* XXX */ 1506 reqp->xdata_len -= bytes_done; /* XXX */ 1507 if ((reqp->dm_cur->dm_count -= bytes_done) == 0) 1509 else reqp->dm_cur->dm_addr += bytes_done;
|
ncr5380.c | 1463 long bytes_left, bytes_done; local in function:dma_ready 1492 bytes_done = reqp->dm_cur->dm_count - bytes_left; 1501 memcpy(reqp->xdata_ptr, reqp->bouncerp, bytes_done); 1502 reqp->bouncerp += bytes_done; 1505 reqp->xdata_ptr = &reqp->xdata_ptr[bytes_done]; /* XXX */ 1506 reqp->xdata_len -= bytes_done; /* XXX */ 1507 if ((reqp->dm_cur->dm_count -= bytes_done) == 0) 1509 else reqp->dm_cur->dm_addr += bytes_done;
|