1. NAME

ata_link_next - link iteration helper

2. SYNOPSIS

struct ata_link * ata_link_next(struct ata_link *  link , struct ata_port *  ap , enum ata_link_iter_mode  mode );

3. ARGUMENTS

link
    the previous link, NULL to start

ap
    ATA port containing links to iterate

mode
    iteration mode, one of ATA_LITER_*

4. LOCKING

Host lock or EH context.

5. RETURNS

Pointer to the next link.

6. AUTHOR

Jeff Garzik
    Author.

7. COPYRIGHT