Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/ath/ath10k/
H A Dce.c434 unsigned int write_index = src_ring->write_index; in _ath10k_ce_send_nolock() local
444 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock()
450 write_index); in _ath10k_ce_send_nolock()
465 src_ring->per_transfer_context[write_index] = per_transfer_context; in _ath10k_ce_send_nolock()
468 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in _ath10k_ce_send_nolock()
472 ath10k_ce_src_ring_write_index_set(ar, ctrl_addr, write_index); in _ath10k_ce_send_nolock()
474 src_ring->write_index = write_index; in _ath10k_ce_send_nolock()
491 unsigned int write_index = src_ring->write_index; in _ath10k_ce_send_nolock_64() local
510 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock_64()
516 write_index); in _ath10k_ce_send_nolock_64()
[all …]
H A Dce.h78 unsigned int write_index; member
/linux/tools/testing/selftests/user_events/
H A Dftrace_test.c253 ASSERT_EQ(0, reg.write_index); in TEST_F()
262 ASSERT_EQ(0, reg.write_index); in TEST_F()
268 ASSERT_EQ(0, reg.write_index); in TEST_F()
321 io[0].iov_base = &reg.write_index; in TEST_F()
322 io[0].iov_len = sizeof(reg.write_index); in TEST_F()
330 ASSERT_EQ(0, reg.write_index); in TEST_F()
338 io[0].iov_base = &reg.write_index; in TEST_F()
339 io[0].iov_len = sizeof(reg.write_index); in TEST_F()
359 reg.write_index = -1; in TEST_F()
375 io[0].iov_base = &reg.write_index; in TEST_F()
[all …]
H A Dperf_test.c150 ASSERT_EQ(0, reg.write_index); in TEST_F()
176 event.index = reg.write_index; in TEST_F()
214 ASSERT_EQ(0, reg.write_index); in TEST_F()
239 ASSERT_NE(-1, write(self->data_fd, &reg.write_index, in TEST_F()
240 sizeof(reg.write_index))); in TEST_F()
/linux/drivers/net/wireless/ath/ath12k/
H 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()
644 unsigned int write_index, sw_index; in ath12k_ce_send() local
656 write_index = pipe->src_ring->write_index; in ath12k_ce_send()
660 if (write_index >= sw_index) in ath12k_ce_send()
661 num_used = write_index - sw_index; in ath12k_ce_send()
664 write_index; in ath12k_ce_send()
[all …]
/linux/drivers/net/wireless/ath/ath11k/
H 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()
717 unsigned int write_index, sw_index; in ath11k_ce_send() local
729 write_index = pipe->src_ring->write_index; in ath11k_ce_send()
733 if (write_index >= sw_index) in ath11k_ce_send()
734 num_used = write_index - sw_index; in ath11k_ce_send()
737 write_index; in ath11k_ce_send()
[all …]
H A Dce.h143 unsigned int write_index; member
/linux/drivers/hv/
H 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()
223 ring_info->ring_buffer->write_index = 0; in hv_ringbuffer_init()
450 write_loc = virt_load_acquire(&rbi->ring_buffer->write_index); in hv_pkt_iter_avail()
/linux/arch/sh/boards/mach-migor/
H 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/drivers/s390/char/
H 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/drivers/net/ethernet/sfc/
H 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()
H A Def100_rep.h52 unsigned int write_index, read_index; member
/linux/drivers/gpu/drm/msm/adreno/
H A Da6xx_hfi.c35 if (header->read_index == header->write_index) { in a6xx_hfi_queue_read()
71 u32 i, space, index = header->write_index; in a6xx_hfi_queue_write()
75 space = CIRC_SPACE(header->write_index, header->read_index, in a6xx_hfi_queue_write()
96 header->write_index = index; in a6xx_hfi_queue_write()
873 if (queue->header->read_index != queue->header->write_index) in a6xx_hfi_stop()
877 queue->header->write_index = 0; in a6xx_hfi_stop()
908 header->write_index = 0; in a6xx_hfi_queue_init()
H A Da6xx_hfi.h28 u32 write_index; member
/linux/Documentation/trace/
H A Duser_events.rst63 __u32 write_index;
115 + write_index: The index to use for this file descriptor that represents this
263 to write an entry for that event. The write_index returned must be at the start
266 For example, if write_index returned was 1 and I wanted to write out an int
293 io[0].iov_base = &write_index;
294 io[0].iov_len = sizeof(write_index);
300 **NOTE:** *The write_index is not emitted out into the trace being recorded.*
/linux/include/uapi/linux/
H A Duser_events.h59 __u32 write_index; member
/linux/samples/user_events/
H A Dexample.c34 *write = reg.write_index; in event_reg()
/linux/include/video/
H A Dsh_mobile_lcdc.h145 void (*write_index)(void *handle, unsigned long data); member
/linux/include/linux/
H A Dhyperv.h115 u32 write_index; member
217 write_loc = READ_ONCE(rbi->ring_buffer->write_index); in hv_get_bytes_to_read()
231 write_loc = rbi->ring_buffer->write_index; in hv_get_bytes_to_write()
/linux/arch/sh/boards/mach-kfr2r09/
H A Dlcd_wqvga.c72 so->write_index(sohandle, v); /* PTH4/LCDRS Low [cmd, 7:0] */ in write_reg()
/linux/sound/soc/codecs/
H A Dwm_adsp.c1759 int write_index, read_index, avail; in wm_adsp_buffer_update_avail() local
1785 write_index = sign_extend32(next_write_index, 23); in wm_adsp_buffer_update_avail()
1787 avail = write_index - buf->read_index; in wm_adsp_buffer_update_avail()
1792 buf->read_index, write_index, avail * CS_DSP_DATA_WORD_SIZE); in wm_adsp_buffer_update_avail()
/linux/fs/ubifs/
H A Dtnc_commit.c826 static int write_index(struct ubifs_info *c) in write_index() function
1096 err = write_index(c); in ubifs_tnc_end_commit()
/linux/drivers/gpu/drm/imagination/
H A Dpvr_rogue_fwif_check.h130 OFFSET_CHECK(struct rogue_fwif_hwrinfobuf, write_index, 2180);
H A Dpvr_rogue_fwif.h435 u32 write_index; member