/linux-6.12.1/drivers/infiniband/hw/qib/ |
D | qib_mad.c | 1151 static int pma_get_classportinfo(struct ib_pma_mad *pmp, in pma_get_classportinfo() argument 1155 (struct ib_class_port_info *)pmp->data; in pma_get_classportinfo() 1158 memset(pmp->data, 0, sizeof(pmp->data)); in pma_get_classportinfo() 1160 if (pmp->mad_hdr.attr_mod != 0) in pma_get_classportinfo() 1161 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_classportinfo() 1179 return reply((struct ib_smp *) pmp); in pma_get_classportinfo() 1182 static int pma_get_portsamplescontrol(struct ib_pma_mad *pmp, in pma_get_portsamplescontrol() argument 1186 (struct ib_pma_portsamplescontrol *)pmp->data; in pma_get_portsamplescontrol() 1194 memset(pmp->data, 0, sizeof(pmp->data)); in pma_get_portsamplescontrol() 1197 if (pmp->mad_hdr.attr_mod != 0 || port_select != port) { in pma_get_portsamplescontrol() [all …]
|
/linux-6.12.1/drivers/infiniband/hw/hfi1/ |
D | mad.c | 2560 static int pma_get_opa_classportinfo(struct opa_pma_mad *pmp, in pma_get_opa_classportinfo() argument 2564 (struct opa_class_port_info *)pmp->data; in pma_get_opa_classportinfo() 2566 memset(pmp->data, 0, sizeof(pmp->data)); in pma_get_opa_classportinfo() 2568 if (pmp->mad_hdr.attr_mod != 0) in pma_get_opa_classportinfo() 2569 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_opa_classportinfo() 2581 return reply((struct ib_mad_hdr *)pmp); in pma_get_opa_classportinfo() 2681 static int pma_get_opa_portstatus(struct opa_pma_mad *pmp, in pma_get_opa_portstatus() argument 2686 (struct opa_port_status_req *)pmp->data; in pma_get_opa_portstatus() 2692 u32 nports = be32_to_cpu(pmp->mad_hdr.attr_mod) >> 24; in pma_get_opa_portstatus() 2704 if (response_data_size > sizeof(pmp->data)) { in pma_get_opa_portstatus() [all …]
|
/linux-6.12.1/drivers/ata/ |
D | libata-pmp.c | 50 tf.device = link->pmp; in sata_pmp_read() 86 tf.device = link->pmp; in sata_pmp_write() 395 if (link->pmp < 5) in sata_pmp_quirks() 400 if (link->pmp == 5) in sata_pmp_quirks() 427 if (link->pmp <= 5) in sata_pmp_quirks() 434 if (link->pmp == 6) in sata_pmp_quirks() 466 if (link->pmp == 4) in sata_pmp_quirks() 509 WARN_ON(link->pmp != 0); in sata_pmp_attach() 510 link->pmp = SATA_PMP_CTRL_PORT; in sata_pmp_attach() 545 link->pmp = 0; in sata_pmp_attach() [all …]
|
D | libahci.c | 921 emp = &pp->em_priv[link->pmp]; in ahci_start_port() 1024 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_sw_activity() 1045 led_message |= ap->port_no | (link->pmp << 8); in ahci_sw_activity_blink() 1082 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_init_sw_activity() 1118 int pmp; in ahci_transmit_led_message() local 1122 pmp = (state & EM_MSG_LED_PMP_SLOT) >> 8; in ahci_transmit_led_message() 1123 if (pmp < EM_MAX_SLOTS) in ahci_transmit_led_message() 1124 emp = &pp->em_priv[pmp]; in ahci_transmit_led_message() 1179 emp = &pp->em_priv[link->pmp]; in ahci_led_show() 1189 int pmp; in ahci_led_store() local [all …]
|
D | ahci_dm816.c | 106 int pmp, ret; in ahci_dm816_softreset() local 108 pmp = sata_srst_pmp(link); in ahci_dm816_softreset() 117 ret = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in ahci_dm816_softreset() 118 if (pmp && ret == -EBUSY) in ahci_dm816_softreset()
|
D | ahci_seattle.c | 85 int pmp; in seattle_transmit_led_message() local 90 pmp = (state & EM_MSG_LED_PMP_SLOT) >> 8; in seattle_transmit_led_message() 91 if (pmp >= EM_MAX_SLOTS) in seattle_transmit_led_message() 93 emp = &pp->em_priv[pmp]; in seattle_transmit_led_message()
|
D | ahci_da850.c | 96 int pmp, ret; in ahci_da850_softreset() local 98 pmp = sata_srst_pmp(link); in ahci_da850_softreset() 107 ret = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in ahci_da850_softreset() 108 if (pmp && ret == -EBUSY) in ahci_da850_softreset()
|
D | ahci_xgene.c | 202 port_fbs |= qc->dev->link->pmp << PORT_FBS_DEV_OFFSET; in xgene_ahci_qc_issue() 451 int pmp = sata_srst_pmp(link); in xgene_ahci_pmp_softreset() local 463 port_fbs |= pmp << PORT_FBS_DEV_OFFSET; in xgene_ahci_pmp_softreset() 466 rc = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in xgene_ahci_pmp_softreset() 495 int pmp = sata_srst_pmp(link); in xgene_ahci_softreset() local 513 port_fbs |= pmp << PORT_FBS_DEV_OFFSET; in xgene_ahci_softreset() 517 rc = ahci_do_softreset(link, class, pmp, in xgene_ahci_softreset()
|
D | sata_sis.c | 122 if (link->pmp) in get_scr_cfg_addr() 154 void __iomem *base = ap->ioaddr.scr_addr + link->pmp * 0x10; in sis_scr_read() 169 void __iomem *base = ap->ioaddr.scr_addr + link->pmp * 0x10; in sis_scr_write()
|
D | sata_sil24.c | 597 static int sil24_exec_polled_cmd(struct ata_port *ap, int pmp, in sil24_exec_polled_cmd() argument 610 ata_tf_to_fis(tf, pmp, is_cmd, prb->fis); in sil24_exec_polled_cmd() 653 int pmp = sata_srst_pmp(link); in sil24_softreset() local 670 rc = sil24_exec_polled_cmd(ap, pmp, &tf, 0, PRB_CTRL_SRST, in sil24_softreset() 873 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, prb->fis); in sil24_qc_prep() 1015 int pmp; in sil24_error_intr() local 1035 pmp = (context >> 5) & 0xf; in sil24_error_intr() 1037 if (pmp < ap->nr_pmp_links) { in sil24_error_intr() 1038 link = &ap->pmp_link[pmp]; in sil24_error_intr()
|
D | acard-ahci.c | 226 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, cmd_tbl); in acard_ahci_qc_prep() 240 opts = cmd_fis_len | (qc->dev->link->pmp << 12); in acard_ahci_qc_prep() 257 rx_fis += qc->dev->link->pmp * ACARD_AHCI_RX_FIS_SZ; in acard_ahci_qc_fill_rtf()
|
D | sata_fsl.c | 514 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, (u8 *) &cd->cfis); in sata_fsl_qc_prep() 552 iowrite32(qc->dev->link->pmp, CQPMP + hcr_base); in sata_fsl_qc_issue() 922 int pmp = sata_srst_pmp(link); in sata_fsl_softreset() local 949 ata_tf_to_fis(&tf, pmp, 0, cfis); in sata_fsl_softreset() 964 if (pmp != SATA_PMP_CTRL_PORT) in sata_fsl_softreset() 965 iowrite32(pmp, CQPMP + hcr_base); in sata_fsl_softreset() 1000 ata_tf_to_fis(&tf, pmp, 0, cfis); in sata_fsl_softreset() 1002 if (pmp != SATA_PMP_CTRL_PORT) in sata_fsl_softreset() 1003 iowrite32(pmp, CQPMP + hcr_base); in sata_fsl_softreset()
|
D | sata_highbank.c | 135 int pmp, i; in ecx_transmit_led_message() local 140 pmp = (state & EM_MSG_LED_PMP_SLOT) >> 8; in ecx_transmit_led_message() 141 if (pmp < EM_MAX_SLOTS) in ecx_transmit_led_message() 142 emp = &pp->em_priv[pmp]; in ecx_transmit_led_message()
|
D | sata_mv.c | 640 static void mv_pmp_select(struct ata_port *ap, int pmp); 2028 flags |= (qc->dev->link->pmp & 0xf) << CRQB_PMP_SHIFT; in mv_qc_prep() 2122 flags |= (qc->dev->link->pmp & 0xf) << CRQB_PMP_SHIFT; in mv_qc_prep_iie() 2257 ata_tf_to_fis(&qc->tf, link->pmp, 1, (void *)fis); in mv_qc_issue_fis() 2366 mv_pmp_select(ap, qc->dev->link->pmp); in mv_qc_issue() 2402 unsigned int pmp, pmp_map; in mv_pmp_error_handler() local 2414 for (pmp = 0; pmp_map != 0; pmp++) { in mv_pmp_error_handler() 2415 unsigned int this_pmp = (1 << pmp); in mv_pmp_error_handler() 2417 struct ata_link *link = &ap->pmp_link[pmp]; in mv_pmp_error_handler() 2436 unsigned int pmp; in mv_pmp_eh_prep() local [all …]
|
D | libata-acpi.c | 29 #define SATA_ADR(root, pmp) (((root) << 16) | (pmp)) argument 227 adr = SATA_ADR(ap->port_no, dev->link->pmp); in ata_acpi_bind_dev()
|
D | sata_via.c | 205 int slot = 2 * link->ap->port_no + link->pmp; in vt8251_scr_read() 253 int slot = 2 * link->ap->port_no + link->pmp; in vt8251_scr_write()
|
D | libata-sata.c | 151 void ata_tf_to_fis(const struct ata_taskfile *tf, u8 pmp, int is_cmd, u8 *fis) in ata_tf_to_fis() argument 154 fis[1] = pmp & 0xf; /* Port multiplier number*/ in ata_tf_to_fis() 1412 if (!(sntf & (1 << link->pmp))) in sata_async_notification()
|
D | libata-transport.c | 581 dev_set_name(dev, "dev%d.%d.0", ap->print_id, link->pmp); in ata_tdev_add() 702 dev_set_name(dev, "link%d.%d", ap->print_id, link->pmp); in ata_tlink_add()
|
D | Makefile | 128 libata-$(CONFIG_SATA_PMP) += libata-pmp.o
|
D | libata.h | 86 extern void ata_link_init(struct ata_port *ap, struct ata_link *link, int pmp);
|
D | ahci.h | 415 int pmp, unsigned long deadline,
|
/linux-6.12.1/include/trace/events/ |
D | libata.h | 211 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno; 277 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno; 455 __entry->ata_dev = dev->link->pmp + dev->devno; 482 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno; 508 __entry->ata_dev = link->pmp + devno; 652 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno; 697 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno;
|
/linux-6.12.1/drivers/scsi/hisi_sas/ |
D | hisi_sas_main.c | 1292 bool reset, int pmp, u8 *fis) in hisi_sas_fill_ata_reset_cmd() argument 1302 ata_tf_to_fis(&tf, pmp, 0, fis); in hisi_sas_fill_ata_reset_cmd() 1315 int pmp = sata_srst_pmp(link); in hisi_sas_softreset_ata_disk() local 1317 hisi_sas_fill_ata_reset_cmd(link->device, 1, pmp, fis); in hisi_sas_softreset_ata_disk() 1325 int pmp = sata_srst_pmp(link); in hisi_sas_softreset_ata_disk() local 1327 hisi_sas_fill_ata_reset_cmd(link->device, 0, pmp, fis); in hisi_sas_softreset_ata_disk() 1450 int pmp = sata_srst_pmp(link); in hisi_sas_send_ata_reset_each_phy() local 1452 hisi_sas_fill_ata_reset_cmd(link->device, 1, pmp, fis); in hisi_sas_send_ata_reset_each_phy()
|
/linux-6.12.1/include/linux/ |
D | libata.h | 839 int pmp; /* port multiplier port # */ member 1310 u8 pmp, int is_cmd, u8 *fis); 1538 return link->pmp; in sata_srst_pmp() 1561 (link)->pmp, \ 1583 (dev)->link->pmp + (dev)->devno, \
|
/linux-6.12.1/Documentation/ABI/testing/ |
D | sysfs-ata | 120 "atapi" for packet device, "pmp" for PM, or
|