/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/pcie/ |
A D | tx.c | 113 txq->write_ptr | (txq_id << 8)); in iwl_pcie_txq_inc_wr_ptr() 377 txq->write_ptr = 0; in iwl_trans_pcie_tx_reset() 684 txq->write_ptr, txq->read_ptr); in iwl_pcie_cmdq_reclaim() 694 idx, txq->write_ptr, r); in iwl_pcie_cmdq_reclaim() 796 (ssn != txq->write_ptr); in iwl_trans_pcie_txq_enable() 804 txq->write_ptr = (ssn & 0xff); in iwl_trans_pcie_txq_enable() 1106 txq->write_ptr); in iwl_pcie_enqueue_hcmd() 1130 txq->write_ptr); in iwl_pcie_enqueue_hcmd() 1157 txq->write_ptr = iwl_txq_inc_wrap(trans, txq->write_ptr); in iwl_pcie_enqueue_hcmd() 1193 txq->write_ptr)) { in iwl_pcie_hcmd_complete() [all …]
|
A D | tx-gen2.c | 114 idx = iwl_txq_get_cmd_index(txq, txq->write_ptr); in iwl_pcie_gen2_enqueue_hcmd() 115 tfd = iwl_txq_get_tfd(trans, txq, txq->write_ptr); in iwl_pcie_gen2_enqueue_hcmd() 144 INDEX_TO_SEQ(txq->write_ptr)); in iwl_pcie_gen2_enqueue_hcmd() 191 cmd_size, txq->write_ptr, idx, trans->txqs.cmd.q_id); in iwl_pcie_gen2_enqueue_hcmd() 244 if (txq->read_ptr == txq->write_ptr && txq->wd_timeout) in iwl_pcie_gen2_enqueue_hcmd() 249 txq->write_ptr = iwl_txq_inc_wrap(trans, txq->write_ptr); in iwl_pcie_gen2_enqueue_hcmd()
|
A D | trans.c | 2319 txq->write_ptr | (i << 8)); in iwl_trans_pcie_block_txq_ptrs() 2369 wr_ptr = READ_ONCE(txq->write_ptr); in iwl_trans_pcie_wait_txq_empty() 2375 u8 write_ptr = READ_ONCE(txq->write_ptr); in iwl_trans_pcie_wait_txq_empty() local 2384 wr_ptr, write_ptr)) in iwl_trans_pcie_wait_txq_empty() 2386 wr_ptr = write_ptr; in iwl_trans_pcie_wait_txq_empty() 2602 txq->read_ptr, txq->write_ptr, in iwl_dbgfs_tx_queue_seq_show() 2933 size = write_ptr; in iwl_dbgfs_monitor_data_read() 2942 write_ptr > data->prev_wr_ptr) in iwl_dbgfs_monitor_data_read() 2950 size = write_ptr; in iwl_dbgfs_monitor_data_read() 3167 write_ptr = MON_BUFF_WRPTR; in iwl_trans_pcie_dump_pointers() [all …]
|
/linux-6.3-rc2/sound/soc/intel/avs/ |
A D | apl.c | 68 if (layout.read_ptr > layout.write_ptr) { in apl_log_buffer_status() 73 avs_dump_fw_log_wakeup(adev, buf + layout.read_ptr, layout.write_ptr - layout.read_ptr); in apl_log_buffer_status() 76 writel(layout.write_ptr, addr); in apl_log_buffer_status() 93 if (layout->read_ptr != layout->write_ptr) in apl_wait_log_entry() 148 if (layout.read_ptr > layout.write_ptr) { in apl_coredump() 154 count = layout.write_ptr - layout.read_ptr; in apl_coredump() 159 writel(layout.write_ptr, addr); in apl_coredump()
|
/linux-6.3-rc2/drivers/hwtracing/coresight/ |
A D | coresight-etb10.c | 289 u32 read_ptr, write_ptr; in etb_dump_hw() local 296 write_ptr = readl_relaxed(drvdata->base + ETB_RAM_WRITE_POINTER); in etb_dump_hw() 298 frame_off = write_ptr % ETB_FRAME_SIZE_WORDS; in etb_dump_hw() 303 (unsigned long)write_ptr); in etb_dump_hw() 306 write_ptr += frame_endoff; in etb_dump_hw() 435 u32 read_ptr, write_ptr, capacity; in etb_update_buffer() local 464 if (write_ptr % ETB_FRAME_SIZE_WORDS) { in etb_update_buffer() 467 (unsigned long)write_ptr); in etb_update_buffer() 469 write_ptr &= ~(ETB_FRAME_SIZE_WORDS - 1); in etb_update_buffer() 483 read_ptr = write_ptr; in etb_update_buffer() [all …]
|
A D | ultrasoc-smb.c | 70 u32 write_ptr; in smb_reset_buffer() local 82 write_ptr = readl(drvdata->base + SMB_LB_WR_ADDR_REG); in smb_reset_buffer() 85 if (!write_ptr || write_ptr == sdb->buf_rdptr + sdb->buf_hw_base) in smb_reset_buffer() 92 writel(write_ptr, drvdata->base + SMB_LB_RD_ADDR_REG); in smb_reset_buffer() 93 sdb->buf_rdptr = write_ptr - sdb->buf_hw_base; in smb_reset_buffer()
|
A D | coresight-tmc-etf.c | 474 u64 read_ptr, write_ptr; in tmc_update_etf_buffer() local 498 write_ptr = tmc_read_rwp(drvdata); in tmc_update_etf_buffer() 509 to_read = CIRC_CNT(write_ptr, read_ptr, drvdata->size); in tmc_update_etf_buffer() 528 read_ptr = (write_ptr + drvdata->size) - to_read; in tmc_update_etf_buffer()
|
/linux-6.3-rc2/sound/soc/sof/ |
A D | ipc4-mtrace.c | 191 u32 log_buffer_offset, log_buffer_size, read_ptr, write_ptr; in sof_ipc4_mtrace_dfs_read() local 224 write_ptr = core_data->dsp_write_ptr; in sof_ipc4_mtrace_dfs_read() 226 if (read_ptr < write_ptr) in sof_ipc4_mtrace_dfs_read() 227 avail = write_ptr - read_ptr; in sof_ipc4_mtrace_dfs_read() 229 avail = log_buffer_size - read_ptr + write_ptr; in sof_ipc4_mtrace_dfs_read() 244 core_data->id, read_ptr, write_ptr, avail); in sof_ipc4_mtrace_dfs_read() 246 if (read_ptr < write_ptr) { in sof_ipc4_mtrace_dfs_read() 252 avail - write_ptr); in sof_ipc4_mtrace_dfs_read() 254 if (write_ptr) in sof_ipc4_mtrace_dfs_read() 256 (u8 *)(log_buffer) + avail - write_ptr, in sof_ipc4_mtrace_dfs_read() [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
A D | ef100_tx.c | 112 unsigned int write_ptr; in ef100_notify_tx_desc() local 120 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in ef100_notify_tx_desc() 122 EFX_POPULATE_DWORD_1(reg, ERF_GZ_TX_RING_PIDX, write_ptr); in ef100_notify_tx_desc() 264 unsigned int write_ptr; in ef100_tx_make_descriptors() local 278 write_ptr = new_write_count & tx_queue->ptr_mask; in ef100_tx_make_descriptors() 279 txd = ef100_tx_desc(tx_queue, write_ptr); in ef100_tx_make_descriptors() 295 write_ptr = new_write_count & tx_queue->ptr_mask; in ef100_tx_make_descriptors() 296 buffer = &tx_queue->buffer[write_ptr]; in ef100_tx_make_descriptors() 297 txd = ef100_tx_desc(tx_queue, write_ptr); in ef100_tx_make_descriptors()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/queue/ |
A D | tx.c | 697 used = (q->write_ptr - q->read_ptr) & in iwl_txq_space() 788 txq->write_ptr = iwl_txq_inc_wrap(trans, txq->write_ptr); in iwl_txq_gen2_tx() 916 q->write_ptr = 0; in iwl_queue_init() 983 txq->read_ptr, txq->write_ptr); in iwl_txq_log_scd_error() 996 txq->read_ptr, txq->write_ptr, in iwl_txq_log_scd_error() 1176 txq->write_ptr = wr_ptr; in iwl_txq_alloc_response() 1423 int write_ptr = txq->write_ptr; in iwl_txq_gen1_update_byte_cnt_tbl() local 1588 txq->write_ptr, txq->read_ptr); in iwl_txq_reclaim() 1680 txq->write_ptr = ptr; in iwl_txq_set_q_ptrs() 1681 txq->read_ptr = txq->write_ptr; in iwl_txq_set_q_ptrs() [all …]
|
/linux-6.3-rc2/arch/powerpc/platforms/pseries/ |
A D | dtl.c | 52 struct dtl_entry *write_ptr; member 68 struct dtl_entry *wp = dtlr->write_ptr; in consume_dtle() 84 dtlr->write_ptr = wp; in consume_dtle() 101 dtlr->write_ptr = dtl->buf; in dtl_start() 115 dtlr->write_ptr = NULL; in dtl_stop()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_queue.c | 41 pr_debug("Queue Write Pointer: 0x%px\n", q->write_ptr); in print_queue_properties() 58 pr_debug("Queue Write Pointer: 0x%px\n", q->properties.write_ptr); in print_queue()
|
A D | kfd_mqd_manager_v11.c | 179 (uint32_t __user *)p->write_ptr, in load_mqd() 202 m->cp_hqd_pq_wptr_poll_addr_lo = lower_32_bits((uint64_t)q->write_ptr); in update_mqd() 203 m->cp_hqd_pq_wptr_poll_addr_hi = upper_32_bits((uint64_t)q->write_ptr); in update_mqd() 348 m->sdmax_rlcx_rb_wptr_poll_addr_lo = lower_32_bits((uint64_t)q->write_ptr); in update_mqd_sdma() 349 m->sdmax_rlcx_rb_wptr_poll_addr_hi = upper_32_bits((uint64_t)q->write_ptr); in update_mqd_sdma()
|
A D | kfd_mqd_manager_v10.c | 153 (uint32_t __user *)p->write_ptr, in load_mqd() 176 m->cp_hqd_pq_wptr_poll_addr_lo = lower_32_bits((uint64_t)q->write_ptr); in update_mqd() 177 m->cp_hqd_pq_wptr_poll_addr_hi = upper_32_bits((uint64_t)q->write_ptr); in update_mqd()
|
A D | kfd_mqd_manager_v9.c | 204 (uint32_t __user *)p->write_ptr, in load_mqd() 225 m->cp_hqd_pq_wptr_poll_addr_lo = lower_32_bits((uint64_t)q->write_ptr); in update_mqd() 226 m->cp_hqd_pq_wptr_poll_addr_hi = upper_32_bits((uint64_t)q->write_ptr); in update_mqd()
|
A D | kfd_packet_manager_vi.c | 192 lower_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_vi() 195 upper_32_bits((uint64_t)q->properties.write_ptr); in pm_map_queues_vi()
|
A D | kfd_mqd_manager_vi.c | 167 (uint32_t __user *)p->write_ptr, in load_mqd() 190 m->cp_hqd_pq_wptr_poll_addr_lo = lower_32_bits((uint64_t)q->write_ptr); in __update_mqd() 191 m->cp_hqd_pq_wptr_poll_addr_hi = upper_32_bits((uint64_t)q->write_ptr); in __update_mqd()
|
/linux-6.3-rc2/drivers/net/wireless/intel/iwlwifi/cfg/ |
A D | 9000.c | 101 .write_ptr = { \ 111 .write_ptr = { \
|
A D | 22000.c | 210 .write_ptr = { \ 226 .write_ptr = { \ 245 .write_ptr = { \ 285 .write_ptr = { \ 301 .write_ptr = { \ 315 .write_ptr = { \
|
/linux-6.3-rc2/drivers/comedi/ |
A D | comedi_buf.c | 561 unsigned int write_ptr = async->buf_write_ptr; in comedi_buf_memcpy_to() local 566 if (write_ptr + num_bytes > async->prealloc_bufsz) in comedi_buf_memcpy_to() 567 block_size = async->prealloc_bufsz - write_ptr; in comedi_buf_memcpy_to() 571 memcpy(async->prealloc_buf + write_ptr, data, block_size); in comedi_buf_memcpy_to() 576 write_ptr = 0; in comedi_buf_memcpy_to()
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/siena/ |
A D | farch.c | 285 unsigned write_ptr; in efx_farch_notify_tx_desc() local 288 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_farch_notify_tx_desc() 298 unsigned write_ptr; in efx_farch_push_tx_desc() local 304 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_farch_push_tx_desc() 306 FRF_AZ_TX_DESC_WPTR, write_ptr); in efx_farch_push_tx_desc() 321 unsigned write_ptr; in efx_farch_tx_write() local 329 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in efx_farch_tx_write() 330 buffer = &tx_queue->buffer[write_ptr]; in efx_farch_tx_write() 331 txd = efx_tx_desc(tx_queue, write_ptr); in efx_farch_tx_write() 487 unsigned write_ptr; in efx_farch_rx_write() local [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/falcon/ |
A D | farch.c | 274 unsigned write_ptr; in ef4_farch_notify_tx_desc() local 277 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in ef4_farch_notify_tx_desc() 287 unsigned write_ptr; in ef4_farch_push_tx_desc() local 293 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in ef4_farch_push_tx_desc() 295 FRF_AZ_TX_DESC_WPTR, write_ptr); in ef4_farch_push_tx_desc() 310 unsigned write_ptr; in ef4_farch_tx_write() local 318 write_ptr = tx_queue->write_count & tx_queue->ptr_mask; in ef4_farch_tx_write() 319 buffer = &tx_queue->buffer[write_ptr]; in ef4_farch_tx_write() 320 txd = ef4_tx_desc(tx_queue, write_ptr); in ef4_farch_tx_write() 493 unsigned write_ptr; in ef4_farch_rx_write() local [all …]
|
/linux-6.3-rc2/drivers/misc/mei/ |
A D | hw-me.c | 514 char read_ptr, write_ptr; in mei_hbuf_filled_slots() local 519 write_ptr = (char) ((hcsr & H_CBWP) >> 16); in mei_hbuf_filled_slots() 521 return (unsigned char) (write_ptr - read_ptr); in mei_hbuf_filled_slots() 646 char read_ptr, write_ptr; in mei_me_count_full_read_slots() local 652 write_ptr = (char) ((me_csr & ME_CBWP_HRA) >> 16); in mei_me_count_full_read_slots() 653 filled_slots = (unsigned char) (write_ptr - read_ptr); in mei_me_count_full_read_slots()
|
/linux-6.3-rc2/drivers/gpu/drm/i915/gvt/ |
A D | execlist.c | 141 write_pointer = ctx_status_ptr.write_ptr; in emulate_csb_update() 155 ctx_status_ptr.write_ptr = write_pointer; in emulate_csb_update() 518 ctx_status_ptr.write_ptr = 0x7; in init_vgpu_execlist()
|
A D | execlist.h | 88 u32 write_ptr :3; member
|