1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Support for Intel Camera Imaging ISP subsystem. 4 * Copyright (c) 2015, Intel Corporation. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms and conditions of the GNU General Public License, 8 * version 2, as published by the Free Software Foundation. 9 * 10 * This program is distributed in the hope it will be useful, but WITHOUT 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 13 * more details. 14 */ 15 16#ifndef __ISYS_IRQ_PUBLIC_H__ 17#define __ISYS_IRQ_PUBLIC_H__ 18 19#include "isys_irq_global.h" 20#include "isys_irq_local.h" 21 22 23void isys_irqc_state_get(const isys_irq_ID_t isys_irqc_id, 24 isys_irqc_state_t *state); 25 26void isys_irqc_state_dump(const isys_irq_ID_t isys_irqc_id, 27 const isys_irqc_state_t *state); 28 29void isys_irqc_reg_store(const isys_irq_ID_t isys_irqc_id, 30 const unsigned int reg_idx, 31 const hrt_data value); 32 33hrt_data isys_irqc_reg_load(const isys_irq_ID_t isys_irqc_id, 34 const unsigned int reg_idx); 35 36void isys_irqc_status_enable(const isys_irq_ID_t isys_irqc_id); 37 38 39#endif /* __ISYS_IRQ_PUBLIC_H__ */ 40