/openbmc/linux/drivers/net/wireless/ath/ath10k/ |
H A D | ce.c | 434 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 …]
|
/openbmc/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() 313 io[0].iov_base = ®.write_index; in TEST_F() 314 io[0].iov_len = sizeof(reg.write_index); in TEST_F() 322 ASSERT_EQ(0, reg.write_index); in TEST_F() 330 io[0].iov_base = ®.write_index; in TEST_F() 331 io[0].iov_len = sizeof(reg.write_index); in TEST_F() 351 reg.write_index = -1; in TEST_F() 367 io[0].iov_base = ®.write_index; in TEST_F() 368 io[0].iov_len = sizeof(reg.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()
|
/openbmc/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_ptr() 99 u32 log_end = log->write_index; in fw_log_print_buffer() 101 if (!(log->write_index || log->wrap_count) || in fw_log_print_buffer() 102 (log->write_index == log->read_index && only_new_msgs)) { in fw_log_print_buffer() 108 if (log->write_index > log->read_index) { in fw_log_print_buffer() 137 log_header->read_index = log_header->write_index; in ivpu_fw_log_clear() 141 log_header->read_index = log_header->write_index; in ivpu_fw_log_clear()
|
/openbmc/linux/drivers/net/wireless/ath/ath12k/ |
H A D | ce.c | 228 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 …]
|
H A D | ce.h | 116 unsigned int write_index; member
|
/openbmc/linux/drivers/net/wireless/ath/ath11k/ |
H A D | ce.c | 277 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 D | ce.h | 143 unsigned int write_index; member
|
/openbmc/linux/drivers/hv/ |
H A D | ring_buffer.c | 76 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()
|
/openbmc/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()
|
/openbmc/linux/drivers/s390/char/ |
H A D | monreader.c | 50 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()
|
/openbmc/linux/drivers/gpu/drm/msm/adreno/ |
H A D | a6xx_hfi.c | 32 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() 696 if (queue->header->read_index != queue->header->write_index) in a6xx_hfi_stop() 700 queue->header->write_index = 0; in a6xx_hfi_stop() 731 header->write_index = 0; in a6xx_hfi_queue_init()
|
H A D | a6xx_hfi.h | 28 u32 write_index; member
|
/openbmc/linux/arch/powerpc/platforms/pseries/ |
H A D | dtl.c | 51 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()
|
/openbmc/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
|
/openbmc/linux/Documentation/trace/ |
H A D | user_events.rst | 58 __u32 write_index; 85 + write_index: The index to use for this file descriptor that represents this 223 to write an entry for that event. The write_index returned must be at the start 226 For example, if write_index returned was 1 and I wanted to write out an int 253 io[0].iov_base = &write_index; 254 io[0].iov_len = sizeof(write_index); 260 **NOTE:** *The write_index is not emitted out into the trace being recorded.*
|
/openbmc/linux/include/uapi/linux/ |
H A D | user_events.h | 55 __u32 write_index; member
|
/openbmc/linux/samples/user_events/ |
H A D | example.c | 34 *write = reg.write_index; in event_reg()
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/rpm/ |
H A D | __init__.py | 12 def write_index(self): member in RpmIndexer 36 def write_index(self): member in RpmSubdirIndexer 147 def write_index(self): member in RpmPM 150 RpmIndexer(self.d, self.rpm_repo_dir).write_index()
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/ipk/ |
H A D | __init__.py | 14 def write_index(self): member in OpkgIndexer 333 def write_index(self): member in OpkgPM 336 result = self.indexer.write_index()
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/deb/ |
H A D | __init__.py | 34 def write_index(self): member in DpkgIndexer 291 def write_index(self): member in DpkgPM 294 result = self.indexer.write_index()
|
/openbmc/openbmc/poky/meta/lib/oe/package_manager/ |
H A D | __init__.py | 152 def write_index(self): member in Indexer 288 def write_index(self): member in PackageManager 560 result = indexer_map[pkg_class][0](d, indexer_map[pkg_class][1]).write_index()
|
/openbmc/linux/include/video/ |
H A D | sh_mobile_lcdc.h | 145 void (*write_index)(void *handle, unsigned long data); member
|
/openbmc/qemu/include/hw/hyperv/ |
H A D | vmbus-proto.h | 187 uint32_t write_index; member
|