Linux Audio

Check our new training course

Loading...
Note: File does not exist in v4.6.
 1/*
 2 * SPDX-License-Identifier: MIT
 3 *
 4 * Copyright © 2019 Intel Corporation
 5 */
 6
 7#ifndef INTEL_GT_IRQ_H
 8#define INTEL_GT_IRQ_H
 9
10#include <linux/types.h>
11
12struct intel_gt;
13
14#define GEN8_GT_IRQS (GEN8_GT_RCS_IRQ | \
15		      GEN8_GT_BCS_IRQ | \
16		      GEN8_GT_VCS0_IRQ | \
17		      GEN8_GT_VCS1_IRQ | \
18		      GEN8_GT_VECS_IRQ | \
19		      GEN8_GT_PM_IRQ | \
20		      GEN8_GT_GUC_IRQ)
21
22void gen11_gt_irq_reset(struct intel_gt *gt);
23void gen11_gt_irq_postinstall(struct intel_gt *gt);
24void gen11_gt_irq_handler(struct intel_gt *gt, const u32 master_ctl);
25
26bool gen11_gt_reset_one_iir(struct intel_gt *gt,
27			    const unsigned int bank,
28			    const unsigned int bit);
29
30void gen5_gt_irq_handler(struct intel_gt *gt, u32 gt_iir);
31
32void gen5_gt_irq_postinstall(struct intel_gt *gt);
33void gen5_gt_irq_reset(struct intel_gt *gt);
34void gen5_gt_disable_irq(struct intel_gt *gt, u32 mask);
35void gen5_gt_enable_irq(struct intel_gt *gt, u32 mask);
36
37void gen6_gt_irq_handler(struct intel_gt *gt, u32 gt_iir);
38
39void gen8_gt_irq_handler(struct intel_gt *gt, u32 master_ctl);
40void gen8_gt_irq_reset(struct intel_gt *gt);
41void gen8_gt_irq_postinstall(struct intel_gt *gt);
42
43#endif /* INTEL_GT_IRQ_H */