/drivers/infiniband/hw/ipath/ |
D | ipath_mad.c | 925 static int recv_pma_get_classportinfo(struct ib_perf *pmp) in recv_pma_get_classportinfo() argument 928 (struct ib_pma_classportinfo *)pmp->data; in recv_pma_get_classportinfo() 930 memset(pmp->data, 0, sizeof(pmp->data)); in recv_pma_get_classportinfo() 932 if (pmp->attr_mod != 0) in recv_pma_get_classportinfo() 933 pmp->status |= IB_SMP_INVALID_FIELD; in recv_pma_get_classportinfo() 945 return reply((struct ib_smp *) pmp); in recv_pma_get_classportinfo() 961 static int recv_pma_get_portsamplescontrol(struct ib_perf *pmp, in recv_pma_get_portsamplescontrol() argument 965 (struct ib_pma_portsamplescontrol *)pmp->data; in recv_pma_get_portsamplescontrol() 971 memset(pmp->data, 0, sizeof(pmp->data)); in recv_pma_get_portsamplescontrol() 974 if (pmp->attr_mod != 0 || in recv_pma_get_portsamplescontrol() [all …]
|
/drivers/ata/ |
D | libata-pmp.c | 48 tf.device = link->pmp; in sata_pmp_read() 84 tf.device = link->pmp; in sata_pmp_write() 328 if (link->pmp < 5) in sata_pmp_quirks() 333 if (link->pmp == 5) in sata_pmp_quirks() 341 if (link->pmp < 2) in sata_pmp_quirks() 345 if (link->pmp == 2) in sata_pmp_quirks() 357 if (link->pmp <= 5) in sata_pmp_quirks() 364 if (link->pmp == 6) in sata_pmp_quirks() 422 WARN_ON(link->pmp != 0); in sata_pmp_attach() 423 link->pmp = SATA_PMP_CTRL_PORT; in sata_pmp_attach() [all …]
|
D | ahci.c | 1128 emp = &pp->em_priv[link->pmp]; in ahci_start_port() 1224 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_sw_activity() 1239 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_sw_activity_blink() 1245 led_message |= ap->port_no | (link->pmp << 8); in ahci_sw_activity_blink() 1282 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_init_sw_activity() 1315 int pmp; in ahci_transmit_led_message() local 1319 pmp = (state & EM_MSG_LED_PMP_SLOT) >> 8; in ahci_transmit_led_message() 1320 if (pmp < MAX_SLOTS) in ahci_transmit_led_message() 1321 emp = &pp->em_priv[pmp]; in ahci_transmit_led_message() 1370 emp = &pp->em_priv[link->pmp]; in ahci_led_show() [all …]
|
D | sata_sil24.c | 601 static int sil24_exec_polled_cmd(struct ata_port *ap, int pmp, in sil24_exec_polled_cmd() argument 614 ata_tf_to_fis(tf, pmp, is_cmd, prb->fis); in sil24_exec_polled_cmd() 652 int pmp = sata_srst_pmp(link); in sil24_softreset() local 671 rc = sil24_exec_polled_cmd(ap, pmp, &tf, 0, PRB_CTRL_SRST, in sil24_softreset() 864 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, prb->fis); in sil24_qc_prep() 1001 int pmp; in sil24_error_intr() local 1021 pmp = (context >> 5) & 0xf; in sil24_error_intr() 1023 if (pmp < ap->nr_pmp_links) { in sil24_error_intr() 1024 link = &ap->pmp_link[pmp]; in sil24_error_intr()
|
D | sata_fsl.c | 398 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, (u8 *) &cd->cfis); in sata_fsl_qc_prep() 441 iowrite32(qc->dev->link->pmp, CQPMP + hcr_base); in sata_fsl_qc_issue() 724 int pmp = sata_srst_pmp(link); in sata_fsl_softreset() local 734 if (pmp != SATA_PMP_CTRL_PORT) in sata_fsl_softreset() 846 ata_tf_to_fis(&tf, pmp, 0, cfis); in sata_fsl_softreset() 892 ata_tf_to_fis(&tf, pmp, 0, cfis); in sata_fsl_softreset() 894 if (pmp != SATA_PMP_CTRL_PORT) in sata_fsl_softreset() 895 iowrite32(pmp, CQPMP + hcr_base); in sata_fsl_softreset()
|
D | sata_mv.c | 540 static void mv_pmp_select(struct ata_port *ap, int pmp); 1417 flags |= (qc->dev->link->pmp & 0xf) << CRQB_PMP_SHIFT; in mv_qc_prep() 1510 flags |= (qc->dev->link->pmp & 0xf) << CRQB_PMP_SHIFT; in mv_qc_prep_iie() 1593 mv_pmp_select(ap, qc->dev->link->pmp); in mv_qc_issue() 1624 unsigned int pmp, pmp_map; in mv_pmp_error_handler() local 1636 for (pmp = 0; pmp_map != 0; pmp++) { in mv_pmp_error_handler() 1637 unsigned int this_pmp = (1 << pmp); in mv_pmp_error_handler() 1639 struct ata_link *link = &ap->pmp_link[pmp]; in mv_pmp_error_handler() 1659 unsigned int pmp; in mv_pmp_eh_prep() local 1665 for (pmp = 0; pmp_map != 0; pmp++) { in mv_pmp_eh_prep() [all …]
|
D | libata-acpi.c | 38 #define SATA_ADR(root, pmp) (((root) << 16) | (pmp)) argument 87 acpi_integer adr = SATA_ADR(ap->port_no, link->pmp); in ata_acpi_associate_sata_port()
|
D | sata_via.c | 206 int slot = 2 * link->ap->port_no + link->pmp; in vt8251_scr_read() 254 int slot = 2 * link->ap->port_no + link->pmp; in vt8251_scr_write()
|
D | Makefile | 85 libata-$(CONFIG_SATA_PMP) += libata-pmp.o
|
D | libata.h | 113 extern void ata_link_init(struct ata_port *ap, struct ata_link *link, int pmp);
|
D | libata-core.c | 361 int linkno = link->pmp; in ata_force_link_limits() 408 int devno = dev->link->pmp + dev->devno; in ata_force_xfermask() 462 int devno = dev->link->pmp + dev->devno; in ata_force_horkage() 543 void ata_tf_to_fis(const struct ata_taskfile *tf, u8 pmp, int is_cmd, u8 *fis) in ata_tf_to_fis() argument 546 fis[1] = pmp & 0xf; /* Port multiplier number*/ in ata_tf_to_fis() 5483 void ata_link_init(struct ata_port *ap, struct ata_link *link, int pmp) in ata_link_init() argument 5491 link->pmp = pmp; in ata_link_init()
|
D | ata_piix.c | 910 iowrite32(((ap->port_no * 2 + link->pmp) << 8) | piix_sidx_map[reg], in piix_sidpr_sel()
|
D | libata-eh.c | 1060 if (!(sntf & (1 << link->pmp))) in sata_async_notification()
|
D | libata-scsi.c | 3267 channel = link->pmp; in ata_scsi_scan_host()
|