blob: ed8bb6e0e8cb43072346bdd0a5fd20c80861e6ce [file] [log] [blame]
/* Copyright (c) 2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
#ifndef CAM_IPE_SOC_H
#define CAM_IPE_SOC_H
#include "cam_soc_util.h"
int cam_ipe_init_soc_resources(struct cam_hw_soc_info *soc_info,
irq_handler_t ipe_irq_handler, void *irq_data);
int cam_ipe_enable_soc_resources(struct cam_hw_soc_info *soc_info);
int cam_ipe_disable_soc_resources(struct cam_hw_soc_info *soc_info);
int cam_ipe_get_gdsc_control(struct cam_hw_soc_info *soc_info);
int cam_ipe_transfer_gdsc_control(struct cam_hw_soc_info *soc_info);
#endif /* CAM_IPE_SOC_H */