Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/gpu/drm/i915/
Dintel_guc_log.c232 unsigned int buffer_size, read_offset, write_offset, bytes_to_copy, full_cnt; in guc_read_update_log_buffer() local
275 write_offset = log_buf_state_local.sampled_write_ptr; in guc_read_update_log_buffer()
283 log_buf_state->read_ptr = write_offset; in guc_read_update_log_buffer()
297 log_buf_snapshot_state->write_ptr = write_offset; in guc_read_update_log_buffer()
304 write_offset = buffer_size; in guc_read_update_log_buffer()
306 (write_offset > buffer_size))) { in guc_read_update_log_buffer()
310 write_offset = buffer_size; in guc_read_update_log_buffer()
314 if (read_offset > write_offset) { in guc_read_update_log_buffer()
315 i915_memcpy_from_wc(dst_data, src_data, write_offset); in guc_read_update_log_buffer()
318 bytes_to_copy = write_offset - read_offset; in guc_read_update_log_buffer()
/Linux-v4.19/arch/powerpc/platforms/cell/
Daxon_msi.c100 u32 write_offset, msi; in axon_msi_cascade() local
104 write_offset = dcr_read(msic->dcr_host, MSIC_WRITE_OFFSET_REG); in axon_msi_cascade()
105 pr_devel("axon_msi: original write_offset 0x%x\n", write_offset); in axon_msi_cascade()
108 write_offset &= MSIC_FIFO_SIZE_MASK; in axon_msi_cascade()
110 while (msic->read_offset != write_offset && retry < 100) { in axon_msi_cascade()
116 write_offset, msic->read_offset, msi); in axon_msi_cascade()
/Linux-v4.19/drivers/md/
Ddm-kcopyd.c360 sector_t write_offset; member
406 if (job->write_offset == job->master_job->write_offset) { in pop_io_job()
407 job->master_job->write_offset += job->source.count; in pop_io_job()
701 sub_job->write_offset = progress; in segment_complete()
815 job->write_offset = 0; in dm_kcopyd_copy()
/Linux-v4.19/Documentation/device-mapper/
Ddelay.txt8 <device> <offset> <delay> [<write_device> <write_offset> <write_delay>
/Linux-v4.19/drivers/mailbox/
Dbcm-flexrm-mailbox.c994 u32 read_offset, write_offset; in flexrm_new_request() local
1037 write_offset = ring->bd_write_offset; in flexrm_new_request()
1039 if (!flexrm_is_next_table_desc(ring->bd_base + write_offset)) in flexrm_new_request()
1041 write_offset += RING_DESC_SIZE; in flexrm_new_request()
1042 if (write_offset == RING_BD_SIZE) in flexrm_new_request()
1043 write_offset = 0x0; in flexrm_new_request()
1044 if (write_offset == read_offset) in flexrm_new_request()
/Linux-v4.19/kernel/
Drelay.c1040 size_t read_subbuf, read_offset, write_subbuf, write_offset; in relay_file_read_subbuf_avail() local
1044 write_offset = buf->offset > subbuf_size ? subbuf_size : buf->offset; in relay_file_read_subbuf_avail()
1050 if (read_offset + padding < write_offset) in relay_file_read_subbuf_avail()
1051 avail = write_offset - (read_offset + padding); in relay_file_read_subbuf_avail()
/Linux-v4.19/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c1412 u32 packet_size, write_offset; in atl1e_clean_rx_irq() local
1415 write_offset = *(rx_page->write_offset_addr); in atl1e_clean_rx_irq()
1416 if (likely(rx_page->read_offset < write_offset)) { in atl1e_clean_rx_irq()
1500 write_offset = *(rx_page->write_offset_addr); in atl1e_clean_rx_irq()
1501 } while (rx_page->read_offset < write_offset); in atl1e_clean_rx_irq()
/Linux-v4.19/drivers/net/ethernet/emulex/benet/
Dbe_cmds.h1475 u32 write_offset; member
Dbe_cmds.c2379 req->write_offset = cpu_to_le32(data_offset); in lancer_cmd_write_object()
/Linux-v4.19/drivers/scsi/lpfc/
Dlpfc_hw4.h3795 uint32_t write_offset; member
Dlpfc_sli.c18907 wr_object->u.request.write_offset = *offset; in lpfc_wr_object()