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_TP2825_H__ 8 #define __VEHICLE_AD_TP2825_H__ 9 10 int tp2825_ad_init(struct vehicle_ad_dev *ad); 11 int tp2825_ad_deinit(void); 12 int tp2825_ad_get_cfg(struct vehicle_cfg **cfg); 13 void tp2825_ad_check_cif_error(struct vehicle_ad_dev *ad, int last_line); 14 int tp2825_check_id(struct vehicle_ad_dev *ad); 15 int tp2825_stream(struct vehicle_ad_dev *ad, int enable); 16 void tp2825_channel_set(struct vehicle_ad_dev *ad, int channel); 17 18 #endif 19