Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/net/wireless/ath/ath10k/
Dce.c500 unsigned int write_index = src_ring->write_index; in _ath10k_ce_send_nolock() local
510 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock()
516 write_index); in _ath10k_ce_send_nolock()
531 src_ring->per_transfer_context[write_index] = per_transfer_context; in _ath10k_ce_send_nolock()
534 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in _ath10k_ce_send_nolock()
538 ath10k_ce_src_ring_write_index_set(ar, ctrl_addr, write_index); in _ath10k_ce_send_nolock()
540 src_ring->write_index = write_index; in _ath10k_ce_send_nolock()
557 unsigned int write_index = src_ring->write_index; in _ath10k_ce_send_nolock_64() local
576 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock_64()
582 write_index); in _ath10k_ce_send_nolock_64()
[all …]
Dce.h78 unsigned int write_index; member
Dpci.c1359 unsigned int write_index; in ath10k_pci_hif_tx_sg() local
1366 write_index = src_ring->write_index; in ath10k_pci_hif_tx_sg()
1369 write_index, sw_index - 1) < n_items)) { in ath10k_pci_hif_tx_sg()
/linux-6.1.9/tools/testing/selftests/user_events/
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()
312 io[0].iov_len = sizeof(reg.write_index); in TEST_F()
318 ASSERT_EQ(0, reg.write_index); in TEST_F()
[all …]
Dperf_test.c127 ASSERT_EQ(0, reg.write_index); in TEST_F()
154 event.index = reg.write_index; in TEST_F()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
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 …]
Dce.h126 unsigned int write_index; member
/linux-6.1.9/arch/sh/boards/mach-migor/
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.1.9/drivers/hv/
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.1.9/drivers/s390/char/
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.1.9/drivers/gpu/drm/msm/adreno/
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()
Da6xx_hfi.h28 u32 write_index; member
/linux-6.1.9/Documentation/trace/
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.1.9/drivers/net/ethernet/sfc/
Def100_rep.c356 read_index = efv->write_index; in efx_ef100_rep_poll()
375 need_resched = efv->write_index != read_index; in efx_ef100_rep_poll()
392 if (efv->write_index - READ_ONCE(efv->read_index) > efv->rx_pring_size) { in efx_ef100_rep_rx_packet()
425 primed = efv->read_index == efv->write_index; in efx_ef100_rep_rx_packet()
427 efv->write_index++; in efx_ef100_rep_rx_packet()
Def100_rep.h49 unsigned int write_index, read_index; member
/linux-6.1.9/arch/powerpc/platforms/pseries/
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.1.9/include/linux/
Duser_events.h43 __u32 write_index; member
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.1.9/samples/user_events/
Dexample.c57 *write = reg.write_index; in event_reg()
/linux-6.1.9/include/video/
Dsh_mobile_lcdc.h145 void (*write_index)(void *handle, unsigned long data); member
/linux-6.1.9/arch/sh/boards/mach-kfr2r09/
Dlcd_wqvga.c72 so->write_index(sohandle, v); /* PTH4/LCDRS Low [cmd, 7:0] */ in write_reg()
/linux-6.1.9/fs/ubifs/
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.1.9/sound/soc/codecs/
Dwm_adsp.c1712 int write_index, read_index, avail; in wm_adsp_buffer_update_avail() local
1738 write_index = sign_extend32(next_write_index, 23); in wm_adsp_buffer_update_avail()
1740 avail = write_index - buf->read_index; in wm_adsp_buffer_update_avail()
1745 buf->read_index, write_index, avail * CS_DSP_DATA_WORD_SIZE); in wm_adsp_buffer_update_avail()
/linux-6.1.9/kernel/trace/
Dtrace_events_user.c1559 if (size < offsetofend(struct user_reg, write_index)) in user_reg_get()
1613 put_user((u32)ret, &ureg->write_index); in user_events_ioctl_reg()
/linux-6.1.9/drivers/comedi/drivers/
Dcb_pcidas64.c2678 int read_segment, read_index, write_segment, write_index; in pio_drain_ai_fifo_16() local
2685 write_index = readw(devpriv->main_iobase + ADC_WRITE_PNTR_REG) & in pio_drain_ai_fifo_16()
2707 num_samples = write_index - read_index; in pio_drain_ai_fifo_16()

12