/Linux-v5.4/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-v5.4/drivers/infiniband/hw/hfi1/ |
D | mad.c | 2603 static int pma_get_opa_classportinfo(struct opa_pma_mad *pmp, in pma_get_opa_classportinfo() argument 2607 (struct opa_class_port_info *)pmp->data; in pma_get_opa_classportinfo() 2609 memset(pmp->data, 0, sizeof(pmp->data)); in pma_get_opa_classportinfo() 2611 if (pmp->mad_hdr.attr_mod != 0) in pma_get_opa_classportinfo() 2612 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_opa_classportinfo() 2624 return reply((struct ib_mad_hdr *)pmp); in pma_get_opa_classportinfo() 2724 static int pma_get_opa_portstatus(struct opa_pma_mad *pmp, in pma_get_opa_portstatus() argument 2729 (struct opa_port_status_req *)pmp->data; in pma_get_opa_portstatus() 2735 u32 nports = be32_to_cpu(pmp->mad_hdr.attr_mod) >> 24; in pma_get_opa_portstatus() 2747 if (response_data_size > sizeof(pmp->data)) { in pma_get_opa_portstatus() [all …]
|
/Linux-v5.4/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 | 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 | libahci.c | 858 emp = &pp->em_priv[link->pmp]; in ahci_start_port() 962 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_sw_activity() 983 led_message |= ap->port_no | (link->pmp << 8); in ahci_sw_activity_blink() 1020 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_init_sw_activity() 1056 int pmp; in ahci_transmit_led_message() local 1060 pmp = (state & EM_MSG_LED_PMP_SLOT) >> 8; in ahci_transmit_led_message() 1061 if (pmp < EM_MAX_SLOTS) in ahci_transmit_led_message() 1062 emp = &pp->em_priv[pmp]; in ahci_transmit_led_message() 1117 emp = &pp->em_priv[link->pmp]; in ahci_led_show() 1127 int pmp; in ahci_led_store() local [all …]
|
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_seattle.c | 86 int pmp; in seattle_transmit_led_message() local 91 pmp = (state & EM_MSG_LED_PMP_SLOT) >> 8; in seattle_transmit_led_message() 92 if (pmp >= EM_MAX_SLOTS) in seattle_transmit_led_message() 94 emp = &pp->em_priv[pmp]; in seattle_transmit_led_message()
|
D | ahci_xgene.c | 205 port_fbs |= qc->dev->link->pmp << PORT_FBS_DEV_OFFSET; in xgene_ahci_qc_issue() 454 int pmp = sata_srst_pmp(link); in xgene_ahci_pmp_softreset() local 466 port_fbs |= pmp << PORT_FBS_DEV_OFFSET; in xgene_ahci_pmp_softreset() 469 rc = ahci_do_softreset(link, class, pmp, deadline, ahci_check_ready); in xgene_ahci_pmp_softreset() 498 int pmp = sata_srst_pmp(link); in xgene_ahci_softreset() local 516 port_fbs |= pmp << PORT_FBS_DEV_OFFSET; in xgene_ahci_softreset() 520 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 | 594 static int sil24_exec_polled_cmd(struct ata_port *ap, int pmp, in sil24_exec_polled_cmd() argument 607 ata_tf_to_fis(tf, pmp, is_cmd, prb->fis); in sil24_exec_polled_cmd() 650 int pmp = sata_srst_pmp(link); in sil24_softreset() local 669 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() 1014 int pmp; in sil24_error_intr() local 1034 pmp = (context >> 5) & 0xf; in sil24_error_intr() 1036 if (pmp < ap->nr_pmp_links) { in sil24_error_intr() 1037 link = &ap->pmp_link[pmp]; in sil24_error_intr()
|
D | acard-ahci.c | 229 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, cmd_tbl); in acard_ahci_qc_prep() 244 opts = cmd_fis_len | (qc->dev->link->pmp << 12); in acard_ahci_qc_prep() 259 rx_fis += qc->dev->link->pmp * ACARD_AHCI_RX_FIS_SZ; in acard_ahci_qc_fill_rtf()
|
D | sata_fsl.c | 521 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, (u8 *) &cd->cfis); in sata_fsl_qc_prep() 565 iowrite32(qc->dev->link->pmp, CQPMP + hcr_base); in sata_fsl_qc_issue() 936 int pmp = sata_srst_pmp(link); in sata_fsl_softreset() local 968 ata_tf_to_fis(&tf, pmp, 0, cfis); in sata_fsl_softreset() 983 if (pmp != SATA_PMP_CTRL_PORT) in sata_fsl_softreset() 984 iowrite32(pmp, CQPMP + hcr_base); in sata_fsl_softreset() 1017 ata_tf_to_fis(&tf, pmp, 0, cfis); in sata_fsl_softreset() 1019 if (pmp != SATA_PMP_CTRL_PORT) in sata_fsl_softreset() 1020 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); 2063 flags |= (qc->dev->link->pmp & 0xf) << CRQB_PMP_SHIFT; in mv_qc_prep() 2157 flags |= (qc->dev->link->pmp & 0xf) << CRQB_PMP_SHIFT; in mv_qc_prep_iie() 2289 ata_tf_to_fis(&qc->tf, link->pmp, 1, (void *)fis); in mv_qc_issue_fis() 2398 mv_pmp_select(ap, qc->dev->link->pmp); in mv_qc_issue() 2434 unsigned int pmp, pmp_map; in mv_pmp_error_handler() local 2446 for (pmp = 0; pmp_map != 0; pmp++) { in mv_pmp_error_handler() 2447 unsigned int this_pmp = (1 << pmp); in mv_pmp_error_handler() 2449 struct ata_link *link = &ap->pmp_link[pmp]; in mv_pmp_error_handler() 2468 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 | libata-transport.c | 420 dev_set_name(dev, "link%d.%d", ap->print_id, link->pmp); in ata_tlink_add() 671 dev_set_name(dev, "dev%d.%d.0", ap->print_id, link->pmp); in ata_tdev_add()
|
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 | ahci.h | 403 int pmp, unsigned long deadline,
|
D | Makefile | 127 libata-$(CONFIG_SATA_PMP) += libata-pmp.o
|
D | libata.h | 77 extern void ata_link_init(struct ata_port *ap, struct ata_link *link, int pmp);
|
D | libata-core.c | 357 int linkno = link->pmp; in ata_force_link_limits() 403 int devno = dev->link->pmp + dev->devno; in ata_force_xfermask() 457 int devno = dev->link->pmp + dev->devno; in ata_force_horkage() 538 void ata_tf_to_fis(const struct ata_taskfile *tf, u8 pmp, int is_cmd, u8 *fis) in ata_tf_to_fis() argument 541 fis[1] = pmp & 0xf; /* Port multiplier number*/ in ata_tf_to_fis() 5915 void ata_link_init(struct ata_port *ap, struct ata_link *link, int pmp) in ata_link_init() argument 5924 link->pmp = pmp; in ata_link_init() 7240 level, link->ap->print_id, link->pmp, &vaf); in ata_link_printk() 7261 level, dev->link->ap->print_id, dev->link->pmp + dev->devno, in ata_dev_printk()
|
/Linux-v5.4/include/trace/events/ |
D | libata.h | 180 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno; 238 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno; 293 __entry->ata_dev = dev->link->pmp + dev->devno; 320 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno;
|
/Linux-v5.4/fs/jfs/ |
D | jfs_xtree.c | 2554 struct metapage *mp, *pmp, *lmp, *rmp; /* meta-page buffer */ in xtRelocate() local 2595 XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in xtRelocate() 2598 XT_PUTPAGE(pmp); in xtRelocate() 2605 XT_PUTPAGE(pmp); in xtRelocate() 2616 XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in xtRelocate() 2619 XT_PUTPAGE(pmp); in xtRelocate() 2640 XT_PUTPAGE(pmp); in xtRelocate() 2699 XT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in xtRelocate() 2708 XT_PUTPAGE(pmp); in xtRelocate() 2720 XT_PUTPAGE(pmp); in xtRelocate() [all …]
|
D | jfs_dtree.c | 1635 struct metapage *smp, *pmp, *mp; in dtExtendPage() local 1661 DT_GETPAGE(ip, parent->bn, pmp, PSIZE, pp, rc); in dtExtendPage() 1811 BT_MARK_DIRTY(pmp, ip); in dtExtendPage() 1827 tlck = txLock(tid, ip, pmp, tlckDTREE | tlckENTRY); in dtExtendPage() 1840 DT_PUTPAGE(pmp); in dtExtendPage() 2437 struct metapage *mp, *pmp, *lmp, *rmp; in dtRelocate() local 2467 DT_GETSEARCH(ip, btstack.top, bn, pmp, pp, index); in dtRelocate() 2477 DT_PUTPAGE(pmp); in dtRelocate() 2490 DT_PUTPAGE(pmp); in dtRelocate() 2501 DT_PUTPAGE(pmp); in dtRelocate() [all …]
|
/Linux-v5.4/Documentation/ABI/testing/ |
D | sysfs-ata | 119 "atapi" for packet device, "pmp" for PM, or
|