/kernel/linux/linux-5.10/drivers/media/i2c/s5c73m3/ |
H A D | Makefile | 2 s5c73m3-objs := s5c73m3-core.o s5c73m3-spi.o s5c73m3-ctrls.o 3 obj-$(CONFIG_VIDEO_S5C73M3) += s5c73m3.o
|
H A D | s5c73m3-ctrls.c | 27 #include <media/i2c/s5c73m3.h> 29 #include "s5c73m3.h" 31 static int s5c73m3_get_af_status(struct s5c73m3 *state, struct v4l2_ctrl *ctrl) in s5c73m3_get_af_status() 63 struct s5c73m3 *state = sensor_sd_to_s5c73m3(sd); in s5c73m3_g_volatile_ctrl() 80 static int s5c73m3_set_colorfx(struct s5c73m3 *state, int val) in s5c73m3_set_colorfx() 106 static int s5c73m3_set_exposure(struct s5c73m3 *state, int auto_exp) in s5c73m3_set_exposure() 142 static int s5c73m3_set_white_balance(struct s5c73m3 *state, int val) in s5c73m3_set_white_balance() 168 static int s5c73m3_af_run(struct s5c73m3 *state, bool on) in s5c73m3_af_run() 183 static int s5c73m3_3a_lock(struct s5c73m3 *state, struct v4l2_ctrl *ctrl) in s5c73m3_3a_lock() 211 static int s5c73m3_set_auto_focus(struct s5c73m3 *stat [all...] |
H A D | s5c73m3.h | 18 #include <media/i2c/s5c73m3.h> 372 struct s5c73m3 { struct 428 int s5c73m3_register_spi_driver(struct s5c73m3 *state); 429 void s5c73m3_unregister_spi_driver(struct s5c73m3 *state); 430 int s5c73m3_spi_write(struct s5c73m3 *state, const void *addr, 432 int s5c73m3_spi_read(struct s5c73m3 *state, void *addr, 435 int s5c73m3_read(struct s5c73m3 *state, u32 addr, u16 *data); 436 int s5c73m3_write(struct s5c73m3 *state, u32 addr, u16 data); 437 int s5c73m3_isp_command(struct s5c73m3 *state, u16 command, u16 data); 438 int s5c73m3_init_controls(struct s5c73m3 *stat [all...] |
H A D | s5c73m3-spi.c | 18 #include "s5c73m3.h" 23 { .compatible = "samsung,s5c73m3" }, 62 int s5c73m3_spi_write(struct s5c73m3 *state, const void *addr, in s5c73m3_spi_write() 90 int s5c73m3_spi_read(struct s5c73m3 *state, void *addr, in s5c73m3_spi_read() 115 struct s5c73m3 *state = container_of(spi->dev.driver, struct s5c73m3, in s5c73m3_spi_probe() 138 int s5c73m3_register_spi_driver(struct s5c73m3 *state) in s5c73m3_register_spi_driver() 150 void s5c73m3_unregister_spi_driver(struct s5c73m3 *state) in s5c73m3_unregister_spi_driver()
|
H A D | s5c73m3-core.c | 30 #include <media/i2c/s5c73m3.h> 33 #include "s5c73m3.h" 175 int s5c73m3_write(struct s5c73m3 *state, u32 addr, u16 data) in s5c73m3_write() 207 int s5c73m3_read(struct s5c73m3 *state, u32 addr, u16 *data) in s5c73m3_read() 239 static int s5c73m3_check_status(struct s5c73m3 *state, unsigned int value) in s5c73m3_check_status() 277 int s5c73m3_isp_command(struct s5c73m3 *state, u16 command, u16 data) in s5c73m3_isp_command() 296 static int s5c73m3_isp_comm_result(struct s5c73m3 *state, u16 command, in s5c73m3_isp_comm_result() 302 static int s5c73m3_set_af_softlanding(struct s5c73m3 *state) in s5c73m3_set_af_softlanding() 344 struct s5c73m3 *state = sensor_sd_to_s5c73m3(sd); in s5c73m3_load_fw() 372 static int s5c73m3_set_frame_size(struct s5c73m3 *stat [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/s5c73m3/ |
H A D | Makefile | 2 s5c73m3-objs := s5c73m3-core.o s5c73m3-spi.o s5c73m3-ctrls.o 3 obj-$(CONFIG_VIDEO_S5C73M3) += s5c73m3.o
|
H A D | s5c73m3-ctrls.c | 27 #include "s5c73m3.h" 29 static int s5c73m3_get_af_status(struct s5c73m3 *state, struct v4l2_ctrl *ctrl) in s5c73m3_get_af_status() 61 struct s5c73m3 *state = sensor_sd_to_s5c73m3(sd); in s5c73m3_g_volatile_ctrl() 78 static int s5c73m3_set_colorfx(struct s5c73m3 *state, int val) in s5c73m3_set_colorfx() 104 static int s5c73m3_set_exposure(struct s5c73m3 *state, int auto_exp) in s5c73m3_set_exposure() 140 static int s5c73m3_set_white_balance(struct s5c73m3 *state, int val) in s5c73m3_set_white_balance() 166 static int s5c73m3_af_run(struct s5c73m3 *state, bool on) in s5c73m3_af_run() 181 static int s5c73m3_3a_lock(struct s5c73m3 *state, struct v4l2_ctrl *ctrl) in s5c73m3_3a_lock() 209 static int s5c73m3_set_auto_focus(struct s5c73m3 *state, int caf) in s5c73m3_set_auto_focus() 234 static int s5c73m3_set_contrast(struct s5c73m3 *stat [all...] |
H A D | s5c73m3-spi.c | 18 #include "s5c73m3.h" 23 { .compatible = "samsung,s5c73m3" }, 62 int s5c73m3_spi_write(struct s5c73m3 *state, const void *addr, in s5c73m3_spi_write() 90 int s5c73m3_spi_read(struct s5c73m3 *state, void *addr, in s5c73m3_spi_read() 115 struct s5c73m3 *state = container_of(spi->dev.driver, struct s5c73m3, in s5c73m3_spi_probe() 133 int s5c73m3_register_spi_driver(struct s5c73m3 *state) in s5c73m3_register_spi_driver() 144 void s5c73m3_unregister_spi_driver(struct s5c73m3 *state) in s5c73m3_unregister_spi_driver()
|
H A D | s5c73m3.h | 366 struct s5c73m3 { struct 423 int s5c73m3_register_spi_driver(struct s5c73m3 *state); 424 void s5c73m3_unregister_spi_driver(struct s5c73m3 *state); 425 int s5c73m3_spi_write(struct s5c73m3 *state, const void *addr, 427 int s5c73m3_spi_read(struct s5c73m3 *state, void *addr, 430 int s5c73m3_read(struct s5c73m3 *state, u32 addr, u16 *data); 431 int s5c73m3_write(struct s5c73m3 *state, u32 addr, u16 data); 432 int s5c73m3_isp_command(struct s5c73m3 *state, u16 command, u16 data); 433 int s5c73m3_init_controls(struct s5c73m3 *state); 437 return &container_of(ctrl->handler, struct s5c73m3, in ctrl_to_sensor_sd() [all...] |
H A D | s5c73m3-core.c | 31 #include "s5c73m3.h" 173 int s5c73m3_write(struct s5c73m3 *state, u32 addr, u16 data) in s5c73m3_write() 205 int s5c73m3_read(struct s5c73m3 *state, u32 addr, u16 *data) in s5c73m3_read() 237 static int s5c73m3_check_status(struct s5c73m3 *state, unsigned int value) in s5c73m3_check_status() 275 int s5c73m3_isp_command(struct s5c73m3 *state, u16 command, u16 data) in s5c73m3_isp_command() 294 static int s5c73m3_isp_comm_result(struct s5c73m3 *state, u16 command, in s5c73m3_isp_comm_result() 300 static int s5c73m3_set_af_softlanding(struct s5c73m3 *state) in s5c73m3_set_af_softlanding() 342 struct s5c73m3 *state = sensor_sd_to_s5c73m3(sd); in s5c73m3_load_fw() 370 static int s5c73m3_set_frame_size(struct s5c73m3 *state) in s5c73m3_set_frame_size() 394 static int s5c73m3_set_frame_rate(struct s5c73m3 *stat [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | Makefile | 103 obj-$(CONFIG_VIDEO_S5C73M3) += s5c73m3/
|
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | Makefile | 110 obj-$(CONFIG_VIDEO_S5C73M3) += s5c73m3/
|