Searched refs:pmp_link (Results 1 – 8 of 8) sorted by relevance
338 struct ata_link *pmp_link = ap->pmp_link; in sata_pmp_init_links() local341 if (!pmp_link) { in sata_pmp_init_links()342 pmp_link = kcalloc(SATA_PMP_MAX_PORTS, sizeof(pmp_link[0]), in sata_pmp_init_links()344 if (!pmp_link) in sata_pmp_init_links()348 ata_link_init(ap, &pmp_link[i], i); in sata_pmp_init_links()350 ap->pmp_link = pmp_link; in sata_pmp_init_links()353 err = ata_tlink_add(&pmp_link[i]); in sata_pmp_init_links()361 struct ata_link *link = &pmp_link[i]; in sata_pmp_init_links()372 ata_tlink_delete(&pmp_link[i]); in sata_pmp_init_links()373 kfree(pmp_link); in sata_pmp_init_links()[all …]
192 return ap->pmp_link; in ata_link_next()203 return ap->pmp_link; in ata_link_next()218 if (++link < ap->pmp_link + ap->nr_pmp_links) in ata_link_next()5361 kfree(ap->pmp_link); in ata_host_release()5932 if (ap->pmp_link) { in ata_port_detach()5935 ata_tlink_delete(&ap->pmp_link[i]); in ata_port_detach()
2754 return &ap->pmp_link[devno].device[0]; in ata_find_dev()4553 if (ap->pmp_link) in ata_scsi_hotplug()4555 ata_scsi_handle_link_detach(&ap->pmp_link[i]); in ata_scsi_hotplug()
1039 link = &ap->pmp_link[pmp]; in sil24_error_intr()
1156 link = &ap->pmp_link[dev_num]; in sata_fsl_error_intr()
2451 struct ata_link *link = &ap->pmp_link[pmp]; in mv_pmp_error_handler()2478 struct ata_link *link = &ap->pmp_link[pmp]; in mv_pmp_eh_prep()
1714 link = &ap->pmp_link[pmp]; in ahci_error_intr()
852 struct ata_link *pmp_link; /* array of PMP links */ member