Lines Matching defs:link
61 static int uli_scr_read(struct ata_link *link, unsigned int sc_reg, u32 *val);
62 static int uli_scr_write(struct ata_link *link, unsigned int sc_reg, u32 val);
111 static u32 uli_scr_cfg_read(struct ata_link *link, unsigned int sc_reg)
113 struct pci_dev *pdev = to_pci_dev(link->ap->host->dev);
114 unsigned int cfg_addr = get_scr_cfg_addr(link->ap, sc_reg);
121 static void uli_scr_cfg_write(struct ata_link *link, unsigned int scr, u32 val)
123 struct pci_dev *pdev = to_pci_dev(link->ap->host->dev);
124 unsigned int cfg_addr = get_scr_cfg_addr(link->ap, scr);
129 static int uli_scr_read(struct ata_link *link, unsigned int sc_reg, u32 *val)
134 *val = uli_scr_cfg_read(link, sc_reg);
138 static int uli_scr_write(struct ata_link *link, unsigned int sc_reg, u32 val)
143 uli_scr_cfg_write(link, sc_reg, val);