| /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; in _ath10k_ce_send_nolock_64() local 512 write_index, sw_index - 1) <= 0)) { in _ath10k_ce_send_nolock_64() 518 write_index); in _ath10k_ce_send_nolock_64() [all …]
|
| H A D | ce.h | 78 unsigned int write_index; member
|
| H A D | pci.c | 1362 unsigned int write_index; in ath10k_pci_hif_tx_sg() local 1369 write_index = src_ring->write_index; in ath10k_pci_hif_tx_sg() 1372 write_index, sw_index - 1) < n_items)) { in ath10k_pci_hif_tx_sg()
|
| /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, (void *)®.write_index, in TEST_F() 240 sizeof(reg.write_index))); in TEST_F()
|
| /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() 225 ring_info->ring_buffer->write_index = 0; in hv_ringbuffer_init() 452 write_loc = virt_load_acquire(&rbi->ring_buffer->write_index); in hv_pkt_iter_avail()
|
| /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/net/ethernet/sfc/ |
| H A D | ef100_rep.c | 405 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 D | ef100_rep.h | 52 unsigned int write_index, read_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/drivers/gpu/drm/msm/adreno/ |
| H A D | a6xx_hfi.c | 37 if (header->read_index == header->write_index) { in a6xx_hfi_queue_read() 73 u32 i, space, index = header->write_index; in a6xx_hfi_queue_write() 77 space = CIRC_SPACE(header->write_index, header->read_index, in a6xx_hfi_queue_write() 98 header->write_index = index; in a6xx_hfi_queue_write() 1016 if (queue->header->read_index != queue->header->write_index) in a6xx_hfi_stop() 1020 queue->header->write_index = 0; in a6xx_hfi_stop() 1051 header->write_index = 0; in a6xx_hfi_queue_init()
|
| H A D | a6xx_hfi.h | 28 u32 write_index; member
|
| /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/wireless/ath/ath11k/ |
| H A D | ce.h | 143 unsigned int write_index; member
|
| /linux/include/video/ |
| H A D | sh_mobile_lcdc.h | 145 void (*write_index)(void *handle, unsigned long data); member
|
| /linux/drivers/accel/ivpu/ |
| H A D | vpu_boot_api.h | 437 u32 write_index; 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 | 826 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 D | pvr_rogue_fwif_check.h | 130 OFFSET_CHECK(struct rogue_fwif_hwrinfobuf, write_index, 2180);
|
| H A D | pvr_rogue_fwif.h | 435 u32 write_index; member
|
| /linux/kernel/trace/ |
| H A D | trace_events_user.c | 2402 if (size < offsetofend(struct user_reg, write_index)) in user_reg_get() 2520 put_user((u32)ret, &ureg->write_index); in user_events_ioctl_reg()
|