Lines Matching +full:device +full:- +full:handle

1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note
3 * Copyright (c) 2019-2020, The Linux Foundation. All rights reserved.
4 * Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
55 * struct qaic_manage_trans_hdr - Header for a transaction in a manage message.
65 * struct qaic_manage_trans_passthrough - Defines a passthrough transaction.
68 * encode in little endian and align/pad to 64-bit.
76 * struct qaic_manage_trans_dma_xfer - Defines a DMA transfer transaction.
81 * @addr: In. Address of the data to DMA to the device.
82 * @size: In. Length of the data to DMA to the device.
93 * struct qaic_manage_trans_activate_to_dev - Defines an activate request.
97 * @options: In. Device specific options for this activate.
109 * struct qaic_manage_trans_activate_from_dev - Defines an activate response.
111 * @status: Out. Return code of the request from the device.
113 * @options: Out. Device specific options for this activate.
123 * struct qaic_manage_trans_deactivate - Defines a deactivate request.
135 * struct qaic_manage_trans_status_to_dev - Defines a status request.
143 * struct qaic_manage_trans_status_from_dev - Defines a status response.
147 * @status: Out. Return code from device.
148 * @status_flags: Out. Flags from device. Bit 0 indicates if CRCs are required.
159 * struct qaic_manage_msg - Defines a message to the device.
171 * struct qaic_create_bo - Defines a request to create a buffer object.
173 * @handle: Out. GEM handle for the BO.
178 __u32 handle; member
183 * struct qaic_mmap_bo - Defines a request to prepare a BO for mmap().
184 * @handle: In. Handle of the GEM BO to prepare for mmap().
189 __u32 handle; member
195 * struct qaic_sem - Defines a semaphore command for a BO slice.
213 * struct qaic_attach_slice_entry - Defines a single BO slice.
219 * @dev_addr: In. Device address this slice pushes to or pulls from.
222 * @db_len: In. Size of the doorbell data in bits - 32, 16, or 8. 0 is for
240 * struct qaic_attach_slice_hdr - Defines metadata for a set of BO slices.
243 * @handle: In. GEM handle of the BO to slice.
245 * @size: Deprecated. This value is ignored and size of @handle is used instead.
250 __u32 handle; member
256 * struct qaic_attach_slice - Defines a set of BO slices.
266 * struct qaic_execute_entry - Defines a BO to submit to the device.
267 * @handle: In. GEM handle of the BO to commit to the device.
268 * @dir: In. Direction of data. 1 = to device, 2 = from device.
271 __u32 handle; member
276 * struct qaic_partial_execute_entry - Defines a BO to resize and submit.
277 * @handle: In. GEM handle of the BO to commit to the device.
278 * @dir: In. Direction of data. 1 = to device, 2 = from device.
284 __u32 handle; member
290 * struct qaic_execute_hdr - Defines metadata for BO submission.
300 * struct qaic_execute - Defines a list of BOs to submit to the device.
310 * struct qaic_wait - Defines a blocking wait for BO execution.
311 * @handle: In. GEM handle of the BO to wait on.
317 __u32 handle; member
324 * struct qaic_perf_stats_hdr - Defines metadata for getting BO perf info.
336 * struct qaic_perf_stats - Defines a request for getting BO perf info.
346 * struct qaic_perf_stats_entry - Defines a BO perf info.
347 * @handle: In. GEM handle of the BO to get perf stats for.
353 * @device_latency_us: Out. Time taken by the device to execute this BO.
357 __u32 handle; member
366 * struct qaic_detach_slice - Detaches slicing configuration from BO.
367 * @handle: In. GEM handle of the BO to detach slicing configuration.
371 __u32 handle; member