/drivers/infiniband/hw/hfi1/ |
D | verbs.c | 525 static u64 hfi1_fault_tx(struct rvt_qp *qp, u8 opcode, u64 pbc) in hfi1_fault_tx() argument 539 pbc |= (u64)PBC_IHCRC_NONE << PBC_INSERT_HCRC_SHIFT; in hfi1_fault_tx() 549 pbc |= PBC_TEST_EBP; in hfi1_fault_tx() 551 return pbc; in hfi1_fault_tx() 813 u64 pbc) in build_verbs_tx_desc() argument 846 phdr->pbc = cpu_to_le64(pbc); in build_verbs_tx_desc() 884 u64 pbc) in hfi1_verbs_send_dma() argument 912 if (likely(pbc == 0)) { in hfi1_verbs_send_dma() 918 pbc |= PBC_PACKET_BYPASS | in hfi1_verbs_send_dma() 921 pbc |= (ib_is_sc5(sc5) << PBC_DC_INFO_SHIFT); in hfi1_verbs_send_dma() [all …]
|
D | vnic_sdma.c | 128 u64 pbc) in build_vnic_tx_desc() argument 146 tx->pbc_val = cpu_to_le64(pbc); in build_vnic_tx_desc() 169 struct sk_buff *skb, u64 pbc, u8 plen) in hfi1_vnic_send_dma() argument 192 ret = build_vnic_tx_desc(sde, tx, pbc); in hfi1_vnic_send_dma()
|
D | pio_copy.c | 71 void pio_copy(struct hfi1_devdata *dd, struct pio_buf *pbuf, u64 pbc, in pio_copy() argument 79 writeq(pbc, dest); in pio_copy() 304 void seg_pio_copy_start(struct pio_buf *pbuf, u64 pbc, in seg_pio_copy_start() argument 311 writeq(pbc, dest); in seg_pio_copy_start()
|
D | verbs.h | 135 __le64 pbc; member 392 u64 pbc); 395 u64 pbc);
|
D | user_sdma.c | 447 req->hdr.pbc[2] = 0; in hfi1_user_sdma_process_request() 462 vl = (le16_to_cpu(req->hdr.pbc[0]) >> 12) & 0xF; in hfi1_user_sdma_process_request() 464 (((le16_to_cpu(req->hdr.pbc[1]) >> 14) & 0x1) << 4)); in hfi1_user_sdma_process_request() 682 return ((sizeof(hdr) - sizeof(hdr.pbc)) + 4 + len); in get_lrh_len() 690 u16 pbclen = le16_to_cpu(req->hdr.pbc[0]); in user_sdma_txadd_ahg() 705 tx->hdr.pbc[0] = cpu_to_le16(pbclen); in user_sdma_txadd_ahg() 1156 pbclen = le16_to_cpu(hdr->pbc[0]); in set_txreq_header() 1159 hdr->pbc[0] = cpu_to_le16(pbclen); in set_txreq_header() 1175 req->hdr.pbc[0] = hdr->pbc[0]; in set_txreq_header() 1261 u16 pbclen = le16_to_cpu(hdr->pbc[0]); in set_txreq_header_ahg()
|
D | vnic_main.c | 371 u64 pbc; in create_bypass_pbc() local 373 pbc = ((u64)PBC_IHCRC_NONE << PBC_INSERT_HCRC_SHIFT) in create_bypass_pbc() 379 return pbc; in create_bypass_pbc() 402 u64 pbc; in hfi1_netdev_start_xmit() local 430 pbc = create_bypass_pbc(mdata->vl, total_len); in hfi1_netdev_start_xmit() 433 v_dbg("pbc 0x%016llX len %d pad_len %d\n", pbc, skb->len, pad_len); in hfi1_netdev_start_xmit() 434 err = dd->process_vnic_dma_send(dd, q_idx, vinfo, skb, pbc, pad_len); in hfi1_netdev_start_xmit()
|
D | pio.h | 331 void pio_copy(struct hfi1_devdata *dd, struct pio_buf *pbuf, u64 pbc, 333 void seg_pio_copy_start(struct pio_buf *pbuf, u64 pbc,
|
D | ud.c | 636 u64 pbc, pbc_flags = 0; in return_cnp_16B() local 681 pbc = create_pbc(ppd, pbc_flags, qp->srate_mbps, vl, plen); in return_cnp_16B() 685 ppd->dd->pio_inline_send(ppd->dd, pbuf, pbc, in return_cnp_16B() 694 u64 pbc, pbc_flags = 0; in return_cnp() local 732 pbc = create_pbc(ppd, pbc_flags, qp->srate_mbps, vl, plen); in return_cnp() 736 ppd->dd->pio_inline_send(ppd->dd, pbuf, pbc, in return_cnp()
|
D | vnic.h | 167 struct sk_buff *skb, u64 pbc, u8 plen);
|
D | trace_tx.h | 525 __le32 *pbc = (__le32 *)hdr->pbc; 534 __entry->pbc0 = le32_to_cpu(pbc[0]); 535 __entry->pbc1 = le32_to_cpu(pbc[1]);
|
D | common.h | 233 __u64 pbc; /* PBC for the packet */ member
|
D | rc.c | 887 u64 pbc, pbc_flags = 0; in hfi1_send_rc_ack() local 919 pbc = create_pbc(ppd, pbc_flags, qp->srate_mbps, in hfi1_send_rc_ack() 936 ppd->dd->pio_inline_send(ppd->dd, pbuf, pbc, in hfi1_send_rc_ack()
|
D | hfi.h | 1271 u64 pbc, const void *from, size_t count); 1274 struct sk_buff *skb, u64 pbc, u8 plen);
|
D | chip.c | 15375 u64 pbc, delay = 0; in create_pbc() local 15380 pbc = flags in create_pbc() 15387 return pbc; in create_pbc()
|
/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 817 __le32 *pbc; in qib_user_sdma_queue_pkts() local 845 pbc = qib_user_sdma_alloc_header(pq, len, &dma_addr); in qib_user_sdma_queue_pkts() 846 if (!pbc) { in qib_user_sdma_queue_pkts() 851 cfur = copy_from_user(pbc, iov[idx].iov_base, len); in qib_user_sdma_queue_pkts() 873 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() 960 *pbc = cpu_to_le32(le32_to_cpu(*pbc) & 0x0000FFFF); in qib_user_sdma_queue_pkts() 981 NULL, pbc, /* struct page, virt addr */ in qib_user_sdma_queue_pkts() 1003 pbc, len, DMA_TO_DEVICE); in qib_user_sdma_queue_pkts() [all …]
|
D | qib_verbs.c | 862 phdr->pbc[0] = cpu_to_le32(plen); in qib_verbs_send_dma() 863 phdr->pbc[1] = cpu_to_le32(control); in qib_verbs_send_dma() 879 phdr->pbc[0] = cpu_to_le32(plen); in qib_verbs_send_dma() 880 phdr->pbc[1] = cpu_to_le32(control); in qib_verbs_send_dma() 953 u64 pbc; in qib_verbs_send_pio() local 961 pbc = ((u64) control << 32) | plen; in qib_verbs_send_pio() 962 piobuf = dd->f_getsendbuf(ppd, pbc, &pbufn); in qib_verbs_send_pio() 971 writeq(pbc, piobuf); in qib_verbs_send_pio()
|
D | qib_verbs.h | 111 __le32 pbc[2]; member
|
D | qib_rc.c | 615 u64 pbc; in qib_send_rc_ack() local 678 pbc = ((u64) control << 32) | (hwords + 1); in qib_send_rc_ack() 680 piobuf = dd->f_getsendbuf(ppd, pbc, &pbufn); in qib_send_rc_ack() 698 writeq(pbc, piobuf); in qib_send_rc_ack()
|
D | qib_iba7220.c | 3404 u64 pbc; in autoneg_7220_sendpkt() local 3410 pbc = 7 + dcnt + 1; /* 7 dword header, dword data, icrc */ in autoneg_7220_sendpkt() 3411 pbc |= PBC_7220_VL15_SEND; in autoneg_7220_sendpkt() 3418 writeq(pbc, piobuf); in autoneg_7220_sendpkt() 4178 static u32 __iomem *qib_7220_getsendbuf(struct qib_pportdata *ppd, u64 pbc, in qib_7220_getsendbuf() argument 4181 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_7220_getsendbuf() 4185 if (((pbc >> 32) & PBC_7220_VL15_SEND_CTRL) && in qib_7220_getsendbuf()
|
D | qib_iba7322.c | 1416 u64 pbc; in flush_fifo() local 1435 pbc = PBC_7322_VL15_SEND | in flush_fifo() 1438 piobuf = qib_7322_getsendbuf(ppd, pbc, &bufn); in flush_fifo() 1441 writeq(pbc, piobuf); in flush_fifo() 5252 u64 pbc; in autoneg_7322_sendpkt() local 5260 pbc = ((u64) control << 32) | len; in autoneg_7322_sendpkt() 5261 while (!(piobuf = qib_7322_getsendbuf(ppd, pbc, &pnum))) { in autoneg_7322_sendpkt() 5268 writeq(pbc, piobuf); in autoneg_7322_sendpkt() 6741 static u32 __iomem *qib_7322_getsendbuf(struct qib_pportdata *ppd, u64 pbc, in qib_7322_getsendbuf() argument 6744 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_7322_getsendbuf() [all …]
|
D | qib_iba6120.c | 3370 static u32 __iomem *qib_6120_getsendbuf(struct qib_pportdata *ppd, u64 pbc, in qib_6120_getsendbuf() argument 3373 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_6120_getsendbuf() 3377 if (((pbc >> 32) & PBC_6120_VL15_SEND_CTRL) && in qib_6120_getsendbuf()
|
/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 | 1541 ar->wps.pbc = input; in carl9170_register_wps_button() 2083 if (ar->wps.pbc) { in carl9170_unregister() 2084 input_unregister_device(ar->wps.pbc); in carl9170_unregister() 2085 ar->wps.pbc = NULL; in carl9170_unregister()
|
D | carl9170.h | 431 struct input_dev *pbc; member
|