/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | mt9m111.c | 229 struct mt9m111 { struct 285 static const struct mt9m111_datafmt *mt9m111_find_datafmt(struct mt9m111 *mt9m111, in mt9m111_find_datafmt() argument 293 return mt9m111->fmt; in mt9m111_find_datafmt() 296 static struct mt9m111 *to_mt9m111(const struct i2c_client *client) in to_mt9m111() 298 return container_of(i2c_get_clientdata(client), struct mt9m111, subdev); in to_mt9m111() 305 struct mt9m111 *mt9m111 = to_mt9m111(client); in reg_page_map_set() local 308 if (page == mt9m111->lastpage) in reg_page_map_set() 315 mt9m111 in reg_page_map_set() 376 mt9m111_set_context(struct mt9m111 *mt9m111, struct mt9m111_context *ctx) mt9m111_set_context() argument 383 mt9m111_setup_rect_ctx(struct mt9m111 *mt9m111, struct mt9m111_context *ctx, struct v4l2_rect *rect, unsigned int width, unsigned int height) mt9m111_setup_rect_ctx() argument 398 mt9m111_setup_geometry(struct mt9m111 *mt9m111, struct v4l2_rect *rect, int width, int height, u32 code) mt9m111_setup_geometry() argument 430 mt9m111_enable(struct mt9m111 *mt9m111) mt9m111_enable() argument 436 mt9m111_reset(struct mt9m111 *mt9m111) mt9m111_reset() argument 456 struct mt9m111 *mt9m111 = to_mt9m111(client); mt9m111_set_selection() local 500 struct mt9m111 *mt9m111 = to_mt9m111(client); mt9m111_get_selection() local 525 struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev); mt9m111_get_fmt() local 552 mt9m111_set_pixfmt(struct mt9m111 *mt9m111, u32 code) mt9m111_set_pixfmt() argument 632 struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev); mt9m111_set_fmt() local 698 mt9m111_find_mode(struct mt9m111 *mt9m111, unsigned int req_fps, unsigned int width, unsigned int height) mt9m111_find_mode() argument 787 mt9m111_set_flip(struct mt9m111 *mt9m111, int flip, int mask) mt9m111_set_flip() argument 800 mt9m111_get_global_gain(struct mt9m111 *mt9m111) mt9m111_get_global_gain() argument 812 mt9m111_set_global_gain(struct mt9m111 *mt9m111, int gain) mt9m111_set_global_gain() argument 830 mt9m111_set_autoexposure(struct mt9m111 *mt9m111, int val) mt9m111_set_autoexposure() argument 839 mt9m111_set_autowhitebalance(struct mt9m111 *mt9m111, int on) mt9m111_set_autowhitebalance() argument 859 mt9m111_set_test_pattern(struct mt9m111 *mt9m111, int val) mt9m111_set_test_pattern() argument 867 mt9m111_set_colorfx(struct mt9m111 *mt9m111, int val) mt9m111_set_colorfx() argument 892 struct mt9m111 *mt9m111 = container_of(ctrl->handler, mt9m111_s_ctrl() local 917 mt9m111_suspend(struct mt9m111 *mt9m111) mt9m111_suspend() argument 935 mt9m111_restore_state(struct mt9m111 *mt9m111) mt9m111_restore_state() argument 949 mt9m111_resume(struct mt9m111 *mt9m111) mt9m111_resume() argument 960 mt9m111_init(struct mt9m111 *mt9m111) mt9m111_init() argument 975 mt9m111_power_on(struct mt9m111 *mt9m111) mt9m111_power_on() argument 1005 mt9m111_power_off(struct mt9m111 *mt9m111) mt9m111_power_off() argument 1014 struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev); mt9m111_s_power() local 1058 struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev); mt9m111_g_frame_interval() local 1068 struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev); mt9m111_s_frame_interval() local 1115 struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev); mt9m111_s_stream() local 1144 struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev); mt9m111_get_mbus_config() local 1186 struct mt9m111 *mt9m111 = to_mt9m111(client); mt9m111_video_probe() local 1223 mt9m111_probe_fw(struct i2c_client *client, struct mt9m111 *mt9m111) mt9m111_probe_fw() argument 1249 struct mt9m111 *mt9m111; mt9m111_probe() local 1365 struct mt9m111 *mt9m111 = to_mt9m111(client); mt9m111_remove() local [all...] |
H A D | Makefile | 89 obj-$(CONFIG_VIDEO_MT9M111) += mt9m111.o
|
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | mt9m111.c | 228 struct mt9m111 { struct 284 static const struct mt9m111_datafmt *mt9m111_find_datafmt(struct mt9m111 *mt9m111, in mt9m111_find_datafmt() argument 292 return mt9m111->fmt; in mt9m111_find_datafmt() 295 static struct mt9m111 *to_mt9m111(const struct i2c_client *client) in to_mt9m111() 297 return container_of(i2c_get_clientdata(client), struct mt9m111, subdev); in to_mt9m111() 304 struct mt9m111 *mt9m111 = to_mt9m111(client); in reg_page_map_set() local 307 if (page == mt9m111->lastpage) in reg_page_map_set() 314 mt9m111 in reg_page_map_set() 375 mt9m111_set_context(struct mt9m111 *mt9m111, struct mt9m111_context *ctx) mt9m111_set_context() argument 382 mt9m111_setup_rect_ctx(struct mt9m111 *mt9m111, struct mt9m111_context *ctx, struct v4l2_rect *rect, unsigned int width, unsigned int height) mt9m111_setup_rect_ctx() argument 397 mt9m111_setup_geometry(struct mt9m111 *mt9m111, struct v4l2_rect *rect, int width, int height, u32 code) mt9m111_setup_geometry() argument 429 mt9m111_enable(struct mt9m111 *mt9m111) mt9m111_enable() argument 435 mt9m111_reset(struct mt9m111 *mt9m111) mt9m111_reset() argument 455 struct mt9m111 *mt9m111 = to_mt9m111(client); mt9m111_set_selection() local 499 struct mt9m111 *mt9m111 = to_mt9m111(client); mt9m111_get_selection() local 524 struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev); mt9m111_get_fmt() local 551 mt9m111_set_pixfmt(struct mt9m111 *mt9m111, u32 code) mt9m111_set_pixfmt() argument 631 struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev); mt9m111_set_fmt() local 697 mt9m111_find_mode(struct mt9m111 *mt9m111, unsigned int req_fps, unsigned int width, unsigned int height) mt9m111_find_mode() argument 786 mt9m111_set_flip(struct mt9m111 *mt9m111, int flip, int mask) mt9m111_set_flip() argument 799 mt9m111_get_global_gain(struct mt9m111 *mt9m111) mt9m111_get_global_gain() argument 811 mt9m111_set_global_gain(struct mt9m111 *mt9m111, int gain) mt9m111_set_global_gain() argument 829 mt9m111_set_autoexposure(struct mt9m111 *mt9m111, int val) mt9m111_set_autoexposure() argument 838 mt9m111_set_autowhitebalance(struct mt9m111 *mt9m111, int on) mt9m111_set_autowhitebalance() argument 858 mt9m111_set_test_pattern(struct mt9m111 *mt9m111, int val) mt9m111_set_test_pattern() argument 866 mt9m111_set_colorfx(struct mt9m111 *mt9m111, int val) mt9m111_set_colorfx() argument 891 struct mt9m111 *mt9m111 = container_of(ctrl->handler, mt9m111_s_ctrl() local 916 mt9m111_suspend(struct mt9m111 *mt9m111) mt9m111_suspend() argument 934 mt9m111_restore_state(struct mt9m111 *mt9m111) mt9m111_restore_state() argument 948 mt9m111_resume(struct mt9m111 *mt9m111) mt9m111_resume() argument 959 mt9m111_init(struct mt9m111 *mt9m111) mt9m111_init() argument 974 mt9m111_power_on(struct mt9m111 *mt9m111) mt9m111_power_on() argument 1004 mt9m111_power_off(struct mt9m111 *mt9m111) mt9m111_power_off() argument 1013 struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev); mt9m111_s_power() local 1057 struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev); mt9m111_g_frame_interval() local 1067 struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev); mt9m111_s_frame_interval() local 1114 struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev); mt9m111_s_stream() local 1143 struct mt9m111 *mt9m111 = container_of(sd, struct mt9m111, subdev); mt9m111_get_mbus_config() local 1187 struct mt9m111 *mt9m111 = to_mt9m111(client); mt9m111_video_probe() local 1224 mt9m111_probe_fw(struct i2c_client *client, struct mt9m111 *mt9m111) mt9m111_probe_fw() argument 1250 struct mt9m111 *mt9m111; mt9m111_probe() local 1364 struct mt9m111 *mt9m111 = to_mt9m111(client); mt9m111_remove() local [all...] |
H A D | Makefile | 67 obj-$(CONFIG_VIDEO_MT9M111) += mt9m111.o
|
/kernel/linux/linux-5.10/drivers/media/usb/gspca/m5602/ |
H A D | m5602_mt9m111.h | 3 * Driver for the mt9m111 sensor 14 * Some defines taken from the mt9m111 sensor driver 113 static const struct m5602_sensor mt9m111 = { variable
|
H A D | m5602_core.c | 224 /* Try the mt9m111 sensor */ in m5602_probe_sensor() 225 sd->sensor = &mt9m111; in m5602_probe_sensor()
|
H A D | m5602_mt9m111.c | 3 * Driver for the mt9m111 sensor 203 pr_info("Forcing a %s sensor\n", mt9m111.name); in mt9m111_probe() 211 gspca_dbg(gspca_dev, D_PROBE, "Probing for a mt9m111 sensor\n"); in mt9m111_probe() 233 pr_info("Detected a mt9m111 sensor\n"); in mt9m111_probe() 402 /* The mt9m111 is flipped by default */ in mt9m111_set_hvflip() 570 pr_info("Dumping the mt9m111 register state\n"); in mt9m111_dump_registers() 572 pr_info("Dumping the mt9m111 sensor core registers\n"); in mt9m111_dump_registers() 581 pr_info("Dumping the mt9m111 color pipeline registers\n"); in mt9m111_dump_registers() 590 pr_info("Dumping the mt9m111 camera control registers\n"); in mt9m111_dump_registers() 599 pr_info("mt9m111 registe in mt9m111_dump_registers() [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/gspca/m5602/ |
H A D | m5602_mt9m111.h | 3 * Driver for the mt9m111 sensor 14 * Some defines taken from the mt9m111 sensor driver 113 static const struct m5602_sensor mt9m111 = { variable
|
H A D | m5602_core.c | 224 /* Try the mt9m111 sensor */ in m5602_probe_sensor() 225 sd->sensor = &mt9m111; in m5602_probe_sensor()
|
H A D | m5602_mt9m111.c | 3 * Driver for the mt9m111 sensor 203 pr_info("Forcing a %s sensor\n", mt9m111.name); in mt9m111_probe() 211 gspca_dbg(gspca_dev, D_PROBE, "Probing for a mt9m111 sensor\n"); in mt9m111_probe() 233 pr_info("Detected a mt9m111 sensor\n"); in mt9m111_probe() 402 /* The mt9m111 is flipped by default */ in mt9m111_set_hvflip() 570 pr_info("Dumping the mt9m111 register state\n"); in mt9m111_dump_registers() 572 pr_info("Dumping the mt9m111 sensor core registers\n"); in mt9m111_dump_registers() 581 pr_info("Dumping the mt9m111 color pipeline registers\n"); in mt9m111_dump_registers() 590 pr_info("Dumping the mt9m111 camera control registers\n"); in mt9m111_dump_registers() 599 pr_info("mt9m111 registe in mt9m111_dump_registers() [all...] |