1ATAPI_CHECK_DMA(9) libata Core Internals ATAPI_CHECK_DMA(9)
2
3
4
6 atapi_check_dma - Check whether ATAPI DMA can be supported
7
9 int atapi_check_dma(struct ata_queued_cmd * qc);
10
12 qc
13 Metadata associated with taskfile to check
14
16 Allow low-level driver to filter ATA PACKET commands, returning a
17 status indicating whether or not it is OK to use DMA for the supplied
18 PACKET command.
19
21 spin_lock_irqsave(host lock)
22
24 0 when ATAPI DMA can be used nonzero otherwise
25
27 Jeff Garzik
28 Author.
29
31Kernel Hackers Manual 2.6. November 2011 ATAPI_CHECK_DMA(9)