1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Rockchip Vehicle driver 4 * 5 * Copyright (C) 2022 Rockchip Electronics Co., Ltd. 6 */ 7 #ifndef __VEHICLE_AD_MAX96714_H__ 8 #define __VEHICLE_AD_MAX96714_H__ 9 10 int max96714_ad_init(struct vehicle_ad_dev *ad); 11 int max96714_ad_deinit(void); 12 int max96714_ad_get_cfg(struct vehicle_cfg **cfg); 13 void max96714_ad_check_cif_error(struct vehicle_ad_dev *ad, int last_line); 14 int max96714_check_id(struct vehicle_ad_dev *ad); 15 int max96714_stream(struct vehicle_ad_dev *ad, int enable); 16 void max96714_channel_set(struct vehicle_ad_dev *ad, int channel); 17 18 #endif 19