1 /* SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2020-21 Intel Corporation.
12 * ipc_doorbell_fire - fire doorbell to CP
13 * @ipc_pcie: Pointer to iosm_pcie
14 * @irq_n: Doorbell type
17 void ipc_doorbell_fire(struct iosm_pcie *ipc_pcie, int irq_n, u32 data);
20 * ipc_release_irq - Release the IRQ handler.
21 * @ipc_pcie: Pointer to iosm_pcie struct
23 void ipc_release_irq(struct iosm_pcie *ipc_pcie);
26 * ipc_acquire_irq - acquire IRQ & register IRQ handler.
27 * @ipc_pcie: Pointer to iosm_pcie struct
29 * Return: 0 on success and failure value on error
31 int ipc_acquire_irq(struct iosm_pcie *ipc_pcie);