Rajakumar Govindaram | 7d2b977 | 2017-07-19 15:16:12 -0700 | [diff] [blame] | 1 | /* Copyright (c) 2017, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | |
| 13 | #ifndef _CAM_JPEG_ENC_SOC_H_ |
| 14 | #define _CAM_JPEG_ENC_SOC_H_ |
| 15 | |
| 16 | #include "cam_soc_util.h" |
| 17 | |
| 18 | int cam_jpeg_enc_init_soc_resources(struct cam_hw_soc_info *soc_info, |
| 19 | irq_handler_t jpeg_enc_irq_handler, void *irq_data); |
| 20 | |
| 21 | int cam_jpeg_enc_enable_soc_resources(struct cam_hw_soc_info *soc_info); |
| 22 | |
| 23 | int cam_jpeg_enc_disable_soc_resources(struct cam_hw_soc_info *soc_info); |
| 24 | |
| 25 | #endif /* _CAM_JPEG_ENC_SOC_H_*/ |