Home
last modified time | relevance | path

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

/drivers/net/wireless/ath/ath10k/
Dce.c280 unsigned int write_index = src_ring->write_index; in ath10k_ce_send_nolock() local
290 write_index, sw_index - 1) <= 0)) { in ath10k_ce_send_nolock()
296 write_index); in ath10k_ce_send_nolock()
311 src_ring->per_transfer_context[write_index] = per_transfer_context; in ath10k_ce_send_nolock()
314 write_index = CE_RING_IDX_INCR(nentries_mask, write_index); in ath10k_ce_send_nolock()
318 ath10k_ce_src_ring_write_index_set(ar, ctrl_addr, write_index); in ath10k_ce_send_nolock()
320 src_ring->write_index = write_index; in ath10k_ce_send_nolock()
339 if (WARN_ON_ONCE(src_ring->write_index == src_ring->sw_index)) in __ath10k_ce_send_revert()
342 if (WARN_ON_ONCE(src_ring->write_index == in __ath10k_ce_send_revert()
346 src_ring->write_index--; in __ath10k_ce_send_revert()
[all …]
Dce.h73 unsigned int write_index; member
Dpci.c1261 unsigned int write_index; in ath10k_pci_hif_tx_sg() local
1268 write_index = src_ring->write_index; in ath10k_pci_hif_tx_sg()
1271 write_index, sw_index - 1) < n_items)) { in ath10k_pci_hif_tx_sg()
/drivers/staging/media/lirc/
Dlirc_bt829.c36 static void write_index(unsigned char index, unsigned int value);
46 static void write_index(unsigned char ah, unsigned int edx);
345 write_index(0x34, reg_val); in do_set_bits()
354 write_index(0x31, reg_val); in do_set_bits()
365 write_index(0x34, reg_val); in do_get_bits()
391 static void write_index(unsigned char index, unsigned int reg_val) in write_index() function
/drivers/hv/
Dring_buffer.c111 u32 write_loc = rbi->ring_buffer->write_index; in hv_need_to_signal_on_read()
140 u32 next = ring_info->ring_buffer->write_index; in hv_get_next_write_location()
155 ring_info->ring_buffer->write_index = next_write_location; in hv_set_next_write_location()
239 return (u64)ring_info->ring_buffer->write_index << 32; in hv_get_ring_bufferindices()
334 ring_info->ring_buffer->write_index; in hv_ringbuffer_get_debuginfo()
357 ring_info->ring_buffer->write_index = 0; in hv_ringbuffer_init()
/drivers/s390/char/
Dmonreader.c50 unsigned int write_index; member
257 memcpy(&monpriv->msg_array[monpriv->write_index]->msg, in mon_iucv_message_pending()
261 monpriv->msg_array[monpriv->write_index]->msglim_reached = 1; in mon_iucv_message_pending()
263 monpriv->write_index = (monpriv->write_index + 1) % MON_MSGLIM; in mon_iucv_message_pending()
354 monpriv->write_index = 0; in mon_close()
480 monpriv->write_index = 0; in monreader_freeze()
/drivers/staging/comedi/drivers/
Dcb_pcidas64.c2695 int read_segment, read_index, write_segment, write_index; in pio_drain_ai_fifo_16() local
2702 write_index = readw(devpriv->main_iobase + ADC_WRITE_PNTR_REG) & in pio_drain_ai_fifo_16()
2724 num_samples = write_index - read_index; in pio_drain_ai_fifo_16()