/drivers/infiniband/hw/ipath/ |
D | ipath_user_sdma.c | 402 __le32 *pbc; in ipath_user_sdma_queue_pkts() local 437 pbc = dma_pool_alloc(pq->header_cache, GFP_KERNEL, in ipath_user_sdma_queue_pkts() 440 pbc = NULL; in ipath_user_sdma_queue_pkts() 442 if (!pbc) { in ipath_user_sdma_queue_pkts() 448 pbc = kmap(page); in ipath_user_sdma_queue_pkts() 451 cfur = copy_from_user(pbc, iov[idx].iov_base, len); in ipath_user_sdma_queue_pkts() 473 pktnw = le32_to_cpu(*pbc) & IPATH_PBC_LENGTH_MASK; in ipath_user_sdma_queue_pkts() 519 page, pbc, dma_addr); in ipath_user_sdma_queue_pkts() 546 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 | 1164 tx->hdr.pbc[0] = cpu_to_le32(plen); in ipath_verbs_send_dma() 1165 tx->hdr.pbc[1] = cpu_to_le32(control); in ipath_verbs_send_dma()
|
/drivers/infiniband/hw/qib/ |
D | qib_user_sdma.c | 816 __le32 *pbc; in qib_user_sdma_queue_pkts() local 844 pbc = qib_user_sdma_alloc_header(pq, len, &dma_addr); in qib_user_sdma_queue_pkts() 845 if (!pbc) { in qib_user_sdma_queue_pkts() 850 cfur = copy_from_user(pbc, iov[idx].iov_base, len); in qib_user_sdma_queue_pkts() 872 pktnw = le32_to_cpu(*pbc) & 0xFFFF; in qib_user_sdma_queue_pkts() 902 frag_size = ((le32_to_cpu(*pbc))>>16) & 0xFFFF; in qib_user_sdma_queue_pkts() 918 tiddma = (((le32_to_cpu(pbc[7])>> in qib_user_sdma_queue_pkts() 958 *pbc = cpu_to_le32(le32_to_cpu(*pbc) & 0x0000FFFF); in qib_user_sdma_queue_pkts() 979 NULL, pbc, /* struct page, virt addr */ in qib_user_sdma_queue_pkts() 1001 pbc, len, DMA_TO_DEVICE); in qib_user_sdma_queue_pkts() [all …]
|
D | qib_verbs.c | 1189 phdr->pbc[0] = cpu_to_le32(plen); in qib_verbs_send_dma() 1190 phdr->pbc[1] = cpu_to_le32(control); in qib_verbs_send_dma() 1206 phdr->pbc[0] = cpu_to_le32(plen); in qib_verbs_send_dma() 1207 phdr->pbc[1] = cpu_to_le32(control); in qib_verbs_send_dma() 1279 u64 pbc; in qib_verbs_send_pio() local 1287 pbc = ((u64) control << 32) | plen; in qib_verbs_send_pio() 1288 piobuf = dd->f_getsendbuf(ppd, pbc, &pbufn); in qib_verbs_send_pio() 1297 writeq(pbc, piobuf); in qib_verbs_send_pio()
|
D | qib_rc.c | 653 u64 pbc; in qib_send_rc_ack() local 713 pbc = ((u64) control << 32) | (hwords + 1); in qib_send_rc_ack() 715 piobuf = dd->f_getsendbuf(ppd, pbc, &pbufn); in qib_send_rc_ack() 733 writeq(pbc, piobuf); in qib_send_rc_ack()
|
D | qib_iba7220.c | 3413 u64 pbc; in autoneg_7220_sendpkt() local 3419 pbc = 7 + dcnt + 1; /* 7 dword header, dword data, icrc */ in autoneg_7220_sendpkt() 3420 pbc |= PBC_7220_VL15_SEND; in autoneg_7220_sendpkt() 3427 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 | 1429 u64 pbc; in flush_fifo() local 1448 pbc = PBC_7322_VL15_SEND | in flush_fifo() 1451 piobuf = qib_7322_getsendbuf(ppd, pbc, &bufn); in flush_fifo() 1454 writeq(pbc, piobuf); in flush_fifo() 5262 u64 pbc; in autoneg_7322_sendpkt() local 5270 pbc = ((u64) control << 32) | len; in autoneg_7322_sendpkt() 5271 while (!(piobuf = qib_7322_getsendbuf(ppd, pbc, &pnum))) { in autoneg_7322_sendpkt() 5278 writeq(pbc, piobuf); in autoneg_7322_sendpkt() 6750 static u32 __iomem *qib_7322_getsendbuf(struct qib_pportdata *ppd, u64 pbc, in qib_7322_getsendbuf() argument 6753 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_7322_getsendbuf() [all …]
|
D | qib_verbs.h | 201 __le32 pbc[2]; member
|
D | qib_iba6120.c | 3381 static u32 __iomem *qib_6120_getsendbuf(struct qib_pportdata *ppd, u64 pbc, in qib_6120_getsendbuf() argument 3384 u32 first, last, plen = pbc & QIB_PBC_LENGTH_MASK; in qib_6120_getsendbuf() 3388 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 | 1540 ar->wps.pbc = input; in carl9170_register_wps_button() 2080 if (ar->wps.pbc) { in carl9170_unregister() 2081 input_unregister_device(ar->wps.pbc); in carl9170_unregister() 2082 ar->wps.pbc = NULL; in carl9170_unregister()
|
D | carl9170.h | 431 struct input_dev *pbc; member
|