/linux-4.4.14/drivers/atm/ |
H A D | iphase.c | 1100 struct dle* wr_ptr; rx_pkt() local 1188 wr_ptr = iadev->rx_dle_q.write; rx_pkt() 1189 wr_ptr->sys_pkt_addr = dma_map_single(&iadev->pci->dev, skb->data, rx_pkt() 1191 wr_ptr->local_pkt_addr = buf_addr; rx_pkt() 1192 wr_ptr->bytes = len; /* We don't know this do we ?? */ rx_pkt() 1193 wr_ptr->mode = DMA_INT_ENABLE; rx_pkt() 1196 if(++wr_ptr == iadev->rx_dle_q.end) rx_pkt() 1197 wr_ptr = iadev->rx_dle_q.start; rx_pkt() 1198 iadev->rx_dle_q.write = wr_ptr; rx_pkt() 2896 struct dle *wr_ptr; ia_pkt_tx() local 3013 wr_ptr = iadev->tx_dle_q.write; ia_pkt_tx() 3014 memset((caddr_t)wr_ptr, 0, sizeof(*wr_ptr)); ia_pkt_tx() 3015 wr_ptr->sys_pkt_addr = dma_map_single(&iadev->pci->dev, skb->data, ia_pkt_tx() 3017 wr_ptr->local_pkt_addr = (buf_desc_ptr->buf_start_hi << 16) | ia_pkt_tx() 3019 /* wr_ptr->bytes = swap_byte_order(total_len); didn't seem to affect?? */ ia_pkt_tx() 3020 wr_ptr->bytes = skb->len; ia_pkt_tx() 3023 if ((wr_ptr->bytes >> 2) == 0xb) ia_pkt_tx() 3024 wr_ptr->bytes = 0x30; ia_pkt_tx() 3026 wr_ptr->mode = TX_DLE_PSI; ia_pkt_tx() 3027 wr_ptr->prq_wr_ptr_data = 0; ia_pkt_tx() 3030 if (++wr_ptr == iadev->tx_dle_q.end) ia_pkt_tx() 3031 wr_ptr = iadev->tx_dle_q.start; ia_pkt_tx() 3034 wr_ptr->sys_pkt_addr = iadev->tx_buf[desc-1].dma_addr; ia_pkt_tx() 3035 wr_ptr->local_pkt_addr = ((buf_desc_ptr->buf_start_hi << 16) | ia_pkt_tx() 3038 wr_ptr->bytes = sizeof(struct cpcs_trailer); ia_pkt_tx() 3039 wr_ptr->mode = DMA_INT_ENABLE; ia_pkt_tx() 3040 wr_ptr->prq_wr_ptr_data = iadev->ffL.prq_wr; ia_pkt_tx() 3043 if (++wr_ptr == iadev->tx_dle_q.end) ia_pkt_tx() 3044 wr_ptr = iadev->tx_dle_q.start; ia_pkt_tx() 3046 iadev->tx_dle_q.write = wr_ptr; ia_pkt_tx()
|
H A D | horizon.c | 896 rx_q_entry * wr_ptr = &memmap->rx_q_entries[rd_regw (dev, RX_QUEUE_WR_PTR_OFF)]; hrz_close_rx() 899 PRINTD (DBG_VCC|DBG_RX, "rd_ptr = %u, wr_ptr = %u", rd_ptr, wr_ptr); hrz_close_rx() 901 while (rd_ptr != wr_ptr) { hrz_close_rx() 1482 u32 wr_ptr; setup_idle_tx_channel() local 1517 wr_ptr = rd_mem (dev, &tx_desc->wr_buf_type) & BUFFER_PTR_MASK; setup_idle_tx_channel() 1520 if (rd_ptr != wr_ptr) { setup_idle_tx_channel() 1526 rd_ptr, wr_ptr); setup_idle_tx_channel() 1532 wr_ptr |= CHANNEL_TYPE_RAW_CELLS; setup_idle_tx_channel() 1537 wr_ptr |= CHANNEL_TYPE_AAL3_4; setup_idle_tx_channel() 1541 wr_ptr |= CHANNEL_TYPE_AAL5; setup_idle_tx_channel() 1548 wr_mem (dev, &tx_desc->wr_buf_type, wr_ptr); setup_idle_tx_channel()
|
/linux-4.4.14/drivers/gpu/host1x/hw/ |
H A D | debug_hw.c | 236 u32 val, rd_ptr, wr_ptr, start, end; host1x_debug_show_channel_fifo() local 255 wr_ptr = HOST1X_SYNC_CFPEEK_PTRS_CF_WR_PTR_V(val); host1x_debug_show_channel_fifo() 282 } while (rd_ptr != wr_ptr); host1x_debug_show_channel_fifo()
|
/linux-4.4.14/arch/cris/arch-v32/drivers/ |
H A D | sync_serial.c | 1082 unsigned char *wr_ptr; /* First free byte in the buffer */ sync_serial_write() local 1097 * ^ rd_ptr ^ wr_ptr sync_serial_write() 1120 wr_ptr = rd_ptr + out_buf_count; sync_serial_write() 1121 if (wr_ptr >= buf_stop_ptr) sync_serial_write() 1122 wr_ptr -= OUT_BUFFER_SIZE; sync_serial_write() 1129 if (wr_ptr + bytes_free > buf_stop_ptr) sync_serial_write() 1130 bytes_free = buf_stop_ptr - wr_ptr; sync_serial_write() 1133 if (copy_from_user(wr_ptr, buf, trunc_count)) sync_serial_write() 1139 wr_ptr, buf_stop_ptr)); sync_serial_write() 1163 start_dma_out(port, wr_ptr, trunc_count); sync_serial_write()
|
/linux-4.4.14/drivers/media/platform/coda/ |
H A D | coda-bit.c | 163 u32 rd_ptr, wr_ptr; coda_kfifo_sync_to_device_full() local 167 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); coda_kfifo_sync_to_device_full() 168 coda_write(dev, wr_ptr, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); coda_kfifo_sync_to_device_full() 175 u32 wr_ptr; coda_kfifo_sync_to_device_write() local 177 wr_ptr = ctx->bitstream.paddr + (kfifo->in & kfifo->mask); coda_kfifo_sync_to_device_write() 178 coda_write(dev, wr_ptr, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); coda_kfifo_sync_to_device_write() 1332 u32 wr_ptr, start_ptr; coda_finish_encode() local 1341 wr_ptr = coda_read(dev, CODA_REG_BIT_WR_PTR(ctx->reg_idx)); coda_finish_encode() 1345 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, wr_ptr - start_ptr + coda_finish_encode() 1350 vb2_set_plane_payload(&dst_buf->vb2_buf, 0, wr_ptr - start_ptr); coda_finish_encode() 1354 wr_ptr - start_ptr); coda_finish_encode()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/ |
H A D | iwl-fw-error-dump.h | 150 * @wr_ptr: position of write pointer 160 __le32 wr_ptr; member in struct:iwl_fw_error_dump_fifo
|
/linux-4.4.14/drivers/rapidio/devices/ |
H A D | tsi721.c | 396 u32 wr_ptr, rd_ptr; tsi721_db_dpc() local 409 wr_ptr = ioread32(priv->regs + TSI721_IDQ_WP(IDB_QUEUE)) % IDB_QSIZE; tsi721_db_dpc() 412 while (wr_ptr != rd_ptr) { tsi721_db_dpc() 439 wr_ptr = ioread32(priv->regs + tsi721_db_dpc() 452 wr_ptr = ioread32(priv->regs + TSI721_IDQ_WP(IDB_QUEUE)) % IDB_QSIZE; tsi721_db_dpc() 453 if (wr_ptr != rd_ptr) tsi721_db_dpc()
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/pcie/ |
H A D | trans.c | 1702 u8 wr_ptr; iwl_trans_pcie_wait_txq_empty() local 1714 wr_ptr = ACCESS_ONCE(q->write_ptr); iwl_trans_pcie_wait_txq_empty() 1721 if (WARN_ONCE(wr_ptr != write_ptr, iwl_trans_pcie_wait_txq_empty() 1723 wr_ptr, write_ptr)) iwl_trans_pcie_wait_txq_empty()
|
/linux-4.4.14/drivers/net/ethernet/agere/ |
H A D | et131x.h | 760 * 9-0: wr_ptr
|
/linux-4.4.14/drivers/net/wireless/iwlwifi/mvm/ |
H A D | mac80211.c | 1022 fifo_hdr->wr_ptr = iwl_mvm_dump_fifos() 1080 fifo_hdr->wr_ptr = iwl_mvm_dump_fifos()
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
H A D | niu.c | 5922 netdev_err(np->dev, "IPP would not quiesce, rd_ptr[%llx] wr_ptr[%llx]\n", niu_disable_ipp()
|