Home
last modified time | relevance | path

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

/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()
/drivers/net/wireless/ath/ath11k/
Dce.c269 unsigned int write_index; in ath11k_ce_rx_buf_enqueue_pipe() local
276 write_index = ring->write_index; in ath11k_ce_rx_buf_enqueue_pipe()
297 ring->skb[write_index] = skb; in ath11k_ce_rx_buf_enqueue_pipe()
298 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in ath11k_ce_rx_buf_enqueue_pipe()
299 ring->write_index = write_index; in ath11k_ce_rx_buf_enqueue_pipe()
693 unsigned int write_index, sw_index; in ath11k_ce_send() local
705 write_index = pipe->src_ring->write_index; in ath11k_ce_send()
709 if (write_index >= sw_index) in ath11k_ce_send()
710 num_used = write_index - sw_index; in ath11k_ce_send()
713 write_index; in ath11k_ce_send()
[all …]
Dce.h125 unsigned int write_index; member
/drivers/hv/
Dring_buffer.c74 u32 next = ring_info->ring_buffer->write_index; in hv_get_next_write_location()
84 ring_info->ring_buffer->write_index = next_write_location; in hv_set_next_write_location()
98 return (u64)ring_info->ring_buffer->write_index << 32; in hv_get_ring_bufferindices()
138 write_loc = READ_ONCE(rbi->ring_buffer->write_index); in hv_get_ringbuffer_availbytes()
166 debug_info->current_write_index = ring_info->ring_buffer->write_index; in hv_ringbuffer_get_debuginfo()
214 ring_info->ring_buffer->write_index = 0; in hv_ringbuffer_init()
433 write_loc = virt_load_acquire(&rbi->ring_buffer->write_index); in hv_pkt_iter_avail()
/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()
/drivers/gpu/drm/msm/adreno/
Da6xx_hfi.c32 if (header->read_index == header->write_index) { in a6xx_hfi_queue_read()
66 u32 i, space, index = header->write_index; in a6xx_hfi_queue_write()
70 space = CIRC_SPACE(header->write_index, header->read_index, in a6xx_hfi_queue_write()
89 header->write_index = index; in a6xx_hfi_queue_write()
598 if (queue->header->read_index != queue->header->write_index) in a6xx_hfi_stop()
602 queue->header->write_index = 0; in a6xx_hfi_stop()
627 header->write_index = 0; in a6xx_hfi_queue_init()
Da6xx_hfi.h28 u32 write_index; member
/drivers/comedi/drivers/
Dcb_pcidas64.c2679 int read_segment, read_index, write_segment, write_index; in pio_drain_ai_fifo_16() local
2686 write_index = readw(devpriv->main_iobase + ADC_WRITE_PNTR_REG) & in pio_drain_ai_fifo_16()
2708 num_samples = write_index - read_index; in pio_drain_ai_fifo_16()
/drivers/video/fbdev/
Dsh_mobile_lcdcfb.c433 .write_index = lcdc_sys_write_index,