Home
last modified time | relevance | path

Searched refs:src_data (Results 1 – 25 of 56) sorted by relevance

123

/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_trace.h89 __array(unsigned, src_data, 4)
101 __entry->src_data[0] = iv->src_data[0];
102 __entry->src_data[1] = iv->src_data[1];
103 __entry->src_data[2] = iv->src_data[2];
104 __entry->src_data[3] = iv->src_data[3];
111 __entry->src_data[0], __entry->src_data[1],
112 __entry->src_data[2], __entry->src_data[3])
H A Damdgpu_ih.c278 entry->src_data[0] = dw[4]; in amdgpu_ih_decode_iv_helper()
279 entry->src_data[1] = dw[5]; in amdgpu_ih_decode_iv_helper()
280 entry->src_data[2] = dw[6]; in amdgpu_ih_decode_iv_helper()
281 entry->src_data[3] = dw[7]; in amdgpu_ih_decode_iv_helper()
H A Dvce_v2_0.c564 switch (entry->src_data[0]) { in vce_v2_0_process_interrupt()
567 amdgpu_fence_process(&adev->vce.ring[entry->src_data[0]]); in vce_v2_0_process_interrupt()
571 entry->src_id, entry->src_data[0]); in vce_v2_0_process_interrupt()
H A Damdgpu_irq.h57 unsigned src_data[AMDGPU_IRQ_SRC_DATA_MAX_SIZE_DW]; member
H A Damdgpu_ttm.h177 uint32_t src_data,
H A Dsi_ih.c146 entry->src_data[0] = dw[1] & 0xfffffff; in si_ih_decode_iv()
H A Dcik_ih.c263 entry->src_data[0] = dw[1] & 0xfffffff; in cik_ih_decode_iv()
H A Dvce_v4_0.c1061 switch (entry->src_data[0]) { in vce_v4_0_process_interrupt()
1065 amdgpu_fence_process(&adev->vce.ring[entry->src_data[0]]); in vce_v4_0_process_interrupt()
1069 entry->src_id, entry->src_data[0]); in vce_v4_0_process_interrupt()
H A Dsi_dma.c797 uint32_t src_data, in si_dma_emit_fill_buffer() argument
804 ib->ptr[ib->length_dw++] = src_data; in si_dma_emit_fill_buffer()
H A Dgmc_v11_0.c109 addr = (u64)entry->src_data[0] << 12; in gmc_v11_0_process_interrupt()
110 addr |= ((u64)entry->src_data[1] & 0xf) << 44; in gmc_v11_0_process_interrupt()
H A Dgmc_v12_0.c97 addr = (u64)entry->src_data[0] << 12; in gmc_v12_0_process_interrupt()
98 addr |= ((u64)entry->src_data[1] & 0xf) << 44; in gmc_v12_0_process_interrupt()
H A Diceland_ih.c253 entry->src_data[0] = dw[1] & 0xfffffff; in iceland_ih_decode_iv()
H A Dcz_ih.c254 entry->src_data[0] = dw[1] & 0xfffffff; in cz_ih_decode_iv()
H A Dtonga_ih.c257 entry->src_data[0] = dw[1] & 0xfffffff; in tonga_ih_decode_iv()
H A Djpeg_v3_0.c528 entry->src_id, entry->src_data[0]); in jpeg_v3_0_process_interrupt()
H A Damdgpu_ttm.c2219 static int amdgpu_ttm_fill_mem(struct amdgpu_ring *ring, uint32_t src_data, in amdgpu_ttm_fill_mem() argument
2243 amdgpu_emit_fill_buffer(adev, &job->ibs[0], src_data, dst_addr, in amdgpu_ttm_fill_mem()
2322 uint32_t src_data, in amdgpu_fill_buffer() argument
2353 r = amdgpu_ttm_fill_mem(ring, src_data, to, cur_size, resv, in amdgpu_fill_buffer()
/linux/fs/bcachefs/
H A Dcompress.c155 struct bbuf src_data = { NULL }; in __bio_uncompress() local
161 src_data = bio_map_or_bounce(c, src, READ); in __bio_uncompress()
166 ret = LZ4_decompress_safe_partial(src_data.b, dst_data, in __bio_uncompress()
173 .next_in = src_data.b, in __bio_uncompress()
193 size_t real_src_len = le32_to_cpup(src_data.b); in __bio_uncompress()
203 src_data.b + 4, real_src_len); in __bio_uncompress()
216 bio_unmap_or_unbounce(c, src_data); in __bio_uncompress()
390 struct bbuf src_data = { NULL }, dst_data = { NULL }; in __bio_compress() local
405 src_data = bio_map_or_bounce(c, src, READ); in __bio_compress()
424 src_data.b, *src_len, in __bio_compress()
[all …]
/linux/drivers/interconnect/
H A Dcore.c462 struct icc_node_data *src_data, *dst_data; in of_icc_get_by_index() local
500 src_data = of_icc_get_from_provider(&src_args); in of_icc_get_by_index()
502 if (IS_ERR(src_data)) { in of_icc_get_by_index()
503 dev_err_probe(dev, PTR_ERR(src_data), "error finding src node\n"); in of_icc_get_by_index()
504 return ERR_CAST(src_data); in of_icc_get_by_index()
511 kfree(src_data); in of_icc_get_by_index()
516 path = path_find(dev, src_data->node, dst_data->node); in of_icc_get_by_index()
523 if (src_data->tag && src_data->tag == dst_data->tag) in of_icc_get_by_index()
524 icc_set_tag(path, src_data->tag); in of_icc_get_by_index()
527 src_data->node->name, dst_data->node->name); in of_icc_get_by_index()
[all …]
/linux/include/linux/
H A Diommu.h423 void *dst_data, const struct iommu_user_data *src_data, in __iommu_copy_struct_from_user() argument
426 if (src_data->type != data_type) in __iommu_copy_struct_from_user()
428 if (WARN_ON(!dst_data || !src_data)) in __iommu_copy_struct_from_user()
430 if (src_data->len < min_len || data_len < src_data->len) in __iommu_copy_struct_from_user()
432 return copy_struct_from_user(dst_data, data_len, src_data->uptr, in __iommu_copy_struct_from_user()
433 src_data->len); in __iommu_copy_struct_from_user()
469 struct iommu_user_data src_data; in __iommu_copy_struct_from_user_array() local
475 src_data.uptr = src_array->uptr + src_array->entry_len * index; in __iommu_copy_struct_from_user_array()
476 src_data.len = src_array->entry_len; in __iommu_copy_struct_from_user_array()
477 src_data.type = src_array->type; in __iommu_copy_struct_from_user_array()
[all …]
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_log.c381 void *src_data, *dst_data; in _guc_log_copy_debuglogs_for_relay() local
390 src_data = log->buf_addr; in _guc_log_copy_debuglogs_for_relay()
391 log_buf_state = src_data; in _guc_log_copy_debuglogs_for_relay()
408 src_data += PAGE_SIZE; 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()
468 src_data + read_offset, bytes_to_copy); in _guc_log_copy_debuglogs_for_relay()
470 src_data += buffer_size; in _guc_log_copy_debuglogs_for_relay()
H A Dintel_guc_capture.c783 u32 *src_data; in guc_capture_log_remove_dw() local
791 src_data = (u32 *)(buf->data + buf->rd); in guc_capture_log_remove_dw()
792 *dw = *src_data; in guc_capture_log_remove_dw()
1300 void *src_data = NULL; in __guc_capture_process_output() local
1306 src_data = guc->log.buf_addr + in __guc_capture_process_output()
1342 buf.data = src_data; in __guc_capture_process_output()
/linux/drivers/media/platform/renesas/
H A Drcar_fdp1.c1512 struct fdp1_q_data *src_data = &ctx->out_q; in fdp1_try_fmt_capture() local
1528 colorspace = src_data->format.colorspace; in fdp1_try_fmt_capture()
1530 ycbcr_enc = src_data->format.ycbcr_enc; in fdp1_try_fmt_capture()
1534 quantization = src_data->format.quantization; in fdp1_try_fmt_capture()
1560 pix->colorspace = src_data->format.colorspace; in fdp1_try_fmt_capture()
1561 pix->xfer_func = src_data->format.xfer_func; in fdp1_try_fmt_capture()
1567 pix->ycbcr_enc = src_data->format.ycbcr_enc; in fdp1_try_fmt_capture()
1568 pix->quantization = src_data->format.quantization; in fdp1_try_fmt_capture()
1576 pix->width = src_data->format.width; in fdp1_try_fmt_capture()
1577 if (src_data->format.field == V4L2_FIELD_ALTERNATE) in fdp1_try_fmt_capture()
[all …]
/linux/drivers/gpu/drm/radeon/
H A Devergreen.c4708 u32 src_id, src_data; in evergreen_irq_process() local
4740 src_data = le32_to_cpu(rdev->ih.ring[ring_index + 1]) & 0xfffffff; in evergreen_irq_process()
4751 if (src_data == 0) { /* vblank */ in evergreen_irq_process()
4765 } else if (src_data == 1) { /* vline */ in evergreen_irq_process()
4770 src_id, src_data); in evergreen_irq_process()
4794 if (src_data <= 5) { in evergreen_irq_process()
4795 hpd_idx = src_data; in evergreen_irq_process()
4800 } else if (src_data <= 11) { in evergreen_irq_process()
4801 hpd_idx = src_data - 6; in evergreen_irq_process()
4808 src_id, src_data); in evergreen_irq_process()
[all...]
H A Dcik.c7544 u32 src_id, src_data, ring_id; in cik_irq_process() local
7577 src_data = le32_to_cpu(rdev->ih.ring[ring_index + 1]) & 0xfffffff; in cik_irq_process()
7582 switch (src_data) { in cik_irq_process()
7607 DRM_DEBUG("Unhandled interrupt: %d %d\n", src_id, src_data); in cik_irq_process()
7612 switch (src_data) { in cik_irq_process()
7637 DRM_DEBUG("Unhandled interrupt: %d %d\n", src_id, src_data); in cik_irq_process()
7642 switch (src_data) { in cik_irq_process()
7667 DRM_DEBUG("Unhandled interrupt: %d %d\n", src_id, src_data); in cik_irq_process()
7672 switch (src_data) { in cik_irq_process()
7697 DRM_DEBUG("Unhandled interrupt: %d %d\n", src_id, src_data); in cik_irq_process()
[all...]
H A Dsi.c6232 u32 src_id, src_data, ring_id; in si_irq_process() local
6263 src_data = le32_to_cpu(rdev->ih.ring[ring_index + 1]) & 0xfffffff; in si_irq_process()
6275 if (src_data == 0) { /* vblank */ in si_irq_process()
6289 } else if (src_data == 1) { /* vline */ in si_irq_process()
6294 src_id, src_data); in si_irq_process()
6318 if (src_data <= 5) { in si_irq_process()
6319 hpd_idx = src_data; in si_irq_process()
6324 } else if (src_data <= 11) { in si_irq_process()
6325 hpd_idx = src_data - 6; in si_irq_process()
6332 src_id, src_data); in si_irq_process()
[all...]

123