/drivers/staging/rdma/hfi1/ |
D | diag.c | 128 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 …]
|
D | user_sdma.c | 567 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()
|
D | pio_copy.c | 74 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()
|
D | pio.h | 217 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,
|
D | verbs.c | 939 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 …]
|
D | hfi.h | 1066 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);
|
D | verbs.h | 206 __le64 pbc; member 1106 u32 plen, u32 dwords, u64 pbc); 1110 u32 plen, u32 dwords, u64 pbc);
|
D | common.h | 234 __u64 pbc; /* PBC for the packet */ member
|
D | ud.c | 483 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()
|
D | trace.h | 1063 __le32 *pbc = (__le32 *)hdr->pbc; 1072 __entry->pbc0 = pbc[0]; 1073 __entry->pbc1 = pbc[1];
|
D | rc.c | 690 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()
|
D | chip.c | 10764 u64 pbc, delay = 0; in create_pbc() local 10769 pbc = flags in create_pbc() 10776 return pbc; in create_pbc()
|
/drivers/staging/rdma/ipath/ |
D | ipath_user_sdma.c | 401 __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()
|
D | ipath_verbs.h | 147 __le32 pbc[2]; member
|
D | ipath_verbs.c | 1177 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/ |
D | qib_user_sdma.c | 818 __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 …]
|
D | qib_verbs.c | 1205 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()
|
D | qib_rc.c | 655 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()
|
D | qib_iba7220.c | 3415 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()
|
D | qib_iba7322.c | 1431 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 …]
|
D | qib_iba6120.c | 3384 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()
|
D | qib_verbs.h | 201 __le32 pbc[2]; member
|
/drivers/net/wireless/ath/carl9170/ |
D | rx.c | 263 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()
|
D | main.c | 1528 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()
|
D | carl9170.h | 431 struct input_dev *pbc; member
|