Home
last modified time | relevance | path

Searched refs:wr_ptr (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/host1x/hw/
Ddebug_hw_1x06.c57 u32 rd_ptr, wr_ptr, start, end; in host1x_debug_show_channel_fifo() local
86 wr_ptr = HOST1X_HV_CMDFIFO_PEEK_PTRS_WR_PTR_V(val); in host1x_debug_show_channel_fifo()
117 } while (rd_ptr != wr_ptr); in host1x_debug_show_channel_fifo()
Ddebug_hw_1x01.c71 u32 val, rd_ptr, wr_ptr, start, end; in host1x_debug_show_channel_fifo() local
90 wr_ptr = HOST1X_SYNC_CFPEEK_PTRS_CF_WR_PTR_V(val); in host1x_debug_show_channel_fifo()
117 } while (rd_ptr != wr_ptr); in host1x_debug_show_channel_fifo()
/kernel/linux/linux-5.10/drivers/atm/
Diphase.c1101 struct dle* wr_ptr; local
1189 wr_ptr = iadev->rx_dle_q.write;
1190 wr_ptr->sys_pkt_addr = dma_map_single(&iadev->pci->dev, skb->data,
1192 wr_ptr->local_pkt_addr = buf_addr;
1193 wr_ptr->bytes = len; /* We don't know this do we ?? */
1194 wr_ptr->mode = DMA_INT_ENABLE;
1197 if(++wr_ptr == iadev->rx_dle_q.end)
1198 wr_ptr = iadev->rx_dle_q.start;
1199 iadev->rx_dle_q.write = wr_ptr;
2885 struct dle *wr_ptr; local
[all …]
Dhorizon.c882 rx_q_entry * wr_ptr = &memmap->rx_q_entries[rd_regw (dev, RX_QUEUE_WR_PTR_OFF)]; in hrz_close_rx()
885 PRINTD (DBG_VCC|DBG_RX, "rd_ptr = %u, wr_ptr = %u", rd_ptr, wr_ptr); in hrz_close_rx()
887 while (rd_ptr != wr_ptr) { in hrz_close_rx()
1468 u32 wr_ptr; in setup_idle_tx_channel() local
1503 wr_ptr = rd_mem (dev, &tx_desc->wr_buf_type) & BUFFER_PTR_MASK; in setup_idle_tx_channel()
1506 if (rd_ptr != wr_ptr) { in setup_idle_tx_channel()
1512 rd_ptr, wr_ptr); in setup_idle_tx_channel()
1518 wr_ptr |= CHANNEL_TYPE_RAW_CELLS; in setup_idle_tx_channel()
1523 wr_ptr |= CHANNEL_TYPE_AAL3_4; in setup_idle_tx_channel()
1527 wr_ptr |= CHANNEL_TYPE_AAL5; in setup_idle_tx_channel()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/coda/
Dcoda-bit.c165 u32 rd_ptr, wr_ptr; in coda_kfifo_sync_to_device_full() local
169 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_full()
170 coda_write(dev, wr_ptr, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); in coda_kfifo_sync_to_device_full()
177 u32 wr_ptr; in coda_kfifo_sync_to_device_write() local
179 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_write()
180 coda_write(dev, wr_ptr, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); in coda_kfifo_sync_to_device_write()
1635 u32 wr_ptr, start_ptr; in coda_finish_encode() local
1653 wr_ptr = coda_read(dev, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); in coda_finish_encode()
1658 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, wr_ptr - start_ptr + in coda_finish_encode()
1663 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, wr_ptr - start_ptr); in coda_finish_encode()
[all …]
Dcoda-jpeg.c1205 u32 wr_ptr, start_ptr; in coda9_jpeg_finish_encode() local
1229 wr_ptr = coda_read(dev, CODA9_REG_JPEG_BBC_WR_PTR); in coda9_jpeg_finish_encode()
1230 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, wr_ptr - start_ptr); in coda9_jpeg_finish_encode()
1264 u32 end_addr, wr_ptr; in coda9_jpeg_encode_timeout() local
1268 wr_ptr = coda_read(dev, CODA9_REG_JPEG_BBC_WR_PTR); in coda9_jpeg_encode_timeout()
1269 if (wr_ptr >= end_addr - 256) { in coda9_jpeg_encode_timeout()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/queue/
Dtx.c1216 u32 wr_ptr; in iwl_txq_alloc_response() local
1226 wr_ptr = le16_to_cpu(rsp->write_pointer); in iwl_txq_alloc_response()
1242 wr_ptr &= (trans->trans_cfg->base_params->max_tfd_queue_size - 1); in iwl_txq_alloc_response()
1245 txq->read_ptr = wr_ptr; in iwl_txq_alloc_response()
1246 txq->write_ptr = wr_ptr; in iwl_txq_alloc_response()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/fw/
Derror-dump.h173 __le32 wr_ptr; member
Ddbg.c144 fifo_hdr->wr_ptr = in iwl_fwrt_dump_rxf()
199 fifo_hdr->wr_ptr = in iwl_fwrt_dump_txf()
327 fifo_hdr->wr_ptr = in iwl_fw_dump_txf()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
Dhfi_venus.c170 u32 *wr_ptr; in venus_write_queue() local
208 wr_ptr = (u32 *)(queue->qmem.kva + (wr_idx << 2)); in venus_write_queue()
210 memcpy(wr_ptr, packet, dwords << 2); in venus_write_queue()
216 memcpy(wr_ptr, packet, len); in venus_write_queue()
/kernel/linux/linux-5.10/drivers/rapidio/devices/
Dtsi721.c388 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()
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c2324 u8 wr_ptr; in iwl_trans_pcie_wait_txq_empty() local
2341 wr_ptr = READ_ONCE(txq->write_ptr); in iwl_trans_pcie_wait_txq_empty()
2354 if (WARN_ONCE(wr_ptr != write_ptr && !overflow_tx, in iwl_trans_pcie_wait_txq_empty()
2356 wr_ptr, write_ptr)) in iwl_trans_pcie_wait_txq_empty()
2358 wr_ptr = write_ptr; in iwl_trans_pcie_wait_txq_empty()
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_self_test.c2949 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()