| /drivers/net/wireless/ath/ath10k/ |
| A D | ce.c | 436 unsigned int write_index = src_ring->write_index; in _ath10k_ce_send_nolock() local 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 557 src_ring->write_index = write_index; in _ath10k_ce_send_nolock_64() 644 unsigned int write_index = dest_ring->write_index; in __ath10k_ce_rx_num_free_bufs() local 678 dest_ring->write_index = write_index; in __ath10k_ce_rx_post_buf() 711 dest_ring->write_index = write_index; in __ath10k_ce_rx_post_buf_64() 733 dest_ring->write_index = write_index; in ath10k_ce_rx_update_write_idx() 908 write_index = dest_ring->write_index; in _ath10k_ce_revoke_recv_next() 961 write_index = dest_ring->write_index; in _ath10k_ce_revoke_recv_next_64() [all …]
|
| A D | ce.h | 78 unsigned int write_index; member
|
| 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()
|
| /drivers/staging/media/ipu7/ |
| 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()
|
| /drivers/net/wireless/ath/ath12k/ |
| 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() 742 write_index = pipe->src_ring->write_index; in ath12k_ce_send() 746 if (write_index >= sw_index) in ath12k_ce_send() 750 write_index; in ath12k_ce_send() 763 write_index = pipe->src_ring->write_index; in ath12k_ce_send() 793 write_index); in ath12k_ce_send() [all …]
|
| A D | ce.h | 127 unsigned int write_index; member
|
| /drivers/net/wireless/ath/ath11k/ |
| 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() 727 write_index = pipe->src_ring->write_index; in ath11k_ce_send() 731 if (write_index >= sw_index) in ath11k_ce_send() 735 write_index; in ath11k_ce_send() 748 write_index = pipe->src_ring->write_index; in ath11k_ce_send() 778 write_index); in ath11k_ce_send() [all …]
|
| A D | ce.h | 143 unsigned int write_index; member
|
| /drivers/hv/ |
| 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() 451 write_loc = virt_load_acquire(&rbi->ring_buffer->write_index); in hv_pkt_iter_avail()
|
| /drivers/accel/ivpu/ |
| 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()
|
| A D | vpu_boot_api.h | 437 u32 write_index; member
|
| /drivers/s390/char/ |
| 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()
|
| /drivers/net/ethernet/sfc/ |
| 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()
|
| A D | ef100_rep.h | 52 unsigned int write_index, read_index; member
|
| /drivers/gpu/drm/msm/adreno/ |
| 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()
|
| A D | a6xx_hfi.h | 28 u32 write_index; member
|
| /drivers/staging/media/ipu7/abi/ |
| A D | ipu7_fw_syscom_abi.h | 44 u32 write_index; member
|
| /drivers/gpu/drm/imagination/ |
| A D | pvr_rogue_fwif_check.h | 130 OFFSET_CHECK(struct rogue_fwif_hwrinfobuf, write_index, 2180);
|
| A D | pvr_rogue_fwif.h | 435 u32 write_index; member
|
| /drivers/comedi/drivers/ |
| A D | cb_pcidas64.c | 2673 int read_segment, read_index, write_segment, write_index; in pio_drain_ai_fifo_16() local 2680 write_index = readw(devpriv->main_iobase + ADC_WRITE_PNTR_REG) & in pio_drain_ai_fifo_16() 2702 num_samples = write_index - read_index; in pio_drain_ai_fifo_16()
|
| /drivers/video/fbdev/ |
| A D | sh_mobile_lcdcfb.c | 433 .write_index = lcdc_sys_write_index,
|