Files
android_kernel_samsung_sm8750/drivers/soc/qcom/irq_internals.h
2025-08-12 22:16:57 +02:00

29 lines
684 B
C
Executable File

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. All rights reserved.
*
*/
#ifndef _IRQ_INTERNALS_H
#define _IRQ_INTERNALS_H
/*
* Bits used by threaded handlers:
* IRQTF_RUNTHREAD - signals that the interrupt handler thread should run
* IRQTF_WARNED - warning "IRQ_WAKE_THREAD w/o thread_fn" has been printed
* IRQTF_AFFINITY - irq thread is requested to adjust affinity
* IRQTF_FORCED_THREAD - irq action is force threaded
*/
enum {
IRQTF_RUNTHREAD,
IRQTF_WARNED,
IRQTF_AFFINITY,
IRQTF_FORCED_THREAD,
};
extern int irq_do_set_affinity(struct irq_data *data,
const struct cpumask *dest, bool force);
#endif