Lines Matching +full:device +full:- +full:unique
1 /* SPDX-License-Identifier: GPL-2.0 */
17 * DOC: Nitro Enclaves (NE) PCI device
21 * PCI_DEVICE_ID_NE - Nitro Enclaves PCI device id.
25 * PCI_BAR_NE - Nitro Enclaves PCI device MMIO BAR.
30 * DOC: Device registers in the NE PCI device MMIO BAR
34 * NE_ENABLE - (1 byte) Register to notify the device that the driver is using
42 * NE_VERSION - (2 bytes) Register to select the device run-time version
49 * NE_COMMAND - (4 bytes) Register to notify the device what command was
50 * requested (Write-Only).
55 * NE_EVTCNT - (4 bytes) Register to notify the driver that a reply or a device
56 * event is available (Read-Only):
57 * - Lower half - command reply counter
58 * - Higher half - out-of-band device event counter
71 * NE_SEND_DATA - (240 bytes) Buffer for sending the command request payload
77 * NE_RECV_DATA - (240 bytes) Buffer for receiving the command reply payload
78 * (Read-Only).
83 * DOC: Device MMIO buffer sizes
87 * NE_SEND_DATA_SIZE / NE_RECV_DATA_SIZE - 240 bytes for send / recv buffer.
93 * DOC: MSI-X interrupt vectors
97 * NE_VEC_REPLY - MSI-X vector used for command reply notification.
102 * NE_VEC_EVENT - MSI-X vector used for out-of-band events e.g. enclave crash.
107 * enum ne_pci_dev_cmd_type - Device command types.
139 * DOC: Device commands - payload structure for requests and replies.
143 * struct enclave_start_req - ENCLAVE_START request.
144 * @slot_uid: Slot unique id mapped to the enclave to start.
145 * @enclave_cid: Context ID (CID) for the enclave vsock device.
156 * struct enclave_get_slot_req - ENCLAVE_GET_SLOT request.
157 * @enclave_cid: Context ID (CID) for the enclave vsock device.
164 * struct enclave_stop_req - ENCLAVE_STOP request.
165 * @slot_uid: Slot unique id mapped to the enclave to stop.
172 * struct slot_alloc_req - SLOT_ALLOC request.
180 * struct slot_free_req - SLOT_FREE request.
181 * @slot_uid: Slot unique id mapped to the slot to free.
189 * struct slot_add_mem_req - SLOT_ADD_MEM request.
190 * @slot_uid: Slot unique id mapped to the slot to add the memory region to.
201 * struct slot_add_vcpu_req - SLOT_ADD_VCPU request.
202 * @slot_uid: Slot unique id mapped to the slot to add the vCPU to.
213 * struct slot_count_req - SLOT_COUNT request.
221 * struct next_slot_req - NEXT_SLOT request.
222 * @slot_uid: Slot unique id of the next slot in the iteration.
229 * struct slot_info_req - SLOT_INFO request.
230 * @slot_uid: Slot unique id mapped to the slot to get information about.
237 * struct slot_add_bulk_vcpus_req - SLOT_ADD_BULK_VCPUS request.
238 * @slot_uid: Slot unique id mapped to the slot to add vCPUs to.
247 * struct ne_pci_dev_cmd_reply - NE PCI device command reply.
275 * struct ne_pci_dev - Nitro Enclaves (NE) PCI device.
277 * PCI device.
279 * PCI device.
280 * @enclaves_list: List of the enclaves managed by the PCI device.
282 * @event_wq: Work queue for handling out-of-band events
286 * @iomem_base : MMIO region of the PCI device.
287 * @notify_work: Work item for every received out-of-band event.
288 * @pci_dev_mutex: Mutex for accessing the PCI device MMIO space.
289 * @pdev: PCI device data structure.
304 * ne_do_request() - Submit command request to the PCI device based on the command
306 * @pdev: PCI device to send the command to and receive the reply from.
307 * @cmd_type: Command type of the request sent to the PCI device.
324 /* Nitro Enclaves (NE) PCI device driver */