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_NVP6188_H__ 8 #define __VEHICLE_AD_NVP6188_H__ 9 10 int nvp6188_ad_init(struct vehicle_ad_dev *ad); 11 int nvp6188_ad_deinit(void); 12 int nvp6188_ad_get_cfg(struct vehicle_cfg **cfg); 13 void nvp6188_ad_check_cif_error(struct vehicle_ad_dev *ad, int last_line); 14 int nvp6188_check_id(struct vehicle_ad_dev *ad); 15 int nvp6188_stream(struct vehicle_ad_dev *ad, int enable); 16 void nvp6188_channel_set(struct vehicle_ad_dev *ad, int channel); 17 18 #endif 19