Lines Matching defs:scb

291 	u32 scb;
303 volatile struct i596_scb scb __attribute__((aligned(32)));
418 dma_sync_cpu(dev, &(dma->scb), sizeof(struct i596_scb));
419 while (--delcnt && dma->scb.command) {
421 dma_sync_cpu(dev, &(dma->scb), sizeof(struct i596_scb));
426 SWAP16(dma->scb.status),
427 SWAP16(dma->scb.command));
444 printk(KERN_DEBUG "iscp at %p, iscp.stat = %08x, .scb = %08x\n",
445 &dma->iscp, SWAP32(dma->iscp.stat), SWAP32(dma->iscp.scb));
446 printk(KERN_DEBUG "scb at %p, scb.status = %04x, .command = %04x,"
448 &dma->scb, SWAP16(dma->scb.status), SWAP16(dma->scb.command),
449 SWAP16(dma->scb.cmd), SWAP32(dma->scb.rfd));
452 SWAP32(dma->scb.crc_err), SWAP32(dma->scb.align_err),
453 SWAP32(dma->scb.resource_err), SWAP32(dma->scb.over_err),
454 SWAP32(dma->scb.rcvdt_err), SWAP32(dma->scb.short_err));
530 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds));
574 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds));
597 dma->iscp.scb = SWAP32(virt_to_dma(lp, &(dma->scb)));
602 dma->scb.cmd = I596_NULL;
608 dma_sync_dev(dev, &(dma->scb), sizeof(struct i596_scb));
626 dma->scb.command = 0;
627 dma_sync_dev(dev, &(dma->scb), sizeof(struct i596_scb));
654 dma->scb.command = SWAP16(RX_START);
655 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds));
656 dma_sync_dev(dev, &(dma->scb), sizeof(struct i596_scb));
808 lp->dma->scb.rfd = rfd->b_next;
862 lp->dma->scb.cmd = I596_NULL;
863 dma_sync_dev(dev, &(lp->dma->scb), sizeof(struct i596_scb));
880 lp->dma->scb.command = SWAP16(CUC_ABORT | RX_ABORT);
881 dma_sync_dev(dev, &(lp->dma->scb), sizeof(struct i596_scb));
920 dma->scb.cmd = SWAP32(virt_to_dma(lp, &cmd->status));
921 dma->scb.command = SWAP16(CUC_START);
922 dma_sync_dev(dev, &(dma->scb), sizeof(struct i596_scb));
986 lp->dma->scb.command = SWAP16(CUC_START | RX_START);
987 dma_sync_dev(dev, &(lp->dma->scb), sizeof(struct i596_scb));
1097 lp->dma->scb.command = 0;
1098 lp->dma->scb.cmd = I596_NULL;
1099 lp->dma->scb.rfd = I596_NULL;
1112 "%s: dma at 0x%p (%d bytes), lp->scb at 0x%p\n",
1114 &lp->dma->scb));
1141 status = SWAP16(dma->scb.status);
1273 dma->scb.cmd = SWAP32(virt_to_dma(lp, &lp->cmd_head->status));
1274 dma_sync_dev(dev, &dma->scb, sizeof(struct i596_scb));
1298 dma->scb.command = SWAP16(ack_cmd);
1299 dma_sync_dev(dev, &dma->scb, sizeof(struct i596_scb));
1324 dev->name, SWAP16(lp->dma->scb.status)));
1329 lp->dma->scb.command = SWAP16(CUC_ABORT | RX_ABORT);
1330 dma_sync_dev(dev, &lp->dma->scb, sizeof(struct i596_scb));