Home
last modified time | relevance | path

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

/drivers/infiniband/hw/hfi1/
Dverbs.c328 static u64 hfi1_fault_tx(struct rvt_qp *qp, u8 opcode, u64 pbc) in hfi1_fault_tx() argument
342 pbc &= ~PBC_INSERT_HCRC_SMASK; in hfi1_fault_tx()
343 pbc |= (u64)PBC_IHCRC_NONE << PBC_INSERT_HCRC_SHIFT; in hfi1_fault_tx()
353 pbc |= PBC_TEST_EBP; in hfi1_fault_tx()
356 return pbc; in hfi1_fault_tx()
765 u64 pbc) in build_verbs_tx_desc() argument
769 u16 hdrbytes = (tx->hdr_dwords + sizeof(pbc) / 4) << 2; in build_verbs_tx_desc()
793 phdr->pbc = cpu_to_le64(pbc); in build_verbs_tx_desc()
830 static u64 update_hcrc(u8 opcode, u64 pbc) in update_hcrc() argument
833 pbc &= ~PBC_INSERT_HCRC_SMASK; in update_hcrc()
[all …]
Dvnic_sdma.c129 u64 pbc) in build_vnic_tx_desc() argument
147 tx->pbc_val = cpu_to_le64(pbc); in build_vnic_tx_desc()
170 struct sk_buff *skb, u64 pbc, u8 plen) in hfi1_vnic_send_dma() argument
193 ret = build_vnic_tx_desc(sde, tx, pbc); in hfi1_vnic_send_dma()
Dvnic_main.c234 u64 pbc; in create_bypass_pbc() local
236 pbc = ((u64)PBC_IHCRC_NONE << PBC_INSERT_HCRC_SHIFT) in create_bypass_pbc()
242 return pbc; in create_bypass_pbc()
265 u64 pbc; in hfi1_netdev_start_xmit() local
293 pbc = create_bypass_pbc(mdata->vl, total_len); in hfi1_netdev_start_xmit()
296 v_dbg("pbc 0x%016llX len %d pad_len %d\n", pbc, skb->len, pad_len); in hfi1_netdev_start_xmit()
297 err = dd->process_vnic_dma_send(dd, q_idx, vinfo, skb, pbc, pad_len); in hfi1_netdev_start_xmit()
Dpio_copy.c71 void pio_copy(struct hfi1_devdata *dd, struct pio_buf *pbuf, u64 pbc, in pio_copy() argument
79 writeq(pbc, dest); in pio_copy()
303 void seg_pio_copy_start(struct pio_buf *pbuf, u64 pbc, in seg_pio_copy_start() argument
310 writeq(pbc, dest); in seg_pio_copy_start()
Duser_sdma.c462 req->hdr.pbc[2] = 0; in hfi1_user_sdma_process_request()
477 vl = (le16_to_cpu(req->hdr.pbc[0]) >> 12) & 0xF; in hfi1_user_sdma_process_request()
479 (((le16_to_cpu(req->hdr.pbc[1]) >> 14) & 0x1) << 4)); in hfi1_user_sdma_process_request()
697 return ((sizeof(hdr) - sizeof(hdr.pbc)) + 4 + len); in get_lrh_len()
705 u16 pbclen = le16_to_cpu(req->hdr.pbc[0]); in user_sdma_txadd_ahg()
720 tx->hdr.pbc[0] = cpu_to_le16(pbclen); in user_sdma_txadd_ahg()
1002 pbclen = le16_to_cpu(hdr->pbc[0]); in set_txreq_header()
1005 hdr->pbc[0] = cpu_to_le16(pbclen); in set_txreq_header()
1021 req->hdr.pbc[0] = hdr->pbc[0]; in set_txreq_header()
1107 u16 pbclen = le16_to_cpu(hdr->pbc[0]); in set_txreq_header_ahg()
Dverbs.h149 __le64 pbc; member
480 u64 pbc);
483 u64 pbc);
Dpio.h327 void pio_copy(struct hfi1_devdata *dd, struct pio_buf *pbuf, u64 pbc,
329 void seg_pio_copy_start(struct pio_buf *pbuf, u64 pbc,
Dipoib_tx.c137 le64_to_cpu(tx->sdma_hdr.pbc), tx->txq->q_idx, in hfi1_ipoib_free_tx()
273 sizeof(sdma_hdr->pbc) + (txp->hdr_dwords << 2) + tx->skb->len; in hfi1_ipoib_build_tx_desc()
284 sizeof(sdma_hdr->pbc) + (txp->hdr_dwords << 2)); in hfi1_ipoib_build_tx_desc()
374 sdma_hdr->pbc = in hfi1_ipoib_build_ib_tx_headers()
381 (sizeof(sdma_hdr->pbc) >> 2))); in hfi1_ipoib_build_ib_tx_headers()
Dud.c636 u64 pbc, pbc_flags = 0; in return_cnp_16B() local
683 pbc = create_pbc(ppd, pbc_flags, qp->srate_mbps, vl, plen); in return_cnp_16B()
688 ppd->dd->pio_inline_send(ppd->dd, pbuf, pbc, in return_cnp_16B()
698 u64 pbc, pbc_flags = 0; in return_cnp() local
738 pbc = create_pbc(ppd, pbc_flags, qp->srate_mbps, vl, plen); in return_cnp()
743 ppd->dd->pio_inline_send(ppd->dd, pbuf, pbc, in return_cnp()
Dvnic.h166 struct sk_buff *skb, u64 pbc, u8 plen);
Dtrace_tx.h535 __le32 *pbc = (__le32 *)hdr->pbc;
544 __entry->pbc0 = le32_to_cpu(pbc[0]);
545 __entry->pbc1 = le32_to_cpu(pbc[1]);
Dcommon.h231 __u64 pbc; /* PBC for the packet */ member
Dhfi.h1350 u64 pbc, const void *from, size_t count);
1353 struct sk_buff *skb, u64 pbc, u8 plen);
Drc.c1394 u64 pbc, pbc_flags = 0; in hfi1_send_rc_ack() local
1425 pbc = create_pbc(ppd, pbc_flags, qp->srate_mbps, in hfi1_send_rc_ack()
1442 ppd->dd->pio_inline_send(ppd->dd, pbuf, pbc, in hfi1_send_rc_ack()
Dchip.c15404 u64 pbc, delay = 0; in create_pbc() local
15409 pbc = flags in create_pbc()
15416 return pbc; in create_pbc()
/drivers/infiniband/hw/qib/
Dqib_user_sdma.c813 __le32 *pbc; in qib_user_sdma_queue_pkts() local
841 pbc = qib_user_sdma_alloc_header(pq, len, &dma_addr); in qib_user_sdma_queue_pkts()
842 if (!pbc) { in qib_user_sdma_queue_pkts()
847 cfur = copy_from_user(pbc, iov[idx].iov_base, len); in qib_user_sdma_queue_pkts()
869 pktnw = le32_to_cpu(*pbc) & 0xFFFF; in qib_user_sdma_queue_pkts()
903 frag_size = ((le32_to_cpu(*pbc))>>16) & 0xFFFF; in qib_user_sdma_queue_pkts()
919 tiddma = (((le32_to_cpu(pbc[7])>> in qib_user_sdma_queue_pkts()
970 *pbc = cpu_to_le32(le32_to_cpu(*pbc) & 0x0000FFFF); in qib_user_sdma_queue_pkts()
991 NULL, pbc, /* struct page, virt addr */ in qib_user_sdma_queue_pkts()
1013 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.c602 u64 pbc; in qib_send_rc_ack() local
665 pbc = ((u64) control << 32) | (hwords + 1); in qib_send_rc_ack()
667 piobuf = dd->f_getsendbuf(ppd, pbc, &pbufn); in qib_send_rc_ack()
685 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.c1422 u64 pbc; in flush_fifo() local
1441 pbc = PBC_7322_VL15_SEND | in flush_fifo()
1444 piobuf = qib_7322_getsendbuf(ppd, pbc, &bufn); in flush_fifo()
1447 writeq(pbc, piobuf); in flush_fifo()
5220 u64 pbc; in autoneg_7322_sendpkt() local
5228 pbc = ((u64) control << 32) | len; in autoneg_7322_sendpkt()
5229 while (!(piobuf = qib_7322_getsendbuf(ppd, pbc, &pnum))) { in autoneg_7322_sendpkt()
5236 writeq(pbc, piobuf); in autoneg_7322_sendpkt()
6704 static u32 __iomem *qib_7322_getsendbuf(struct qib_pportdata *ppd, u64 pbc, in qib_7322_getsendbuf() argument
6707 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_7322_getsendbuf()
[all …]
Dqib_iba6120.c3322 static u32 __iomem *qib_6120_getsendbuf(struct qib_pportdata *ppd, u64 pbc, in qib_6120_getsendbuf() argument
3325 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_6120_getsendbuf()
3329 if (((pbc >> 32) & PBC_6120_VL15_SEND_CTRL) && in qib_6120_getsendbuf()
/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.c1522 ar->wps.pbc = input; in carl9170_register_wps_button()
2065 if (ar->wps.pbc) { in carl9170_unregister()
2066 input_unregister_device(ar->wps.pbc); in carl9170_unregister()
2067 ar->wps.pbc = NULL; in carl9170_unregister()
Dcarl9170.h434 struct input_dev *pbc; member