Lines Matching defs:link
49 * @link: ATA link
55 static int optidma_pre_reset(struct ata_link *link, unsigned long deadline)
57 struct ata_port *ap = link->ap;
66 return ata_sff_prereset(link, deadline);
306 * @link: link to set up
313 static int optidma_set_mode(struct ata_link *link, struct ata_device **r_failed)
315 struct ata_port *ap = link->ap;
319 int rc = ata_do_set_mode(link, r_failed);
324 r |= (optidma_make_bits43(&link->device[0]) +
325 (optidma_make_bits43(&link->device[0]) << 2)) << nybble;