Home
last modified time | relevance | path

Searched refs:ad_chl (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/video/rockchip/vehicle/
H A Dvehicle_ad_7181.c256 if (ad7181_g_addev->ad_chl == 0) { in adv7181_reinit_parameter()
328 switch (ad->ad_chl) { in adv7181_reg_init()
330 ad->ad_chl = ADV7181_INPUT_CVBS_AIN1; in adv7181_reg_init()
333 ad->ad_chl = ADV7181_INPUT_CVBS_AIN6; in adv7181_reg_init()
336 ad->ad_chl = ADV7181_INPUT_CVBS_AIN8; in adv7181_reg_init()
339 ad->ad_chl = ADV7181_INPUT_CVBS_AIN10; in adv7181_reg_init()
342 ad->ad_chl = ADV7181_INPUT_YPRPB_AIN6_8_10; in adv7181_reg_init()
345 ad->ad_chl = ADV7181_INPUT_CVBS_AIN1; in adv7181_reg_init()
347 val[0] = ad->ad_chl; in adv7181_reg_init()
350 if (ad->ad_chl == ADV7181_INPUT_YPRPB_AIN6_8_10) { in adv7181_reg_init()
[all …]
H A Dvehicle_generic_sensor.c278 if (of_property_read_u32(cp, "ad_chl", &ad->ad_chl)) in vehicle_parse_sensor()
281 if (ad->ad_chl > 4 || ad->ad_chl < 0) { in vehicle_parse_sensor()
282 VEHICLE_DGERR("error, ad_chl %d !\n", ad->ad_chl); in vehicle_parse_sensor()
283 ad->ad_chl = 0; in vehicle_parse_sensor()
355 ad->ad_chl, ad->i2c_add, ad->fix_format); in vehicle_parse_sensor()
H A Dvehicle_ad_nvp6324.c1916 vehicle_sensor_write(ad, 0xff, 0x05 + ad->ad_chl); in nvp6324_reg_init()
1928 ad->ad_chl = channel; in nvp6324_channel_set()
1929 VEHICLE_DG("%s, channel set(%d)", __func__, ad->ad_chl); in nvp6324_channel_set()
2031 ret |= vehicle_sensor_read(ad, 0xa4 + ad->ad_chl, &videoloss); in nvp6324_check_cvstd()
2036 ret |= vehicle_sensor_read(ad, 0x10 + (0x20 * (ad->ad_chl%4)), &cvstd); in nvp6324_check_cvstd()
H A Dvehicle_ad.h45 int ad_chl; member
H A Dvehicle_ad_gc2145.c888 sensor[i].val = ad->ad_chl; in gc2145_reg_init()
902 ad->ad_chl = channel; in gc2145_channel_set()
H A Dvehicle_ad_tp2825.c683 sensor[i].val = ad->ad_chl; in tp2825_reg_init()
697 ad->ad_chl = channel; in tp2825_channel_set()
H A Dvehicle_ad_nvp6188.c589 ch = ad->ad_chl; in nvp6188_auto_detect_fmt()
916 ad->ad_chl = channel; in nvp6188_channel_set()
917 VEHICLE_DG("%s, channel set(%d)", __func__, ad->ad_chl); in nvp6188_channel_set()
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/rockchip/
H A Drk3368-cif-sensor.dtsi24 ad_chl = <0>; // 0 ~ 4;
H A Drk3562-evb2-image-reverse.dtsi146 ad_chl = <0>;
H A Drk3588-vehicle-evb-image-reverse.dtsi183 ad_chl = <0>;