Home
last modified time | relevance | path

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

/drivers/staging/rdma/hfi1/
Ddiag.c128 u64 pbc; member
458 if (dp->pbc == 0) { in diagpkt_send()
462 dp->pbc = create_pbc(ppd, 0, 0, 0, total_len); in diagpkt_send()
467 hfi1_cdbg(PKT, "Egress PBC content is 0x%llx", dp->pbc); in diagpkt_send()
480 dp->pbc |= PBC_CREDIT_RETURN; in diagpkt_send()
512 pio_copy(dd, pbuf, dp->pbc, tmpbuf, pkt_len); in diagpkt_send()
566 if (dp.pbc) { in diagpkt_write()
570 vl = (dp.pbc >> PBC_VL_SHIFT) & PBC_VL_MASK; in diagpkt_write()
820 u64 pbc; in hfi1_snoop_write() local
880 pbc = create_pbc(ppd, 0, 0, vl, len); in hfi1_snoop_write()
[all …]
Duser_sdma.c567 req->hdr.pbc[2] = 0; in hfi1_user_sdma_process_request()
582 vl = (le16_to_cpu(req->hdr.pbc[0]) >> 12) & 0xF; in hfi1_user_sdma_process_request()
584 (((le16_to_cpu(req->hdr.pbc[1]) >> 14) & 0x1) << 4)); in hfi1_user_sdma_process_request()
770 return ((sizeof(hdr) - sizeof(hdr.pbc)) + 4 + len); in get_lrh_len()
868 u16 pbclen = le16_to_cpu(req->hdr.pbc[0]); in user_sdma_send_pkts()
882 tx->hdr.pbc[0] = cpu_to_le16(pbclen); in user_sdma_send_pkts()
1183 pbclen = le16_to_cpu(hdr->pbc[0]); in set_txreq_header()
1186 hdr->pbc[0] = cpu_to_le16(pbclen); in set_txreq_header()
1202 req->hdr.pbc[0] = hdr->pbc[0]; in set_txreq_header()
1283 u16 pbclen = le16_to_cpu(hdr->pbc[0]); in set_txreq_header_ahg()
Dpio_copy.c74 void pio_copy(struct hfi1_devdata *dd, struct pio_buf *pbuf, u64 pbc, in pio_copy() argument
82 writeq(pbc, dest); in pio_copy()
454 void seg_pio_copy_start(struct pio_buf *pbuf, u64 pbc, in seg_pio_copy_start() argument
461 writeq(pbc, dest); in seg_pio_copy_start()
Dpio.h217 void pio_copy(struct hfi1_devdata *dd, struct pio_buf *pbuf, u64 pbc,
219 void seg_pio_copy_start(struct pio_buf *pbuf, u64 pbc,
Dverbs.c939 u64 pbc) in build_verbs_tx_desc() argument
958 phdr->pbc = cpu_to_le64(pbc); in build_verbs_tx_desc()
959 memcpy(&phdr->hdr, &ahdr->ibh, hdrbytes - sizeof(phdr->pbc)); in build_verbs_tx_desc()
1004 u32 plen, u32 dwords, u64 pbc) in hfi1_verbs_send_dma() argument
1040 if (likely(pbc == 0)) { in hfi1_verbs_send_dma()
1046 pbc = create_pbc(ppd, pbc_flags, qp->srate_mbps, vl, plen); in hfi1_verbs_send_dma()
1053 ret = build_verbs_tx_desc(sde, ss, len, tx, ahdr, pbc); in hfi1_verbs_send_dma()
1131 u32 plen, u32 dwords, u64 pbc) in hfi1_verbs_send_pio() argument
1149 if (likely(pbc == 0)) { in hfi1_verbs_send_pio()
1153 pbc = create_pbc(ppd, pbc_flags, qp->srate_mbps, vl, plen); in hfi1_verbs_send_pio()
[all …]
Dhfi.h1066 u32 len, u32 plen, u32 dwords, u64 pbc);
1069 u32 len, u32 plen, u32 dwords, u64 pbc);
1071 u64 pbc, const void *from, size_t count);
1419 u32 plen, u32 dwords, u64 pbc);
1422 u32 plen, u32 dwords, u64 pbc);
1424 u64 pbc, const void *from, size_t count);
Dverbs.h206 __le64 pbc; member
1106 u32 plen, u32 dwords, u64 pbc);
1110 u32 plen, u32 dwords, u64 pbc);
Dcommon.h234 __u64 pbc; /* PBC for the packet */ member
Dud.c483 u64 pbc, pbc_flags = 0; in return_cnp() local
525 pbc = create_pbc(ppd, pbc_flags, qp->srate_mbps, vl, plen); in return_cnp()
529 ppd->dd->pio_inline_send(ppd->dd, pbuf, pbc, in return_cnp()
Dtrace.h1063 __le32 *pbc = (__le32 *)hdr->pbc;
1072 __entry->pbc0 = pbc[0];
1073 __entry->pbc1 = pbc[1];
Drc.c690 u64 pbc, pbc_flags = 0; in hfi1_send_rc_ack() local
753 pbc = create_pbc(ppd, pbc_flags, qp->srate_mbps, vl, plen); in hfi1_send_rc_ack()
769 ppd->dd->pio_inline_send(ppd->dd, pbuf, pbc, &hdr, hwords); in hfi1_send_rc_ack()
Dchip.c10764 u64 pbc, delay = 0; in create_pbc() local
10769 pbc = flags in create_pbc()
10776 return pbc; in create_pbc()
/drivers/staging/rdma/ipath/
Dipath_user_sdma.c401 __le32 *pbc; in ipath_user_sdma_queue_pkts() local
436 pbc = dma_pool_alloc(pq->header_cache, GFP_KERNEL, in ipath_user_sdma_queue_pkts()
439 pbc = NULL; in ipath_user_sdma_queue_pkts()
441 if (!pbc) { in ipath_user_sdma_queue_pkts()
447 pbc = kmap(page); in ipath_user_sdma_queue_pkts()
450 cfur = copy_from_user(pbc, iov[idx].iov_base, len); in ipath_user_sdma_queue_pkts()
472 pktnw = le32_to_cpu(*pbc) & IPATH_PBC_LENGTH_MASK; in ipath_user_sdma_queue_pkts()
518 page, pbc, dma_addr); in ipath_user_sdma_queue_pkts()
545 dma_pool_free(pq->header_cache, pbc, dma_addr); in ipath_user_sdma_queue_pkts()
Dipath_verbs.h147 __le32 pbc[2]; member
Dipath_verbs.c1177 tx->hdr.pbc[0] = cpu_to_le32(plen); in ipath_verbs_send_dma()
1178 tx->hdr.pbc[1] = cpu_to_le32(control); in ipath_verbs_send_dma()
/drivers/infiniband/hw/qib/
Dqib_user_sdma.c818 __le32 *pbc; in qib_user_sdma_queue_pkts() local
846 pbc = qib_user_sdma_alloc_header(pq, len, &dma_addr); in qib_user_sdma_queue_pkts()
847 if (!pbc) { in qib_user_sdma_queue_pkts()
852 cfur = copy_from_user(pbc, iov[idx].iov_base, len); in qib_user_sdma_queue_pkts()
874 pktnw = le32_to_cpu(*pbc) & 0xFFFF; in qib_user_sdma_queue_pkts()
908 frag_size = ((le32_to_cpu(*pbc))>>16) & 0xFFFF; in qib_user_sdma_queue_pkts()
924 tiddma = (((le32_to_cpu(pbc[7])>> in qib_user_sdma_queue_pkts()
975 *pbc = cpu_to_le32(le32_to_cpu(*pbc) & 0x0000FFFF); in qib_user_sdma_queue_pkts()
996 NULL, pbc, /* struct page, virt addr */ in qib_user_sdma_queue_pkts()
1018 pbc, len, DMA_TO_DEVICE); in qib_user_sdma_queue_pkts()
[all …]
Dqib_verbs.c1205 phdr->pbc[0] = cpu_to_le32(plen); in qib_verbs_send_dma()
1206 phdr->pbc[1] = cpu_to_le32(control); in qib_verbs_send_dma()
1222 phdr->pbc[0] = cpu_to_le32(plen); in qib_verbs_send_dma()
1223 phdr->pbc[1] = cpu_to_le32(control); in qib_verbs_send_dma()
1295 u64 pbc; in qib_verbs_send_pio() local
1303 pbc = ((u64) control << 32) | plen; in qib_verbs_send_pio()
1304 piobuf = dd->f_getsendbuf(ppd, pbc, &pbufn); in qib_verbs_send_pio()
1313 writeq(pbc, piobuf); in qib_verbs_send_pio()
Dqib_rc.c655 u64 pbc; in qib_send_rc_ack() local
715 pbc = ((u64) control << 32) | (hwords + 1); in qib_send_rc_ack()
717 piobuf = dd->f_getsendbuf(ppd, pbc, &pbufn); in qib_send_rc_ack()
735 writeq(pbc, piobuf); in qib_send_rc_ack()
Dqib_iba7220.c3415 u64 pbc; in autoneg_7220_sendpkt() local
3421 pbc = 7 + dcnt + 1; /* 7 dword header, dword data, icrc */ in autoneg_7220_sendpkt()
3422 pbc |= PBC_7220_VL15_SEND; in autoneg_7220_sendpkt()
3429 writeq(pbc, piobuf); in autoneg_7220_sendpkt()
4190 static u32 __iomem *qib_7220_getsendbuf(struct qib_pportdata *ppd, u64 pbc, in qib_7220_getsendbuf() argument
4193 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_7220_getsendbuf()
4197 if (((pbc >> 32) & PBC_7220_VL15_SEND_CTRL) && in qib_7220_getsendbuf()
Dqib_iba7322.c1431 u64 pbc; in flush_fifo() local
1450 pbc = PBC_7322_VL15_SEND | in flush_fifo()
1453 piobuf = qib_7322_getsendbuf(ppd, pbc, &bufn); in flush_fifo()
1456 writeq(pbc, piobuf); in flush_fifo()
5277 u64 pbc; in autoneg_7322_sendpkt() local
5285 pbc = ((u64) control << 32) | len; in autoneg_7322_sendpkt()
5286 while (!(piobuf = qib_7322_getsendbuf(ppd, pbc, &pnum))) { in autoneg_7322_sendpkt()
5293 writeq(pbc, piobuf); in autoneg_7322_sendpkt()
6769 static u32 __iomem *qib_7322_getsendbuf(struct qib_pportdata *ppd, u64 pbc, in qib_7322_getsendbuf() argument
6772 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_7322_getsendbuf()
[all …]
Dqib_iba6120.c3384 static u32 __iomem *qib_6120_getsendbuf(struct qib_pportdata *ppd, u64 pbc, in qib_6120_getsendbuf() argument
3387 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_6120_getsendbuf()
3391 if (((pbc >> 32) & PBC_6120_VL15_SEND_CTRL) && in qib_6120_getsendbuf()
Dqib_verbs.h201 __le32 pbc[2]; member
/drivers/net/wireless/ath/carl9170/
Drx.c263 if (ar->wps.pbc) { in carl9170_handle_command_response()
269 input_report_key(ar->wps.pbc, KEY_WPS_BUTTON, in carl9170_handle_command_response()
271 input_sync(ar->wps.pbc); in carl9170_handle_command_response()
Dmain.c1528 ar->wps.pbc = input; in carl9170_register_wps_button()
2068 if (ar->wps.pbc) { in carl9170_unregister()
2069 input_unregister_device(ar->wps.pbc); in carl9170_unregister()
2070 ar->wps.pbc = NULL; in carl9170_unregister()
Dcarl9170.h431 struct input_dev *pbc; member