File Index
Files and directories
Sign in
FILE

irq-renesas-rzv2h.h

File preview with syntax highlighting.

linux-6.19.14/include/linux/irqchip/irq-renesas-rzv2h.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2/*
 3 * Renesas RZ/V2H(P) Interrupt Control Unit (ICU)
 4 *
 5 * Copyright (C) 2025 Renesas Electronics Corporation.
 6 */
 7
 8#ifndef __LINUX_IRQ_RENESAS_RZV2H
 9#define __LINUX_IRQ_RENESAS_RZV2H
10
11#include <linux/platform_device.h>
12
13#define RZV2H_ICU_DMAC_REQ_NO_DEFAULT		0x3ff
14
15#ifdef CONFIG_RENESAS_RZV2H_ICU
16void rzv2h_icu_register_dma_req(struct platform_device *icu_dev, u8 dmac_index, u8 dmac_channel,
17				u16 req_no);
18#else
19static inline void rzv2h_icu_register_dma_req(struct platform_device *icu_dev, u8 dmac_index,
20					      u8 dmac_channel, u16 req_no) { }
21#endif
22
23#endif /* __LINUX_IRQ_RENESAS_RZV2H */
~/ Read-only file preview.