Lines Matching refs:thp7312_device
238 struct thp7312_device;
249 struct thp7312_device { struct
305 static inline struct thp7312_device *to_thp7312_dev(struct v4l2_subdev *sd) in to_thp7312_dev() argument
307 return container_of(sd, struct thp7312_device, sd); in to_thp7312_dev()
396 static int thp7312_set_mipi_lanes(struct thp7312_device *thp7312) in thp7312_set_mipi_lanes()
421 static int thp7312_change_mode(struct thp7312_device *thp7312, in thp7312_change_mode()
457 static int thp7312_set_framefmt(struct thp7312_device *thp7312, in thp7312_set_framefmt()
480 static int thp7312_init_mode(struct thp7312_device *thp7312, in thp7312_init_mode()
509 static int thp7312_stream_enable(struct thp7312_device *thp7312, bool enable) in thp7312_stream_enable()
516 static int thp7312_check_status_stream_mode(struct thp7312_device *thp7312) in thp7312_check_status_stream_mode()
545 static void thp7312_reset(struct thp7312_device *thp7312) in thp7312_reset()
573 static void __thp7312_power_off(struct thp7312_device *thp7312) in __thp7312_power_off()
579 static void thp7312_power_off(struct thp7312_device *thp7312) in thp7312_power_off()
584 static int __thp7312_power_on(struct thp7312_device *thp7312) in __thp7312_power_on()
611 static int thp7312_power_on(struct thp7312_device *thp7312) in thp7312_power_on()
637 struct thp7312_device *thp7312 = to_thp7312_dev(sd); in thp7312_pm_runtime_suspend()
649 struct thp7312_device *thp7312 = to_thp7312_dev(sd); in thp7312_pm_runtime_resume()
736 struct thp7312_device *thp7312 = to_thp7312_dev(sd); in thp7312_set_fmt()
773 struct thp7312_device *thp7312 = to_thp7312_dev(sd); in thp7312_set_frame_interval()
803 struct thp7312_device *thp7312 = to_thp7312_dev(sd); in thp7312_s_stream()
914 static inline struct thp7312_device *to_thp7312_from_ctrl(struct v4l2_ctrl *ctrl) in to_thp7312_from_ctrl()
916 return container_of(ctrl->handler, struct thp7312_device, ctrl_handler); in to_thp7312_from_ctrl()
927 static int thp7312_set_focus(struct thp7312_device *thp7312) in thp7312_set_focus()
1048 struct thp7312_device *thp7312 = to_thp7312_from_ctrl(ctrl); in thp7312_s_ctrl()
1223 static int thp7312_init_controls(struct thp7312_device *thp7312) in thp7312_init_controls()
1431 static int thp7312_read_firmware_version(struct thp7312_device *thp7312) in thp7312_read_firmware_version()
1448 static int thp7312_write_buf(struct thp7312_device *thp7312, in thp7312_write_buf()
1458 static int __thp7312_flash_reg_write(struct thp7312_device *thp7312, in __thp7312_flash_reg_write()
1492 static int __thp7312_flash_reg_read(struct thp7312_device *thp7312, in __thp7312_flash_reg_read()
1525 static enum fw_upload_err thp7312_fw_prepare_config(struct thp7312_device *thp7312) in thp7312_fw_prepare_config()
1548 static enum fw_upload_err thp7312_fw_prepare_check(struct thp7312_device *thp7312) in thp7312_fw_prepare_check()
1567 static enum fw_upload_err thp7312_fw_prepare_reset(struct thp7312_device *thp7312) in thp7312_fw_prepare_reset()
1582 static enum fw_upload_err thp7312_flash_erase(struct thp7312_device *thp7312) in thp7312_flash_erase()
1629 thp7312_write_download_data_by_unit(struct thp7312_device *thp7312, in thp7312_write_download_data_by_unit()
1656 static enum fw_upload_err thp7312_fw_load_to_ram(struct thp7312_device *thp7312, in thp7312_fw_load_to_ram()
1708 static enum fw_upload_err thp7312_fw_write_to_flash(struct thp7312_device *thp7312, in thp7312_fw_write_to_flash()
1739 static enum fw_upload_err thp7312_fw_check_crc(struct thp7312_device *thp7312, in thp7312_fw_check_crc()
1785 struct thp7312_device *thp7312 = fw_upload->dd_handle; in thp7312_fw_prepare()
1822 struct thp7312_device *thp7312 = fw_upload->dd_handle; in thp7312_fw_write()
1878 struct thp7312_device *thp7312 = fw_upload->dd_handle; in thp7312_fw_cancel()
1892 static int thp7312_register_flash_mode(struct thp7312_device *thp7312) in thp7312_register_flash_mode()
1938 static int thp7312_get_regulators(struct thp7312_device *thp7312) in thp7312_get_regulators()
1950 static int thp7312_sensor_parse_dt(struct thp7312_device *thp7312, in thp7312_sensor_parse_dt()
2021 static int thp7312_parse_dt(struct thp7312_device *thp7312) in thp7312_parse_dt()
2093 struct thp7312_device *thp7312; in thp7312_probe()
2214 struct thp7312_device *thp7312 = to_thp7312_dev(sd); in thp7312_remove()