Home
last modified time | relevance | path

Searched refs:write_index (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.3-rc2/drivers/net/wireless/ath/ath10k/
A Dce.c492 unsigned int write_index = src_ring->write_index; in _ath10k_ce_send_nolock() local
532 src_ring->write_index = write_index; in _ath10k_ce_send_nolock()
549 unsigned int write_index = src_ring->write_index; in _ath10k_ce_send_nolock_64() local
613 src_ring->write_index = write_index; in _ath10k_ce_send_nolock_64()
700 unsigned int write_index = dest_ring->write_index; in __ath10k_ce_rx_num_free_bufs() local
734 dest_ring->write_index = write_index; in __ath10k_ce_rx_post_buf()
767 dest_ring->write_index = write_index; in __ath10k_ce_rx_post_buf_64()
789 dest_ring->write_index = write_index; in ath10k_ce_rx_update_write_idx()
964 write_index = dest_ring->write_index; in _ath10k_ce_revoke_recv_next()
1017 write_index = dest_ring->write_index; in _ath10k_ce_revoke_recv_next_64()
[all …]
A Dce.h78 unsigned int write_index; member
/linux-6.3-rc2/tools/testing/selftests/user_events/
A Dftrace_test.c204 ASSERT_EQ(0, reg.write_index); in TEST_F()
209 ASSERT_EQ(0, reg.write_index); in TEST_F()
257 io[0].iov_base = &reg.write_index; in TEST_F()
258 io[0].iov_len = sizeof(reg.write_index); in TEST_F()
269 ASSERT_EQ(0, reg.write_index); in TEST_F()
282 io[0].iov_base = &reg.write_index; in TEST_F()
283 io[0].iov_len = sizeof(reg.write_index); in TEST_F()
311 io[0].iov_base = &reg.write_index; in TEST_F()
318 ASSERT_EQ(0, reg.write_index); in TEST_F()
347 ASSERT_EQ(0, reg.write_index); in TEST_F()
[all …]
A Dperf_test.c127 ASSERT_EQ(0, reg.write_index); in TEST_F()
154 event.index = reg.write_index; in TEST_F()
/linux-6.3-rc2/drivers/net/wireless/ath/ath12k/
A Dce.c228 unsigned int write_index; in ath12k_ce_rx_buf_enqueue_pipe() local
235 write_index = ring->write_index; in ath12k_ce_rx_buf_enqueue_pipe()
256 ring->skb[write_index] = skb; in ath12k_ce_rx_buf_enqueue_pipe()
257 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in ath12k_ce_rx_buf_enqueue_pipe()
258 ring->write_index = write_index; in ath12k_ce_rx_buf_enqueue_pipe()
656 write_index = pipe->src_ring->write_index; in ath12k_ce_send()
660 if (write_index >= sw_index) in ath12k_ce_send()
664 write_index; in ath12k_ce_send()
677 write_index = pipe->src_ring->write_index; in ath12k_ce_send()
707 write_index); in ath12k_ce_send()
[all …]
A Dce.h116 unsigned int write_index; member
/linux-6.3-rc2/drivers/net/wireless/ath/ath11k/
A Dce.c277 unsigned int write_index; in ath11k_ce_rx_buf_enqueue_pipe() local
284 write_index = ring->write_index; in ath11k_ce_rx_buf_enqueue_pipe()
305 ring->skb[write_index] = skb; in ath11k_ce_rx_buf_enqueue_pipe()
306 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in ath11k_ce_rx_buf_enqueue_pipe()
307 ring->write_index = write_index; in ath11k_ce_rx_buf_enqueue_pipe()
729 write_index = pipe->src_ring->write_index; in ath11k_ce_send()
733 if (write_index >= sw_index) in ath11k_ce_send()
737 write_index; in ath11k_ce_send()
750 write_index = pipe->src_ring->write_index; in ath11k_ce_send()
780 write_index); in ath11k_ce_send()
[all …]
A Dce.h142 unsigned int write_index; member
/linux-6.3-rc2/arch/sh/boards/mach-migor/
A Dlcd_qvga.c53 sys_ops->write_index(sys_ops_handle, adjust_reg18(reg << 8 | data)); in write_reg()
60 sys_ops->write_index(sys_ops_handle, adjust_reg18(reg)); in write_reg16()
70 sys_ops->write_index(sys_ops_handle, adjust_reg18(reg)); in read_reg16()
/linux-6.3-rc2/drivers/hv/
A Dring_buffer.c76 u32 next = ring_info->ring_buffer->write_index; in hv_get_next_write_location()
86 ring_info->ring_buffer->write_index = next_write_location; in hv_set_next_write_location()
100 return (u64)ring_info->ring_buffer->write_index << 32; in hv_get_ring_bufferindices()
140 write_loc = READ_ONCE(rbi->ring_buffer->write_index); in hv_get_ringbuffer_availbytes()
168 debug_info->current_write_index = ring_info->ring_buffer->write_index; in hv_ringbuffer_get_debuginfo()
245 ring_info->ring_buffer->write_index = 0; in hv_ringbuffer_init()
472 write_loc = virt_load_acquire(&rbi->ring_buffer->write_index); in hv_pkt_iter_avail()
/linux-6.3-rc2/drivers/s390/char/
A Dmonreader.c50 unsigned int write_index; member
255 memcpy(&monpriv->msg_array[monpriv->write_index]->msg, in mon_iucv_message_pending()
259 monpriv->msg_array[monpriv->write_index]->msglim_reached = 1; in mon_iucv_message_pending()
261 monpriv->write_index = (monpriv->write_index + 1) % MON_MSGLIM; in mon_iucv_message_pending()
351 monpriv->write_index = 0; in mon_close()
/linux-6.3-rc2/drivers/gpu/drm/msm/adreno/
A Da6xx_hfi.c32 if (header->read_index == header->write_index) { in a6xx_hfi_queue_read()
68 u32 i, space, index = header->write_index; in a6xx_hfi_queue_write()
72 space = CIRC_SPACE(header->write_index, header->read_index, in a6xx_hfi_queue_write()
93 header->write_index = index; in a6xx_hfi_queue_write()
663 if (queue->header->read_index != queue->header->write_index) in a6xx_hfi_stop()
667 queue->header->write_index = 0; in a6xx_hfi_stop()
698 header->write_index = 0; in a6xx_hfi_queue_init()
A Da6xx_hfi.h28 u32 write_index; member
/linux-6.3-rc2/Documentation/trace/
A Duser_events.rst47 u32 write_index;
60 **NOTE:** *The write_index returned is only valid for the FD that was used*
197 to write an entry for that event. The write_index returned must be at the start
200 For example, if write_index returned was 1 and I wanted to write out an int
227 io[0].iov_base = &write_index;
228 io[0].iov_len = sizeof(write_index);
234 **NOTE:** *The write_index is not emitted out into the trace being recorded.*
/linux-6.3-rc2/arch/powerpc/platforms/pseries/
A Ddtl.c51 u64 write_index; member
88 ++dtlr->write_index; in consume_dtle()
97 dtlr->write_index = 0; in dtl_start()
129 return per_cpu(dtl_rings, dtl->cpu).write_index; in dtl_current_index()
/linux-6.3-rc2/drivers/net/ethernet/sfc/
A Def100_rep.c405 read_index = efv->write_index; in efx_ef100_rep_poll()
424 need_resched = efv->write_index != read_index; in efx_ef100_rep_poll()
441 if (efv->write_index - READ_ONCE(efv->read_index) > efv->rx_pring_size) { in efx_ef100_rep_rx_packet()
474 primed = efv->read_index == efv->write_index; in efx_ef100_rep_rx_packet()
476 efv->write_index++; in efx_ef100_rep_rx_packet()
A Def100_rep.h52 unsigned int write_index, read_index; member
/linux-6.3-rc2/include/linux/
A Duser_events.h43 __u32 write_index; member
A Dhyperv.h115 u32 write_index; member
197 write_loc = READ_ONCE(rbi->ring_buffer->write_index); in hv_get_bytes_to_read()
211 write_loc = rbi->ring_buffer->write_index; in hv_get_bytes_to_write()
/linux-6.3-rc2/samples/user_events/
A Dexample.c57 *write = reg.write_index; in event_reg()
/linux-6.3-rc2/include/video/
A Dsh_mobile_lcdc.h145 void (*write_index)(void *handle, unsigned long data); member
/linux-6.3-rc2/drivers/accel/ivpu/
A Dvpu_boot_api.h313 u32 write_index; member
/linux-6.3-rc2/arch/sh/boards/mach-kfr2r09/
A Dlcd_wqvga.c72 so->write_index(sohandle, v); /* PTH4/LCDRS Low [cmd, 7:0] */ in write_reg()
/linux-6.3-rc2/fs/ubifs/
A Dtnc_commit.c824 static int write_index(struct ubifs_info *c) in write_index() function
1094 err = write_index(c); in ubifs_tnc_end_commit()
/linux-6.3-rc2/sound/soc/codecs/
A Dwm_adsp.c1731 int write_index, read_index, avail; in wm_adsp_buffer_update_avail() local
1757 write_index = sign_extend32(next_write_index, 23); in wm_adsp_buffer_update_avail()
1759 avail = write_index - buf->read_index; in wm_adsp_buffer_update_avail()
1764 buf->read_index, write_index, avail * CS_DSP_DATA_WORD_SIZE); in wm_adsp_buffer_update_avail()

Completed in 77 milliseconds

12