/linux-6.6.21/drivers/accel/ivpu/ |
D | ivpu_fw_log.c | 98 u32 log_start = log->read_index; 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()
|
D | vpu_boot_api.h | 303 u32 read_index; member
|
/linux-6.6.21/drivers/s390/char/ |
D | monreader.c | 51 unsigned int read_index; member 158 monpriv->read_index = (monpriv->read_index + 1) % in mon_send_reply() 212 monmsg = monpriv->msg_array[monpriv->read_index]; in mon_next_message() 218 monpriv->read_index = (monpriv->read_index + 1) % in mon_next_message() 352 monpriv->read_index = 0; in mon_close() 383 monmsg = monpriv->msg_array[monpriv->read_index]; in mon_read()
|
/linux-6.6.21/drivers/hv/ |
D | ring_buffer.c | 66 if (old_write == READ_ONCE(rbi->ring_buffer->read_index)) { in hv_signal_on_write() 139 read_loc = READ_ONCE(rbi->ring_buffer->read_index); in hv_get_ringbuffer_availbytes() 167 debug_info->current_read_index = ring_info->ring_buffer->read_index; in hv_ringbuffer_get_debuginfo() 222 ring_info->ring_buffer->read_index = in hv_ringbuffer_init() 582 start_read_index = rbi->ring_buffer->read_index; in hv_pkt_iter_close() 583 rbi->ring_buffer->read_index = rbi->priv_read_index; in hv_pkt_iter_close()
|
/linux-6.6.21/drivers/net/ethernet/sfc/ |
D | ef100_rep.c | 396 unsigned int read_index; in efx_ef100_rep_poll() local 405 read_index = efv->write_index; in efx_ef100_rep_poll() 418 efv->read_index = read_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()
|
D | ef100_rep.h | 52 unsigned int write_index, read_index; member
|
D | rx_common.c | 87 unsigned int read_index = rx_queue->page_remove & in efx_recycle_rx_page() local 94 if (read_index == index) in efx_recycle_rx_page()
|
/linux-6.6.21/drivers/gpu/drm/msm/adreno/ |
D | a6xx_hfi.c | 30 u32 i, hdr, index = header->read_index; in a6xx_hfi_queue_read() 32 if (header->read_index == header->write_index) { in a6xx_hfi_queue_read() 60 header->read_index = index; in a6xx_hfi_queue_read() 72 space = CIRC_SPACE(header->write_index, header->read_index, in a6xx_hfi_queue_write() 696 if (queue->header->read_index != queue->header->write_index) in a6xx_hfi_stop() 699 queue->header->read_index = 0; in a6xx_hfi_stop() 730 header->read_index = 0; in a6xx_hfi_queue_init()
|
D | a6xx_hfi.h | 27 u32 read_index; member
|
/linux-6.6.21/drivers/i2c/busses/ |
D | i2c-eg20t.c | 551 int read_index; in pch_i2c_readbytes() local 556 for (loop = 1, read_index = 0; loop < length; loop++) { in pch_i2c_readbytes() 557 buf[read_index] = ioread32(p + PCH_I2CDR); in pch_i2c_readbytes() 560 read_index++; in pch_i2c_readbytes() 569 buf[read_index] = ioread32(p + PCH_I2CDR); /* Read final - 1 */ in pch_i2c_readbytes() 572 read_index++; in pch_i2c_readbytes() 583 buf[read_index++] = ioread32(p + PCH_I2CDR); /* Read Final */ in pch_i2c_readbytes() 584 count = read_index; in pch_i2c_readbytes()
|
/linux-6.6.21/drivers/net/wireless/ath/ath10k/ |
D | ce.c | 1010 unsigned int read_index; in _ath10k_ce_completed_send_next_nolock() local 1022 read_index = ath10k_ce_src_ring_read_index_get(ar, ctrl_addr); in _ath10k_ce_completed_send_next_nolock() 1023 if (read_index == 0xffffffff) in _ath10k_ce_completed_send_next_nolock() 1026 read_index &= nentries_mask; in _ath10k_ce_completed_send_next_nolock() 1027 src_ring->hw_index = read_index; in _ath10k_ce_completed_send_next_nolock() 1031 read_index = ath10k_ce_src_ring_read_index_get(ar, ctrl_addr); in _ath10k_ce_completed_send_next_nolock() 1033 read_index = src_ring->hw_index; in _ath10k_ce_completed_send_next_nolock() 1035 if (read_index == sw_index) in _ath10k_ce_completed_send_next_nolock() 1063 unsigned int read_index; in _ath10k_ce_completed_send_next_nolock_64() local 1075 read_index = ath10k_ce_src_ring_read_index_get(ar, ctrl_addr); in _ath10k_ce_completed_send_next_nolock_64() [all …]
|
/linux-6.6.21/sound/soc/codecs/ |
D | wm_adsp.c | 158 int read_index; member 1474 buf->read_index = -1; in wm_adsp_buffer_clear() 1761 int write_index, read_index, avail; in wm_adsp_buffer_update_avail() local 1765 if (buf->read_index < 0) { in wm_adsp_buffer_update_avail() 1772 read_index = sign_extend32(next_read_index, 23); in wm_adsp_buffer_update_avail() 1774 if (read_index < 0) { in wm_adsp_buffer_update_avail() 1779 buf->read_index = read_index; in wm_adsp_buffer_update_avail() 1789 avail = write_index - buf->read_index; in wm_adsp_buffer_update_avail() 1794 buf->read_index, write_index, avail * CS_DSP_DATA_WORD_SIZE); in wm_adsp_buffer_update_avail() 1934 if (buf->read_index < buf->regions[i].cumulative_size) in wm_adsp_buffer_capture_block() [all …]
|
/linux-6.6.21/drivers/misc/ibmasm/ |
D | remote.h | 97 #define get_queue_entry(sp, read_index) \ argument 98 ((void*)(queue_begin + read_index * sizeof(struct remote_input)))
|
/linux-6.6.21/drivers/usb/misc/ |
D | iowarrior.c | 261 static int read_index(struct iowarrior *dev) in read_index() function 298 if ((read_idx = read_index(dev)) == -1) { in iowarrior_read() 307 read_index in iowarrior_read() 692 if (read_index(dev) != -1) in iowarrior_poll()
|
/linux-6.6.21/include/linux/ |
D | hyperv.h | 118 u32 read_index; member 196 read_loc = rbi->ring_buffer->read_index; in hv_get_bytes_to_read() 210 read_loc = READ_ONCE(rbi->ring_buffer->read_index); in hv_get_bytes_to_write()
|
/linux-6.6.21/drivers/net/ethernet/sfc/falcon/ |
D | rx.c | 258 unsigned read_index = rx_queue->page_remove & in ef4_recycle_rx_page() local 265 if (read_index == index) in ef4_recycle_rx_page()
|
/linux-6.6.21/drivers/net/ethernet/sfc/siena/ |
D | rx_common.c | 90 unsigned int read_index = rx_queue->page_remove & in efx_recycle_rx_page() local 97 if (read_index == index) in efx_recycle_rx_page()
|
/linux-6.6.21/drivers/comedi/drivers/ |
D | cb_pcidas64.c | 2678 int read_segment, read_index, write_segment, write_index; in pio_drain_ai_fifo_16() local 2683 read_index = readw(devpriv->main_iobase + ADC_READ_PNTR_REG) & in pio_drain_ai_fifo_16() 2705 devpriv->ai_fifo_segment_length - read_index; in pio_drain_ai_fifo_16() 2707 num_samples = write_index - read_index; in pio_drain_ai_fifo_16()
|
/linux-6.6.21/fs/jfs/ |
D | jfs_dtree.c | 536 static int read_index(struct inode *ip, u32 index, in read_index() function 2763 rc = read_index(ip, dir_index, &dirtab_slot); in jfs_readdir()
|