sata_scr_write_flush(9)

sata_scr_write_flush9

Write scr register of the specified port and flush

Usage

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

Arguments

link

ATA link to write SCR for

reg

SCR to write

val

value to write

Overview

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

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

Return

0 on success, negative errno on failure.

Releases

6 releases since Debian 4.0 (Etch); the text changed 5 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9

Author

Jeff Garzik

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.