write_ptr 142 arch/mips/include/asm/ip32/mace.h volatile unsigned long write_ptr; /* channel write pointer */ write_ptr 42 arch/powerpc/platforms/pseries/dtl.c struct dtl_entry *write_ptr; write_ptr 58 arch/powerpc/platforms/pseries/dtl.c struct dtl_entry *wp = dtlr->write_ptr; write_ptr 74 arch/powerpc/platforms/pseries/dtl.c dtlr->write_ptr = wp; write_ptr 91 arch/powerpc/platforms/pseries/dtl.c dtlr->write_ptr = dtl->buf; write_ptr 105 arch/powerpc/platforms/pseries/dtl.c dtlr->write_ptr = NULL; write_ptr 204 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->write_ptr = (uint32_t *) args->write_pointer_address; write_ptr 240 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c q_properties->write_ptr); write_ptr 124 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue.c prop.write_ptr = (uint32_t *) kq->wptr_gpu_addr; write_ptr 201 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c lower_32_bits((uint64_t)q->properties.write_ptr); write_ptr 204 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v10.c upper_32_bits((uint64_t)q->properties.write_ptr); write_ptr 234 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c lower_32_bits((uint64_t)q->properties.write_ptr); write_ptr 237 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_v9.c upper_32_bits((uint64_t)q->properties.write_ptr); write_ptr 232 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c lower_32_bits((uint64_t)q->properties.write_ptr); write_ptr 235 drivers/gpu/drm/amd/amdkfd/kfd_kernel_queue_vi.c upper_32_bits((uint64_t)q->properties.write_ptr); write_ptr 174 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c (uint32_t __user *)p->write_ptr, write_ptr 183 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_cik.c (uint32_t __user *)p->write_ptr, write_ptr 170 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c (uint32_t __user *)p->write_ptr, write_ptr 192 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c m->cp_hqd_pq_wptr_poll_addr_lo = lower_32_bits((uint64_t)q->write_ptr); write_ptr 193 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c m->cp_hqd_pq_wptr_poll_addr_hi = upper_32_bits((uint64_t)q->write_ptr); write_ptr 343 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v10.c (uint32_t __user *)p->write_ptr, write_ptr 190 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c (uint32_t __user *)p->write_ptr, write_ptr 210 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c m->cp_hqd_pq_wptr_poll_addr_lo = lower_32_bits((uint64_t)q->write_ptr); write_ptr 211 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c m->cp_hqd_pq_wptr_poll_addr_hi = upper_32_bits((uint64_t)q->write_ptr); write_ptr 361 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_v9.c (uint32_t __user *)p->write_ptr, write_ptr 165 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c (uint32_t __user *)p->write_ptr, write_ptr 188 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c m->cp_hqd_pq_wptr_poll_addr_lo = lower_32_bits((uint64_t)q->write_ptr); write_ptr 189 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c m->cp_hqd_pq_wptr_poll_addr_hi = upper_32_bits((uint64_t)q->write_ptr); write_ptr 344 drivers/gpu/drm/amd/amdkfd/kfd_mqd_manager_vi.c (uint32_t __user *)p->write_ptr, write_ptr 426 drivers/gpu/drm/amd/amdkfd/kfd_priv.h uint32_t *write_ptr; write_ptr 40 drivers/gpu/drm/amd/amdkfd/kfd_queue.c pr_debug("Queue Write Pointer: 0x%px\n", q->write_ptr); write_ptr 57 drivers/gpu/drm/amd/amdkfd/kfd_queue.c pr_debug("Queue Write Pointer: 0x%px\n", q->properties.write_ptr); write_ptr 438 drivers/gpu/drm/i915/gt/uc/intel_guc_fwif.h u32 write_ptr; write_ptr 285 drivers/gpu/drm/i915/gt/uc/intel_guc_log.c log_buf_snapshot_state->write_ptr = write_offset; write_ptr 145 drivers/gpu/drm/i915/gvt/execlist.c write_pointer = ctx_status_ptr.write_ptr; write_ptr 159 drivers/gpu/drm/i915/gvt/execlist.c ctx_status_ptr.write_ptr = write_pointer; write_ptr 525 drivers/gpu/drm/i915/gvt/execlist.c ctx_status_ptr.write_ptr = 0x7; write_ptr 86 drivers/gpu/drm/i915/gvt/execlist.h u32 write_ptr :3; write_ptr 287 drivers/hwtracing/coresight/coresight-etb10.c u32 read_ptr, write_ptr; write_ptr 294 drivers/hwtracing/coresight/coresight-etb10.c write_ptr = readl_relaxed(drvdata->base + ETB_RAM_WRITE_POINTER); write_ptr 296 drivers/hwtracing/coresight/coresight-etb10.c frame_off = write_ptr % ETB_FRAME_SIZE_WORDS; write_ptr 301 drivers/hwtracing/coresight/coresight-etb10.c (unsigned long)write_ptr); write_ptr 304 drivers/hwtracing/coresight/coresight-etb10.c write_ptr += frame_endoff; write_ptr 311 drivers/hwtracing/coresight/coresight-etb10.c writel_relaxed(write_ptr, drvdata->base + ETB_RAM_READ_POINTER); write_ptr 432 drivers/hwtracing/coresight/coresight-etb10.c u32 read_ptr, write_ptr, capacity; write_ptr 454 drivers/hwtracing/coresight/coresight-etb10.c write_ptr = readl_relaxed(drvdata->base + ETB_RAM_WRITE_POINTER); write_ptr 461 drivers/hwtracing/coresight/coresight-etb10.c if (write_ptr % ETB_FRAME_SIZE_WORDS) { write_ptr 464 drivers/hwtracing/coresight/coresight-etb10.c (unsigned long)write_ptr); write_ptr 466 drivers/hwtracing/coresight/coresight-etb10.c write_ptr &= ~(ETB_FRAME_SIZE_WORDS - 1); write_ptr 480 drivers/hwtracing/coresight/coresight-etb10.c read_ptr = write_ptr; write_ptr 482 drivers/hwtracing/coresight/coresight-etb10.c to_read = CIRC_CNT(write_ptr, read_ptr, drvdata->buffer_depth); write_ptr 505 drivers/hwtracing/coresight/coresight-etb10.c read_ptr = (write_ptr + drvdata->buffer_depth) - write_ptr 448 drivers/hwtracing/coresight/coresight-tmc-etf.c u64 read_ptr, write_ptr; write_ptr 472 drivers/hwtracing/coresight/coresight-tmc-etf.c write_ptr = tmc_read_rwp(drvdata); write_ptr 483 drivers/hwtracing/coresight/coresight-tmc-etf.c to_read = CIRC_CNT(write_ptr, read_ptr, drvdata->size); write_ptr 502 drivers/hwtracing/coresight/coresight-tmc-etf.c read_ptr = (write_ptr + drvdata->size) - to_read; write_ptr 234 drivers/media/usb/pvrusb2/pvrusb2-hdw.h void *write_ptr,unsigned int write_len, write_ptr 450 drivers/misc/mei/hw-me.c char read_ptr, write_ptr; write_ptr 455 drivers/misc/mei/hw-me.c write_ptr = (char) ((hcsr & H_CBWP) >> 16); write_ptr 457 drivers/misc/mei/hw-me.c return (unsigned char) (write_ptr - read_ptr); write_ptr 577 drivers/misc/mei/hw-me.c char read_ptr, write_ptr; write_ptr 583 drivers/misc/mei/hw-me.c write_ptr = (char) ((me_csr & ME_CBWP_HRA) >> 16); write_ptr 584 drivers/misc/mei/hw-me.c filled_slots = (unsigned char) (write_ptr - read_ptr); write_ptr 27 drivers/misc/mic/scif/scif_rb.c void scif_rb_init(struct scif_rb *rb, u32 *read_ptr, u32 *write_ptr, write_ptr 33 drivers/misc/mic/scif/scif_rb.c rb->write_ptr = write_ptr; write_ptr 35 drivers/misc/mic/scif/scif_rb.c rb->current_write_offset = *write_ptr; write_ptr 132 drivers/misc/mic/scif/scif_rb.c WRITE_ONCE(*rb->write_ptr, rb->current_write_offset); write_ptr 141 drivers/misc/mic/scif/scif_rb.c WRITE_ONCE(*rb->write_ptr, rb->current_write_offset); write_ptr 229 drivers/misc/mic/scif/scif_rb.c rb->current_write_offset = *rb->write_ptr; write_ptr 76 drivers/misc/mic/scif/scif_rb.h u32 *write_ptr; write_ptr 83 drivers/misc/mic/scif/scif_rb.h void scif_rb_init(struct scif_rb *rb, u32 *read_ptr, u32 *write_ptr, write_ptr 1241 drivers/net/ethernet/broadcom/genet/bcmgenet.c tx_cb_ptr += ring->write_ptr - ring->cb_ptr; write_ptr 1244 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (ring->write_ptr == ring->end_ptr) write_ptr 1245 drivers/net/ethernet/broadcom/genet/bcmgenet.c ring->write_ptr = ring->cb_ptr; write_ptr 1247 drivers/net/ethernet/broadcom/genet/bcmgenet.c ring->write_ptr++; write_ptr 1258 drivers/net/ethernet/broadcom/genet/bcmgenet.c tx_cb_ptr += ring->write_ptr - ring->cb_ptr; write_ptr 1261 drivers/net/ethernet/broadcom/genet/bcmgenet.c if (ring->write_ptr == ring->cb_ptr) write_ptr 1262 drivers/net/ethernet/broadcom/genet/bcmgenet.c ring->write_ptr = ring->end_ptr; write_ptr 1264 drivers/net/ethernet/broadcom/genet/bcmgenet.c ring->write_ptr--; write_ptr 2140 drivers/net/ethernet/broadcom/genet/bcmgenet.c ring->write_ptr = start_ptr; write_ptr 3055 drivers/net/ethernet/broadcom/genet/bcmgenet.c ring->clean_ptr, ring->write_ptr, write_ptr 568 drivers/net/ethernet/broadcom/genet/bcmgenet.h unsigned int write_ptr; /* Tx ring write pointer SW copy */ write_ptr 2310 drivers/net/ethernet/sfc/ef10.c unsigned int write_ptr; write_ptr 2313 drivers/net/ethernet/sfc/ef10.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; write_ptr 2314 drivers/net/ethernet/sfc/ef10.c EFX_POPULATE_OWORD_1(reg, ERF_DZ_TX_DESC_WPTR, write_ptr); write_ptr 2561 drivers/net/ethernet/sfc/ef10.c unsigned int write_ptr; write_ptr 2564 drivers/net/ethernet/sfc/ef10.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; write_ptr 2565 drivers/net/ethernet/sfc/ef10.c EFX_POPULATE_DWORD_1(reg, ERF_DZ_TX_DESC_WPTR_DWORD, write_ptr); write_ptr 2593 drivers/net/ethernet/sfc/ef10.c unsigned int write_ptr; write_ptr 2601 drivers/net/ethernet/sfc/ef10.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; write_ptr 2602 drivers/net/ethernet/sfc/ef10.c buffer = &tx_queue->buffer[write_ptr]; write_ptr 2603 drivers/net/ethernet/sfc/ef10.c txd = efx_tx_desc(tx_queue, write_ptr); write_ptr 274 drivers/net/ethernet/sfc/falcon/farch.c unsigned write_ptr; write_ptr 277 drivers/net/ethernet/sfc/falcon/farch.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; write_ptr 278 drivers/net/ethernet/sfc/falcon/farch.c EF4_POPULATE_DWORD_1(reg, FRF_AZ_TX_DESC_WPTR_DWORD, write_ptr); write_ptr 287 drivers/net/ethernet/sfc/falcon/farch.c unsigned write_ptr; write_ptr 293 drivers/net/ethernet/sfc/falcon/farch.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; write_ptr 295 drivers/net/ethernet/sfc/falcon/farch.c FRF_AZ_TX_DESC_WPTR, write_ptr); write_ptr 310 drivers/net/ethernet/sfc/falcon/farch.c unsigned write_ptr; write_ptr 318 drivers/net/ethernet/sfc/falcon/farch.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; write_ptr 319 drivers/net/ethernet/sfc/falcon/farch.c buffer = &tx_queue->buffer[write_ptr]; write_ptr 320 drivers/net/ethernet/sfc/falcon/farch.c txd = ef4_tx_desc(tx_queue, write_ptr); write_ptr 493 drivers/net/ethernet/sfc/falcon/farch.c unsigned write_ptr; write_ptr 503 drivers/net/ethernet/sfc/falcon/farch.c write_ptr = rx_queue->added_count & rx_queue->ptr_mask; write_ptr 504 drivers/net/ethernet/sfc/falcon/farch.c EF4_POPULATE_DWORD_1(reg, FRF_AZ_RX_DESC_WPTR_DWORD, write_ptr); write_ptr 283 drivers/net/ethernet/sfc/farch.c unsigned write_ptr; write_ptr 286 drivers/net/ethernet/sfc/farch.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; write_ptr 287 drivers/net/ethernet/sfc/farch.c EFX_POPULATE_DWORD_1(reg, FRF_AZ_TX_DESC_WPTR_DWORD, write_ptr); write_ptr 296 drivers/net/ethernet/sfc/farch.c unsigned write_ptr; write_ptr 302 drivers/net/ethernet/sfc/farch.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; write_ptr 304 drivers/net/ethernet/sfc/farch.c FRF_AZ_TX_DESC_WPTR, write_ptr); write_ptr 319 drivers/net/ethernet/sfc/farch.c unsigned write_ptr; write_ptr 327 drivers/net/ethernet/sfc/farch.c write_ptr = tx_queue->write_count & tx_queue->ptr_mask; write_ptr 328 drivers/net/ethernet/sfc/farch.c buffer = &tx_queue->buffer[write_ptr]; write_ptr 329 drivers/net/ethernet/sfc/farch.c txd = efx_tx_desc(tx_queue, write_ptr); write_ptr 481 drivers/net/ethernet/sfc/farch.c unsigned write_ptr; write_ptr 491 drivers/net/ethernet/sfc/farch.c write_ptr = rx_queue->added_count & rx_queue->ptr_mask; write_ptr 492 drivers/net/ethernet/sfc/farch.c EFX_POPULATE_DWORD_1(reg, FRF_AZ_RX_DESC_WPTR_DWORD, write_ptr); write_ptr 269 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c void (*write_ptr)(struct brcmf_pciedev_info *devinfo, u32 mem_offset, write_ptr 933 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c devinfo->write_ptr(devinfo, ring->r_idx_addr, commonring->r_ptr); write_ptr 951 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c devinfo->write_ptr(devinfo, ring->w_idx_addr, commonring->w_ptr); write_ptr 1169 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c devinfo->write_ptr = brcmf_pcie_write_tcm16; write_ptr 1176 drivers/net/wireless/broadcom/brcm80211/brcmfmac/pcie.c devinfo->write_ptr = brcmf_pcie_write_idx; write_ptr 521 drivers/net/wireless/intel/iwlegacy/3945-mac.c idx = il_get_cmd_idx(q, q->write_ptr, 0); write_ptr 523 drivers/net/wireless/intel/iwlegacy/3945-mac.c txq->skbs[q->write_ptr] = skb; write_ptr 541 drivers/net/wireless/intel/iwlegacy/3945-mac.c (QUEUE_TO_SEQ(txq_id) | IDX_TO_SEQ(q->write_ptr))); write_ptr 618 drivers/net/wireless/intel/iwlegacy/3945-mac.c q->write_ptr = il_queue_inc_wrap(q->write_ptr, q->n_bd); write_ptr 314 drivers/net/wireless/intel/iwlegacy/3945.c txq->q.n_bd, txq->q.write_ptr, txq->q.read_ptr); write_ptr 606 drivers/net/wireless/intel/iwlegacy/3945.c tfd = &tfd_tmp[q->write_ptr]; write_ptr 1765 drivers/net/wireless/intel/iwlegacy/4965-mac.c txq->skbs[q->write_ptr] = skb; write_ptr 1768 drivers/net/wireless/intel/iwlegacy/4965-mac.c out_cmd = txq->cmd[q->write_ptr]; write_ptr 1769 drivers/net/wireless/intel/iwlegacy/4965-mac.c out_meta = &txq->meta[q->write_ptr]; write_ptr 1783 drivers/net/wireless/intel/iwlegacy/4965-mac.c (QUEUE_TO_SEQ(txq_id) | IDX_TO_SEQ(q->write_ptr))); write_ptr 1875 drivers/net/wireless/intel/iwlegacy/4965-mac.c q->write_ptr = il_queue_inc_wrap(q->write_ptr, q->n_bd); write_ptr 2188 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->txq[txq_id].q.write_ptr = (ssn_idx & 0xff); write_ptr 2300 drivers/net/wireless/intel/iwlegacy/4965-mac.c il->txq[txq_id].q.write_ptr = (ssn_idx & 0xff); write_ptr 2317 drivers/net/wireless/intel/iwlegacy/4965-mac.c int write_ptr, read_ptr; write_ptr 2354 drivers/net/wireless/intel/iwlegacy/4965-mac.c write_ptr = il->txq[txq_id].q.write_ptr; write_ptr 2358 drivers/net/wireless/intel/iwlegacy/4965-mac.c if (write_ptr != read_ptr) { write_ptr 2403 drivers/net/wireless/intel/iwlegacy/4965-mac.c q->read_ptr == q->write_ptr) { write_ptr 2466 drivers/net/wireless/intel/iwlegacy/4965-mac.c q->write_ptr, q->read_ptr); write_ptr 2780 drivers/net/wireless/intel/iwlegacy/4965-mac.c txq->q.n_bd, txq->q.write_ptr, txq->q.read_ptr); write_ptr 3969 drivers/net/wireless/intel/iwlegacy/4965-mac.c tfd = &tfd_tmp[q->write_ptr]; write_ptr 1540 drivers/net/wireless/intel/iwlegacy/4965.c int write_ptr = txq->q.write_ptr; write_ptr 1544 drivers/net/wireless/intel/iwlegacy/4965.c WARN_ON(len > 0xFFF || write_ptr >= TFD_QUEUE_SIZE_MAX); write_ptr 1548 drivers/net/wireless/intel/iwlegacy/4965.c scd_bc_tbl[txq_id].tfd_offset[write_ptr] = bc_ent; write_ptr 1551 drivers/net/wireless/intel/iwlegacy/4965.c if (write_ptr < TFD_QUEUE_SIZE_BC_DUP) write_ptr 1552 drivers/net/wireless/intel/iwlegacy/4965.c scd_bc_tbl[txq_id].tfd_offset[TFD_QUEUE_SIZE_MAX + write_ptr] = write_ptr 2733 drivers/net/wireless/intel/iwlegacy/common.c il_wr(il, HBUS_TARG_WRPTR, txq->q.write_ptr | (txq_id << 8)); write_ptr 2741 drivers/net/wireless/intel/iwlegacy/common.c _il_wr(il, HBUS_TARG_WRPTR, txq->q.write_ptr | (txq_id << 8)); write_ptr 2758 drivers/net/wireless/intel/iwlegacy/common.c while (q->write_ptr != q->read_ptr) { write_ptr 2821 drivers/net/wireless/intel/iwlegacy/common.c while (q->read_ptr != q->write_ptr) { write_ptr 2911 drivers/net/wireless/intel/iwlegacy/common.c int s = q->read_ptr - q->write_ptr; write_ptr 2913 drivers/net/wireless/intel/iwlegacy/common.c if (q->read_ptr > q->write_ptr) write_ptr 2956 drivers/net/wireless/intel/iwlegacy/common.c q->write_ptr = q->read_ptr = 0; write_ptr 3158 drivers/net/wireless/intel/iwlegacy/common.c idx = il_get_cmd_idx(q, q->write_ptr, cmd->flags & CMD_SIZE_HUGE); write_ptr 3182 drivers/net/wireless/intel/iwlegacy/common.c cpu_to_le16(QUEUE_TO_SEQ(il->cmd_queue) | IDX_TO_SEQ(q->write_ptr)); write_ptr 3197 drivers/net/wireless/intel/iwlegacy/common.c q->write_ptr, idx, il->cmd_queue); write_ptr 3203 drivers/net/wireless/intel/iwlegacy/common.c le16_to_cpu(out_cmd->hdr.sequence), fix_size, q->write_ptr, write_ptr 3228 drivers/net/wireless/intel/iwlegacy/common.c q->write_ptr = il_queue_inc_wrap(q->write_ptr, q->n_bd); write_ptr 3253 drivers/net/wireless/intel/iwlegacy/common.c q->write_ptr, q->read_ptr); write_ptr 3262 drivers/net/wireless/intel/iwlegacy/common.c q->write_ptr, q->read_ptr); write_ptr 3298 drivers/net/wireless/intel/iwlegacy/common.c il->txq[il->cmd_queue].q.write_ptr)) { write_ptr 4773 drivers/net/wireless/intel/iwlegacy/common.c if (q->read_ptr == q->write_ptr) write_ptr 4802 drivers/net/wireless/intel/iwlegacy/common.c if (q->read_ptr == q->write_ptr) { write_ptr 120 drivers/net/wireless/intel/iwlegacy/common.h int write_ptr; /* 1-st empty entry (idx) host_w */ write_ptr 853 drivers/net/wireless/intel/iwlegacy/common.h return q->write_ptr >= q->read_ptr ? (i >= q->read_ptr && write_ptr 854 drivers/net/wireless/intel/iwlegacy/common.h i < q->write_ptr) : !(i < write_ptr 858 drivers/net/wireless/intel/iwlegacy/common.h write_ptr); write_ptr 841 drivers/net/wireless/intel/iwlegacy/debug.c q->read_ptr, q->write_ptr, write_ptr 1416 drivers/net/wireless/intel/iwlwifi/fw/dbg.c u32 write_ptr, cycle_cnt; write_ptr 1424 drivers/net/wireless/intel/iwlwifi/fw/dbg.c write_ptr = iwl_read_prph_no_grab(fwrt->trans, write_ptr_addr); write_ptr 1430 drivers/net/wireless/intel/iwlwifi/fw/dbg.c data->write_ptr = cpu_to_le32(write_ptr & write_ptr_msk); write_ptr 464 drivers/net/wireless/intel/iwlwifi/fw/error-dump.h __le32 write_ptr; write_ptr 378 drivers/net/wireless/intel/iwlwifi/pcie/internal.h int write_ptr; write_ptr 1003 drivers/net/wireless/intel/iwlwifi/pcie/internal.h int w = iwl_pcie_get_cmd_index(q, q->write_ptr); write_ptr 2237 drivers/net/wireless/intel/iwlwifi/pcie/trans.c if (txq->read_ptr == txq->write_ptr) write_ptr 2285 drivers/net/wireless/intel/iwlwifi/pcie/trans.c txq->write_ptr | (i << 8)); write_ptr 2306 drivers/net/wireless/intel/iwlwifi/pcie/trans.c txq->read_ptr, txq->write_ptr); write_ptr 2319 drivers/net/wireless/intel/iwlwifi/pcie/trans.c txq->read_ptr, txq->write_ptr, write_ptr 2366 drivers/net/wireless/intel/iwlwifi/pcie/trans.c wr_ptr = READ_ONCE(txq->write_ptr); write_ptr 2368 drivers/net/wireless/intel/iwlwifi/pcie/trans.c while ((txq->read_ptr != READ_ONCE(txq->write_ptr) || write_ptr 2372 drivers/net/wireless/intel/iwlwifi/pcie/trans.c u8 write_ptr = READ_ONCE(txq->write_ptr); write_ptr 2379 drivers/net/wireless/intel/iwlwifi/pcie/trans.c if (WARN_ONCE(wr_ptr != write_ptr && !overflow_tx, write_ptr 2381 drivers/net/wireless/intel/iwlwifi/pcie/trans.c wr_ptr, write_ptr)) write_ptr 2383 drivers/net/wireless/intel/iwlwifi/pcie/trans.c wr_ptr = write_ptr; write_ptr 2393 drivers/net/wireless/intel/iwlwifi/pcie/trans.c if (txq->read_ptr != txq->write_ptr) { write_ptr 2574 drivers/net/wireless/intel/iwlwifi/pcie/trans.c cnt, txq->read_ptr, txq->write_ptr, write_ptr 2837 drivers/net/wireless/intel/iwlwifi/pcie/trans.c u32 write_ptr_addr, wrap_cnt_addr, write_ptr, wrap_cnt; write_ptr 2861 drivers/net/wireless/intel/iwlwifi/pcie/trans.c write_ptr = iwl_read_prph(trans, write_ptr_addr) * sizeof(u32); write_ptr 2865 drivers/net/wireless/intel/iwlwifi/pcie/trans.c size = write_ptr - data->prev_wr_ptr; write_ptr 2873 drivers/net/wireless/intel/iwlwifi/pcie/trans.c write_ptr < data->prev_wr_ptr) { write_ptr 2882 drivers/net/wireless/intel/iwlwifi/pcie/trans.c size = write_ptr; write_ptr 2891 drivers/net/wireless/intel/iwlwifi/pcie/trans.c write_ptr > data->prev_wr_ptr) write_ptr 2899 drivers/net/wireless/intel/iwlwifi/pcie/trans.c size = write_ptr; write_ptr 3086 drivers/net/wireless/intel/iwlwifi/pcie/trans.c u32 base, base_high, write_ptr, write_ptr_val, wrap_cnt; write_ptr 3091 drivers/net/wireless/intel/iwlwifi/pcie/trans.c write_ptr = DBGC_CUR_DBGBUF_STATUS; write_ptr 3094 drivers/net/wireless/intel/iwlwifi/pcie/trans.c write_ptr = le32_to_cpu(trans->dbg.dest_tlv->write_ptr_reg); write_ptr 3099 drivers/net/wireless/intel/iwlwifi/pcie/trans.c write_ptr = MON_BUFF_WRPTR; write_ptr 3103 drivers/net/wireless/intel/iwlwifi/pcie/trans.c write_ptr_val = iwl_read_prph(trans, write_ptr); write_ptr 3303 drivers/net/wireless/intel/iwlwifi/pcie/trans.c ptr = cmdq->write_ptr; write_ptr 96 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c int idx = iwl_pcie_get_cmd_index(txq, txq->write_ptr); write_ptr 140 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c IWL_DEBUG_TX(trans, "Q:%d WR: 0x%x\n", txq->id, txq->write_ptr); write_ptr 146 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c iwl_write32(trans, HBUS_TARG_WRPTR, txq->write_ptr | (txq->id << 16)); write_ptr 381 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c int idx = iwl_pcie_get_cmd_index(txq, txq->write_ptr); write_ptr 471 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c int idx = iwl_pcie_get_cmd_index(txq, txq->write_ptr); write_ptr 557 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c int idx = iwl_pcie_get_cmd_index(txq, txq->write_ptr); write_ptr 629 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c idx = iwl_pcie_get_cmd_index(txq, txq->write_ptr); write_ptr 666 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c if (txq->read_ptr == txq->write_ptr && txq->wd_timeout) write_ptr 670 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c txq->write_ptr = iwl_queue_inc_wrap(trans, txq->write_ptr); write_ptr 778 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c idx = iwl_pcie_get_cmd_index(txq, txq->write_ptr); write_ptr 779 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c tfd = iwl_pcie_get_tfd(trans, txq, txq->write_ptr); write_ptr 808 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c INDEX_TO_SEQ(txq->write_ptr)); write_ptr 855 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c cmd_size, txq->write_ptr, idx, trans_pcie->cmd_queue); write_ptr 908 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c if (txq->read_ptr == txq->write_ptr && txq->wd_timeout) write_ptr 913 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c txq->write_ptr = iwl_queue_inc_wrap(trans, txq->write_ptr); write_ptr 963 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c txq->read_ptr, txq->write_ptr); write_ptr 1054 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c while (txq->write_ptr != txq->read_ptr) { write_ptr 1217 drivers/net/wireless/intel/iwlwifi/pcie/tx-gen2.c txq->write_ptr = wr_ptr; write_ptr 125 drivers/net/wireless/intel/iwlwifi/pcie/tx.c used = (q->write_ptr - q->read_ptr) & write_ptr 154 drivers/net/wireless/intel/iwlwifi/pcie/tx.c q->write_ptr = 0; write_ptr 191 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (txq->read_ptr == txq->write_ptr) { write_ptr 211 drivers/net/wireless/intel/iwlwifi/pcie/tx.c int write_ptr = txq->write_ptr; write_ptr 216 drivers/net/wireless/intel/iwlwifi/pcie/tx.c struct iwl_device_tx_cmd *dev_cmd = txq->entries[txq->write_ptr].cmd; write_ptr 238 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (WARN_ON(len > 0xFFF || write_ptr >= TFD_QUEUE_SIZE_MAX)) write_ptr 243 drivers/net/wireless/intel/iwlwifi/pcie/tx.c scd_bc_tbl[txq_id].tfd_offset[write_ptr] = bc_ent; write_ptr 245 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (write_ptr < TFD_QUEUE_SIZE_BC_DUP) write_ptr 247 drivers/net/wireless/intel/iwlwifi/pcie/tx.c tfd_offset[TFD_QUEUE_SIZE_MAX + write_ptr] = bc_ent; write_ptr 319 drivers/net/wireless/intel/iwlwifi/pcie/tx.c IWL_DEBUG_TX(trans, "Q:%d WR: 0x%x\n", txq_id, txq->write_ptr); write_ptr 322 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->write_ptr | (txq_id << 8)); write_ptr 499 drivers/net/wireless/intel/iwlwifi/pcie/tx.c tfd = txq->tfds + trans_pcie->tfd_size * txq->write_ptr; write_ptr 661 drivers/net/wireless/intel/iwlwifi/pcie/tx.c while (txq->write_ptr != txq->read_ptr) { write_ptr 676 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (txq->read_ptr == txq->write_ptr) { write_ptr 830 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->write_ptr = 0; write_ptr 1099 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (txq->read_ptr == txq->write_ptr) write_ptr 1142 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->write_ptr, txq->read_ptr); write_ptr 1231 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->write_ptr = ptr; write_ptr 1232 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->read_ptr = txq->write_ptr; write_ptr 1303 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->write_ptr, txq->read_ptr); write_ptr 1313 drivers/net/wireless/intel/iwlwifi/pcie/tx.c idx, txq->write_ptr, r); write_ptr 1318 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (txq->read_ptr == txq->write_ptr) { write_ptr 1417 drivers/net/wireless/intel/iwlwifi/pcie/tx.c !((ssn - txq->write_ptr) & 0x3f) && write_ptr 1418 drivers/net/wireless/intel/iwlwifi/pcie/tx.c (ssn != txq->write_ptr); write_ptr 1426 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->write_ptr = (ssn & 0xff); write_ptr 1636 drivers/net/wireless/intel/iwlwifi/pcie/tx.c idx = iwl_pcie_get_cmd_index(txq, txq->write_ptr); write_ptr 1655 drivers/net/wireless/intel/iwlwifi/pcie/tx.c INDEX_TO_SEQ(txq->write_ptr)); write_ptr 1663 drivers/net/wireless/intel/iwlwifi/pcie/tx.c INDEX_TO_SEQ(txq->write_ptr)); write_ptr 1713 drivers/net/wireless/intel/iwlwifi/pcie/tx.c cmd_size, txq->write_ptr, idx, trans_pcie->cmd_queue); write_ptr 1730 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->write_ptr); write_ptr 1754 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->write_ptr); write_ptr 1771 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (txq->read_ptr == txq->write_ptr && txq->wd_timeout) write_ptr 1783 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->write_ptr = iwl_queue_inc_wrap(trans, txq->write_ptr); write_ptr 1821 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->write_ptr)) { write_ptr 1928 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->read_ptr, txq->write_ptr); write_ptr 2122 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_pcie_get_tfd(trans, txq, txq->write_ptr), write_ptr 2373 drivers/net/wireless/intel/iwlwifi/pcie/tx.c (wifi_seq & 0xff) != txq->write_ptr, write_ptr 2375 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq_id, wifi_seq, txq->write_ptr); write_ptr 2378 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->entries[txq->write_ptr].skb = skb; write_ptr 2379 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->entries[txq->write_ptr].cmd = dev_cmd; write_ptr 2383 drivers/net/wireless/intel/iwlwifi/pcie/tx.c INDEX_TO_SEQ(txq->write_ptr))); write_ptr 2385 drivers/net/wireless/intel/iwlwifi/pcie/tx.c tb0_phys = iwl_pcie_get_first_tb_dma(txq, txq->write_ptr); write_ptr 2393 drivers/net/wireless/intel/iwlwifi/pcie/tx.c out_meta = &txq->entries[txq->write_ptr].meta; write_ptr 2436 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->write_ptr), write_ptr 2467 drivers/net/wireless/intel/iwlwifi/pcie/tx.c memcpy(&txq->first_tb_bufs[txq->write_ptr], dev_cmd, IWL_FIRST_TB_SIZE); write_ptr 2469 drivers/net/wireless/intel/iwlwifi/pcie/tx.c tfd = iwl_pcie_get_tfd(trans, txq, txq->write_ptr); write_ptr 2477 drivers/net/wireless/intel/iwlwifi/pcie/tx.c if (txq->read_ptr == txq->write_ptr && txq->wd_timeout) { write_ptr 2492 drivers/net/wireless/intel/iwlwifi/pcie/tx.c txq->write_ptr = iwl_queue_inc_wrap(trans, txq->write_ptr); write_ptr 2503 drivers/net/wireless/intel/iwlwifi/pcie/tx.c iwl_pcie_tfd_unmap(trans, out_meta, txq, txq->write_ptr); write_ptr 562 drivers/staging/comedi/comedi_buf.c unsigned int write_ptr = async->buf_write_ptr; write_ptr 567 drivers/staging/comedi/comedi_buf.c if (write_ptr + num_bytes > async->prealloc_bufsz) write_ptr 568 drivers/staging/comedi/comedi_buf.c block_size = async->prealloc_bufsz - write_ptr; write_ptr 572 drivers/staging/comedi/comedi_buf.c memcpy(async->prealloc_buf + write_ptr, data, block_size); write_ptr 577 drivers/staging/comedi/comedi_buf.c write_ptr = 0; write_ptr 408 sound/mips/sgio2audio.c dst_pos = readq(&mace->perif.audio.chan[ch].write_ptr); write_ptr 433 sound/mips/sgio2audio.c writeq(dst_pos, &mace->perif.audio.chan[ch].write_ptr); /* in bytes */ write_ptr 352 sound/usb/misc/ua101.c unsigned int frames, write_ptr; write_ptr 385 sound/usb/misc/ua101.c write_ptr = ua->rate_feedback_start; write_ptr 386 sound/usb/misc/ua101.c add_with_wraparound(ua, &write_ptr, ua->rate_feedback_count); write_ptr 387 sound/usb/misc/ua101.c ua->rate_feedback[write_ptr] = frames;