/openbmc/linux/arch/powerpc/platforms/cell/ |
H A D | axon_msi.c | 97 u32 write_offset, msi; in axon_msi_cascade() local 101 write_offset = dcr_read(msic->dcr_host, MSIC_WRITE_OFFSET_REG); in axon_msi_cascade() 102 pr_devel("axon_msi: original write_offset 0x%x\n", write_offset); in axon_msi_cascade() 105 write_offset &= MSIC_FIFO_SIZE_MASK; in axon_msi_cascade() 107 while (msic->read_offset != write_offset && retry < 100) { in axon_msi_cascade() 113 write_offset, msic->read_offset, msi); in axon_msi_cascade()
|
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_log.c | 377 unsigned int buffer_size, read_offset, write_offset, bytes_to_copy, full_cnt; in _guc_log_copy_debuglogs_for_relay() local 422 write_offset = log_buf_state_local.sampled_write_ptr; in _guc_log_copy_debuglogs_for_relay() 430 log_buf_state->read_ptr = write_offset; in _guc_log_copy_debuglogs_for_relay() 444 log_buf_snapshot_state->write_ptr = write_offset; in _guc_log_copy_debuglogs_for_relay() 451 write_offset = buffer_size; in _guc_log_copy_debuglogs_for_relay() 453 (write_offset > buffer_size))) { in _guc_log_copy_debuglogs_for_relay() 457 write_offset = buffer_size; in _guc_log_copy_debuglogs_for_relay() 461 if (read_offset > write_offset) { in _guc_log_copy_debuglogs_for_relay() 462 i915_memcpy_from_wc(dst_data, src_data, write_offset); in _guc_log_copy_debuglogs_for_relay() 465 bytes_to_copy = write_offset - read_offset; in _guc_log_copy_debuglogs_for_relay()
|
H A D | intel_guc_capture.c | 1299 unsigned int buffer_size, read_offset, write_offset, full_count; in __guc_capture_process_output() local 1321 write_offset = log_buf_state_local.sampled_write_ptr; in __guc_capture_process_output() 1333 write_offset = buffer_size; in __guc_capture_process_output() 1335 (write_offset > buffer_size))) { in __guc_capture_process_output() 1340 write_offset = buffer_size; in __guc_capture_process_output() 1345 buf.wr = write_offset; in __guc_capture_process_output() 1355 log_buf_state->read_ptr = write_offset; in __guc_capture_process_output()
|
/openbmc/linux/drivers/iommu/ |
H A D | virtio-iommu.c | 86 unsigned int write_offset; member 175 write_len = req->len - req->write_offset; in __viommu_sync_req() 177 memcpy(req->writeback, req->buf + req->write_offset, in __viommu_sync_req() 221 off_t write_offset; in __viommu_add_req() local 229 write_offset = viommu_get_write_desc_offset(viommu, buf, len); in __viommu_add_req() 230 if (write_offset <= 0) in __viommu_add_req() 239 req->writeback = buf + write_offset; in __viommu_add_req() 240 req->write_offset = write_offset; in __viommu_add_req() 242 memcpy(&req->buf, buf, write_offset); in __viommu_add_req() 244 sg_init_one(&top_sg, req->buf, write_offset); in __viommu_add_req() [all …]
|
/openbmc/linux/drivers/md/ |
H A D | dm-kcopyd.c | 386 sector_t write_offset; member 433 if (job->write_offset == job->master_job->write_offset) { in pop_io_job() 434 job->master_job->write_offset += job->source.count; in pop_io_job() 733 sub_job->write_offset = progress; in segment_complete() 847 job->write_offset = 0; in dm_kcopyd_copy()
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-meson.c | 274 unsigned int write_offset, write_size; in meson_rtc_regmem_write() local 276 write_offset = RTC_REGMEM_0 + (offset / 4); in meson_rtc_regmem_write() 279 return regmap_bulk_write(rtc->serial, write_offset, buf, write_size); in meson_rtc_regmem_write()
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | delay.rst | 10 <device> <offset> <delay> [<write_device> <write_offset> <write_delay>
|
/openbmc/linux/drivers/mailbox/ |
H A D | bcm-flexrm-mailbox.c | 982 u32 read_offset, write_offset; in flexrm_new_request() local 1025 write_offset = ring->bd_write_offset; in flexrm_new_request() 1027 if (!flexrm_is_next_table_desc(ring->bd_base + write_offset)) in flexrm_new_request() 1029 write_offset += RING_DESC_SIZE; in flexrm_new_request() 1030 if (write_offset == RING_BD_SIZE) in flexrm_new_request() 1031 write_offset = 0x0; in flexrm_new_request() 1032 if (write_offset == read_offset) in flexrm_new_request()
|
/openbmc/linux/kernel/ |
H A D | relay.c | 960 size_t read_subbuf, read_offset, write_subbuf, write_offset; in relay_file_read_subbuf_avail() local 964 write_offset = buf->offset > subbuf_size ? subbuf_size : buf->offset; in relay_file_read_subbuf_avail() 970 if (read_offset + padding < write_offset) in relay_file_read_subbuf_avail() 971 avail = write_offset - (read_offset + padding); in relay_file_read_subbuf_avail()
|
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 1406 u32 packet_size, write_offset; in atl1e_clean_rx_irq() local 1409 write_offset = *(rx_page->write_offset_addr); in atl1e_clean_rx_irq() 1410 if (likely(rx_page->read_offset < write_offset)) { in atl1e_clean_rx_irq() 1494 write_offset = *(rx_page->write_offset_addr); in atl1e_clean_rx_irq() 1495 } while (rx_page->read_offset < write_offset); in atl1e_clean_rx_irq()
|
/openbmc/linux/drivers/bus/mhi/ep/ |
H A D | main.c | 390 size_t tr_len, read_offset, write_offset; in mhi_ep_read_channel() local 423 write_offset = len - buf_left; in mhi_ep_read_channel() 430 buf_info.dev_addr = buf_addr + write_offset; in mhi_ep_read_channel()
|
/openbmc/linux/drivers/spmi/ |
H A D | spmi-pmic-arb.c | 514 u32 read_cmd, read_offset, write_cmd, write_offset; in pmic_arb_masked_write() local 525 len, &write_cmd, &write_offset); in pmic_arb_masked_write() 538 rc = pmic_arb_write_cmd_unlocked(ctrl, write_cmd, write_offset, sid, in pmic_arb_masked_write()
|
/openbmc/qemu/block/ |
H A D | vmdk.c | 1839 int64_t write_offset; in vmdk_write_extent() local 1886 write_offset = cluster_offset + offset_in_cluster; in vmdk_write_extent() 1887 ret = bdrv_co_pwritev(extent->file, write_offset, n_bytes, in vmdk_write_extent() 1890 write_end_sector = DIV_ROUND_UP(write_offset + n_bytes, BDRV_SECTOR_SIZE); in vmdk_write_extent()
|
/openbmc/linux/drivers/net/ethernet/emulex/benet/ |
H A D | be_cmds.h | 1471 u32 write_offset; member
|
H A D | be_cmds.c | 2376 req->write_offset = cpu_to_le32(data_offset); in lancer_cmd_write_object()
|
/openbmc/linux/drivers/scsi/elx/libefc_sli/ |
H A D | sli4.h | 3191 __le32 write_offset; member
|
H A D | sli4.c | 3806 wr_obj->write_offset = cpu_to_le32(offset); in sli_cmd_common_write_object()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_hw4.h | 3941 uint32_t write_offset; member
|
H A D | lpfc_sli.c | 20951 wr_object->u.request.write_offset = *offset; in lpfc_wr_object()
|