| /OK3568_Linux_fs/kernel/drivers/media/i2c/techpoint/ |
| H A D | techpoint_v4l2.c | 41 static struct techpoint *g_techpoints[MAX_CHIPS]; 51 #define to_techpoint(sd) container_of(sd, struct techpoint, subdev) 53 static int techpoint_get_regulators(struct techpoint *techpoint) in techpoint_get_regulators() argument 56 struct i2c_client *client = techpoint->client; in techpoint_get_regulators() 57 struct device *dev = &techpoint->client->dev; in techpoint_get_regulators() 59 if (!techpoint->supplies) in techpoint_get_regulators() 60 techpoint->supplies = devm_kzalloc(dev, in techpoint_get_regulators() 67 techpoint->supplies[i].supply = techpoint_supply_names[i]; in techpoint_get_regulators() 70 techpoint->supplies); in techpoint_get_regulators() 73 static int techpoint_analyze_dts(struct techpoint *techpoint) in techpoint_analyze_dts() argument [all …]
|
| H A D | techpoint_dev.c | 92 static int check_chip_id(struct techpoint *techpoint) in check_chip_id() argument 94 struct i2c_client *client = techpoint->client; in check_chip_id() 105 techpoint->chip_id = CHIP_TP9930; in check_chip_id() 106 techpoint->input_type = TECHPOINT_DVP_BT1120; in check_chip_id() 112 techpoint->chip_id = CHIP_TP2855; in check_chip_id() 113 techpoint->input_type = TECHPOINT_MIPI; in check_chip_id() 119 techpoint->chip_id = CHIP_TP2855; in check_chip_id() 120 techpoint->input_type = TECHPOINT_MIPI; in check_chip_id() 126 techpoint->chip_id = CHIP_TP9950; in check_chip_id() 127 techpoint->input_type = TECHPOINT_MIPI; in check_chip_id() [all …]
|
| H A D | techpoint_dev.h | 23 void __techpoint_get_vc_fmt_inf(struct techpoint *techpoint, 25 void techpoint_get_vc_fmt_inf(struct techpoint *techpoint, 27 void techpoint_get_vc_hotplug_inf(struct techpoint *techpoint, 29 void techpoint_set_quick_stream(struct techpoint *techpoint, u32 stream); 31 int techpoint_initialize_devices(struct techpoint *techpoint); 32 int techpoint_start_video_stream(struct techpoint *techpoint); 33 int techpoint_stop_video_stream(struct techpoint *techpoint);
|
| H A D | techpoint_tp9930.c | 398 int tp9930_initialize(struct techpoint *techpoint) in tp9930_initialize() argument 401 struct i2c_client *client = techpoint->client; in tp9930_initialize() 404 techpoint->video_modes_num = ARRAY_SIZE(supported_modes); in tp9930_initialize() 406 sizeof(struct techpoint_video_modes) * techpoint->video_modes_num; in tp9930_initialize() 407 techpoint->video_modes = devm_kzalloc(dev, array_size, GFP_KERNEL); in tp9930_initialize() 408 memcpy(techpoint->video_modes, supported_modes, array_size); in tp9930_initialize() 410 techpoint->cur_video_mode = &techpoint->video_modes[0]; in tp9930_initialize() 485 int tp9930_get_channel_input_status(struct techpoint *techpoint, u8 ch) in tp9930_get_channel_input_status() argument 487 struct i2c_client *client = techpoint->client; in tp9930_get_channel_input_status() 490 mutex_lock(&techpoint->mutex); in tp9930_get_channel_input_status() [all …]
|
| H A D | techpoint_tp2855.h | 34 int tp2855_initialize(struct techpoint *techpoint); 35 int tp2855_get_channel_input_status(struct techpoint *techpoint, u8 ch); 36 int tp2855_get_all_input_status(struct techpoint *techpoint, u8 *detect_status); 41 int tp2855_set_quick_stream(struct techpoint *techpoint, u32 stream);
|
| H A D | techpoint_tp2855.c | 188 int tp2855_initialize(struct techpoint *techpoint) in tp2855_initialize() argument 191 struct i2c_client *client = techpoint->client; in tp2855_initialize() 194 techpoint->video_modes_num = ARRAY_SIZE(supported_modes); in tp2855_initialize() 196 sizeof(struct techpoint_video_modes) * techpoint->video_modes_num; in tp2855_initialize() 197 techpoint->video_modes = devm_kzalloc(dev, array_size, GFP_KERNEL); in tp2855_initialize() 198 memcpy(techpoint->video_modes, supported_modes, array_size); in tp2855_initialize() 200 techpoint->cur_video_mode = &techpoint->video_modes[0]; in tp2855_initialize() 205 int tp2855_get_channel_input_status(struct techpoint *techpoint, u8 ch) in tp2855_get_channel_input_status() argument 207 struct i2c_client *client = techpoint->client; in tp2855_get_channel_input_status() 210 mutex_lock(&techpoint->mutex); in tp2855_get_channel_input_status() [all …]
|
| H A D | techpoint_tp9930.h | 35 int tp9930_initialize(struct techpoint *techpoint); 43 int tp9930_get_channel_input_status(struct techpoint *techpoint, u8 index); 44 int tp9930_get_all_input_status(struct techpoint *techpoint, u8 *detect_status);
|
| H A D | techpoint_tp9950.c | 95 int tp9950_initialize(struct techpoint *techpoint) in tp9950_initialize() argument 98 struct i2c_client *client = techpoint->client; in tp9950_initialize() 101 techpoint->video_modes_num = ARRAY_SIZE(supported_modes); in tp9950_initialize() 103 sizeof(struct techpoint_video_modes) * techpoint->video_modes_num; in tp9950_initialize() 104 techpoint->video_modes = devm_kzalloc(dev, array_size, GFP_KERNEL); in tp9950_initialize() 105 memcpy(techpoint->video_modes, supported_modes, array_size); in tp9950_initialize() 107 techpoint->cur_video_mode = &techpoint->video_modes[0]; in tp9950_initialize()
|
| H A D | Makefile | 2 techpoint-objs += techpoint_v4l2.o techpoint_dev.o \ 5 obj-$(CONFIG_VIDEO_TECHPOINT) += techpoint.o
|
| H A D | techpoint_tp9950.h | 47 int tp9950_initialize(struct techpoint *techpoint);
|
| H A D | techpoint_common.h | 100 struct techpoint *slave_tp[3]; 103 struct techpoint { struct
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | rv1106-evb-cvr-dual-cam.dtsi | 161 compatible = "techpoint,tp2855";
|
| /OK3568_Linux_fs/kernel/drivers/media/i2c/ |
| H A D | Makefile | 181 obj-$(CONFIG_VIDEO_TECHPOINT) += techpoint/
|