Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/infiniband/hw/hfi1/
Dverbs.c286 static u64 hfi1_fault_tx(struct rvt_qp *qp, u8 opcode, u64 pbc) in hfi1_fault_tx() argument
300 pbc &= ~PBC_INSERT_HCRC_SMASK; in hfi1_fault_tx()
301 pbc |= (u64)PBC_IHCRC_NONE << PBC_INSERT_HCRC_SHIFT; in hfi1_fault_tx()
311 pbc |= PBC_TEST_EBP; in hfi1_fault_tx()
314 return pbc; in hfi1_fault_tx()
723 u64 pbc) in build_verbs_tx_desc() argument
727 u16 hdrbytes = (tx->hdr_dwords + sizeof(pbc) / 4) << 2; in build_verbs_tx_desc()
751 phdr->pbc = cpu_to_le64(pbc); in build_verbs_tx_desc()
788 static u64 update_hcrc(u8 opcode, u64 pbc) in update_hcrc() argument
791 pbc &= ~PBC_INSERT_HCRC_SMASK; in update_hcrc()
[all …]
Dvnic_sdma.c87 u64 pbc) in build_vnic_tx_desc() argument
105 tx->pbc_val = cpu_to_le64(pbc); in build_vnic_tx_desc()
128 struct sk_buff *skb, u64 pbc, u8 plen) in hfi1_vnic_send_dma() argument
151 ret = build_vnic_tx_desc(sde, tx, pbc); in hfi1_vnic_send_dma()
Dvnic_main.c192 u64 pbc; in create_bypass_pbc() local
194 pbc = ((u64)PBC_IHCRC_NONE << PBC_INSERT_HCRC_SHIFT) in create_bypass_pbc()
200 return pbc; in create_bypass_pbc()
223 u64 pbc; in hfi1_netdev_start_xmit() local
251 pbc = create_bypass_pbc(mdata->vl, total_len); in hfi1_netdev_start_xmit()
254 v_dbg("pbc 0x%016llX len %d pad_len %d\n", pbc, skb->len, pad_len); in hfi1_netdev_start_xmit()
255 err = dd->process_vnic_dma_send(dd, q_idx, vinfo, skb, pbc, pad_len); in hfi1_netdev_start_xmit()
Duser_sdma.c401 req->hdr.pbc[2] = 0; in hfi1_user_sdma_process_request()
416 vl = (le16_to_cpu(req->hdr.pbc[0]) >> 12) & 0xF; in hfi1_user_sdma_process_request()
418 (((le16_to_cpu(req->hdr.pbc[1]) >> 14) & 0x1) << 4)); in hfi1_user_sdma_process_request()
636 return ((sizeof(hdr) - sizeof(hdr.pbc)) + 4 + len); in get_lrh_len()
644 u16 pbclen = le16_to_cpu(req->hdr.pbc[0]); in user_sdma_txadd_ahg()
659 tx->hdr.pbc[0] = cpu_to_le16(pbclen); in user_sdma_txadd_ahg()
930 pbclen = le16_to_cpu(hdr->pbc[0]); in set_txreq_header()
933 hdr->pbc[0] = cpu_to_le16(pbclen); in set_txreq_header()
949 req->hdr.pbc[0] = hdr->pbc[0]; in set_txreq_header()
1035 u16 pbclen = le16_to_cpu(hdr->pbc[0]); in set_txreq_header_ahg()
Dpio_copy.c30 void pio_copy(struct hfi1_devdata *dd, struct pio_buf *pbuf, u64 pbc, in pio_copy() argument
38 writeq(pbc, dest); in pio_copy()
262 void seg_pio_copy_start(struct pio_buf *pbuf, u64 pbc, in seg_pio_copy_start() argument
269 writeq(pbc, dest); in seg_pio_copy_start()
Dpio.h283 void pio_copy(struct hfi1_devdata *dd, struct pio_buf *pbuf, u64 pbc,
285 void seg_pio_copy_start(struct pio_buf *pbuf, u64 pbc,
Dverbs.h107 __le64 pbc; member
435 u64 pbc);
438 u64 pbc);
Dvnic.h124 struct sk_buff *skb, u64 pbc, u8 plen);
Dud.c595 u64 pbc, pbc_flags = 0; in return_cnp_16B() local
642 pbc = create_pbc(ppd, pbc_flags, qp->srate_mbps, vl, plen); in return_cnp_16B()
647 ppd->dd->pio_inline_send(ppd->dd, pbuf, pbc, in return_cnp_16B()
657 u64 pbc, pbc_flags = 0; in return_cnp() local
697 pbc = create_pbc(ppd, pbc_flags, qp->srate_mbps, vl, plen); in return_cnp()
702 ppd->dd->pio_inline_send(ppd->dd, pbuf, pbc, in return_cnp()
Dipoib_tx.c125 le64_to_cpu(tx->sdma_hdr->pbc), tx->txq->q_idx, in hfi1_ipoib_free_tx()
237 sizeof(sdma_hdr->pbc) + (txp->hdr_dwords << 2) + tx->skb->len; in hfi1_ipoib_build_tx_desc()
248 sizeof(sdma_hdr->pbc) + (txp->hdr_dwords << 2)); in hfi1_ipoib_build_tx_desc()
338 sdma_hdr->pbc = in hfi1_ipoib_build_ib_tx_headers()
345 (sizeof(sdma_hdr->pbc) >> 2))); in hfi1_ipoib_build_ib_tx_headers()
Dtrace_tx.h493 __le32 *pbc = (__le32 *)hdr->pbc;
502 __entry->pbc0 = le32_to_cpu(pbc[0]);
503 __entry->pbc1 = le32_to_cpu(pbc[1]);
Dhfi.h1300 u64 pbc, const void *from, size_t count);
1303 struct sk_buff *skb, u64 pbc, u8 plen);
Drc.c1352 u64 pbc, pbc_flags = 0; in hfi1_send_rc_ack() local
1383 pbc = create_pbc(ppd, pbc_flags, qp->srate_mbps, in hfi1_send_rc_ack()
1400 ppd->dd->pio_inline_send(ppd->dd, pbuf, pbc, in hfi1_send_rc_ack()
Dchip.c15365 u64 pbc, delay = 0; in create_pbc() local
15370 pbc = flags in create_pbc()
15377 return pbc; in create_pbc()
/linux-6.6.21/drivers/infiniband/hw/qib/
Dqib_user_sdma.c808 __le32 *pbc; in qib_user_sdma_queue_pkts() local
836 pbc = qib_user_sdma_alloc_header(pq, len, &dma_addr); in qib_user_sdma_queue_pkts()
837 if (!pbc) { in qib_user_sdma_queue_pkts()
842 cfur = copy_from_user(pbc, iov[idx].iov_base, len); in qib_user_sdma_queue_pkts()
864 pktnw = le32_to_cpu(*pbc) & 0xFFFF; in qib_user_sdma_queue_pkts()
898 frag_size = ((le32_to_cpu(*pbc))>>16) & 0xFFFF; in qib_user_sdma_queue_pkts()
914 tiddma = (((le32_to_cpu(pbc[7])>> in qib_user_sdma_queue_pkts()
965 *pbc = cpu_to_le32(le32_to_cpu(*pbc) & 0x0000FFFF); in qib_user_sdma_queue_pkts()
986 NULL, pbc, /* struct page, virt addr */ in qib_user_sdma_queue_pkts()
1008 pbc, len, DMA_TO_DEVICE); in qib_user_sdma_queue_pkts()
[all …]
Dqib_verbs.c824 phdr->pbc[0] = cpu_to_le32(plen); in qib_verbs_send_dma()
825 phdr->pbc[1] = cpu_to_le32(control); in qib_verbs_send_dma()
841 phdr->pbc[0] = cpu_to_le32(plen); in qib_verbs_send_dma()
842 phdr->pbc[1] = cpu_to_le32(control); in qib_verbs_send_dma()
915 u64 pbc; in qib_verbs_send_pio() local
923 pbc = ((u64) control << 32) | plen; in qib_verbs_send_pio()
924 piobuf = dd->f_getsendbuf(ppd, pbc, &pbufn); in qib_verbs_send_pio()
933 writeq(pbc, piobuf); in qib_verbs_send_pio()
Dqib_verbs.h108 __le32 pbc[2]; member
Dqib_rc.c603 u64 pbc; in qib_send_rc_ack() local
666 pbc = ((u64) control << 32) | (hwords + 1); in qib_send_rc_ack()
668 piobuf = dd->f_getsendbuf(ppd, pbc, &pbufn); in qib_send_rc_ack()
686 writeq(pbc, piobuf); in qib_send_rc_ack()
Dqib_iba7220.c3375 u64 pbc; in autoneg_7220_sendpkt() local
3381 pbc = 7 + dcnt + 1; /* 7 dword header, dword data, icrc */ in autoneg_7220_sendpkt()
3382 pbc |= PBC_7220_VL15_SEND; in autoneg_7220_sendpkt()
3389 writeq(pbc, piobuf); in autoneg_7220_sendpkt()
4133 static u32 __iomem *qib_7220_getsendbuf(struct qib_pportdata *ppd, u64 pbc, in qib_7220_getsendbuf() argument
4136 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_7220_getsendbuf()
4140 if (((pbc >> 32) & PBC_7220_VL15_SEND_CTRL) && in qib_7220_getsendbuf()
Dqib_iba7322.c1400 u64 pbc; in flush_fifo() local
1419 pbc = PBC_7322_VL15_SEND | in flush_fifo()
1422 piobuf = qib_7322_getsendbuf(ppd, pbc, &bufn); in flush_fifo()
1425 writeq(pbc, piobuf); in flush_fifo()
5198 u64 pbc; in autoneg_7322_sendpkt() local
5206 pbc = ((u64) control << 32) | len; in autoneg_7322_sendpkt()
5207 while (!(piobuf = qib_7322_getsendbuf(ppd, pbc, &pnum))) { in autoneg_7322_sendpkt()
5214 writeq(pbc, piobuf); in autoneg_7322_sendpkt()
6675 static u32 __iomem *qib_7322_getsendbuf(struct qib_pportdata *ppd, u64 pbc, in qib_7322_getsendbuf() argument
6678 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_7322_getsendbuf()
[all …]
Dqib_iba6120.c3319 static u32 __iomem *qib_6120_getsendbuf(struct qib_pportdata *ppd, u64 pbc, in qib_6120_getsendbuf() argument
3322 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_6120_getsendbuf()
3326 if (((pbc >> 32) & PBC_6120_VL15_SEND_CTRL) && in qib_6120_getsendbuf()
/linux-6.6.21/include/uapi/rdma/hfi/
Dhfi1_user.h241 __le16 pbc[4]; member
/linux-6.6.21/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()
Dcarl9170.h434 struct input_dev *pbc; member
Dmain.c1519 ar->wps.pbc = input; in carl9170_register_wps_button()