Home
last modified time | relevance | path

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

/drivers/atm/
Diphase.c1100 struct dle* wr_ptr; local
1188 wr_ptr = iadev->rx_dle_q.write;
1189 wr_ptr->sys_pkt_addr = dma_map_single(&iadev->pci->dev, skb->data,
1191 wr_ptr->local_pkt_addr = buf_addr;
1192 wr_ptr->bytes = len; /* We don't know this do we ?? */
1193 wr_ptr->mode = DMA_INT_ENABLE;
1196 if(++wr_ptr == iadev->rx_dle_q.end)
1197 wr_ptr = iadev->rx_dle_q.start;
1198 iadev->rx_dle_q.write = wr_ptr;
2901 struct dle *wr_ptr; local
[all …]
Dhorizon.c896 rx_q_entry * wr_ptr = &memmap->rx_q_entries[rd_regw (dev, RX_QUEUE_WR_PTR_OFF)]; in hrz_close_rx()
899 PRINTD (DBG_VCC|DBG_RX, "rd_ptr = %u, wr_ptr = %u", rd_ptr, wr_ptr); in hrz_close_rx()
901 while (rd_ptr != wr_ptr) { in hrz_close_rx()
1482 u32 wr_ptr; in setup_idle_tx_channel() local
1517 wr_ptr = rd_mem (dev, &tx_desc->wr_buf_type) & BUFFER_PTR_MASK; in setup_idle_tx_channel()
1520 if (rd_ptr != wr_ptr) { in setup_idle_tx_channel()
1526 rd_ptr, wr_ptr); in setup_idle_tx_channel()
1532 wr_ptr |= CHANNEL_TYPE_RAW_CELLS; in setup_idle_tx_channel()
1537 wr_ptr |= CHANNEL_TYPE_AAL3_4; in setup_idle_tx_channel()
1541 wr_ptr |= CHANNEL_TYPE_AAL5; in setup_idle_tx_channel()
[all …]
/drivers/gpu/host1x/hw/
Ddebug_hw.c234 u32 val, rd_ptr, wr_ptr, start, end; in host1x_debug_show_channel_fifo() local
253 wr_ptr = HOST1X_SYNC_CFPEEK_PTRS_CF_WR_PTR_V(val); in host1x_debug_show_channel_fifo()
280 } while (rd_ptr != wr_ptr); in host1x_debug_show_channel_fifo()
/drivers/media/platform/coda/
Dcoda-bit.c163 u32 rd_ptr, wr_ptr; in coda_kfifo_sync_to_device_full() local
167 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_full()
168 coda_write(dev, wr_ptr, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); in coda_kfifo_sync_to_device_full()
175 u32 wr_ptr; in coda_kfifo_sync_to_device_write() local
177 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); in coda_kfifo_sync_to_device_write()
178 coda_write(dev, wr_ptr, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); in coda_kfifo_sync_to_device_write()
1332 u32 wr_ptr, start_ptr; in coda_finish_encode() local
1341 wr_ptr = coda_read(dev, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); in coda_finish_encode()
1345 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, wr_ptr - start_ptr + in coda_finish_encode()
1350 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, wr_ptr - start_ptr); in coda_finish_encode()
[all …]
/drivers/net/wireless/intel/iwlwifi/
Diwl-fw-error-dump.h167 __le32 wr_ptr; member
/drivers/net/wireless/intel/iwlwifi/mvm/
Dfw-dbg.c182 fifo_hdr->wr_ptr = in iwl_mvm_dump_fifos()
240 fifo_hdr->wr_ptr = in iwl_mvm_dump_fifos()
297 fifo_hdr->wr_ptr = in iwl_mvm_dump_fifos()
/drivers/rapidio/devices/
Dtsi721.c394 u32 wr_ptr, rd_ptr; in tsi721_db_dpc() local
407 wr_ptr = ioread32(priv->regs + TSI721_IDQ_WP(IDB_QUEUE)) % IDB_QSIZE; in tsi721_db_dpc()
410 while (wr_ptr != rd_ptr) { in tsi721_db_dpc()
437 wr_ptr = ioread32(priv->regs + in tsi721_db_dpc()
450 wr_ptr = ioread32(priv->regs + TSI721_IDQ_WP(IDB_QUEUE)) % IDB_QSIZE; in tsi721_db_dpc()
451 if (wr_ptr != rd_ptr) in tsi721_db_dpc()
/drivers/net/wireless/intel/iwlwifi/pcie/
Dtrans.c2079 u8 wr_ptr; in iwl_trans_pcie_wait_txq_empty() local
2090 wr_ptr = ACCESS_ONCE(txq->write_ptr); in iwl_trans_pcie_wait_txq_empty()
2097 if (WARN_ONCE(wr_ptr != write_ptr, in iwl_trans_pcie_wait_txq_empty()
2099 wr_ptr, write_ptr)) in iwl_trans_pcie_wait_txq_empty()