1. NAME▲

sata_scr_write_flush - write SCR register of the specified port and flush

2. SYNOPSIS ▲

int sata_scr_write_flush(struct ata_link *  link , int  reg , u32  val );

3. ARGUMENTS ▲

link
    ATA link to write SCR for

reg
    SCR to write

val
    value to write

4. DESCRIPTION ▲

This function is identical to sata_scr_write except that this function performs flush after writing to the register.

5. LOCKING ▲

None if link is ap->link. Kernel thread context otherwise.

6. RETURNS ▲

0 on success, negative errno on failure.

7. AUTHOR ▲

Jeff Garzik
    Author.

8. COPYRIGHT ▲