| 1 | /* |
| 2 | * Call Logical Processor (CLP) architecture definitions |
| 3 | * |
| 4 | * Copyright 2025 IBM Corp. |
| 5 | * Author(s): Jared Rossi <jrossi@linux.ibm.com> |
| 6 | * |
| 7 | * SPDX-License-Identifier: GPL-2.0-or-later |
| 8 | */ |
| 9 | |
| 10 | #ifndef CLP_H |
| 11 | #define CLP_H |
| 12 | |
| 13 | #ifndef QEMU_PACKED |
| 14 | #define QEMU_PACKED __attribute__((packed)) |
| 15 | #endif |
| 16 | |
| 17 | #include <stdint.h> |
| 18 | #include <s390-pci-clp.h> |
| 19 | |
| 20 | int clp_pci(void *data); |
| 21 | int find_pci_function(uint32_t fid, ClpFhListEntry *entry); |
| 22 | int enable_pci_function(uint32_t *fhandle); |
| 23 | |
| 24 | #endif |