• Home
  • Raw
  • Download

Lines Matching refs:scb

291 	u32 scb;  member
303 volatile struct i596_scb scb __attribute__((aligned(32))); member
418 dma_sync_cpu(dev, &(dma->scb), sizeof(struct i596_scb)); in wait_cmd()
419 while (--delcnt && dma->scb.command) { in wait_cmd()
421 dma_sync_cpu(dev, &(dma->scb), sizeof(struct i596_scb)); in wait_cmd()
426 SWAP16(dma->scb.status), in wait_cmd()
427 SWAP16(dma->scb.command)); in wait_cmd()
445 &dma->iscp, SWAP32(dma->iscp.stat), SWAP32(dma->iscp.scb)); in i596_display_data()
448 &dma->scb, SWAP16(dma->scb.status), SWAP16(dma->scb.command), in i596_display_data()
449 SWAP16(dma->scb.cmd), SWAP32(dma->scb.rfd)); in i596_display_data()
452 SWAP32(dma->scb.crc_err), SWAP32(dma->scb.align_err), in i596_display_data()
453 SWAP32(dma->scb.resource_err), SWAP32(dma->scb.over_err), in i596_display_data()
454 SWAP32(dma->scb.rcvdt_err), SWAP32(dma->scb.short_err)); in i596_display_data()
530 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds)); in init_rx_bufs()
574 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds)); in rebuild_rx_bufs()
597 dma->iscp.scb = SWAP32(virt_to_dma(lp, &(dma->scb))); in init_i596_mem()
602 dma->scb.cmd = I596_NULL; in init_i596_mem()
608 dma_sync_dev(dev, &(dma->scb), sizeof(struct i596_scb)); in init_i596_mem()
626 dma->scb.command = 0; in init_i596_mem()
627 dma_sync_dev(dev, &(dma->scb), sizeof(struct i596_scb)); in init_i596_mem()
654 dma->scb.command = SWAP16(RX_START); in init_i596_mem()
655 dma->scb.rfd = SWAP32(virt_to_dma(lp, dma->rfds)); in init_i596_mem()
656 dma_sync_dev(dev, &(dma->scb), sizeof(struct i596_scb)); in init_i596_mem()
808 lp->dma->scb.rfd = rfd->b_next; in i596_rx()
862 lp->dma->scb.cmd = I596_NULL; in i596_cleanup_cmd()
863 dma_sync_dev(dev, &(lp->dma->scb), sizeof(struct i596_scb)); in i596_cleanup_cmd()
880 lp->dma->scb.command = SWAP16(CUC_ABORT | RX_ABORT); in i596_reset()
881 dma_sync_dev(dev, &(lp->dma->scb), sizeof(struct i596_scb)); in i596_reset()
920 dma->scb.cmd = SWAP32(virt_to_dma(lp, &cmd->status)); in i596_add_cmd()
921 dma->scb.command = SWAP16(CUC_START); in i596_add_cmd()
922 dma_sync_dev(dev, &(dma->scb), sizeof(struct i596_scb)); in i596_add_cmd()
986 lp->dma->scb.command = SWAP16(CUC_START | RX_START); in i596_tx_timeout()
987 dma_sync_dev(dev, &(lp->dma->scb), sizeof(struct i596_scb)); in i596_tx_timeout()
1097 lp->dma->scb.command = 0; in i82596_probe()
1098 lp->dma->scb.cmd = I596_NULL; in i82596_probe()
1099 lp->dma->scb.rfd = I596_NULL; in i82596_probe()
1114 &lp->dma->scb)); in i82596_probe()
1141 status = SWAP16(dma->scb.status); in i596_interrupt()
1273 dma->scb.cmd = SWAP32(virt_to_dma(lp, &lp->cmd_head->status)); in i596_interrupt()
1274 dma_sync_dev(dev, &dma->scb, sizeof(struct i596_scb)); in i596_interrupt()
1298 dma->scb.command = SWAP16(ack_cmd); in i596_interrupt()
1299 dma_sync_dev(dev, &dma->scb, sizeof(struct i596_scb)); in i596_interrupt()
1324 dev->name, SWAP16(lp->dma->scb.status))); in i596_close()
1329 lp->dma->scb.command = SWAP16(CUC_ABORT | RX_ABORT); in i596_close()
1330 dma_sync_dev(dev, &lp->dma->scb, sizeof(struct i596_scb)); in i596_close()