Searched refs:write_index (Results 1 – 13 of 13) sorted by relevance
/drivers/net/wireless/ath/ath10k/ |
D | ce.c | 500 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 …]
|
D | ce.h | 78 unsigned int write_index; member
|
D | pci.c | 1359 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/ |
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 …]
|
D | ce.h | 126 unsigned int write_index; member
|
/drivers/hv/ |
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() 245 ring_info->ring_buffer->write_index = 0; in hv_ringbuffer_init() 472 write_loc = virt_load_acquire(&rbi->ring_buffer->write_index); in hv_pkt_iter_avail()
|
/drivers/s390/char/ |
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()
|
/drivers/gpu/drm/msm/adreno/ |
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() 663 if (queue->header->read_index != queue->header->write_index) in a6xx_hfi_stop() 667 queue->header->write_index = 0; in a6xx_hfi_stop() 698 header->write_index = 0; in a6xx_hfi_queue_init()
|
D | a6xx_hfi.h | 28 u32 write_index; member
|
/drivers/net/ethernet/sfc/ |
D | ef100_rep.c | 356 read_index = efv->write_index; in efx_ef100_rep_poll() 375 need_resched = efv->write_index != read_index; in efx_ef100_rep_poll() 392 if (efv->write_index - READ_ONCE(efv->read_index) > efv->rx_pring_size) { in efx_ef100_rep_rx_packet() 425 primed = efv->read_index == efv->write_index; in efx_ef100_rep_rx_packet() 427 efv->write_index++; in efx_ef100_rep_rx_packet()
|
D | ef100_rep.h | 49 unsigned int write_index, read_index; member
|
/drivers/comedi/drivers/ |
D | cb_pcidas64.c | 2678 int read_segment, read_index, write_segment, write_index; in pio_drain_ai_fifo_16() local 2685 write_index = readw(devpriv->main_iobase + ADC_WRITE_PNTR_REG) & in pio_drain_ai_fifo_16() 2707 num_samples = write_index - read_index; in pio_drain_ai_fifo_16()
|
/drivers/video/fbdev/ |
D | sh_mobile_lcdcfb.c | 433 .write_index = lcdc_sys_write_index,
|