Home
last modified time | relevance | path

Searched refs:pmp (Results 1 – 25 of 59) sorted by relevance

123

/OK3568_Linux_fs/kernel/drivers/infiniband/hw/qib/
H A Dqib_mad.c1151 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 …]
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Dmad.c2602 static int pma_get_opa_classportinfo(struct opa_pma_mad *pmp, in pma_get_opa_classportinfo() argument
2606 (struct opa_class_port_info *)pmp->data; in pma_get_opa_classportinfo()
2608 memset(pmp->data, 0, sizeof(pmp->data)); in pma_get_opa_classportinfo()
2610 if (pmp->mad_hdr.attr_mod != 0) in pma_get_opa_classportinfo()
2611 pmp->mad_hdr.status |= IB_SMP_INVALID_FIELD; in pma_get_opa_classportinfo()
2623 return reply((struct ib_mad_hdr *)pmp); in pma_get_opa_classportinfo()
2723 static int pma_get_opa_portstatus(struct opa_pma_mad *pmp, in pma_get_opa_portstatus() argument
2728 (struct opa_port_status_req *)pmp->data; in pma_get_opa_portstatus()
2734 u32 nports = be32_to_cpu(pmp->mad_hdr.attr_mod) >> 24; in pma_get_opa_portstatus()
2746 if (response_data_size > sizeof(pmp->data)) { in pma_get_opa_portstatus()
[all …]
/OK3568_Linux_fs/kernel/drivers/ata/
H A Dlibata-pmp.c50 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 …]
H A Dlibahci.c863 emp = &pp->em_priv[link->pmp]; in ahci_start_port()
967 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_sw_activity()
988 led_message |= ap->port_no | (link->pmp << 8); in ahci_sw_activity_blink()
1025 struct ahci_em_priv *emp = &pp->em_priv[link->pmp]; in ahci_init_sw_activity()
1061 int pmp; in ahci_transmit_led_message() local
1065 pmp = (state & EM_MSG_LED_PMP_SLOT) >> 8; in ahci_transmit_led_message()
1066 if (pmp < EM_MAX_SLOTS) in ahci_transmit_led_message()
1067 emp = &pp->em_priv[pmp]; in ahci_transmit_led_message()
1122 emp = &pp->em_priv[link->pmp]; in ahci_led_show()
1132 int pmp; in ahci_led_store() local
[all …]
H A Dahci_dm816.c106 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()
H A Dahci_da850.c96 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()
H A Dahci_seattle.c86 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()
H A Dahci_xgene.c205 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()
H A Dsata_sil24.c594 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()
1016 int pmp; in sil24_error_intr() local
1036 pmp = (context >> 5) & 0xf; in sil24_error_intr()
1038 if (pmp < ap->nr_pmp_links) { in sil24_error_intr()
1039 link = &ap->pmp_link[pmp]; in sil24_error_intr()
H A Dsata_sis.c122 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()
H A Dsata_fsl.c521 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, (u8 *) &cd->cfis); in sata_fsl_qc_prep()
567 iowrite32(qc->dev->link->pmp, CQPMP + hcr_base); in sata_fsl_qc_issue()
938 int pmp = sata_srst_pmp(link); in sata_fsl_softreset() local
970 ata_tf_to_fis(&tf, pmp, 0, cfis); in sata_fsl_softreset()
985 if (pmp != SATA_PMP_CTRL_PORT) in sata_fsl_softreset()
986 iowrite32(pmp, CQPMP + hcr_base); in sata_fsl_softreset()
1019 ata_tf_to_fis(&tf, pmp, 0, cfis); in sata_fsl_softreset()
1021 if (pmp != SATA_PMP_CTRL_PORT) in sata_fsl_softreset()
1022 iowrite32(pmp, CQPMP + hcr_base); in sata_fsl_softreset()
H A Dacard-ahci.c228 ata_tf_to_fis(&qc->tf, qc->dev->link->pmp, 1, cmd_tbl); in acard_ahci_qc_prep()
242 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()
H A Dsata_highbank.c135 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()
H A Dsata_mv.c640 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()
2291 ata_tf_to_fis(&qc->tf, link->pmp, 1, (void *)fis); in mv_qc_issue_fis()
2400 mv_pmp_select(ap, qc->dev->link->pmp); in mv_qc_issue()
2436 unsigned int pmp, pmp_map; in mv_pmp_error_handler() local
2448 for (pmp = 0; pmp_map != 0; pmp++) { in mv_pmp_error_handler()
2449 unsigned int this_pmp = (1 << pmp); in mv_pmp_error_handler()
2451 struct ata_link *link = &ap->pmp_link[pmp]; in mv_pmp_error_handler()
2470 unsigned int pmp; in mv_pmp_eh_prep() local
[all …]
/OK3568_Linux_fs/kernel/include/trace/events/
H A Dlibata.h180 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno;
238 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno;
294 __entry->ata_dev = dev->link->pmp + dev->devno;
321 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno;
/OK3568_Linux_fs/kernel/fs/jfs/
H A Djfs_xtree.c2554 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/hal/
H A Dhal_mp.c252 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetChannel() local
253 u8 channel = pmp->channel; in hal_mpt_SetChannel()
254 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetChannel()
255 u8 rate = pmp->rateidx; in hal_mpt_SetChannel()
275 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetBandwidth() local
278 u8 channel = pmp->channel; in hal_mpt_SetBandwidth()
279 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetBandwidth()
281 SetBWMode(pAdapter, pmp->bandwidth, pmp->prime_channel_offset); in hal_mpt_SetBandwidth()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/
H A Dhal_mp.c325 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetChannel() local
326 u8 channel = pmp->channel; in hal_mpt_SetChannel()
327 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetChannel()
339 rtw_hal_set_chnl_bw(pAdapter, channel, bandwidth, pmp->prime_channel_offset, 0); in hal_mpt_SetChannel()
352 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetBandwidth() local
355 u8 channel = pmp->channel; in hal_mpt_SetBandwidth()
356 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetBandwidth()
366 rtw_hal_set_chnl_bw(pAdapter, channel, bandwidth, pmp->prime_channel_offset, 0); in hal_mpt_SetBandwidth()
976 struct mp_priv *pmp = &pAdapter->mppriv; in mpt_SetRFPath_8812A() local
977 u8 channel = pmp->channel; in mpt_SetRFPath_8812A()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/
H A Dhal_mp.c325 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetChannel() local
326 u8 channel = pmp->channel; in hal_mpt_SetChannel()
327 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetChannel()
339 rtw_hal_set_chnl_bw(pAdapter, channel, bandwidth, pmp->prime_channel_offset, 0); in hal_mpt_SetChannel()
352 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetBandwidth() local
355 u8 channel = pmp->channel; in hal_mpt_SetBandwidth()
356 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetBandwidth()
366 rtw_hal_set_chnl_bw(pAdapter, channel, bandwidth, pmp->prime_channel_offset, 0); in hal_mpt_SetBandwidth()
976 struct mp_priv *pmp = &pAdapter->mppriv; in mpt_SetRFPath_8812A() local
977 u8 channel = pmp->channel; in mpt_SetRFPath_8812A()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/
H A Dhal_mp.c325 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetChannel() local
326 u8 channel = pmp->channel; in hal_mpt_SetChannel()
327 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetChannel()
339 rtw_hal_set_chnl_bw(pAdapter, channel, bandwidth, pmp->prime_channel_offset, 0); in hal_mpt_SetChannel()
352 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetBandwidth() local
355 u8 channel = pmp->channel; in hal_mpt_SetBandwidth()
356 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetBandwidth()
366 rtw_hal_set_chnl_bw(pAdapter, channel, bandwidth, pmp->prime_channel_offset, 0); in hal_mpt_SetBandwidth()
976 struct mp_priv *pmp = &pAdapter->mppriv; in mpt_SetRFPath_8812A() local
977 u8 channel = pmp->channel; in mpt_SetRFPath_8812A()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/
H A Dhal_mp.c273 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetChannel() local
274 u8 channel = pmp->channel; in hal_mpt_SetChannel()
275 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetChannel()
295 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetBandwidth() local
298 u8 channel = pmp->channel; in hal_mpt_SetBandwidth()
299 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetBandwidth()
301 SetBWMode(pAdapter, pmp->bandwidth, pmp->prime_channel_offset); in hal_mpt_SetBandwidth()
917 struct mp_priv *pmp = &pAdapter->mppriv; in mpt_SetRFPath_8812A() local
918 u8 channel = pmp->channel; in mpt_SetRFPath_8812A()
919 u8 bandwidth = pmp->bandwidth; in mpt_SetRFPath_8812A()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/
H A Dhal_mp.c321 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetChannel() local
322 u8 channel = pmp->channel; in hal_mpt_SetChannel()
323 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetChannel()
335 rtw_hal_set_chnl_bw(pAdapter, channel, bandwidth, pmp->prime_channel_offset, 0); in hal_mpt_SetChannel()
348 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetBandwidth() local
351 u8 channel = pmp->channel; in hal_mpt_SetBandwidth()
352 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetBandwidth()
362 rtw_hal_set_chnl_bw(pAdapter, channel, bandwidth, pmp->prime_channel_offset, 0); in hal_mpt_SetBandwidth()
979 struct mp_priv *pmp = &pAdapter->mppriv; in mpt_SetRFPath_8812A() local
980 u8 channel = pmp->channel; in mpt_SetRFPath_8812A()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/
H A Dhal_mp.c314 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetChannel() local
315 u8 channel = pmp->channel; in hal_mpt_SetChannel()
316 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetChannel()
334 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetBandwidth() local
337 u8 channel = pmp->channel; in hal_mpt_SetBandwidth()
338 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetBandwidth()
944 struct mp_priv *pmp = &pAdapter->mppriv; in mpt_SetRFPath_8812A() local
945 u8 channel = pmp->channel; in mpt_SetRFPath_8812A()
946 u8 bandwidth = pmp->bandwidth; in mpt_SetRFPath_8812A()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/
H A Dhal_mp.c322 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetChannel() local
323 u8 channel = pmp->channel; in hal_mpt_SetChannel()
324 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetChannel()
336 rtw_hal_set_chnl_bw(pAdapter, channel, bandwidth, pmp->prime_channel_offset, 0); in hal_mpt_SetChannel()
349 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetBandwidth() local
352 u8 channel = pmp->channel; in hal_mpt_SetBandwidth()
353 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetBandwidth()
363 rtw_hal_set_chnl_bw(pAdapter, channel, bandwidth, pmp->prime_channel_offset, 0); in hal_mpt_SetBandwidth()
984 struct mp_priv *pmp = &pAdapter->mppriv; in mpt_SetRFPath_8812A() local
985 u8 channel = pmp->channel; in mpt_SetRFPath_8812A()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/
H A Dhal_mp.c321 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetChannel() local
322 u8 channel = pmp->channel; in hal_mpt_SetChannel()
323 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetChannel()
335 rtw_hal_set_chnl_bw(pAdapter, channel, bandwidth, pmp->prime_channel_offset, 0); in hal_mpt_SetChannel()
348 struct mp_priv *pmp = &pAdapter->mppriv; in hal_mpt_SetBandwidth() local
351 u8 channel = pmp->channel; in hal_mpt_SetBandwidth()
352 u8 bandwidth = pmp->bandwidth; in hal_mpt_SetBandwidth()
362 rtw_hal_set_chnl_bw(pAdapter, channel, bandwidth, pmp->prime_channel_offset, 0); in hal_mpt_SetBandwidth()
1003 struct mp_priv *pmp = &pAdapter->mppriv; in mpt_SetRFPath_8812A() local
1004 u8 channel = pmp->channel; in mpt_SetRFPath_8812A()
[all …]

123