| 1 | /* SPDX-License-Identifier: MIT */ |
| 2 | /* |
| 3 | * Copyright © 2022 Intel Corporation |
| 4 | */ |
| 5 | |
| 6 | #ifndef _XE_UC_H_ |
| 7 | #define _XE_UC_H_ |
| 8 | |
| 9 | struct xe_uc; |
| 10 | |
| 11 | int xe_uc_init_noalloc(struct xe_uc *uc); |
| 12 | int xe_uc_init(struct xe_uc *uc); |
| 13 | int xe_uc_init_post_hwconfig(struct xe_uc *uc); |
| 14 | int xe_uc_load_hw(struct xe_uc *uc); |
| 15 | void xe_uc_gucrc_disable(struct xe_uc *uc); |
| 16 | int xe_uc_reset_prepare(struct xe_uc *uc); |
| 17 | void xe_uc_stop_prepare(struct xe_uc *uc); |
| 18 | void xe_uc_stop(struct xe_uc *uc); |
| 19 | int xe_uc_start(struct xe_uc *uc); |
| 20 | void xe_uc_suspend_prepare(struct xe_uc *uc); |
| 21 | int xe_uc_suspend(struct xe_uc *uc); |
| 22 | int xe_uc_sanitize_reset(struct xe_uc *uc); |
| 23 | void xe_uc_declare_wedged(struct xe_uc *uc); |
| 24 | |
| 25 | #endif |
| 26 | |