/drivers/bus/mhi/ep/ |
D | ring.c | 79 static int mhi_ep_cache_ring(struct mhi_ep_ring *ring, u64 wr_ptr) in mhi_ep_cache_ring() argument 84 wr_offset = mhi_ep_ring_addr2offset(ring, wr_ptr); in mhi_ep_cache_ring() 98 u64 wr_ptr; in mhi_ep_update_wr_offset() local 100 wr_ptr = mhi_ep_mmio_get_db(ring); in mhi_ep_update_wr_offset() 102 return mhi_ep_cache_ring(ring, wr_ptr); in mhi_ep_update_wr_offset()
|
/drivers/gpu/host1x/hw/ |
D | debug_hw_1x06.c | 71 u32 rd_ptr, wr_ptr, start, end; in host1x_debug_show_channel_fifo() local 100 wr_ptr = HOST1X_HV_CMDFIFO_PEEK_PTRS_WR_PTR_V(val); in host1x_debug_show_channel_fifo() 131 } while (rd_ptr != wr_ptr); in host1x_debug_show_channel_fifo()
|
D | debug_hw_1x01.c | 75 u32 val, rd_ptr, wr_ptr, start, end; in host1x_debug_show_channel_fifo() local 94 wr_ptr = HOST1X_SYNC_CFPEEK_PTRS_CF_WR_PTR_V(val); in host1x_debug_show_channel_fifo() 121 } while (rd_ptr != wr_ptr); in host1x_debug_show_channel_fifo()
|
/drivers/atm/ |
D | iphase.c | 1102 struct dle* wr_ptr; local 1190 wr_ptr = iadev->rx_dle_q.write; 1191 wr_ptr->sys_pkt_addr = dma_map_single(&iadev->pci->dev, skb->data, 1193 wr_ptr->local_pkt_addr = buf_addr; 1194 wr_ptr->bytes = len; /* We don't know this do we ?? */ 1195 wr_ptr->mode = DMA_INT_ENABLE; 1198 if(++wr_ptr == iadev->rx_dle_q.end) 1199 wr_ptr = iadev->rx_dle_q.start; 1200 iadev->rx_dle_q.write = wr_ptr; 2888 struct dle *wr_ptr; local [all …]
|
/drivers/media/platform/qcom/venus/ |
D | hfi_venus.c | 169 u32 *wr_ptr; in venus_write_queue() local 207 wr_ptr = (u32 *)(queue->qmem.kva + (wr_idx << 2)); in venus_write_queue() 209 if (wr_ptr < (u32 *)queue->qmem.kva || in venus_write_queue() 210 wr_ptr > (u32 *)(queue->qmem.kva + queue->qmem.size - sizeof(*wr_ptr))) in venus_write_queue() 214 memcpy(wr_ptr, packet, dwords << 2); in venus_write_queue() 220 memcpy(wr_ptr, packet, len); in venus_write_queue()
|
/drivers/net/wireless/intel/iwlwifi/mei/ |
D | main.c | 65 __le32 wr_ptr; member 310 u32 wr = le32_to_cpu(READ_ONCE(notif_q->wr_ptr)); in iwl_mei_write_cyclic_buf() 336 WRITE_ONCE(notif_q->wr_ptr, cpu_to_le32((wr + tx_sz) % q_sz)); in iwl_mei_write_cyclic_buf() 348 if (READ_ONCE(notif_q->wr_ptr) != READ_ONCE(notif_q->rd_ptr)) in iwl_mei_host_to_me_data_pending() 352 return READ_ONCE(notif_q->wr_ptr) != READ_ONCE(notif_q->rd_ptr); in iwl_mei_host_to_me_data_pending() 485 wr = le32_to_cpu(READ_ONCE(notif_q->wr_ptr)); in iwl_mei_add_data_to_ring() 537 WRITE_ONCE(notif_q->wr_ptr, cpu_to_le32((wr + tx_sz) % q_sz)); in iwl_mei_add_data_to_ring() 1148 u32 wr = le32_to_cpu(READ_ONCE(notif_q->wr_ptr)); in iwl_mei_handle_sap_rx()
|
/drivers/media/platform/chips-media/ |
D | coda-jpeg.c | 1211 u32 wr_ptr, start_ptr; in coda9_jpeg_finish_encode() local 1235 wr_ptr = coda_read(dev, CODA9_REG_JPEG_BBC_WR_PTR); in coda9_jpeg_finish_encode() 1236 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, wr_ptr - start_ptr); in coda9_jpeg_finish_encode() 1270 u32 end_addr, wr_ptr; in coda9_jpeg_encode_timeout() local 1274 wr_ptr = coda_read(dev, CODA9_REG_JPEG_BBC_WR_PTR); in coda9_jpeg_encode_timeout() 1275 if (wr_ptr >= end_addr - 256) { in coda9_jpeg_encode_timeout()
|
D | coda-bit.c | 166 u32 rd_ptr, wr_ptr; in coda_kfifo_sync_to_device_full() local 170 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_full() 171 coda_write(dev, wr_ptr, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); in coda_kfifo_sync_to_device_full() 178 u32 wr_ptr; in coda_kfifo_sync_to_device_write() local 180 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_write() 181 coda_write(dev, wr_ptr, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); in coda_kfifo_sync_to_device_write() 1643 u32 wr_ptr, start_ptr; in coda_finish_encode() local 1661 wr_ptr = coda_read(dev, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); in coda_finish_encode() 1666 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, wr_ptr - start_ptr + in coda_finish_encode() 1671 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, wr_ptr - start_ptr); in coda_finish_encode() [all …]
|
/drivers/usb/gadget/udc/ |
D | aspeed_udc.c | 903 u32 proc_sts, wr_ptr, rd_ptr; in ast_udc_epn_handle_desc() local 929 wr_ptr = EP_DMA_GET_WPTR(ctrl); in ast_udc_epn_handle_desc() 931 if (rd_ptr != wr_ptr) { in ast_udc_epn_handle_desc() 933 "rptr", rd_ptr, "wptr", wr_ptr); in ast_udc_epn_handle_desc() 937 EP_DBG(ep, "rd_ptr:%d, wr_ptr:%d\n", rd_ptr, wr_ptr); in ast_udc_epn_handle_desc() 948 } while (i != wr_ptr); in ast_udc_epn_handle_desc()
|
/drivers/net/wireless/intel/iwlwifi/fw/ |
D | error-dump.h | 128 __le32 wr_ptr; member
|
D | dbg.c | 86 fifo_hdr->wr_ptr = in iwl_fwrt_dump_rxf() 141 fifo_hdr->wr_ptr = in iwl_fwrt_dump_txf() 271 fifo_hdr->wr_ptr = in iwl_fw_dump_txf()
|
/drivers/net/wireless/intel/iwlwifi/queue/ |
D | tx.c | 1177 u32 wr_ptr; in iwl_txq_alloc_response() local 1187 wr_ptr = le16_to_cpu(rsp->write_pointer); in iwl_txq_alloc_response() 1209 wr_ptr &= (trans->trans_cfg->base_params->max_tfd_queue_size - 1); in iwl_txq_alloc_response() 1212 txq->read_ptr = wr_ptr; in iwl_txq_alloc_response() 1213 txq->write_ptr = wr_ptr; in iwl_txq_alloc_response()
|
/drivers/rapidio/devices/ |
D | tsi721.c | 388 u32 wr_ptr, rd_ptr; in tsi721_db_dpc() local 401 wr_ptr = ioread32(priv->regs + TSI721_IDQ_WP(IDB_QUEUE)) % IDB_QSIZE; in tsi721_db_dpc() 404 while (wr_ptr != rd_ptr) { in tsi721_db_dpc() 431 wr_ptr = ioread32(priv->regs + in tsi721_db_dpc() 444 wr_ptr = ioread32(priv->regs + TSI721_IDQ_WP(IDB_QUEUE)) % IDB_QSIZE; in tsi721_db_dpc() 445 if (wr_ptr != rd_ptr) in tsi721_db_dpc()
|
/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 2398 u8 wr_ptr; in iwl_trans_pcie_wait_txq_empty() local 2415 wr_ptr = READ_ONCE(txq->write_ptr); in iwl_trans_pcie_wait_txq_empty() 2428 if (WARN_ONCE(wr_ptr != write_ptr && !overflow_tx, in iwl_trans_pcie_wait_txq_empty() 2430 wr_ptr, write_ptr)) in iwl_trans_pcie_wait_txq_empty() 2432 wr_ptr = write_ptr; in iwl_trans_pcie_wait_txq_empty()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_self_test.c | 2949 u32 rd_ptr, wr_ptr, rd_bank, wr_bank; in bnx2x_idle_chk6() local 2961 wr_ptr = ((((rec->pred_args.val1 & 0xC0000000) >> 30) & 0x3) | in bnx2x_idle_chk6() 2965 if (rd_ptr != wr_ptr) { in bnx2x_idle_chk6() 2968 i, rd_ptr, wr_ptr); in bnx2x_idle_chk6()
|