Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v6.16-rc3 40 lines 951 B view raw
1/* SPDX-License-Identifier: MIT */ 2/* 3 * Copyright(c) 2023, Intel Corporation. All rights reserved. 4 */ 5#ifndef __XE_HECI_GSC_DEV_H__ 6#define __XE_HECI_GSC_DEV_H__ 7 8#include <linux/types.h> 9 10struct xe_device; 11struct mei_aux_device; 12 13/* 14 * GSC HECI1 bit corresponds to bit15 and HECI2 to bit14. 15 * The reason for this is to allow growth for more interfaces in the future. 16 */ 17#define GSC_IRQ_INTF(_x) BIT(15 - (_x)) 18 19/* 20 * CSC HECI1 bit corresponds to bit9 and HECI2 to bit10. 21 */ 22#define CSC_IRQ_INTF(_x) BIT(9 + (_x)) 23 24/** 25 * struct xe_heci_gsc - graphics security controller for xe, HECI interface 26 * 27 * @adev : pointer to mei auxiliary device structure 28 * @irq : irq number 29 * 30 */ 31struct xe_heci_gsc { 32 struct mei_aux_device *adev; 33 int irq; 34}; 35 36int xe_heci_gsc_init(struct xe_device *xe); 37void xe_heci_gsc_irq_handler(struct xe_device *xe, u32 iir); 38void xe_heci_csc_irq_handler(struct xe_device *xe, u32 iir); 39 40#endif /* __XE_HECI_GSC_DEV_H__ */