Home
last modified time | relevance | path

Searched refs:asd (Results 1 - 25 of 148) sorted by relevance

123456

/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/
H A Datomisp_compat.h44 void atomisp_css_init_struct(struct atomisp_sub_device *asd);
58 int atomisp_q_video_buffer_to_css(struct atomisp_sub_device *asd,
64 int atomisp_q_s3a_buffer_to_css(struct atomisp_sub_device *asd,
69 int atomisp_q_metadata_buffer_to_css(struct atomisp_sub_device *asd,
74 int atomisp_q_dis_buffer_to_css(struct atomisp_sub_device *asd,
81 int atomisp_css_start(struct atomisp_sub_device *asd);
83 void atomisp_css_update_isp_params(struct atomisp_sub_device *asd);
84 void atomisp_css_update_isp_params_on_pipe(struct atomisp_sub_device *asd,
87 int atomisp_css_queue_buffer(struct atomisp_sub_device *asd,
93 int atomisp_css_dequeue_buffer(struct atomisp_sub_device *asd,
[all...]
H A Datomisp_fops.c52 mutex_lock(&pipe->asd->isp->mutex); /* for get_css_frame_info() / set_fmt() */ in atomisp_queue_setup()
58 ret = atomisp_get_css_frame_info(pipe->asd, &pipe->frame_info); in atomisp_queue_setup()
70 ret = atomisp_get_css_frame_info(pipe->asd, &pipe->frame_info); in atomisp_queue_setup()
75 atomisp_alloc_css_stat_bufs(pipe->asd, ATOMISP_INPUT_STREAM_GENERAL); in atomisp_queue_setup()
81 mutex_unlock(&pipe->asd->isp->mutex); in atomisp_queue_setup()
96 dev_err(pipe->asd->isp->dev, "Internal error frame.data_bytes(%u) > vb.length(%lu)\n", in atomisp_buf_init()
109 static int atomisp_q_one_metadata_buffer(struct atomisp_sub_device *asd, in atomisp_q_one_metadata_buffer() argument
117 if (asd->metadata_bufs_in_css[stream_id][css_pipe_id] >= in atomisp_q_one_metadata_buffer()
121 if (!list_empty(&asd->metadata[md_type])) { in atomisp_q_one_metadata_buffer()
122 metadata_list = &asd in atomisp_q_one_metadata_buffer()
148 atomisp_q_one_s3a_buffer(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum ia_css_pipe_id css_pipe_id) atomisp_q_one_s3a_buffer() argument
189 atomisp_q_one_dis_buffer(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum ia_css_pipe_id css_pipe_id) atomisp_q_one_dis_buffer() argument
231 atomisp_q_video_buffers_to_css(struct atomisp_sub_device *asd, struct atomisp_video_pipe *pipe, enum atomisp_input_stream_id stream_id, enum ia_css_buffer_type css_buf_type, enum ia_css_pipe_id css_pipe_id) atomisp_q_video_buffers_to_css() argument
345 atomisp_qbuffers_to_css(struct atomisp_sub_device *asd) atomisp_qbuffers_to_css() argument
374 struct atomisp_sub_device *asd = pipe->asd; atomisp_buf_queue() local
461 atomisp_subdev_init_struct(struct atomisp_sub_device *asd) atomisp_subdev_init_struct() argument
494 struct atomisp_sub_device *asd = pipe->asd; atomisp_open() local
556 struct atomisp_sub_device *asd = pipe->asd; atomisp_release() local
[all...]
H A Datomisp_cmd.h62 void atomisp_clear_css_buffer_counters(struct atomisp_sub_device *asd);
68 void atomisp_setup_flash(struct atomisp_sub_device *asd);
84 int atomisp_set_sensor_runmode(struct atomisp_sub_device *asd,
90 int atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag,
94 int atomisp_low_light(struct atomisp_sub_device *asd, int flag,
101 int atomisp_xnr(struct atomisp_sub_device *asd, int flag, int *arg);
103 int atomisp_formats(struct atomisp_sub_device *asd, int flag,
107 int atomisp_nr(struct atomisp_sub_device *asd, int flag,
111 int atomisp_tnr(struct atomisp_sub_device *asd, int flag,
115 int atomisp_black_level(struct atomisp_sub_device *asd, in
[all...]
H A Datomisp_compat_css20.c184 static void __dump_pipe_config(struct atomisp_sub_device *asd, in __dump_pipe_config() argument
188 struct atomisp_device *isp = asd->isp; in __dump_pipe_config()
267 static void __dump_stream_config(struct atomisp_sub_device *asd, in __dump_stream_config() argument
270 struct atomisp_device *isp = asd->isp; in __dump_stream_config()
277 __dump_pipe_config(asd, stream_env, j); in __dump_stream_config()
401 static int __destroy_stream(struct atomisp_sub_device *asd, in __destroy_stream() argument
404 struct atomisp_device *isp = asd->isp; in __destroy_stream()
443 static int __destroy_streams(struct atomisp_sub_device *asd) in __destroy_streams() argument
448 ret = __destroy_stream(asd, &asd in __destroy_streams()
456 __create_stream(struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env) __create_stream() argument
490 __create_streams(struct atomisp_sub_device *asd) __create_streams() argument
507 __destroy_stream_pipes(struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env) __destroy_stream_pipes() argument
529 __destroy_pipes(struct atomisp_sub_device *asd) __destroy_pipes() argument
551 atomisp_destroy_pipes_stream(struct atomisp_sub_device *asd) atomisp_destroy_pipes_stream() argument
560 __apply_additional_pipe_config( struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env, enum ia_css_pipe_id pipe_id) __apply_additional_pipe_config() argument
613 is_pipe_valid_to_current_run_mode(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id) is_pipe_valid_to_current_run_mode() argument
660 __create_pipe(struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env, enum ia_css_pipe_id pipe_id) __create_pipe() argument
696 __create_pipes(struct atomisp_sub_device *asd) __create_pipes() argument
724 atomisp_create_pipes_stream(struct atomisp_sub_device *asd) atomisp_create_pipes_stream() argument
744 atomisp_css_update_stream(struct atomisp_sub_device *asd) atomisp_css_update_stream() argument
884 atomisp_css_init_struct(struct atomisp_sub_device *asd) atomisp_css_init_struct() argument
902 atomisp_q_video_buffer_to_css(struct atomisp_sub_device *asd, struct ia_css_frame *frame, enum atomisp_input_stream_id stream_id, enum ia_css_buffer_type css_buf_type, enum ia_css_pipe_id css_pipe_id) atomisp_q_video_buffer_to_css() argument
923 atomisp_q_metadata_buffer_to_css(struct atomisp_sub_device *asd, struct atomisp_metadata_buf *metadata_buf, enum atomisp_input_stream_id stream_id, enum ia_css_pipe_id css_pipe_id) atomisp_q_metadata_buffer_to_css() argument
943 atomisp_q_s3a_buffer_to_css(struct atomisp_sub_device *asd, struct atomisp_s3a_buf *s3a_buf, enum atomisp_input_stream_id stream_id, enum ia_css_pipe_id css_pipe_id) atomisp_q_s3a_buffer_to_css() argument
964 atomisp_q_dis_buffer_to_css(struct atomisp_sub_device *asd, struct atomisp_dis_buf *dis_buf, enum atomisp_input_stream_id stream_id, enum ia_css_pipe_id css_pipe_id) atomisp_q_dis_buffer_to_css() argument
985 atomisp_css_start(struct atomisp_sub_device *asd) atomisp_css_start() argument
1032 atomisp_css_update_isp_params(struct atomisp_sub_device *asd) atomisp_css_update_isp_params() argument
1056 atomisp_css_update_isp_params_on_pipe(struct atomisp_sub_device *asd, struct ia_css_pipe *pipe) atomisp_css_update_isp_params_on_pipe() argument
1080 atomisp_css_queue_buffer(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum ia_css_pipe_id pipe_id, enum ia_css_buffer_type buf_type, struct atomisp_css_buffer *isp_css_buffer) atomisp_css_queue_buffer() argument
1095 atomisp_css_dequeue_buffer(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum ia_css_pipe_id pipe_id, enum ia_css_buffer_type buf_type, struct atomisp_css_buffer *isp_css_buffer) atomisp_css_dequeue_buffer() argument
1116 atomisp_css_allocate_stat_buffers(struct atomisp_sub_device *asd, u16 stream_id, struct atomisp_s3a_buf *s3a_buf, struct atomisp_dis_buf *dis_buf, struct atomisp_metadata_buf *md_buf) atomisp_css_allocate_stat_buffers() argument
1205 atomisp_css_free_stat_buffers(struct atomisp_sub_device *asd) atomisp_css_free_stat_buffers() argument
1291 atomisp_css_get_grid_info(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id) atomisp_css_get_grid_info() argument
1348 atomisp_alloc_3a_output_buf(struct atomisp_sub_device *asd) atomisp_alloc_3a_output_buf() argument
1367 atomisp_alloc_dis_coef_buf(struct atomisp_sub_device *asd) atomisp_alloc_dis_coef_buf() argument
1409 atomisp_alloc_metadata_output_buf(struct atomisp_sub_device *asd) atomisp_alloc_metadata_output_buf() argument
1431 atomisp_free_metadata_output_buf(struct atomisp_sub_device *asd) atomisp_free_metadata_output_buf() argument
1443 atomisp_css_temp_pipe_to_pipe_id(struct atomisp_sub_device *asd, struct atomisp_css_event *current_event) atomisp_css_temp_pipe_to_pipe_id() argument
1459 atomisp_css_isys_set_resolution(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt, int isys_stream) atomisp_css_isys_set_resolution() argument
1475 atomisp_css_input_set_resolution(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt) atomisp_css_input_set_resolution() argument
1487 atomisp_css_input_set_binning_factor(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, unsigned int bin_factor) atomisp_css_input_set_binning_factor() argument
1495 atomisp_css_input_set_bayer_order(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum ia_css_bayer_order bayer_order) atomisp_css_input_set_bayer_order() argument
1504 atomisp_css_isys_set_link(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, int link, int isys_stream) atomisp_css_isys_set_link() argument
1515 atomisp_css_isys_set_valid(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, bool valid, int isys_stream) atomisp_css_isys_set_valid() argument
1526 atomisp_css_isys_set_format(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum atomisp_input_format format, int isys_stream) atomisp_css_isys_set_format() argument
1537 atomisp_css_input_set_format(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum atomisp_input_format format) atomisp_css_input_set_format() argument
1547 atomisp_css_set_default_isys_config(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt) atomisp_css_set_default_isys_config() argument
1575 atomisp_css_isys_two_stream_cfg_update_stream1( struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum atomisp_input_format input_format, unsigned int width, unsigned int height) atomisp_css_isys_two_stream_cfg_update_stream1() argument
1593 atomisp_css_isys_two_stream_cfg_update_stream2( struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum atomisp_input_format input_format, unsigned int width, unsigned int height) atomisp_css_isys_two_stream_cfg_update_stream2() argument
1613 atomisp_css_input_set_effective_resolution( struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, unsigned int width, unsigned int height) atomisp_css_input_set_effective_resolution() argument
1625 atomisp_css_video_set_dis_envelope(struct atomisp_sub_device *asd, unsigned int dvs_w, unsigned int dvs_h) atomisp_css_video_set_dis_envelope() argument
1634 atomisp_css_input_set_two_pixels_per_clock( struct atomisp_sub_device *asd, bool two_ppc) atomisp_css_input_set_two_pixels_per_clock() argument
1651 atomisp_css_enable_dz(struct atomisp_sub_device *asd, bool enable) atomisp_css_enable_dz() argument
1660 atomisp_css_capture_set_mode(struct atomisp_sub_device *asd, enum ia_css_capture_mode mode) atomisp_css_capture_set_mode() argument
1675 atomisp_css_input_set_mode(struct atomisp_sub_device *asd, enum ia_css_input_mode mode) atomisp_css_input_set_mode() argument
1733 atomisp_css_capture_enable_online(struct atomisp_sub_device *asd, unsigned short stream_index, bool enable) atomisp_css_capture_enable_online() argument
1746 atomisp_css_preview_enable_online(struct atomisp_sub_device *asd, unsigned short stream_index, bool enable) atomisp_css_preview_enable_online() argument
1760 atomisp_css_input_configure_port( struct atomisp_sub_device *asd, enum mipi_port_id port, unsigned int num_lanes, unsigned int timeout, unsigned int mipi_freq, enum atomisp_input_format metadata_format, unsigned int metadata_width, unsigned int metadata_height) atomisp_css_input_configure_port() argument
1804 atomisp_css_stop(struct atomisp_sub_device *asd, bool in_reset) atomisp_css_stop() argument
1857 atomisp_css_continuous_set_num_raw_frames( struct atomisp_sub_device *asd, int num_frames) atomisp_css_continuous_set_num_raw_frames() argument
1885 __pipe_id_to_pipe_mode( struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id) __pipe_id_to_pipe_mode() argument
1917 __configure_output(struct atomisp_sub_device *asd, unsigned int stream_index, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format, enum ia_css_pipe_id pipe_id) __configure_output() argument
1953 __configure_capture_pp_input(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, enum ia_css_pipe_id pipe_id) __configure_capture_pp_input() argument
2005 __configure_preview_pp_input(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, enum ia_css_pipe_id pipe_id) __configure_preview_pp_input() argument
2133 __configure_video_pp_input(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, enum ia_css_pipe_id pipe_id) __configure_video_pp_input() argument
2229 __configure_vf_output(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format, enum ia_css_pipe_id pipe_id) __configure_vf_output() argument
2252 __get_frame_info(struct atomisp_sub_device *asd, unsigned int stream_index, struct ia_css_frame_info *info, enum frame_info_type type, enum ia_css_pipe_id pipe_id) __get_frame_info() argument
2307 atomisp_get_pipe_index(struct atomisp_sub_device *asd) atomisp_get_pipe_index() argument
2325 atomisp_get_css_frame_info(struct atomisp_sub_device *asd, struct ia_css_frame_info *frame_info) atomisp_get_css_frame_info() argument
2347 atomisp_css_copy_configure_output(struct atomisp_sub_device *asd, unsigned int stream_index, unsigned int width, unsigned int height, unsigned int padded_width, enum ia_css_frame_format format) atomisp_css_copy_configure_output() argument
2362 atomisp_css_preview_configure_output(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format) atomisp_css_preview_configure_output() argument
2372 atomisp_css_capture_configure_output(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format) atomisp_css_capture_configure_output() argument
2382 atomisp_css_video_configure_output(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format) atomisp_css_video_configure_output() argument
2392 atomisp_css_video_configure_viewfinder( struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format) atomisp_css_video_configure_viewfinder() argument
2403 atomisp_css_capture_configure_viewfinder( struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format) atomisp_css_capture_configure_viewfinder() argument
2413 atomisp_css_video_get_viewfinder_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) atomisp_css_video_get_viewfinder_frame_info() argument
2421 atomisp_css_capture_get_viewfinder_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) atomisp_css_capture_get_viewfinder_frame_info() argument
2429 atomisp_css_copy_get_output_frame_info( struct atomisp_sub_device *asd, unsigned int stream_index, struct ia_css_frame_info *info) atomisp_css_copy_get_output_frame_info() argument
2438 atomisp_css_preview_get_output_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) atomisp_css_preview_get_output_frame_info() argument
2446 atomisp_css_capture_get_output_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) atomisp_css_capture_get_output_frame_info() argument
2454 atomisp_css_video_get_output_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) atomisp_css_video_get_output_frame_info() argument
2462 atomisp_css_preview_configure_pp_input( struct atomisp_sub_device *asd, unsigned int width, unsigned int height) atomisp_css_preview_configure_pp_input() argument
2477 atomisp_css_capture_configure_pp_input( struct atomisp_sub_device *asd, unsigned int width, unsigned int height) atomisp_css_capture_configure_pp_input() argument
2485 atomisp_css_video_configure_pp_input( struct atomisp_sub_device *asd, unsigned int width, unsigned int height) atomisp_css_video_configure_pp_input() argument
2501 atomisp_css_offline_capture_configure(struct atomisp_sub_device *asd, int num_captures, unsigned int skip, int offset) atomisp_css_offline_capture_configure() argument
2518 atomisp_css_exp_id_capture(struct atomisp_sub_device *asd, int exp_id) atomisp_css_exp_id_capture() argument
2535 atomisp_css_exp_id_unlock(struct atomisp_sub_device *asd, int exp_id) atomisp_css_exp_id_unlock() argument
2550 atomisp_css_capture_enable_xnr(struct atomisp_sub_device *asd, bool enable) atomisp_css_capture_enable_xnr() argument
2563 atomisp_css_set_ctc_table(struct atomisp_sub_device *asd, struct ia_css_ctc_table *ctc_table) atomisp_css_set_ctc_table() argument
2590 atomisp_css_set_anr_thres(struct atomisp_sub_device *asd, struct ia_css_anr_thres *anr_thres) atomisp_css_set_anr_thres() argument
2596 atomisp_css_set_dvs_6axis(struct atomisp_sub_device *asd, struct ia_css_dvs_6axis_config *dvs_6axis) atomisp_css_set_dvs_6axis() argument
2602 atomisp_css_video_set_dis_vector(struct atomisp_sub_device *asd, struct atomisp_dis_vector *vector) atomisp_css_video_set_dis_vector() argument
2614 atomisp_compare_dvs_grid(struct atomisp_sub_device *asd, struct atomisp_dvs_grid_info *atomgrid) atomisp_compare_dvs_grid() argument
2638 atomisp_css_set_dvs2_coefs(struct atomisp_sub_device *asd, struct ia_css_dvs2_coefficients *coefs) atomisp_css_set_dvs2_coefs() argument
2644 atomisp_css_set_dis_coefs(struct atomisp_sub_device *asd, struct atomisp_dis_coefficients *coefs) atomisp_css_set_dis_coefs() argument
2707 atomisp_css_set_zoom_factor(struct atomisp_sub_device *asd, unsigned int zoom) atomisp_css_set_zoom_factor() argument
2728 atomisp_css_set_formats_config(struct atomisp_sub_device *asd, struct ia_css_formats_config *formats_config) atomisp_css_set_formats_config() argument
2734 atomisp_css_get_wb_config(struct atomisp_sub_device *asd, struct atomisp_wb_config *config) atomisp_css_get_wb_config() argument
2757 atomisp_css_get_ob_config(struct atomisp_sub_device *asd, struct atomisp_ob_config *config) atomisp_css_get_ob_config() argument
2780 atomisp_css_get_dp_config(struct atomisp_sub_device *asd, struct atomisp_dp_config *config) atomisp_css_get_dp_config() argument
2803 atomisp_css_get_de_config(struct atomisp_sub_device *asd, struct atomisp_de_config *config) atomisp_css_get_de_config() argument
2826 atomisp_css_get_nr_config(struct atomisp_sub_device *asd, struct atomisp_nr_config *config) atomisp_css_get_nr_config() argument
2850 atomisp_css_get_ee_config(struct atomisp_sub_device *asd, struct atomisp_ee_config *config) atomisp_css_get_ee_config() argument
2873 atomisp_css_get_tnr_config(struct atomisp_sub_device *asd, struct atomisp_tnr_config *config) atomisp_css_get_tnr_config() argument
2896 atomisp_css_get_ctc_table(struct atomisp_sub_device *asd, struct atomisp_ctc_table *config) atomisp_css_get_ctc_table() argument
2924 atomisp_css_get_gamma_table(struct atomisp_sub_device *asd, struct atomisp_gamma_table *config) atomisp_css_get_gamma_table() argument
2952 atomisp_css_get_gc_config(struct atomisp_sub_device *asd, struct atomisp_gc_config *config) atomisp_css_get_gc_config() argument
2976 atomisp_css_get_3a_config(struct atomisp_sub_device *asd, struct atomisp_3a_config *config) atomisp_css_get_3a_config() argument
3000 atomisp_css_get_formats_config(struct atomisp_sub_device *asd, struct atomisp_formats_config *config) atomisp_css_get_formats_config() argument
3024 atomisp_css_get_zoom_factor(struct atomisp_sub_device *asd, unsigned int *zoom) atomisp_css_get_zoom_factor() argument
3050 atomisp_css_get_dis_stat(struct atomisp_sub_device *asd, struct atomisp_dis_statistics *stats) atomisp_css_get_dis_stat() argument
3145 atomisp_css_set_shading_table(struct atomisp_sub_device *asd, struct ia_css_shading_table *table) atomisp_css_set_shading_table() argument
3162 atomisp_css_set_morph_table(struct atomisp_sub_device *asd, struct ia_css_morph_table *table) atomisp_css_set_morph_table() argument
3168 atomisp_css_get_morph_table(struct atomisp_sub_device *asd, struct ia_css_morph_table *table) atomisp_css_get_morph_table() argument
3394 atomisp_css_set_isp_config_id(struct atomisp_sub_device *asd, uint32_t isp_config_id) atomisp_css_set_isp_config_id() argument
3400 atomisp_css_set_isp_config_applied_frame(struct atomisp_sub_device *asd, struct ia_css_frame *output_frame) atomisp_css_set_isp_config_applied_frame() argument
3422 atomisp_en_dz_capt_pipe(struct atomisp_sub_device *asd, bool enable) atomisp_en_dz_capt_pipe() argument
[all...]
H A Datomisp_cmd.c100 static unsigned short atomisp_get_sensor_fps(struct atomisp_sub_device *asd) in atomisp_get_sensor_fps() argument
103 struct atomisp_device *isp = asd->isp; in atomisp_get_sensor_fps()
108 ret = v4l2_subdev_call(isp->inputs[asd->input_curr].camera, in atomisp_get_sensor_fps()
224 fps = atomisp_get_sensor_fps(&isp->asd); in atomisp_freq_scaling()
232 curr_rules.width = isp->asd.fmt[ATOMISP_SUBDEV_PAD_SOURCE].fmt.width; in atomisp_freq_scaling()
233 curr_rules.height = isp->asd.fmt[ATOMISP_SUBDEV_PAD_SOURCE].fmt.height; in atomisp_freq_scaling()
235 curr_rules.run_mode = isp->asd.run_mode->val; in atomisp_freq_scaling()
356 static void atomisp_sof_event(struct atomisp_sub_device *asd) in atomisp_sof_event() argument
361 event.u.frame_sync.frame_sequence = atomic_read(&asd->sof_count); in atomisp_sof_event()
363 v4l2_event_queue(asd in atomisp_sof_event()
366 atomisp_eof_event(struct atomisp_sub_device *asd, uint8_t exp_id) atomisp_eof_event() argument
376 atomisp_3a_stats_ready_event(struct atomisp_sub_device *asd, uint8_t exp_id) atomisp_3a_stats_ready_event() argument
387 atomisp_metadata_ready_event(struct atomisp_sub_device *asd, enum atomisp_metadata_type md_type) atomisp_metadata_ready_event() argument
398 atomisp_reset_event(struct atomisp_sub_device *asd) atomisp_reset_event() argument
542 atomisp_clear_css_buffer_counters(struct atomisp_sub_device *asd) atomisp_clear_css_buffer_counters() argument
664 atomisp_buf_done(struct atomisp_sub_device *asd, int error, enum ia_css_buffer_type buf_type, enum ia_css_pipe_id css_pipe_id, bool q_buffers, enum atomisp_input_stream_id stream_id) atomisp_buf_done() argument
1013 atomisp_setup_flash(struct atomisp_sub_device *asd) atomisp_setup_flash() argument
1239 atomisp_update_capture_mode(struct atomisp_sub_device *asd) atomisp_update_capture_mode() argument
1252 atomisp_set_sensor_runmode(struct atomisp_sub_device *asd, struct atomisp_s_runmode *runmode) atomisp_set_sensor_runmode() argument
1277 atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag, __s32 *value) atomisp_gdc_cac() argument
1299 atomisp_low_light(struct atomisp_sub_device *asd, int flag, __s32 *value) atomisp_low_light() argument
1316 atomisp_xnr(struct atomisp_sub_device *asd, int flag, int *xnr_enable) atomisp_xnr() argument
1332 atomisp_nr(struct atomisp_sub_device *asd, int flag, struct atomisp_nr_config *arg) atomisp_nr() argument
1352 atomisp_tnr(struct atomisp_sub_device *asd, int flag, struct atomisp_tnr_config *config) atomisp_tnr() argument
1374 atomisp_black_level(struct atomisp_sub_device *asd, int flag, struct atomisp_ob_config *config) atomisp_black_level() argument
1395 atomisp_ee(struct atomisp_sub_device *asd, int flag, struct atomisp_ee_config *config) atomisp_ee() argument
1416 atomisp_gamma(struct atomisp_sub_device *asd, int flag, struct atomisp_gamma_table *config) atomisp_gamma() argument
1436 atomisp_ctc(struct atomisp_sub_device *asd, int flag, struct atomisp_ctc_table *config) atomisp_ctc() argument
1456 atomisp_gamma_correction(struct atomisp_sub_device *asd, int flag, struct atomisp_gc_config *config) atomisp_gamma_correction() argument
1477 atomisp_formats(struct atomisp_sub_device *asd, int flag, struct atomisp_formats_config *config) atomisp_formats() argument
1494 atomisp_free_internal_buffers(struct atomisp_sub_device *asd) atomisp_free_internal_buffers() argument
1499 atomisp_update_grid_info(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id) atomisp_update_grid_info() argument
1546 atomisp_curr_user_grid_info(struct atomisp_sub_device *asd, struct atomisp_grid_info *info) atomisp_curr_user_grid_info() argument
1553 atomisp_compare_grid(struct atomisp_sub_device *asd, struct atomisp_grid_info *atomgrid) atomisp_compare_grid() argument
1565 atomisp_gdc_cac_table(struct atomisp_sub_device *asd, int flag, struct atomisp_morph_table *config) atomisp_gdc_cac_table() argument
1650 atomisp_macc_table(struct atomisp_sub_device *asd, int flag, struct atomisp_macc_config *config) atomisp_macc_table() argument
1692 atomisp_set_dis_vector(struct atomisp_sub_device *asd, struct atomisp_dis_vector *vector) atomisp_set_dis_vector() argument
1705 atomisp_get_dis_stat(struct atomisp_sub_device *asd, struct atomisp_dis_statistics *stats) atomisp_get_dis_stat() argument
1714 atomisp_set_array_res(struct atomisp_sub_device *asd, struct atomisp_resolution *config) atomisp_set_array_res() argument
1731 atomisp_get_dvs2_bq_resolutions(struct atomisp_sub_device *asd, struct atomisp_dvs2_bq_resolutions *bq_res) atomisp_get_dvs2_bq_resolutions() argument
1790 atomisp_set_dis_coefs(struct atomisp_sub_device *asd, struct atomisp_dis_coefficients *coefs) atomisp_set_dis_coefs() argument
1799 atomisp_3a_stat(struct atomisp_sub_device *asd, int flag, struct atomisp_3a_statistics *config) atomisp_3a_stat() argument
1857 atomisp_calculate_real_zoom_region(struct atomisp_sub_device *asd, struct ia_css_dz_config *dz_config, enum ia_css_pipe_id css_pipe_id) atomisp_calculate_real_zoom_region() argument
2012 atomisp_check_zoom_region( struct atomisp_sub_device *asd, struct ia_css_dz_config *dz_config) atomisp_check_zoom_region() argument
2047 atomisp_apply_css_parameters( struct atomisp_sub_device *asd, struct atomisp_css_params *css_param) atomisp_apply_css_parameters() argument
2165 atomisp_cp_general_isp_parameters(struct atomisp_sub_device *asd, struct atomisp_parameters *arg, struct atomisp_css_params *css_param, bool from_user) atomisp_cp_general_isp_parameters() argument
2458 atomisp_cp_lsc_table(struct atomisp_sub_device *asd, struct atomisp_shading_table *source_st, struct atomisp_css_params *css_param, bool from_user) atomisp_cp_lsc_table() argument
2570 atomisp_css_cp_dvs2_coefs(struct atomisp_sub_device *asd, struct ia_css_dvs2_coefficients *coefs, struct atomisp_css_params *css_param, bool from_user) atomisp_css_cp_dvs2_coefs() argument
2698 atomisp_cp_dvs_6axis_config(struct atomisp_sub_device *asd, struct atomisp_dvs_6axis_config *source_6axis_config, struct atomisp_css_params *css_param, bool from_user) atomisp_cp_dvs_6axis_config() argument
2846 atomisp_cp_morph_table(struct atomisp_sub_device *asd, struct atomisp_morph_table *source_morph_table, struct atomisp_css_params *css_param, bool from_user) atomisp_cp_morph_table() argument
2932 atomisp_makeup_css_parameters(struct atomisp_sub_device *asd, struct atomisp_parameters *arg, struct atomisp_css_params *css_param) atomisp_makeup_css_parameters() argument
2998 struct atomisp_sub_device *asd = pipe->asd; atomisp_handle_parameter_and_buffer() local
3060 struct atomisp_sub_device *asd = pipe->asd; atomisp_set_parameters() local
3135 atomisp_param(struct atomisp_sub_device *asd, int flag, struct atomisp_parm *config) atomisp_param() argument
3230 atomisp_color_effect(struct atomisp_sub_device *asd, int flag, __s32 *effect) atomisp_color_effect() argument
3323 atomisp_bad_pixel(struct atomisp_sub_device *asd, int flag, __s32 *value) atomisp_bad_pixel() argument
3338 atomisp_bad_pixel_param(struct atomisp_sub_device *asd, int flag, struct atomisp_dp_config *config) atomisp_bad_pixel_param() argument
3359 atomisp_video_stable(struct atomisp_sub_device *asd, int flag, __s32 *value) atomisp_video_stable() argument
3373 atomisp_fixed_pattern(struct atomisp_sub_device *asd, int flag, __s32 *value) atomisp_fixed_pattern() argument
3476 atomisp_fixed_pattern_table(struct atomisp_sub_device *asd, struct v4l2_framebuffer *arg) atomisp_fixed_pattern_table() argument
3500 atomisp_false_color(struct atomisp_sub_device *asd, int flag, __s32 *value) atomisp_false_color() argument
3524 atomisp_false_color_param(struct atomisp_sub_device *asd, int flag, struct atomisp_de_config *config) atomisp_false_color_param() argument
3545 atomisp_white_balance_param(struct atomisp_sub_device *asd, int flag, struct atomisp_wb_config *config) atomisp_white_balance_param() argument
3563 atomisp_3a_config_param(struct atomisp_sub_device *asd, int flag, struct atomisp_3a_config *config) atomisp_3a_config_param() argument
3589 atomisp_digital_zoom(struct atomisp_sub_device *asd, int flag, __s32 *value) atomisp_digital_zoom() argument
3614 __atomisp_update_stream_env(struct atomisp_sub_device *asd, u16 stream_index, struct atomisp_input_stream_info *stream_info) __atomisp_update_stream_env() argument
3787 struct atomisp_sub_device *asd = &isp->asd; atomisp_try_fmt() local
3889 atomisp_set_sensor_mipi_to_isp( struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct camera_mipi_info *mipi_info) atomisp_set_sensor_mipi_to_isp() argument
3971 configure_pp_input_nop(struct atomisp_sub_device *asd, unsigned int width, unsigned int height) configure_pp_input_nop() argument
3977 configure_output_nop(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format sh_fmt) configure_output_nop() argument
3985 get_frame_info_nop(struct atomisp_sub_device *asd, struct ia_css_frame_info *finfo) get_frame_info_nop() argument
3998 css_input_resolution_changed(struct atomisp_sub_device *asd, struct v4l2_mbus_framefmt *ffmt) css_input_resolution_changed() argument
4039 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_set_fmt_to_isp() local
4202 atomisp_get_dis_envelop(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int *dvs_env_w, unsigned int *dvs_env_h) atomisp_get_dis_envelop() argument
4221 atomisp_check_copy_mode(struct atomisp_sub_device *asd, const struct v4l2_pix_format *f) atomisp_check_copy_mode() argument
4249 struct atomisp_sub_device *asd = pipe->asd; atomisp_set_fmt_to_snr() local
4342 struct atomisp_sub_device *asd = pipe->asd; atomisp_set_fmt() local
4461 atomisp_set_shading_table(struct atomisp_sub_device *asd, struct atomisp_shading_table *user_shading_table) atomisp_set_shading_table() argument
4523 atomisp_flash_enable(struct atomisp_sub_device *asd, int num_frames) atomisp_flash_enable() argument
4545 __checking_exp_id(struct atomisp_sub_device *asd, int exp_id) __checking_exp_id() argument
4565 atomisp_init_raw_buffer_bitmap(struct atomisp_sub_device *asd) atomisp_init_raw_buffer_bitmap() argument
4575 __is_raw_buffer_locked(struct atomisp_sub_device *asd, int exp_id) __is_raw_buffer_locked() argument
4592 __clear_raw_buffer_bitmap(struct atomisp_sub_device *asd, int exp_id) __clear_raw_buffer_bitmap() argument
4612 atomisp_exp_id_capture(struct atomisp_sub_device *asd, int *exp_id) atomisp_exp_id_capture() argument
4635 atomisp_exp_id_unlock(struct atomisp_sub_device *asd, int *exp_id) atomisp_exp_id_unlock() argument
4658 atomisp_enable_dz_capt_pipe(struct atomisp_sub_device *asd, unsigned int *enable) atomisp_enable_dz_capt_pipe() argument
4673 atomisp_inject_a_fake_event(struct atomisp_sub_device *asd, int *event) atomisp_inject_a_fake_event() argument
[all...]
H A Datomisp_ioctl.c608 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; in atomisp_g_input() local
610 *input = asd->input_curr; in atomisp_g_input()
630 struct atomisp_sub_device *asd = pipe->asd; in atomisp_s_input() local
651 if (isp->inputs[asd->input_curr].asd == asd && in atomisp_s_input()
652 asd->input_curr != input) { in atomisp_s_input()
653 ret = v4l2_subdev_call(isp->inputs[asd in atomisp_s_input()
779 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_enum_framesizes() local
807 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_enum_frameintervals() local
834 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_enum_fmt_cap() local
918 atomisp_alloc_css_stat_bufs(struct atomisp_sub_device *asd, uint16_t stream_id) atomisp_alloc_css_stat_bufs() argument
1054 struct atomisp_sub_device *asd = pipe->asd; atomisp_dqbuf_wrapper() local
1090 atomisp_dma_burst_len_cfg(struct atomisp_sub_device *asd) atomisp_dma_burst_len_cfg() argument
1107 struct atomisp_sub_device *asd = pipe->asd; atomisp_start_streaming() local
1201 struct atomisp_sub_device *asd = pipe->asd; atomisp_stop_streaming() local
1285 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_g_ctrl() local
1359 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_s_ctrl() local
1438 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_queryctl() local
1479 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_camera_g_ext_ctrls() local
1585 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_camera_s_ext_ctrls() local
1709 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_g_parm() local
1727 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_s_parm() local
1780 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_vidioc_default() local
[all...]
H A Datomisp_subdev.c120 bool atomisp_subdev_format_conversion(struct atomisp_sub_device *asd) in atomisp_subdev_format_conversion() argument
124 sink = atomisp_subdev_get_ffmt(&asd->subdev, NULL, in atomisp_subdev_format_conversion()
126 src = atomisp_subdev_get_ffmt(&asd->subdev, NULL, in atomisp_subdev_format_conversion()
642 static void isp_subdev_init_params(struct atomisp_sub_device *asd) in isp_subdev_init_params() argument
647 INIT_LIST_HEAD(&asd->s3a_stats); in isp_subdev_init_params()
648 INIT_LIST_HEAD(&asd->s3a_stats_in_css); in isp_subdev_init_params()
649 INIT_LIST_HEAD(&asd->s3a_stats_ready); in isp_subdev_init_params()
650 INIT_LIST_HEAD(&asd->dis_stats); in isp_subdev_init_params()
651 INIT_LIST_HEAD(&asd->dis_stats_in_css); in isp_subdev_init_params()
652 spin_lock_init(&asd in isp_subdev_init_params()
666 __atomisp_update_run_mode(struct atomisp_sub_device *asd) __atomisp_update_run_mode() argument
685 atomisp_update_run_mode(struct atomisp_sub_device *asd) atomisp_update_run_mode() argument
698 struct atomisp_sub_device *asd = container_of( s_ctrl() local
827 atomisp_init_subdev_pipe(struct atomisp_sub_device *asd, struct atomisp_video_pipe *pipe, enum v4l2_buf_type buf_type) atomisp_init_subdev_pipe() argument
866 isp_subdev_init_entities(struct atomisp_sub_device *asd) isp_subdev_init_entities() argument
930 atomisp_subdev_cleanup_entities(struct atomisp_sub_device *asd) atomisp_subdev_cleanup_entities() argument
937 atomisp_subdev_cleanup_pending_events(struct atomisp_sub_device *asd) atomisp_subdev_cleanup_pending_events() argument
951 atomisp_subdev_unregister_entities(struct atomisp_sub_device *asd) atomisp_subdev_unregister_entities() argument
958 atomisp_subdev_register_subdev(struct atomisp_sub_device *asd, struct v4l2_device *vdev) atomisp_subdev_register_subdev() argument
[all...]
H A Datomisp_compat_css20.h108 void atomisp_css_set_macc_config(struct atomisp_sub_device *asd,
111 void atomisp_css_set_ecd_config(struct atomisp_sub_device *asd,
114 void atomisp_css_set_ynr_config(struct atomisp_sub_device *asd,
117 void atomisp_css_set_fc_config(struct atomisp_sub_device *asd,
120 void atomisp_css_set_aa_config(struct atomisp_sub_device *asd,
123 void atomisp_css_set_baa_config(struct atomisp_sub_device *asd,
126 void atomisp_css_set_anr_config(struct atomisp_sub_device *asd,
129 void atomisp_css_set_xnr_config(struct atomisp_sub_device *asd,
132 void atomisp_css_set_cnr_config(struct atomisp_sub_device *asd,
135 void atomisp_css_set_ctc_config(struct atomisp_sub_device *asd,
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/
H A Datomisp_compat.h49 void atomisp_css_init_struct(struct atomisp_sub_device *asd);
63 int atomisp_q_video_buffer_to_css(struct atomisp_sub_device *asd,
69 int atomisp_q_s3a_buffer_to_css(struct atomisp_sub_device *asd,
74 int atomisp_q_metadata_buffer_to_css(struct atomisp_sub_device *asd,
79 int atomisp_q_dis_buffer_to_css(struct atomisp_sub_device *asd,
88 int atomisp_css_start(struct atomisp_sub_device *asd,
91 void atomisp_css_update_isp_params(struct atomisp_sub_device *asd);
92 void atomisp_css_update_isp_params_on_pipe(struct atomisp_sub_device *asd,
95 int atomisp_css_queue_buffer(struct atomisp_sub_device *asd,
101 int atomisp_css_dequeue_buffer(struct atomisp_sub_device *asd,
[all...]
H A Datomisp_cmd.h61 void atomisp_flush_bufs_and_wakeup(struct atomisp_sub_device *asd);
62 void atomisp_clear_css_buffer_counters(struct atomisp_sub_device *asd);
64 bool atomisp_buffers_queued(struct atomisp_sub_device *asd);
75 void atomisp_setup_flash(struct atomisp_sub_device *asd);
99 int atomisp_set_sensor_runmode(struct atomisp_sub_device *asd,
105 int atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag,
111 int atomisp_low_light(struct atomisp_sub_device *asd, int flag,
118 int atomisp_xnr(struct atomisp_sub_device *asd, int flag, int *arg);
120 int atomisp_formats(struct atomisp_sub_device *asd, int flag,
126 int atomisp_nr(struct atomisp_sub_device *asd, in
[all...]
H A Datomisp_fops.c87 static int atomisp_q_one_metadata_buffer(struct atomisp_sub_device *asd, in atomisp_q_one_metadata_buffer() argument
93 atomisp_get_metadata_type(asd, css_pipe_id); in atomisp_q_one_metadata_buffer()
96 if (asd->metadata_bufs_in_css[stream_id][css_pipe_id] >= in atomisp_q_one_metadata_buffer()
100 if (!list_empty(&asd->metadata[md_type])) { in atomisp_q_one_metadata_buffer()
101 metadata_list = &asd->metadata[md_type]; in atomisp_q_one_metadata_buffer()
102 } else if (!list_empty(&asd->metadata_ready[md_type])) { in atomisp_q_one_metadata_buffer()
103 metadata_list = &asd->metadata_ready[md_type]; in atomisp_q_one_metadata_buffer()
105 dev_warn(asd->isp->dev, "%s: No metadata buffers available for type %d!\n", in atomisp_q_one_metadata_buffer()
114 if (atomisp_q_metadata_buffer_to_css(asd, metadata_buf, in atomisp_q_one_metadata_buffer()
120 &asd in atomisp_q_one_metadata_buffer()
127 atomisp_q_one_s3a_buffer(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum ia_css_pipe_id css_pipe_id) atomisp_q_one_s3a_buffer() argument
169 atomisp_q_one_dis_buffer(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum ia_css_pipe_id css_pipe_id) atomisp_q_one_dis_buffer() argument
211 atomisp_q_video_buffers_to_css(struct atomisp_sub_device *asd, struct atomisp_video_pipe *pipe, enum atomisp_input_stream_id stream_id, enum ia_css_buffer_type css_buf_type, enum ia_css_pipe_id css_pipe_id) atomisp_q_video_buffers_to_css() argument
325 atomisp_get_css_buf_type(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id, uint16_t source_pad) atomisp_get_css_buf_type() argument
374 atomisp_qbuffers_to_css_for_all_pipes(struct atomisp_sub_device *asd) atomisp_qbuffers_to_css_for_all_pipes() argument
414 atomisp_qbuffers_to_css(struct atomisp_sub_device *asd) atomisp_qbuffers_to_css() argument
705 atomisp_subdev_init_struct(struct atomisp_sub_device *asd) atomisp_subdev_init_struct() argument
743 atomisp_subdev_users(struct atomisp_sub_device *asd) atomisp_subdev_users() argument
769 struct atomisp_sub_device *asd; atomisp_open() local
902 struct atomisp_sub_device *asd; atomisp_release() local
1171 struct atomisp_sub_device *asd = pipe->asd; atomisp_mmap() local
[all...]
H A Datomisp_acc.c75 acc_get_fw(struct atomisp_sub_device *asd, unsigned int handle) in acc_get_fw() argument
79 list_for_each_entry(acc_fw, &asd->acc.fw, list) in acc_get_fw()
86 static struct atomisp_map *acc_get_map(struct atomisp_sub_device *asd, in acc_get_map() argument
91 list_for_each_entry(atomisp_map, &asd->acc.memory_maps, list) { in acc_get_map()
99 static int acc_stop_acceleration(struct atomisp_sub_device *asd) in acc_stop_acceleration() argument
103 ret = atomisp_css_stop_acc_pipe(asd); in acc_stop_acceleration()
104 atomisp_css_destroy_acc_pipe(asd); in acc_stop_acceleration()
114 ida_destroy(&isp->asd[i].acc.ida); in atomisp_acc_cleanup()
117 void atomisp_acc_release(struct atomisp_sub_device *asd) in atomisp_acc_release() argument
123 if (asd in atomisp_acc_release()
141 atomisp_acc_load_to_pipe(struct atomisp_sub_device *asd, struct atomisp_acc_fw_load_to_pipe *user_fw) atomisp_acc_load_to_pipe() argument
211 atomisp_acc_load(struct atomisp_sub_device *asd, struct atomisp_acc_fw_load *user_fw) atomisp_acc_load() argument
226 atomisp_acc_unload(struct atomisp_sub_device *asd, unsigned int *handle) atomisp_acc_unload() argument
244 atomisp_acc_start(struct atomisp_sub_device *asd, unsigned int *handle) atomisp_acc_start() argument
304 atomisp_acc_wait(struct atomisp_sub_device *asd, unsigned int *handle) atomisp_acc_wait() argument
324 atomisp_acc_done(struct atomisp_sub_device *asd, unsigned int handle) atomisp_acc_done() argument
335 atomisp_acc_map(struct atomisp_sub_device *asd, struct atomisp_acc_map *map) atomisp_acc_map() argument
394 atomisp_acc_unmap(struct atomisp_sub_device *asd, struct atomisp_acc_map *map) atomisp_acc_unmap() argument
412 atomisp_acc_s_mapped_arg(struct atomisp_sub_device *asd, struct atomisp_acc_s_mapped_arg *arg) atomisp_acc_s_mapped_arg() argument
442 atomisp_acc_unload_some_extensions(struct atomisp_sub_device *asd, int i, struct atomisp_acc_fw *acc_fw) atomisp_acc_unload_some_extensions() argument
458 atomisp_acc_load_extensions(struct atomisp_sub_device *asd) atomisp_acc_load_extensions() argument
542 atomisp_acc_unload_extensions(struct atomisp_sub_device *asd) atomisp_acc_unload_extensions() argument
567 atomisp_acc_set_state(struct atomisp_sub_device *asd, struct atomisp_acc_state *arg) atomisp_acc_set_state() argument
608 atomisp_acc_get_state(struct atomisp_sub_device *asd, struct atomisp_acc_state *arg) atomisp_acc_get_state() argument
[all...]
H A Datomisp_compat_css20.c192 static void __dump_pipe_config(struct atomisp_sub_device *asd, in __dump_pipe_config() argument
196 struct atomisp_device *isp = asd->isp; in __dump_pipe_config()
287 static void __dump_stream_config(struct atomisp_sub_device *asd, in __dump_stream_config() argument
290 struct atomisp_device *isp = asd->isp; in __dump_stream_config()
297 __dump_pipe_config(asd, stream_env, j); in __dump_stream_config()
421 static int __destroy_stream(struct atomisp_sub_device *asd, in __destroy_stream() argument
424 struct atomisp_device *isp = asd->isp; in __destroy_stream()
473 static int __destroy_streams(struct atomisp_sub_device *asd, bool force) in __destroy_streams() argument
478 ret = __destroy_stream(asd, &asd in __destroy_streams()
486 __create_stream(struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env) __create_stream() argument
520 __create_streams(struct atomisp_sub_device *asd) __create_streams() argument
537 __destroy_stream_pipes(struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env, bool force) __destroy_stream_pipes() argument
561 __destroy_pipes(struct atomisp_sub_device *asd, bool force) __destroy_pipes() argument
583 atomisp_destroy_pipes_stream_force(struct atomisp_sub_device *asd) atomisp_destroy_pipes_stream_force() argument
589 __apply_additional_pipe_config( struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env, enum ia_css_pipe_id pipe_id) __apply_additional_pipe_config() argument
660 is_pipe_valid_to_current_run_mode(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id) is_pipe_valid_to_current_run_mode() argument
729 __create_pipe(struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env, enum ia_css_pipe_id pipe_id) __create_pipe() argument
770 __create_pipes(struct atomisp_sub_device *asd) __create_pipes() argument
798 atomisp_create_pipes_stream(struct atomisp_sub_device *asd) atomisp_create_pipes_stream() argument
804 atomisp_css_update_stream(struct atomisp_sub_device *asd) atomisp_css_update_stream() argument
914 struct atomisp_sub_device *asd; atomisp_css_uninit() local
1006 atomisp_css_init_struct(struct atomisp_sub_device *asd) atomisp_css_init_struct() argument
1024 atomisp_q_video_buffer_to_css(struct atomisp_sub_device *asd, struct videobuf_vmalloc_memory *vm_mem, enum atomisp_input_stream_id stream_id, enum ia_css_buffer_type css_buf_type, enum ia_css_pipe_id css_pipe_id) atomisp_q_video_buffer_to_css() argument
1045 atomisp_q_metadata_buffer_to_css(struct atomisp_sub_device *asd, struct atomisp_metadata_buf *metadata_buf, enum atomisp_input_stream_id stream_id, enum ia_css_pipe_id css_pipe_id) atomisp_q_metadata_buffer_to_css() argument
1065 atomisp_q_s3a_buffer_to_css(struct atomisp_sub_device *asd, struct atomisp_s3a_buf *s3a_buf, enum atomisp_input_stream_id stream_id, enum ia_css_pipe_id css_pipe_id) atomisp_q_s3a_buffer_to_css() argument
1086 atomisp_q_dis_buffer_to_css(struct atomisp_sub_device *asd, struct atomisp_dis_buf *dis_buf, enum atomisp_input_stream_id stream_id, enum ia_css_pipe_id css_pipe_id) atomisp_q_dis_buffer_to_css() argument
1107 atomisp_css_start(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id, bool in_reset) atomisp_css_start() argument
1209 atomisp_css_update_isp_params(struct atomisp_sub_device *asd) atomisp_css_update_isp_params() argument
1233 atomisp_css_update_isp_params_on_pipe(struct atomisp_sub_device *asd, struct ia_css_pipe *pipe) atomisp_css_update_isp_params_on_pipe() argument
1257 atomisp_css_queue_buffer(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum ia_css_pipe_id pipe_id, enum ia_css_buffer_type buf_type, struct atomisp_css_buffer *isp_css_buffer) atomisp_css_queue_buffer() argument
1272 atomisp_css_dequeue_buffer(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum ia_css_pipe_id pipe_id, enum ia_css_buffer_type buf_type, struct atomisp_css_buffer *isp_css_buffer) atomisp_css_dequeue_buffer() argument
1293 atomisp_css_allocate_stat_buffers(struct atomisp_sub_device *asd, u16 stream_id, struct atomisp_s3a_buf *s3a_buf, struct atomisp_dis_buf *dis_buf, struct atomisp_metadata_buf *md_buf) atomisp_css_allocate_stat_buffers() argument
1382 atomisp_css_free_stat_buffers(struct atomisp_sub_device *asd) atomisp_css_free_stat_buffers() argument
1468 atomisp_css_get_grid_info(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id, int source_pad) atomisp_css_get_grid_info() argument
1527 atomisp_alloc_3a_output_buf(struct atomisp_sub_device *asd) atomisp_alloc_3a_output_buf() argument
1546 atomisp_alloc_dis_coef_buf(struct atomisp_sub_device *asd) atomisp_alloc_dis_coef_buf() argument
1588 atomisp_alloc_metadata_output_buf(struct atomisp_sub_device *asd) atomisp_alloc_metadata_output_buf() argument
1610 atomisp_free_metadata_output_buf(struct atomisp_sub_device *asd) atomisp_free_metadata_output_buf() argument
1622 atomisp_css_get_dis_statistics(struct atomisp_sub_device *asd, struct atomisp_css_buffer *isp_css_buffer, struct ia_css_isp_dvs_statistics_map *dvs_map) atomisp_css_get_dis_statistics() argument
1644 atomisp_css_temp_pipe_to_pipe_id(struct atomisp_sub_device *asd, struct atomisp_css_event *current_event) atomisp_css_temp_pipe_to_pipe_id() argument
1660 atomisp_css_isys_set_resolution(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt, int isys_stream) atomisp_css_isys_set_resolution() argument
1676 atomisp_css_input_set_resolution(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt) atomisp_css_input_set_resolution() argument
1688 atomisp_css_input_set_binning_factor(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, unsigned int bin_factor) atomisp_css_input_set_binning_factor() argument
1696 atomisp_css_input_set_bayer_order(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum ia_css_bayer_order bayer_order) atomisp_css_input_set_bayer_order() argument
1705 atomisp_css_isys_set_link(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, int link, int isys_stream) atomisp_css_isys_set_link() argument
1716 atomisp_css_isys_set_valid(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, bool valid, int isys_stream) atomisp_css_isys_set_valid() argument
1727 atomisp_css_isys_set_format(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum atomisp_input_format format, int isys_stream) atomisp_css_isys_set_format() argument
1738 atomisp_css_input_set_format(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum atomisp_input_format format) atomisp_css_input_set_format() argument
1748 atomisp_css_set_default_isys_config(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt) atomisp_css_set_default_isys_config() argument
1776 atomisp_css_isys_two_stream_cfg(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum atomisp_input_format input_format) atomisp_css_isys_two_stream_cfg() argument
1799 atomisp_css_isys_two_stream_cfg_update_stream1( struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum atomisp_input_format input_format, unsigned int width, unsigned int height) atomisp_css_isys_two_stream_cfg_update_stream1() argument
1817 atomisp_css_isys_two_stream_cfg_update_stream2( struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum atomisp_input_format input_format, unsigned int width, unsigned int height) atomisp_css_isys_two_stream_cfg_update_stream2() argument
1837 atomisp_css_input_set_effective_resolution( struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, unsigned int width, unsigned int height) atomisp_css_input_set_effective_resolution() argument
1849 atomisp_css_video_set_dis_envelope(struct atomisp_sub_device *asd, unsigned int dvs_w, unsigned int dvs_h) atomisp_css_video_set_dis_envelope() argument
1858 atomisp_css_input_set_two_pixels_per_clock( struct atomisp_sub_device *asd, bool two_ppc) atomisp_css_input_set_two_pixels_per_clock() argument
1875 atomisp_css_enable_raw_binning(struct atomisp_sub_device *asd, bool enable) atomisp_css_enable_raw_binning() argument
1894 atomisp_css_enable_dz(struct atomisp_sub_device *asd, bool enable) atomisp_css_enable_dz() argument
1903 atomisp_css_capture_set_mode(struct atomisp_sub_device *asd, enum ia_css_capture_mode mode) atomisp_css_capture_set_mode() argument
1918 atomisp_css_input_set_mode(struct atomisp_sub_device *asd, enum ia_css_input_mode mode) atomisp_css_input_set_mode() argument
1976 atomisp_css_capture_enable_online(struct atomisp_sub_device *asd, unsigned short stream_index, bool enable) atomisp_css_capture_enable_online() argument
1989 atomisp_css_preview_enable_online(struct atomisp_sub_device *asd, unsigned short stream_index, bool enable) atomisp_css_preview_enable_online() argument
2003 atomisp_css_video_enable_online(struct atomisp_sub_device *asd, bool enable) atomisp_css_video_enable_online() argument
2017 atomisp_css_enable_continuous(struct atomisp_sub_device *asd, bool enable) atomisp_css_enable_continuous() argument
2043 atomisp_css_enable_cvf(struct atomisp_sub_device *asd, bool enable) atomisp_css_enable_cvf() argument
2057 atomisp_css_input_configure_port( struct atomisp_sub_device *asd, enum mipi_port_id port, unsigned int num_lanes, unsigned int timeout, unsigned int mipi_freq, enum atomisp_input_format metadata_format, unsigned int metadata_width, unsigned int metadata_height) atomisp_css_input_configure_port() argument
2101 atomisp_css_stop(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id, bool in_reset) atomisp_css_stop() argument
2194 atomisp_css_continuous_set_num_raw_frames( struct atomisp_sub_device *asd, int num_frames) atomisp_css_continuous_set_num_raw_frames() argument
2223 __pipe_id_to_pipe_mode( struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id) __pipe_id_to_pipe_mode() argument
2257 __configure_output(struct atomisp_sub_device *asd, unsigned int stream_index, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format, enum ia_css_pipe_id pipe_id) __configure_output() argument
2289 __configure_video_preview_output(struct atomisp_sub_device *asd, unsigned int stream_index, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format, enum ia_css_pipe_id pipe_id) __configure_video_preview_output() argument
2338 __configure_capture_pp_input(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, enum ia_css_pipe_id pipe_id) __configure_capture_pp_input() argument
2390 __configure_preview_pp_input(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, enum ia_css_pipe_id pipe_id) __configure_preview_pp_input() argument
2518 __configure_video_pp_input(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, enum ia_css_pipe_id pipe_id) __configure_video_pp_input() argument
2614 __configure_vf_output(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format, enum ia_css_pipe_id pipe_id) __configure_vf_output() argument
2637 __configure_video_vf_output(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format, enum ia_css_pipe_id pipe_id) __configure_video_vf_output() argument
2673 __get_frame_info(struct atomisp_sub_device *asd, unsigned int stream_index, struct ia_css_frame_info *info, enum frame_info_type type, enum ia_css_pipe_id pipe_id) __get_frame_info() argument
2731 atomisp_get_pipe_index(struct atomisp_sub_device *asd, uint16_t source_pad) atomisp_get_pipe_index() argument
2778 atomisp_get_css_frame_info(struct atomisp_sub_device *asd, u16 source_pad, struct ia_css_frame_info *frame_info) atomisp_get_css_frame_info() argument
2844 atomisp_css_copy_configure_output(struct atomisp_sub_device *asd, unsigned int stream_index, unsigned int width, unsigned int height, unsigned int padded_width, enum ia_css_frame_format format) atomisp_css_copy_configure_output() argument
2859 atomisp_css_yuvpp_configure_output(struct atomisp_sub_device *asd, unsigned int stream_index, unsigned int width, unsigned int height, unsigned int padded_width, enum ia_css_frame_format format) atomisp_css_yuvpp_configure_output() argument
2874 atomisp_css_yuvpp_configure_viewfinder( struct atomisp_sub_device *asd, unsigned int stream_index, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format) atomisp_css_yuvpp_configure_viewfinder() argument
2897 atomisp_css_yuvpp_get_output_frame_info( struct atomisp_sub_device *asd, unsigned int stream_index, struct ia_css_frame_info *info) atomisp_css_yuvpp_get_output_frame_info() argument
2906 atomisp_css_yuvpp_get_viewfinder_frame_info( struct atomisp_sub_device *asd, unsigned int stream_index, struct ia_css_frame_info *info) atomisp_css_yuvpp_get_viewfinder_frame_info() argument
2915 atomisp_css_preview_configure_output(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format) atomisp_css_preview_configure_output() argument
2933 atomisp_css_capture_configure_output(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format) atomisp_css_capture_configure_output() argument
2953 atomisp_css_video_configure_output(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format) atomisp_css_video_configure_output() argument
2971 atomisp_css_video_configure_viewfinder( struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format) atomisp_css_video_configure_viewfinder() argument
2989 atomisp_css_capture_configure_viewfinder( struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format format) atomisp_css_capture_configure_viewfinder() argument
3010 atomisp_css_video_get_viewfinder_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) atomisp_css_video_get_viewfinder_frame_info() argument
3029 atomisp_css_capture_get_viewfinder_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) atomisp_css_capture_get_viewfinder_frame_info() argument
3044 atomisp_css_capture_get_output_raw_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) atomisp_css_capture_get_output_raw_frame_info() argument
3055 atomisp_css_copy_get_output_frame_info( struct atomisp_sub_device *asd, unsigned int stream_index, struct ia_css_frame_info *info) atomisp_css_copy_get_output_frame_info() argument
3064 atomisp_css_preview_get_output_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) atomisp_css_preview_get_output_frame_info() argument
3083 atomisp_css_capture_get_output_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) atomisp_css_capture_get_output_frame_info() argument
3098 atomisp_css_video_get_output_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) atomisp_css_video_get_output_frame_info() argument
3117 atomisp_css_preview_configure_pp_input( struct atomisp_sub_device *asd, unsigned int width, unsigned int height) atomisp_css_preview_configure_pp_input() argument
3135 atomisp_css_capture_configure_pp_input( struct atomisp_sub_device *asd, unsigned int width, unsigned int height) atomisp_css_capture_configure_pp_input() argument
3145 atomisp_css_video_configure_pp_input( struct atomisp_sub_device *asd, unsigned int width, unsigned int height) atomisp_css_video_configure_pp_input() argument
3164 atomisp_css_offline_capture_configure(struct atomisp_sub_device *asd, int num_captures, unsigned int skip, int offset) atomisp_css_offline_capture_configure() argument
3181 atomisp_css_exp_id_capture(struct atomisp_sub_device *asd, int exp_id) atomisp_css_exp_id_capture() argument
3198 atomisp_css_exp_id_unlock(struct atomisp_sub_device *asd, int exp_id) atomisp_css_exp_id_unlock() argument
3213 atomisp_css_capture_enable_xnr(struct atomisp_sub_device *asd, bool enable) atomisp_css_capture_enable_xnr() argument
3226 atomisp_css_set_ctc_table(struct atomisp_sub_device *asd, struct ia_css_ctc_table *ctc_table) atomisp_css_set_ctc_table() argument
3253 atomisp_css_set_anr_thres(struct atomisp_sub_device *asd, struct ia_css_anr_thres *anr_thres) atomisp_css_set_anr_thres() argument
3259 atomisp_css_set_dvs_6axis(struct atomisp_sub_device *asd, struct ia_css_dvs_6axis_config *dvs_6axis) atomisp_css_set_dvs_6axis() argument
3265 atomisp_css_video_set_dis_vector(struct atomisp_sub_device *asd, struct atomisp_dis_vector *vector) atomisp_css_video_set_dis_vector() argument
3277 atomisp_compare_dvs_grid(struct atomisp_sub_device *asd, struct atomisp_dvs_grid_info *atomgrid) atomisp_compare_dvs_grid() argument
3301 atomisp_css_set_dvs2_coefs(struct atomisp_sub_device *asd, struct ia_css_dvs2_coefficients *coefs) atomisp_css_set_dvs2_coefs() argument
3307 atomisp_css_set_dis_coefs(struct atomisp_sub_device *asd, struct atomisp_dis_coefficients *coefs) atomisp_css_set_dis_coefs() argument
3370 atomisp_css_set_zoom_factor(struct atomisp_sub_device *asd, unsigned int zoom) atomisp_css_set_zoom_factor() argument
3391 atomisp_css_set_formats_config(struct atomisp_sub_device *asd, struct ia_css_formats_config *formats_config) atomisp_css_set_formats_config() argument
3397 atomisp_css_get_wb_config(struct atomisp_sub_device *asd, struct atomisp_wb_config *config) atomisp_css_get_wb_config() argument
3420 atomisp_css_get_ob_config(struct atomisp_sub_device *asd, struct atomisp_ob_config *config) atomisp_css_get_ob_config() argument
3443 atomisp_css_get_dp_config(struct atomisp_sub_device *asd, struct atomisp_dp_config *config) atomisp_css_get_dp_config() argument
3466 atomisp_css_get_de_config(struct atomisp_sub_device *asd, struct atomisp_de_config *config) atomisp_css_get_de_config() argument
3489 atomisp_css_get_nr_config(struct atomisp_sub_device *asd, struct atomisp_nr_config *config) atomisp_css_get_nr_config() argument
3513 atomisp_css_get_ee_config(struct atomisp_sub_device *asd, struct atomisp_ee_config *config) atomisp_css_get_ee_config() argument
3536 atomisp_css_get_tnr_config(struct atomisp_sub_device *asd, struct atomisp_tnr_config *config) atomisp_css_get_tnr_config() argument
3559 atomisp_css_get_ctc_table(struct atomisp_sub_device *asd, struct atomisp_ctc_table *config) atomisp_css_get_ctc_table() argument
3587 atomisp_css_get_gamma_table(struct atomisp_sub_device *asd, struct atomisp_gamma_table *config) atomisp_css_get_gamma_table() argument
3615 atomisp_css_get_gc_config(struct atomisp_sub_device *asd, struct atomisp_gc_config *config) atomisp_css_get_gc_config() argument
3639 atomisp_css_get_3a_config(struct atomisp_sub_device *asd, struct atomisp_3a_config *config) atomisp_css_get_3a_config() argument
3663 atomisp_css_get_formats_config(struct atomisp_sub_device *asd, struct atomisp_formats_config *config) atomisp_css_get_formats_config() argument
3687 atomisp_css_get_zoom_factor(struct atomisp_sub_device *asd, unsigned int *zoom) atomisp_css_get_zoom_factor() argument
3713 atomisp_css_get_dis_stat(struct atomisp_sub_device *asd, struct atomisp_dis_statistics *stats) atomisp_css_get_dis_stat() argument
3810 atomisp_css_set_shading_table(struct atomisp_sub_device *asd, struct ia_css_shading_table *table) atomisp_css_set_shading_table() argument
3827 atomisp_css_set_morph_table(struct atomisp_sub_device *asd, struct ia_css_morph_table *table) atomisp_css_set_morph_table() argument
3833 atomisp_css_get_morph_table(struct atomisp_sub_device *asd, struct ia_css_morph_table *table) atomisp_css_get_morph_table() argument
3865 atomisp_css_acc_done(struct atomisp_sub_device *asd) atomisp_css_acc_done() argument
3870 atomisp_css_wait_acc_finish(struct atomisp_sub_device *asd) atomisp_css_wait_acc_finish() argument
3908 atomisp_css_load_acc_extension(struct atomisp_sub_device *asd, struct ia_css_fw_info *fw, enum ia_css_pipe_id pipe_id, unsigned int type) atomisp_css_load_acc_extension() argument
3928 atomisp_css_unload_acc_extension(struct atomisp_sub_device *asd, struct ia_css_fw_info *fw, enum ia_css_pipe_id pipe_id) atomisp_css_unload_acc_extension() argument
3949 atomisp_css_create_acc_pipe(struct atomisp_sub_device *asd) atomisp_css_create_acc_pipe() argument
3991 atomisp_css_start_acc_pipe(struct atomisp_sub_device *asd) atomisp_css_start_acc_pipe() argument
4036 atomisp_css_stop_acc_pipe(struct atomisp_sub_device *asd) atomisp_css_stop_acc_pipe() argument
4047 atomisp_css_destroy_acc_pipe(struct atomisp_sub_device *asd) atomisp_css_destroy_acc_pipe() argument
4084 atomisp_css_load_acc_binary(struct atomisp_sub_device *asd, struct ia_css_fw_info *fw, unsigned int index) atomisp_css_load_acc_binary() argument
4111 struct atomisp_sub_device *asd; __get_atomisp_subdev() local
4140 struct atomisp_sub_device *asd; atomisp_css_isr_thread() local
4289 struct atomisp_sub_device *asd = &isp->asd[i]; atomisp_css_valid_sof() local
4367 atomisp_css_set_isp_config_id(struct atomisp_sub_device *asd, uint32_t isp_config_id) atomisp_css_set_isp_config_id() argument
4373 atomisp_css_set_isp_config_applied_frame(struct atomisp_sub_device *asd, struct ia_css_frame *output_frame) atomisp_css_set_isp_config_applied_frame() argument
4395 atomisp_en_dz_capt_pipe(struct atomisp_sub_device *asd, bool enable) atomisp_en_dz_capt_pipe() argument
[all...]
H A Datomisp_cmd.c111 static unsigned short atomisp_get_sensor_fps(struct atomisp_sub_device *asd) in atomisp_get_sensor_fps() argument
114 struct atomisp_device *isp = asd->isp; in atomisp_get_sensor_fps()
119 ret = v4l2_subdev_call(isp->inputs[asd->input_curr].camera, in atomisp_get_sensor_fps()
212 struct atomisp_sub_device *asd = &isp->asd[0]; in atomisp_freq_scaling() local
225 ATOMISP_PCI_DEVICE_SOC_CHT && ATOMISP_USE_YUVPP(asd)) in atomisp_freq_scaling()
247 fps = atomisp_get_sensor_fps(asd); in atomisp_freq_scaling()
255 curr_rules.width = asd->fmt[asd->capture_pad].fmt.width; in atomisp_freq_scaling()
256 curr_rules.height = asd in atomisp_freq_scaling()
399 atomisp_sof_event(struct atomisp_sub_device *asd) atomisp_sof_event() argument
409 atomisp_eof_event(struct atomisp_sub_device *asd, uint8_t exp_id) atomisp_eof_event() argument
419 atomisp_3a_stats_ready_event(struct atomisp_sub_device *asd, uint8_t exp_id) atomisp_3a_stats_ready_event() argument
430 atomisp_metadata_ready_event(struct atomisp_sub_device *asd, enum atomisp_metadata_type md_type) atomisp_metadata_ready_event() argument
441 atomisp_reset_event(struct atomisp_sub_device *asd) atomisp_reset_event() argument
502 struct atomisp_sub_device *asd = &isp->asd[i]; __get_asd_from_port() local
521 struct atomisp_sub_device *asd; atomisp_isr() local
636 atomisp_clear_css_buffer_counters(struct atomisp_sub_device *asd) atomisp_clear_css_buffer_counters() argument
652 atomisp_buffers_queued(struct atomisp_sub_device *asd) atomisp_buffers_queued() argument
709 atomisp_flush_video_pipe(struct atomisp_sub_device *asd, struct atomisp_video_pipe *pipe) atomisp_flush_video_pipe() argument
737 atomisp_flush_bufs_and_wakeup(struct atomisp_sub_device *asd) atomisp_flush_bufs_and_wakeup() argument
775 __atomisp_get_pipe( struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum ia_css_pipe_id css_pipe_id, enum ia_css_buffer_type buf_type) __atomisp_get_pipe() argument
878 atomisp_get_metadata_type(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id) atomisp_get_metadata_type() argument
890 atomisp_buf_done(struct atomisp_sub_device *asd, int error, enum ia_css_buffer_type buf_type, enum ia_css_pipe_id css_pipe_id, bool q_buffers, enum atomisp_input_stream_id stream_id) atomisp_buf_done() argument
1280 struct atomisp_sub_device *asd = container_of(work, atomisp_delayed_init_work() local
1322 struct atomisp_sub_device *asd = &isp->asd[i]; __atomisp_css_recover() local
1409 struct atomisp_sub_device *asd = &isp->asd[i]; __atomisp_css_recover() local
1440 struct atomisp_sub_device *asd; __atomisp_css_recover() local
1512 struct atomisp_sub_device *asd = &isp->asd[i]; atomisp_wdt_work() local
1540 struct atomisp_sub_device *asd = &isp->asd[i]; atomisp_wdt_work() local
1616 struct atomisp_sub_device *asd = &isp->asd[i]; atomisp_wdt_work() local
1642 struct atomisp_sub_device *asd = &isp->asd[i]; atomisp_wdt_work() local
1669 struct atomisp_sub_device *asd = &isp->asd[i]; atomisp_css_flush() local
1678 struct atomisp_sub_device *asd = &isp->asd[i]; atomisp_css_flush() local
1694 struct atomisp_sub_device *asd; atomisp_wdt() local
1722 atomisp_wdt_start(struct atomisp_sub_device *asd) atomisp_wdt_start() argument
1760 atomisp_wdt_refresh(struct atomisp_sub_device *asd, unsigned int delay) atomisp_wdt_refresh() argument
1827 atomisp_wdt_stop(struct atomisp_sub_device *asd, bool sync) atomisp_wdt_stop() argument
1846 atomisp_setup_flash(struct atomisp_sub_device *asd) atomisp_setup_flash() argument
1883 struct atomisp_sub_device *asd; atomisp_isr_thread() local
2105 atomisp_update_capture_mode(struct atomisp_sub_device *asd) atomisp_update_capture_mode() argument
2118 atomisp_set_sensor_runmode(struct atomisp_sub_device *asd, struct atomisp_s_runmode *runmode) atomisp_set_sensor_runmode() argument
2143 atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag, __s32 *value) atomisp_gdc_cac() argument
2165 atomisp_low_light(struct atomisp_sub_device *asd, int flag, __s32 *value) atomisp_low_light() argument
2182 atomisp_xnr(struct atomisp_sub_device *asd, int flag, int *xnr_enable) atomisp_xnr() argument
2198 atomisp_nr(struct atomisp_sub_device *asd, int flag, struct atomisp_nr_config *arg) atomisp_nr() argument
2218 atomisp_tnr(struct atomisp_sub_device *asd, int flag, struct atomisp_tnr_config *config) atomisp_tnr() argument
2240 atomisp_black_level(struct atomisp_sub_device *asd, int flag, struct atomisp_ob_config *config) atomisp_black_level() argument
2261 atomisp_ee(struct atomisp_sub_device *asd, int flag, struct atomisp_ee_config *config) atomisp_ee() argument
2282 atomisp_gamma(struct atomisp_sub_device *asd, int flag, struct atomisp_gamma_table *config) atomisp_gamma() argument
2302 atomisp_ctc(struct atomisp_sub_device *asd, int flag, struct atomisp_ctc_table *config) atomisp_ctc() argument
2322 atomisp_gamma_correction(struct atomisp_sub_device *asd, int flag, struct atomisp_gc_config *config) atomisp_gamma_correction() argument
2343 atomisp_formats(struct atomisp_sub_device *asd, int flag, struct atomisp_formats_config *config) atomisp_formats() argument
2360 atomisp_free_internal_buffers(struct atomisp_sub_device *asd) atomisp_free_internal_buffers() argument
2370 atomisp_update_grid_info(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id, int source_pad) atomisp_update_grid_info() argument
2419 atomisp_curr_user_grid_info(struct atomisp_sub_device *asd, struct atomisp_grid_info *info) atomisp_curr_user_grid_info() argument
2426 atomisp_compare_grid(struct atomisp_sub_device *asd, struct atomisp_grid_info *atomgrid) atomisp_compare_grid() argument
2438 atomisp_gdc_cac_table(struct atomisp_sub_device *asd, int flag, struct atomisp_morph_table *config) atomisp_gdc_cac_table() argument
2523 atomisp_macc_table(struct atomisp_sub_device *asd, int flag, struct atomisp_macc_config *config) atomisp_macc_table() argument
2565 atomisp_set_dis_vector(struct atomisp_sub_device *asd, struct atomisp_dis_vector *vector) atomisp_set_dis_vector() argument
2578 atomisp_get_dis_stat(struct atomisp_sub_device *asd, struct atomisp_dis_statistics *stats) atomisp_get_dis_stat() argument
2587 atomisp_set_array_res(struct atomisp_sub_device *asd, struct atomisp_resolution *config) atomisp_set_array_res() argument
2604 atomisp_get_dvs2_bq_resolutions(struct atomisp_sub_device *asd, struct atomisp_dvs2_bq_resolutions *bq_res) atomisp_get_dvs2_bq_resolutions() argument
2773 atomisp_set_dis_coefs(struct atomisp_sub_device *asd, struct atomisp_dis_coefficients *coefs) atomisp_set_dis_coefs() argument
2782 atomisp_3a_stat(struct atomisp_sub_device *asd, int flag, struct atomisp_3a_statistics *config) atomisp_3a_stat() argument
2837 atomisp_get_metadata(struct atomisp_sub_device *asd, int flag, struct atomisp_metadata *md) atomisp_get_metadata() argument
2913 atomisp_get_metadata_by_type(struct atomisp_sub_device *asd, int flag, struct atomisp_metadata_with_type *md) atomisp_get_metadata_by_type() argument
2995 atomisp_calculate_real_zoom_region(struct atomisp_sub_device *asd, struct ia_css_dz_config *dz_config, enum ia_css_pipe_id css_pipe_id) atomisp_calculate_real_zoom_region() argument
3150 atomisp_check_zoom_region( struct atomisp_sub_device *asd, struct ia_css_dz_config *dz_config) atomisp_check_zoom_region() argument
3185 atomisp_apply_css_parameters( struct atomisp_sub_device *asd, struct atomisp_css_params *css_param) atomisp_apply_css_parameters() argument
3303 atomisp_cp_general_isp_parameters(struct atomisp_sub_device *asd, struct atomisp_parameters *arg, struct atomisp_css_params *css_param, bool from_user) atomisp_cp_general_isp_parameters() argument
3596 atomisp_cp_lsc_table(struct atomisp_sub_device *asd, struct atomisp_shading_table *source_st, struct atomisp_css_params *css_param, bool from_user) atomisp_cp_lsc_table() argument
3716 atomisp_css_cp_dvs2_coefs(struct atomisp_sub_device *asd, struct ia_css_dvs2_coefficients *coefs, struct atomisp_css_params *css_param, bool from_user) atomisp_css_cp_dvs2_coefs() argument
3844 atomisp_cp_dvs_6axis_config(struct atomisp_sub_device *asd, struct atomisp_dvs_6axis_config *source_6axis_config, struct atomisp_css_params *css_param, bool from_user) atomisp_cp_dvs_6axis_config() argument
3992 atomisp_cp_morph_table(struct atomisp_sub_device *asd, struct atomisp_morph_table *source_morph_table, struct atomisp_css_params *css_param, bool from_user) atomisp_cp_morph_table() argument
4078 atomisp_makeup_css_parameters(struct atomisp_sub_device *asd, struct atomisp_parameters *arg, struct atomisp_css_params *css_param) atomisp_makeup_css_parameters() argument
4132 struct atomisp_sub_device *asd = pipe->asd; atomisp_handle_parameter_and_buffer() local
4227 struct atomisp_sub_device *asd = pipe->asd; atomisp_set_parameters() local
4317 atomisp_param(struct atomisp_sub_device *asd, int flag, struct atomisp_parm *config) atomisp_param() argument
4432 atomisp_color_effect(struct atomisp_sub_device *asd, int flag, __s32 *effect) atomisp_color_effect() argument
4525 atomisp_bad_pixel(struct atomisp_sub_device *asd, int flag, __s32 *value) atomisp_bad_pixel() argument
4540 atomisp_bad_pixel_param(struct atomisp_sub_device *asd, int flag, struct atomisp_dp_config *config) atomisp_bad_pixel_param() argument
4561 atomisp_video_stable(struct atomisp_sub_device *asd, int flag, __s32 *value) atomisp_video_stable() argument
4575 atomisp_fixed_pattern(struct atomisp_sub_device *asd, int flag, __s32 *value) atomisp_fixed_pattern() argument
4679 atomisp_fixed_pattern_table(struct atomisp_sub_device *asd, struct v4l2_framebuffer *arg) atomisp_fixed_pattern_table() argument
4703 atomisp_false_color(struct atomisp_sub_device *asd, int flag, __s32 *value) atomisp_false_color() argument
4727 atomisp_false_color_param(struct atomisp_sub_device *asd, int flag, struct atomisp_de_config *config) atomisp_false_color_param() argument
4748 atomisp_white_balance_param(struct atomisp_sub_device *asd, int flag, struct atomisp_wb_config *config) atomisp_white_balance_param() argument
4766 atomisp_3a_config_param(struct atomisp_sub_device *asd, int flag, struct atomisp_3a_config *config) atomisp_3a_config_param() argument
4792 atomisp_digital_zoom(struct atomisp_sub_device *asd, int flag, __s32 *value) atomisp_digital_zoom() argument
4821 atomisp_get_sensor_mode_data(struct atomisp_sub_device *asd, struct atomisp_sensor_mode_data *config) atomisp_get_sensor_mode_data() argument
4845 __atomisp_update_stream_env(struct atomisp_sub_device *asd, u16 stream_index, struct atomisp_input_stream_info *stream_info) __atomisp_update_stream_env() argument
4884 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_try_fmt() local
5031 atomisp_set_sensor_mipi_to_isp( struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct camera_mipi_info *mipi_info) atomisp_set_sensor_mipi_to_isp() argument
5109 __enable_continuous_mode(struct atomisp_sub_device *asd, bool enable) __enable_continuous_mode() argument
5149 configure_pp_input_nop(struct atomisp_sub_device *asd, unsigned int width, unsigned int height) configure_pp_input_nop() argument
5155 configure_output_nop(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int min_width, enum ia_css_frame_format sh_fmt) configure_output_nop() argument
5163 get_frame_info_nop(struct atomisp_sub_device *asd, struct ia_css_frame_info *finfo) get_frame_info_nop() argument
5176 css_input_resolution_changed(struct atomisp_sub_device *asd, struct v4l2_mbus_framefmt *ffmt) css_input_resolution_changed() argument
5230 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_set_fmt_to_isp() local
5511 atomisp_get_dis_envelop(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, unsigned int *dvs_env_w, unsigned int *dvs_env_h) atomisp_get_dis_envelop() argument
5536 atomisp_check_copy_mode(struct atomisp_sub_device *asd, int source_pad, struct v4l2_format *f) atomisp_check_copy_mode() argument
5567 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_set_fmt_to_snr() local
5664 struct atomisp_sub_device *asd = pipe->asd; atomisp_set_fmt() local
6113 struct atomisp_sub_device *asd = pipe->asd; atomisp_set_fmt_file() local
6157 atomisp_set_shading_table(struct atomisp_sub_device *asd, struct atomisp_shading_table *user_shading_table) atomisp_set_shading_table() argument
6270 atomisp_exif_makernote(struct atomisp_sub_device *asd, struct atomisp_makernote_info *config) atomisp_exif_makernote() argument
6306 atomisp_offline_capture_configure(struct atomisp_sub_device *asd, struct atomisp_cont_capture_conf *cvf_config) atomisp_offline_capture_configure() argument
6372 atomisp_s_ae_window(struct atomisp_sub_device *asd, struct atomisp_ae_window *arg) atomisp_s_ae_window() argument
6393 atomisp_flash_enable(struct atomisp_sub_device *asd, int num_frames) atomisp_flash_enable() argument
6415 atomisp_source_pad_to_stream_id(struct atomisp_sub_device *asd, uint16_t source_pad) atomisp_source_pad_to_stream_id() argument
6447 struct atomisp_sub_device *asd = pipe->asd; atomisp_is_vf_pipe() local
6465 __checking_exp_id(struct atomisp_sub_device *asd, int exp_id) __checking_exp_id() argument
6485 atomisp_init_raw_buffer_bitmap(struct atomisp_sub_device *asd) atomisp_init_raw_buffer_bitmap() argument
6495 atomisp_set_raw_buffer_bitmap(struct atomisp_sub_device *asd, int exp_id) atomisp_set_raw_buffer_bitmap() argument
6542 __is_raw_buffer_locked(struct atomisp_sub_device *asd, int exp_id) __is_raw_buffer_locked() argument
6559 __clear_raw_buffer_bitmap(struct atomisp_sub_device *asd, int exp_id) __clear_raw_buffer_bitmap() argument
6579 atomisp_exp_id_capture(struct atomisp_sub_device *asd, int *exp_id) atomisp_exp_id_capture() argument
6600 atomisp_exp_id_unlock(struct atomisp_sub_device *asd, int *exp_id) atomisp_exp_id_unlock() argument
6621 atomisp_enable_dz_capt_pipe(struct atomisp_sub_device *asd, unsigned int *enable) atomisp_enable_dz_capt_pipe() argument
6636 atomisp_inject_a_fake_event(struct atomisp_sub_device *asd, int *event) atomisp_inject_a_fake_event() argument
6666 struct atomisp_sub_device *asd = pipe->asd; atomisp_get_pipe_id() local
6706 struct atomisp_sub_device *asd = pipe->asd; atomisp_get_invalid_frame_num() local
[all...]
H A Datomisp_ioctl.c609 atomisp_subdev_streaming_count(struct atomisp_sub_device *asd) in atomisp_subdev_streaming_count() argument
611 return asd->video_out_preview.capq.streaming in atomisp_subdev_streaming_count()
612 + asd->video_out_capture.capq.streaming in atomisp_subdev_streaming_count()
613 + asd->video_out_video_capture.capq.streaming in atomisp_subdev_streaming_count()
614 + asd->video_out_vf.capq.streaming in atomisp_subdev_streaming_count()
615 + asd->video_in.capq.streaming; in atomisp_subdev_streaming_count()
623 sum += isp->asd[i].streaming == in atomisp_streaming_count()
634 if (isp->asd[i].acc.pipeline) in atomisp_is_acc_enabled()
647 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; in atomisp_g_input() local
669 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_s_input() local
775 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_enum_fmt_cap() local
1012 atomisp_alloc_css_stat_bufs(struct atomisp_sub_device *asd, uint16_t stream_id) atomisp_alloc_css_stat_bufs() argument
1121 struct atomisp_sub_device *asd = pipe->asd; __atomisp_reqbufs() local
1254 struct atomisp_sub_device *asd = pipe->asd; atomisp_qbuf() local
1500 struct atomisp_sub_device *asd = pipe->asd; atomisp_dqbuf() local
1555 atomisp_get_css_pipe_id(struct atomisp_sub_device *asd) atomisp_get_css_pipe_id() argument
1593 atomisp_sensor_start_stream(struct atomisp_sub_device *asd) atomisp_sensor_start_stream() argument
1730 atomisp_dma_burst_len_cfg(struct atomisp_sub_device *asd) atomisp_dma_burst_len_cfg() argument
1752 struct atomisp_sub_device *asd = pipe->asd; atomisp_streamon() local
2017 struct atomisp_sub_device *asd = pipe->asd; __atomisp_streamoff() local
2279 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_g_ctrl() local
2364 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_s_ctrl() local
2452 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_queryctl() local
2499 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_camera_g_ext_ctrls() local
2616 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_camera_s_ext_ctrls() local
2751 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_g_parm() local
2777 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; atomisp_s_parm() local
2863 struct atomisp_sub_device *asd; atomisp_vidioc_default() local
[all...]
H A Datomisp_subdev.c118 bool atomisp_subdev_format_conversion(struct atomisp_sub_device *asd, in atomisp_subdev_format_conversion() argument
123 sink = atomisp_subdev_get_ffmt(&asd->subdev, NULL, in atomisp_subdev_format_conversion()
126 src = atomisp_subdev_get_ffmt(&asd->subdev, NULL, in atomisp_subdev_format_conversion()
577 static int atomisp_get_sensor_bin_factor(struct atomisp_sub_device *asd) in atomisp_get_sensor_bin_factor() argument
580 struct atomisp_device *isp = asd->isp; in atomisp_get_sensor_bin_factor()
584 if (isp->inputs[asd->input_curr].type == FILE_INPUT || in atomisp_get_sensor_bin_factor()
585 isp->inputs[asd->input_curr].type == TEST_PATTERN) in atomisp_get_sensor_bin_factor()
590 v4l2_g_ctrl(isp->inputs[asd->input_curr].camera->ctrl_handler, in atomisp_get_sensor_bin_factor()
595 v4l2_g_ctrl(isp->inputs[asd->input_curr].camera->ctrl_handler, in atomisp_get_sensor_bin_factor()
732 static void isp_subdev_init_params(struct atomisp_sub_device *asd) in isp_subdev_init_params() argument
833 __atomisp_update_run_mode(struct atomisp_sub_device *asd) __atomisp_update_run_mode() argument
856 atomisp_update_run_mode(struct atomisp_sub_device *asd) atomisp_update_run_mode() argument
869 struct atomisp_sub_device *asd = container_of( s_ctrl() local
1093 atomisp_init_subdev_pipe(struct atomisp_sub_device *asd, struct atomisp_video_pipe *pipe, enum v4l2_buf_type buf_type) atomisp_init_subdev_pipe() argument
1111 atomisp_init_acc_pipe(struct atomisp_sub_device *asd, struct atomisp_acc_pipe *pipe) atomisp_init_acc_pipe() argument
1127 isp_subdev_init_entities(struct atomisp_sub_device *asd) isp_subdev_init_entities() argument
1254 struct atomisp_sub_device *asd; atomisp_create_pads_links() local
1320 atomisp_subdev_cleanup_entities(struct atomisp_sub_device *asd) atomisp_subdev_cleanup_entities() argument
1327 atomisp_subdev_cleanup_pending_events(struct atomisp_sub_device *asd) atomisp_subdev_cleanup_pending_events() argument
1341 atomisp_subdev_unregister_entities(struct atomisp_sub_device *asd) atomisp_subdev_unregister_entities() argument
1353 atomisp_subdev_register_entities(struct atomisp_sub_device *asd, struct v4l2_device *vdev) atomisp_subdev_register_entities() argument
1442 struct atomisp_sub_device *asd; atomisp_subdev_init() local
[all...]
H A Datomisp_acc.h42 void atomisp_acc_release(struct atomisp_sub_device *asd);
45 int atomisp_acc_load(struct atomisp_sub_device *asd,
49 int atomisp_acc_load_to_pipe(struct atomisp_sub_device *asd,
53 int atomisp_acc_unload(struct atomisp_sub_device *asd,
59 int atomisp_acc_map(struct atomisp_sub_device *asd,
65 int atomisp_acc_unmap(struct atomisp_sub_device *asd,
71 int atomisp_acc_s_mapped_arg(struct atomisp_sub_device *asd,
79 int atomisp_acc_start(struct atomisp_sub_device *asd,
87 int atomisp_acc_wait(struct atomisp_sub_device *asd,
94 void atomisp_acc_done(struct atomisp_sub_device *asd, unsigne
[all...]
H A Datomisp_compat_css20.h108 void atomisp_css_set_macc_config(struct atomisp_sub_device *asd,
111 void atomisp_css_set_ecd_config(struct atomisp_sub_device *asd,
114 void atomisp_css_set_ynr_config(struct atomisp_sub_device *asd,
117 void atomisp_css_set_fc_config(struct atomisp_sub_device *asd,
120 void atomisp_css_set_aa_config(struct atomisp_sub_device *asd,
123 void atomisp_css_set_baa_config(struct atomisp_sub_device *asd,
126 void atomisp_css_set_anr_config(struct atomisp_sub_device *asd,
129 void atomisp_css_set_xnr_config(struct atomisp_sub_device *asd,
132 void atomisp_css_set_cnr_config(struct atomisp_sub_device *asd,
135 void atomisp_css_set_ctc_config(struct atomisp_sub_device *asd,
[all...]
H A Datomisp_internal.h134 #define ATOMISP_SOC_CAMERA(asd) \
135 (asd->isp->inputs[asd->input_curr].type == SOC_CAMERA \
136 && asd->isp->inputs[asd->input_curr].camera_caps-> \
137 sensor[asd->sensor_curr].stream_num == 1)
139 #define ATOMISP_USE_YUVPP(asd) \
140 (ATOMISP_SOC_CAMERA(asd) && ATOMISP_CSS_SUPPORT_YUVPP && \
141 !asd->copy_mode)
168 struct atomisp_sub_device *asd; member
235 struct atomisp_sub_device *asd; global() member
[all...]
H A Datomisp_file.c41 struct atomisp_sub_device *asd = &isp->asd[0]; in file_work() local
42 struct atomisp_video_pipe *out_pipe = &asd->video_in; in file_work()
46 if (asd->streaming != ATOMISP_DEVICE_STREAMING_ENABLED) in file_work()
50 isp_sink_fmt = *atomisp_subdev_get_ffmt(&asd->subdev, NULL, in file_work()
57 ia_css_stream_send_input_frame(asd->stream_env[ATOMISP_INPUT_STREAM_GENERAL].stream, in file_work()
68 struct atomisp_sub_device *asd = &isp->asd[0]; in file_input_s_stream() local
72 if (asd->streaming != ATOMISP_DEVICE_STREAMING_ENABLED) in file_input_s_stream()
90 struct atomisp_sub_device *asd in file_input_get_fmt() local
[all...]
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dv4l2-async.c27 struct v4l2_async_subdev *asd) in v4l2_async_notifier_call_bound()
32 return n->ops->bound(n, subdev, asd); in v4l2_async_notifier_call_bound()
37 struct v4l2_async_subdev *asd) in v4l2_async_notifier_call_unbind()
42 n->ops->unbind(n, subdev, asd); in v4l2_async_notifier_call_unbind()
54 struct v4l2_subdev *sd, struct v4l2_async_subdev *asd) in match_i2c()
60 asd->match.i2c.adapter_id == client->adapter->nr && in match_i2c()
61 asd->match.i2c.address == client->addr; in match_i2c()
68 struct v4l2_subdev *sd, struct v4l2_async_subdev *asd) in match_devname()
70 return !strcmp(asd->match.device_name, dev_name(sd->dev)); in match_devname()
74 struct v4l2_subdev *sd, struct v4l2_async_subdev *asd) in match_fwnode()
25 v4l2_async_notifier_call_bound(struct v4l2_async_notifier *n, struct v4l2_subdev *subdev, struct v4l2_async_subdev *asd) v4l2_async_notifier_call_bound() argument
35 v4l2_async_notifier_call_unbind(struct v4l2_async_notifier *n, struct v4l2_subdev *subdev, struct v4l2_async_subdev *asd) v4l2_async_notifier_call_unbind() argument
53 match_i2c(struct v4l2_async_notifier *notifier, struct v4l2_subdev *sd, struct v4l2_async_subdev *asd) match_i2c() argument
67 match_devname(struct v4l2_async_notifier *notifier, struct v4l2_subdev *sd, struct v4l2_async_subdev *asd) match_devname() argument
73 match_fwnode(struct v4l2_async_notifier *notifier, struct v4l2_subdev *sd, struct v4l2_async_subdev *asd) match_fwnode() argument
142 match_custom(struct v4l2_async_notifier *notifier, struct v4l2_subdev *sd, struct v4l2_async_subdev *asd) match_custom() argument
162 struct v4l2_async_subdev *asd; v4l2_async_find_match() local
293 v4l2_async_match_notify(struct v4l2_async_notifier *notifier, struct v4l2_device *v4l2_dev, struct v4l2_subdev *sd, struct v4l2_async_subdev *asd) v4l2_async_match_notify() argument
349 struct v4l2_async_subdev *asd; v4l2_async_notifier_try_all_subdevs() local
407 __v4l2_async_notifier_has_async_subdev(struct v4l2_async_notifier *notifier, struct v4l2_async_subdev *asd) __v4l2_async_notifier_has_async_subdev() argument
434 v4l2_async_notifier_has_async_subdev(struct v4l2_async_notifier *notifier, struct v4l2_async_subdev *asd, int this_index) v4l2_async_notifier_has_async_subdev() argument
459 v4l2_async_notifier_asd_valid(struct v4l2_async_notifier *notifier, struct v4l2_async_subdev *asd, int this_index) v4l2_async_notifier_asd_valid() argument
497 struct v4l2_async_subdev *asd; __v4l2_async_notifier_register() local
602 struct v4l2_async_subdev *asd, *tmp; __v4l2_async_notifier_cleanup() local
631 v4l2_async_notifier_add_subdev(struct v4l2_async_notifier *notifier, struct v4l2_async_subdev *asd) v4l2_async_notifier_add_subdev() argument
655 struct v4l2_async_subdev *asd; v4l2_async_notifier_add_fwnode_subdev() local
681 struct v4l2_async_subdev *asd; v4l2_async_notifier_add_fwnode_remote_subdev() local
704 struct v4l2_async_subdev *asd; v4l2_async_notifier_add_i2c_subdev() local
730 struct v4l2_async_subdev *asd; v4l2_async_notifier_add_devname_subdev() local
771 struct v4l2_async_subdev *asd; v4l2_async_register_subdev() local
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/xilinx/
H A Dxilinx-vipp.c32 * @asd: subdev asynchronous registration information
37 struct v4l2_async_subdev asd; /* must be first */ member
43 to_xvip_entity(struct v4l2_async_subdev *asd) in to_xvip_entity() argument
45 return container_of(asd, struct xvip_graph_entity, asd); in to_xvip_entity()
57 struct v4l2_async_subdev *asd; in xvip_graph_find_entity() local
59 list_for_each_entry(asd, &xdev->notifier.asd_list, asd_list) { in xvip_graph_find_entity()
60 entity = to_xvip_entity(asd); in xvip_graph_find_entity()
61 if (entity->asd.match.fwnode == fwnode) in xvip_graph_find_entity()
85 ep = fwnode_graph_get_next_endpoint(entity->asd in xvip_graph_build_one()
288 struct v4l2_async_subdev *asd; xvip_graph_notify_complete() local
320 struct v4l2_async_subdev *asd; xvip_graph_notify_bound() local
362 struct v4l2_async_subdev *asd; xvip_graph_parse_one() local
406 struct v4l2_async_subdev *asd; xvip_graph_parse() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/imx/
H A Dimx-media-of.c22 struct v4l2_async_subdev *asd; in imx_media_of_add_csi() local
32 asd = v4l2_async_notifier_add_fwnode_subdev(&imxmd->notifier, in imx_media_of_add_csi()
34 sizeof(*asd)); in imx_media_of_add_csi()
35 if (IS_ERR(asd)) { in imx_media_of_add_csi()
36 ret = PTR_ERR(asd); in imx_media_of_add_csi()
/kernel/linux/linux-6.6/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-core.c95 struct v4l2_async_connection *asd) in rzg2l_cru_group_notify_unbind()
103 if (cru->csi.asd == asd) { in rzg2l_cru_group_notify_unbind()
113 struct v4l2_async_connection *asd) in rzg2l_cru_group_notify_bound()
119 if (cru->csi.asd == asd) { in rzg2l_cru_group_notify_bound()
141 struct v4l2_async_connection *asd; in rzg2l_cru_mc_parse_of() local
164 asd = v4l2_async_nf_add_fwnode(&cru->notifier, fwnode, in rzg2l_cru_mc_parse_of()
166 if (IS_ERR(asd)) { in rzg2l_cru_mc_parse_of()
167 ret = PTR_ERR(asd); in rzg2l_cru_mc_parse_of()
93 rzg2l_cru_group_notify_unbind(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_connection *asd) rzg2l_cru_group_notify_unbind() argument
111 rzg2l_cru_group_notify_bound(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_connection *asd) rzg2l_cru_group_notify_bound() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/xilinx/
H A Dxilinx-vipp.c32 * @asd: subdev asynchronous registration information
37 struct v4l2_async_connection asd; /* must be first */ member
43 to_xvip_entity(struct v4l2_async_connection *asd) in to_xvip_entity() argument
45 return container_of(asd, struct xvip_graph_entity, asd); in to_xvip_entity()
57 struct v4l2_async_connection *asd; in xvip_graph_find_entity() local
65 list_for_each_entry(asd, lists[i], asc_entry) { in xvip_graph_find_entity()
66 entity = to_xvip_entity(asd); in xvip_graph_find_entity()
67 if (entity->asd.match.fwnode == fwnode) in xvip_graph_find_entity()
92 ep = fwnode_graph_get_next_endpoint(entity->asd in xvip_graph_build_one()
295 struct v4l2_async_connection *asd; xvip_graph_notify_complete() local
390 struct v4l2_async_connection *asd; xvip_graph_parse() local
[all...]

Completed in 25 milliseconds

123456