1SATA_SCR_WRITE_FLUSH(9) libata Library SATA_SCR_WRITE_FLUSH(9)
2
3
4
6 sata_scr_write_flush - write SCR register of the specified port and
7 flush
8
10 int sata_scr_write_flush(struct ata_link * link, int reg, u32 val);
11
13 link
14 ATA link to write SCR for
15
16 reg
17 SCR to write
18
19 val
20 value to write
21
23 This function is identical to sata_scr_write except that this function
24 performs flush after writing to the register.
25
27 None if link is ap->link. Kernel thread context otherwise.
28
30 0 on success, negative errno on failure.
31
33 Jeff Garzik
34 Author.
35
37Kernel Hackers Manual 2.6. November 2011 SATA_SCR_WRITE_FLUSH(9)