/linux/drivers/net/wireless/ath/ath10k/ |
H A D | ce.c | 436 unsigned int write_index = src_ring->write_index; in _ath10k_ce_send_nolock() local 446 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock() 452 write_index); in _ath10k_ce_send_nolock() 467 src_ring->per_transfer_context[write_index] = per_transfer_context; in _ath10k_ce_send_nolock() 470 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in _ath10k_ce_send_nolock() 474 ath10k_ce_src_ring_write_index_set(ar, ctrl_addr, write_index); in _ath10k_ce_send_nolock() 476 src_ring->write_index = write_index; in _ath10k_ce_send_nolock() 493 unsigned int write_index = src_ring->write_index; _ath10k_ce_send_nolock_64() local 644 unsigned int write_index = dest_ring->write_index; __ath10k_ce_rx_num_free_bufs() local 660 unsigned int write_index = dest_ring->write_index; __ath10k_ce_rx_post_buf() local 691 unsigned int write_index = dest_ring->write_index; __ath10k_ce_rx_post_buf_64() local 721 unsigned int write_index = dest_ring->write_index; ath10k_ce_rx_update_write_idx() local 891 unsigned int write_index; _ath10k_ce_revoke_recv_next() local 944 unsigned int write_index; _ath10k_ce_revoke_recv_next_64() local 1164 unsigned int write_index; ath10k_ce_cancel_send_next() local [all...] |
H A D | ce.h | 78 unsigned int write_index; member
|
/linux/drivers/staging/media/ipu7/ |
H A D | ipu7-syscom.c | 24 u32 write_index = readl(queue_indices + in ipu7_syscom_get_token() local 26 write_index)); in ipu7_syscom_get_token() 34 bool empty = (write_index == read_index); in ipu7_syscom_get_token() 42 bool full = (read_index == ((write_index + 1U) % in ipu7_syscom_get_token() 47 write_index * queue_params->token_size_in_bytes; in ipu7_syscom_get_token() 65 offset = offsetof(struct syscom_queue_indices_s, write_index); in ipu7_syscom_put_token()
|
/linux/tools/testing/selftests/user_events/ |
H A D | ftrace_test.c | 253 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 = ®.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 = ®.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 = ®.write_index; in TEST_F() [all...] |
H A D | perf_test.c | 150 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, ®.write_index, in TEST_F() 240 sizeof(reg.write_index))); in TEST_F()
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | ce.c | 318 unsigned int write_index; in ath12k_ce_rx_buf_enqueue_pipe() local 325 write_index = ring->write_index; in ath12k_ce_rx_buf_enqueue_pipe() 346 ring->skb[write_index] = skb; in ath12k_ce_rx_buf_enqueue_pipe() 347 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in ath12k_ce_rx_buf_enqueue_pipe() 348 ring->write_index = write_index; in ath12k_ce_rx_buf_enqueue_pipe() 730 unsigned int write_index, sw_index; in ath12k_ce_send() local 742 write_index in ath12k_ce_send() [all...] |
H A D | ce.h | 127 unsigned int write_index; member
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | ce.c | 279 unsigned int write_index; in ath11k_ce_rx_buf_enqueue_pipe() local 286 write_index = ring->write_index; in ath11k_ce_rx_buf_enqueue_pipe() 307 ring->skb[write_index] = skb; in ath11k_ce_rx_buf_enqueue_pipe() 308 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in ath11k_ce_rx_buf_enqueue_pipe() 309 ring->write_index = write_index; in ath11k_ce_rx_buf_enqueue_pipe() 715 unsigned int write_index, sw_index; in ath11k_ce_send() local 727 write_index in ath11k_ce_send() [all...] |
H A D | ce.h | 143 unsigned int write_index; member
|
/linux/drivers/hv/ |
H A D | ring_buffer.c | 77 u32 next = ring_info->ring_buffer->write_index; in hv_get_next_write_location() 87 ring_info->ring_buffer->write_index = next_write_location; in hv_set_next_write_location() 101 return (u64)ring_info->ring_buffer->write_index << 32; in hv_get_ring_bufferindices() 141 write_loc = READ_ONCE(rbi->ring_buffer->write_index); in hv_get_ringbuffer_availbytes() 169 debug_info->current_write_index = ring_info->ring_buffer->write_index; in hv_ringbuffer_get_debuginfo() 224 ring_info->ring_buffer->write_index = 0; in hv_ringbuffer_init() 446 * store_release() to update the write_index. Use load_acquire() in hv_pkt_iter_avail() 448 * before the read of the write_index and potentially getting in hv_pkt_iter_avail() 451 write_loc = virt_load_acquire(&rbi->ring_buffer->write_index); in hv_pkt_iter_avail() 565 * 3. Read the current write_index [all...] |
/linux/arch/sh/boards/mach-migor/ |
H A D | lcd_qvga.c | 53 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/accel/ivpu/ |
H A D | ivpu_fw_log.c | 56 log->name, log->write_index, log->size, log->wrap_count, log->header_version, in fw_log_from_bo() 99 u32 log_end = READ_ONCE(log->write_index); in fw_log_print_buffer() 148 log->read_index = READ_ONCE(log->write_index); in ivpu_fw_log_mark_read() 154 log->read_index = READ_ONCE(log->write_index); in ivpu_fw_log_mark_read()
|
/linux/drivers/s390/char/ |
H A D | monreader.c | 51 unsigned int write_index; member 256 memcpy(&monpriv->msg_array[monpriv->write_index]->msg, in mon_iucv_message_pending() 260 monpriv->msg_array[monpriv->write_index]->msglim_reached = 1; in mon_iucv_message_pending() 262 monpriv->write_index = (monpriv->write_index + 1) % MON_MSGLIM; in mon_iucv_message_pending() 352 monpriv->write_index = 0; in mon_close()
|
/linux/arch/powerpc/platforms/pseries/ |
H A D | dtl.c | 51 u64 write_index; member 86 /* incrementing write_index makes the new entry visible */ in consume_dtle() 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/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_hfi.c | 35 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() 926 if (queue->header->read_index != queue->header->write_index) in a6xx_hfi_stop() 930 queue->header->write_index = 0; in a6xx_hfi_stop() 961 header->write_index = 0; in a6xx_hfi_queue_init()
|
H A D | a6xx_hfi.h | 28 u32 write_index; member
|
/linux/drivers/staging/media/ipu7/abi/ |
H A D | ipu7_fw_syscom_abi.h | 44 u32 write_index; member
|
/linux/Documentation/trace/ |
H A D | user_events.rst | 63 __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 D | user_events.h | 59 __u32 write_index; member
|
/linux/samples/user_events/ |
H A D | example.c | 34 *write = reg.write_index; in event_reg()
|
/linux/drivers/net/ethernet/sfc/ |
H A D | ef100_rep.h | 35 * @write_index: number of packets enqueued to @rx_list 52 unsigned int write_index, read_index; member
|
/linux/include/video/ |
H A D | sh_mobile_lcdc.h | 145 void (*write_index)(void *handle, unsigned long data); member
|
/linux/arch/sh/boards/mach-kfr2r09/ |
H A D | lcd_wqvga.c | 72 so->write_index(sohandle, v); /* PTH4/LCDRS Low [cmd, 7:0] */ in write_reg()
|
/linux/include/linux/ |
H A D | hyperv.h | 115 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/fs/ubifs/ |
H A D | tnc_commit.c | 87 * Note, unlike 'write_index()' we do not add memory barriers here in make_idx_node() 820 * write_index - write index nodes. 826 static int write_index(struct ubifs_info *c) in write_index() function 1096 err = write_index(c); in ubifs_tnc_end_commit()
|