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

1234

/linux-master/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_cmd.h55 void atomisp_clear_css_buffer_counters(struct atomisp_sub_device *asd);
61 void atomisp_setup_flash(struct atomisp_sub_device *asd);
77 int atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag,
81 int atomisp_low_light(struct atomisp_sub_device *asd, int flag,
88 int atomisp_xnr(struct atomisp_sub_device *asd, int flag, int *arg);
90 int atomisp_formats(struct atomisp_sub_device *asd, int flag,
94 int atomisp_nr(struct atomisp_sub_device *asd, int flag,
98 int atomisp_tnr(struct atomisp_sub_device *asd, int flag,
102 int atomisp_black_level(struct atomisp_sub_device *asd, int flag,
106 int atomisp_ee(struct atomisp_sub_device *asd, in
[all...]
H A Datomisp_fops.h29 int atomisp_qbuffers_to_css(struct atomisp_sub_device *asd);
H A Datomisp_fops.c52 mutex_lock(&pipe->asd->isp->mutex); /* for get_css_frame_info() / set_fmt() */
58 ret = atomisp_get_css_frame_info(pipe->asd, &pipe->frame_info);
70 ret = atomisp_get_css_frame_info(pipe->asd, &pipe->frame_info);
75 atomisp_alloc_css_stat_bufs(pipe->asd, ATOMISP_INPUT_STREAM_GENERAL);
81 mutex_unlock(&pipe->asd->isp->mutex);
96 dev_err(pipe->asd->isp->dev, "Internal error frame.data_bytes(%u) > vb.length(%lu)\n",
109 static int atomisp_q_one_metadata_buffer(struct atomisp_sub_device *asd, argument
117 if (asd->metadata_bufs_in_css[stream_id][css_pipe_id] >=
121 if (!list_empty(&asd->metadata[md_type])) {
122 metadata_list = &asd
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) 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) 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) argument
345 atomisp_qbuffers_to_css(struct atomisp_sub_device *asd) argument
374 struct atomisp_sub_device *asd = pipe->asd; local
461 atomisp_subdev_init_struct(struct atomisp_sub_device *asd) argument
493 struct atomisp_sub_device *asd = pipe->asd; local
553 struct atomisp_sub_device *asd = pipe->asd; local
[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_compat_css20.c183 static void __dump_pipe_config(struct atomisp_sub_device *asd, argument
187 struct atomisp_device *isp = asd->isp;
266 static void __dump_stream_config(struct atomisp_sub_device *asd, argument
269 struct atomisp_device *isp = asd->isp;
276 __dump_pipe_config(asd, stream_env, j);
400 static int __destroy_stream(struct atomisp_sub_device *asd, argument
403 struct atomisp_device *isp = asd->isp;
442 static int __destroy_streams(struct atomisp_sub_device *asd) argument
447 ret = __destroy_stream(asd, &asd
455 __create_stream(struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env) argument
489 __create_streams(struct atomisp_sub_device *asd) argument
506 __destroy_stream_pipes(struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env) argument
528 __destroy_pipes(struct atomisp_sub_device *asd) argument
550 atomisp_destroy_pipes_stream(struct atomisp_sub_device *asd) argument
559 __apply_additional_pipe_config( struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env, enum ia_css_pipe_id pipe_id) argument
612 is_pipe_valid_to_current_run_mode(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id) argument
659 __create_pipe(struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env, enum ia_css_pipe_id pipe_id) argument
695 __create_pipes(struct atomisp_sub_device *asd) argument
723 atomisp_create_pipes_stream(struct atomisp_sub_device *asd) argument
743 atomisp_css_update_stream(struct atomisp_sub_device *asd) argument
881 atomisp_css_init_struct(struct atomisp_sub_device *asd) argument
899 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) argument
920 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) argument
940 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) argument
961 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) argument
982 atomisp_css_start(struct atomisp_sub_device *asd) argument
1029 atomisp_css_update_isp_params(struct atomisp_sub_device *asd) argument
1053 atomisp_css_update_isp_params_on_pipe(struct atomisp_sub_device *asd, struct ia_css_pipe *pipe) argument
1077 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) argument
1092 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) argument
1113 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) argument
1202 atomisp_css_free_stat_buffers(struct atomisp_sub_device *asd) argument
1288 atomisp_css_get_grid_info(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id) argument
1345 atomisp_alloc_3a_output_buf(struct atomisp_sub_device *asd) argument
1364 atomisp_alloc_dis_coef_buf(struct atomisp_sub_device *asd) argument
1406 atomisp_alloc_metadata_output_buf(struct atomisp_sub_device *asd) argument
1428 atomisp_free_metadata_output_buf(struct atomisp_sub_device *asd) argument
1440 atomisp_css_temp_pipe_to_pipe_id(struct atomisp_sub_device *asd, struct atomisp_css_event *current_event) argument
1456 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) argument
1472 atomisp_css_input_set_resolution(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt) argument
1484 atomisp_css_input_set_binning_factor(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, unsigned int bin_factor) argument
1492 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) argument
1501 atomisp_css_isys_set_link(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, int link, int isys_stream) argument
1512 atomisp_css_isys_set_valid(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, bool valid, int isys_stream) argument
1523 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) argument
1534 atomisp_css_input_set_format(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum atomisp_input_format format) argument
1544 atomisp_css_set_default_isys_config(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt) argument
1572 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) argument
1590 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) argument
1610 atomisp_css_input_set_effective_resolution( struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, unsigned int width, unsigned int height) argument
1622 atomisp_css_video_set_dis_envelope(struct atomisp_sub_device *asd, unsigned int dvs_w, unsigned int dvs_h) argument
1631 atomisp_css_input_set_two_pixels_per_clock( struct atomisp_sub_device *asd, bool two_ppc) argument
1648 atomisp_css_enable_dz(struct atomisp_sub_device *asd, bool enable) argument
1657 atomisp_css_capture_set_mode(struct atomisp_sub_device *asd, enum ia_css_capture_mode mode) argument
1672 atomisp_css_input_set_mode(struct atomisp_sub_device *asd, enum ia_css_input_mode mode) argument
1730 atomisp_css_capture_enable_online(struct atomisp_sub_device *asd, unsigned short stream_index, bool enable) argument
1743 atomisp_css_preview_enable_online(struct atomisp_sub_device *asd, unsigned short stream_index, bool enable) argument
1757 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) argument
1801 atomisp_css_stop(struct atomisp_sub_device *asd, bool in_reset) argument
1854 atomisp_css_continuous_set_num_raw_frames( struct atomisp_sub_device *asd, int num_frames) argument
1882 __pipe_id_to_pipe_mode( struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id) argument
1914 __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) argument
1950 __configure_capture_pp_input(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, enum ia_css_pipe_id pipe_id) argument
2002 __configure_preview_pp_input(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, enum ia_css_pipe_id pipe_id) argument
2130 __configure_video_pp_input(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, enum ia_css_pipe_id pipe_id) argument
2226 __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) argument
2249 __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) argument
2304 atomisp_get_pipe_index(struct atomisp_sub_device *asd) argument
2322 atomisp_get_css_frame_info(struct atomisp_sub_device *asd, struct ia_css_frame_info *frame_info) argument
2344 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) argument
2359 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) argument
2369 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) argument
2379 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) argument
2389 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) argument
2400 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) argument
2410 atomisp_css_video_get_viewfinder_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) argument
2418 atomisp_css_capture_get_viewfinder_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) argument
2426 atomisp_css_copy_get_output_frame_info( struct atomisp_sub_device *asd, unsigned int stream_index, struct ia_css_frame_info *info) argument
2435 atomisp_css_preview_get_output_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) argument
2443 atomisp_css_capture_get_output_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) argument
2451 atomisp_css_video_get_output_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) argument
2459 atomisp_css_preview_configure_pp_input( struct atomisp_sub_device *asd, unsigned int width, unsigned int height) argument
2474 atomisp_css_capture_configure_pp_input( struct atomisp_sub_device *asd, unsigned int width, unsigned int height) argument
2482 atomisp_css_video_configure_pp_input( struct atomisp_sub_device *asd, unsigned int width, unsigned int height) argument
2498 atomisp_css_offline_capture_configure(struct atomisp_sub_device *asd, int num_captures, unsigned int skip, int offset) argument
2515 atomisp_css_exp_id_capture(struct atomisp_sub_device *asd, int exp_id) argument
2532 atomisp_css_exp_id_unlock(struct atomisp_sub_device *asd, int exp_id) argument
2547 atomisp_css_capture_enable_xnr(struct atomisp_sub_device *asd, bool enable) argument
2560 atomisp_css_set_ctc_table(struct atomisp_sub_device *asd, struct ia_css_ctc_table *ctc_table) argument
2587 atomisp_css_set_anr_thres(struct atomisp_sub_device *asd, struct ia_css_anr_thres *anr_thres) argument
2593 atomisp_css_set_dvs_6axis(struct atomisp_sub_device *asd, struct ia_css_dvs_6axis_config *dvs_6axis) argument
2599 atomisp_css_video_set_dis_vector(struct atomisp_sub_device *asd, struct atomisp_dis_vector *vector) argument
2611 atomisp_compare_dvs_grid(struct atomisp_sub_device *asd, struct atomisp_dvs_grid_info *atomgrid) argument
2635 atomisp_css_set_dvs2_coefs(struct atomisp_sub_device *asd, struct ia_css_dvs2_coefficients *coefs) argument
2641 atomisp_css_set_dis_coefs(struct atomisp_sub_device *asd, struct atomisp_dis_coefficients *coefs) argument
2704 atomisp_css_set_zoom_factor(struct atomisp_sub_device *asd, unsigned int zoom) argument
2725 atomisp_css_set_formats_config(struct atomisp_sub_device *asd, struct ia_css_formats_config *formats_config) argument
2731 atomisp_css_get_wb_config(struct atomisp_sub_device *asd, struct atomisp_wb_config *config) argument
2754 atomisp_css_get_ob_config(struct atomisp_sub_device *asd, struct atomisp_ob_config *config) argument
2777 atomisp_css_get_dp_config(struct atomisp_sub_device *asd, struct atomisp_dp_config *config) argument
2800 atomisp_css_get_de_config(struct atomisp_sub_device *asd, struct atomisp_de_config *config) argument
2823 atomisp_css_get_nr_config(struct atomisp_sub_device *asd, struct atomisp_nr_config *config) argument
2847 atomisp_css_get_ee_config(struct atomisp_sub_device *asd, struct atomisp_ee_config *config) argument
2870 atomisp_css_get_tnr_config(struct atomisp_sub_device *asd, struct atomisp_tnr_config *config) argument
2893 atomisp_css_get_ctc_table(struct atomisp_sub_device *asd, struct atomisp_ctc_table *config) argument
2921 atomisp_css_get_gamma_table(struct atomisp_sub_device *asd, struct atomisp_gamma_table *config) argument
2949 atomisp_css_get_gc_config(struct atomisp_sub_device *asd, struct atomisp_gc_config *config) argument
2973 atomisp_css_get_3a_config(struct atomisp_sub_device *asd, struct atomisp_3a_config *config) argument
2997 atomisp_css_get_formats_config(struct atomisp_sub_device *asd, struct atomisp_formats_config *config) argument
3021 atomisp_css_get_zoom_factor(struct atomisp_sub_device *asd, unsigned int *zoom) argument
3047 atomisp_css_get_dis_stat(struct atomisp_sub_device *asd, struct atomisp_dis_statistics *stats) argument
3142 atomisp_css_set_shading_table(struct atomisp_sub_device *asd, struct ia_css_shading_table *table) argument
3159 atomisp_css_set_morph_table(struct atomisp_sub_device *asd, struct ia_css_morph_table *table) argument
3165 atomisp_css_get_morph_table(struct atomisp_sub_device *asd, struct ia_css_morph_table *table) argument
3391 atomisp_css_set_isp_config_id(struct atomisp_sub_device *asd, uint32_t isp_config_id) argument
3397 atomisp_css_set_isp_config_applied_frame(struct atomisp_sub_device *asd, struct ia_css_frame *output_frame) argument
3419 atomisp_en_dz_capt_pipe(struct atomisp_sub_device *asd, bool enable) argument
[all...]
H A Datomisp_cmd.c100 static unsigned short atomisp_get_sensor_fps(struct atomisp_sub_device *asd) argument
103 struct atomisp_device *isp = asd->isp;
108 ret = v4l2_subdev_call_state_active(isp->inputs[asd->input_curr].camera,
224 fps = atomisp_get_sensor_fps(&isp->asd);
232 curr_rules.width = isp->asd.fmt[ATOMISP_SUBDEV_PAD_SOURCE].fmt.width;
233 curr_rules.height = isp->asd.fmt[ATOMISP_SUBDEV_PAD_SOURCE].fmt.height;
235 curr_rules.run_mode = isp->asd.run_mode->val;
356 static void atomisp_sof_event(struct atomisp_sub_device *asd) argument
361 event.u.frame_sync.frame_sequence = atomic_read(&asd->sof_count);
363 v4l2_event_queue(asd
366 atomisp_eof_event(struct atomisp_sub_device *asd, uint8_t exp_id) argument
376 atomisp_3a_stats_ready_event(struct atomisp_sub_device *asd, uint8_t exp_id) argument
387 atomisp_metadata_ready_event(struct atomisp_sub_device *asd, enum atomisp_metadata_type md_type) argument
398 atomisp_reset_event(struct atomisp_sub_device *asd) argument
542 atomisp_clear_css_buffer_counters(struct atomisp_sub_device *asd) 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) argument
1013 atomisp_setup_flash(struct atomisp_sub_device *asd) argument
1239 atomisp_update_capture_mode(struct atomisp_sub_device *asd) argument
1255 atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag, __s32 *value) argument
1277 atomisp_low_light(struct atomisp_sub_device *asd, int flag, __s32 *value) argument
1294 atomisp_xnr(struct atomisp_sub_device *asd, int flag, int *xnr_enable) argument
1310 atomisp_nr(struct atomisp_sub_device *asd, int flag, struct atomisp_nr_config *arg) argument
1330 atomisp_tnr(struct atomisp_sub_device *asd, int flag, struct atomisp_tnr_config *config) argument
1352 atomisp_black_level(struct atomisp_sub_device *asd, int flag, struct atomisp_ob_config *config) argument
1373 atomisp_ee(struct atomisp_sub_device *asd, int flag, struct atomisp_ee_config *config) argument
1394 atomisp_gamma(struct atomisp_sub_device *asd, int flag, struct atomisp_gamma_table *config) argument
1414 atomisp_ctc(struct atomisp_sub_device *asd, int flag, struct atomisp_ctc_table *config) argument
1434 atomisp_gamma_correction(struct atomisp_sub_device *asd, int flag, struct atomisp_gc_config *config) argument
1455 atomisp_formats(struct atomisp_sub_device *asd, int flag, struct atomisp_formats_config *config) argument
1472 atomisp_free_internal_buffers(struct atomisp_sub_device *asd) argument
1477 atomisp_update_grid_info(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id) argument
1524 atomisp_curr_user_grid_info(struct atomisp_sub_device *asd, struct atomisp_grid_info *info) argument
1531 atomisp_compare_grid(struct atomisp_sub_device *asd, struct atomisp_grid_info *atomgrid) argument
1543 atomisp_gdc_cac_table(struct atomisp_sub_device *asd, int flag, struct atomisp_morph_table *config) argument
1628 atomisp_macc_table(struct atomisp_sub_device *asd, int flag, struct atomisp_macc_config *config) argument
1670 atomisp_set_dis_vector(struct atomisp_sub_device *asd, struct atomisp_dis_vector *vector) argument
1683 atomisp_get_dis_stat(struct atomisp_sub_device *asd, struct atomisp_dis_statistics *stats) argument
1692 atomisp_set_array_res(struct atomisp_sub_device *asd, struct atomisp_resolution *config) argument
1709 atomisp_get_dvs2_bq_resolutions(struct atomisp_sub_device *asd, struct atomisp_dvs2_bq_resolutions *bq_res) argument
1768 atomisp_set_dis_coefs(struct atomisp_sub_device *asd, struct atomisp_dis_coefficients *coefs) argument
1777 atomisp_3a_stat(struct atomisp_sub_device *asd, int flag, struct atomisp_3a_statistics *config) argument
1835 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) argument
1990 atomisp_check_zoom_region( struct atomisp_sub_device *asd, struct ia_css_dz_config *dz_config) argument
2025 atomisp_apply_css_parameters( struct atomisp_sub_device *asd, struct atomisp_css_params *css_param) argument
2143 atomisp_cp_general_isp_parameters(struct atomisp_sub_device *asd, struct atomisp_parameters *arg, struct atomisp_css_params *css_param, bool from_user) argument
2436 atomisp_cp_lsc_table(struct atomisp_sub_device *asd, struct atomisp_shading_table *source_st, struct atomisp_css_params *css_param, bool from_user) argument
2548 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) argument
2676 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) argument
2828 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) argument
2916 atomisp_makeup_css_parameters(struct atomisp_sub_device *asd, struct atomisp_parameters *arg, struct atomisp_css_params *css_param) argument
2982 struct atomisp_sub_device *asd = pipe->asd; local
3044 struct atomisp_sub_device *asd = pipe->asd; local
3119 atomisp_param(struct atomisp_sub_device *asd, int flag, struct atomisp_parm *config) argument
3214 atomisp_color_effect(struct atomisp_sub_device *asd, int flag, __s32 *effect) argument
3307 atomisp_bad_pixel(struct atomisp_sub_device *asd, int flag, __s32 *value) argument
3322 atomisp_bad_pixel_param(struct atomisp_sub_device *asd, int flag, struct atomisp_dp_config *config) argument
3343 atomisp_video_stable(struct atomisp_sub_device *asd, int flag, __s32 *value) argument
3357 atomisp_fixed_pattern(struct atomisp_sub_device *asd, int flag, __s32 *value) argument
3460 atomisp_fixed_pattern_table(struct atomisp_sub_device *asd, struct v4l2_framebuffer *arg) argument
3484 atomisp_false_color(struct atomisp_sub_device *asd, int flag, __s32 *value) argument
3508 atomisp_false_color_param(struct atomisp_sub_device *asd, int flag, struct atomisp_de_config *config) argument
3529 atomisp_white_balance_param(struct atomisp_sub_device *asd, int flag, struct atomisp_wb_config *config) argument
3547 atomisp_3a_config_param(struct atomisp_sub_device *asd, int flag, struct atomisp_3a_config *config) argument
3573 atomisp_digital_zoom(struct atomisp_sub_device *asd, int flag, __s32 *value) argument
3598 __atomisp_update_stream_env(struct atomisp_sub_device *asd, u16 stream_index, struct atomisp_input_stream_info *stream_info) argument
3789 struct atomisp_sub_device *asd = &isp->asd; local
3880 atomisp_set_sensor_mipi_to_isp( struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct camera_mipi_info *mipi_info) argument
3962 configure_pp_input_nop(struct atomisp_sub_device *asd, unsigned int width, unsigned int height) argument
3968 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) argument
3976 get_frame_info_nop(struct atomisp_sub_device *asd, struct ia_css_frame_info *finfo) argument
3989 css_input_resolution_changed(struct atomisp_sub_device *asd, struct v4l2_mbus_framefmt *ffmt) argument
4030 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local
4193 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) argument
4212 atomisp_check_copy_mode(struct atomisp_sub_device *asd, const struct v4l2_pix_format *f) argument
4240 struct atomisp_sub_device *asd = pipe->asd; local
4315 struct atomisp_sub_device *asd = pipe->asd; local
4434 atomisp_set_shading_table(struct atomisp_sub_device *asd, struct atomisp_shading_table *user_shading_table) argument
4496 atomisp_flash_enable(struct atomisp_sub_device *asd, int num_frames) argument
4518 __checking_exp_id(struct atomisp_sub_device *asd, int exp_id) argument
4538 atomisp_init_raw_buffer_bitmap(struct atomisp_sub_device *asd) argument
4548 __is_raw_buffer_locked(struct atomisp_sub_device *asd, int exp_id) argument
4565 __clear_raw_buffer_bitmap(struct atomisp_sub_device *asd, int exp_id) argument
4585 atomisp_exp_id_capture(struct atomisp_sub_device *asd, int *exp_id) argument
4608 atomisp_exp_id_unlock(struct atomisp_sub_device *asd, int *exp_id) argument
4631 atomisp_enable_dz_capt_pipe(struct atomisp_sub_device *asd, unsigned int *enable) argument
4646 atomisp_inject_a_fake_event(struct atomisp_sub_device *asd, int *event) argument
[all...]
H A Datomisp_ioctl.c608 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local
610 *input = asd->input_curr;
630 struct atomisp_sub_device *asd = pipe->asd; local
651 if (isp->inputs[asd->input_curr].asd == asd &&
652 asd->input_curr != input) {
653 ret = v4l2_subdev_call(isp->inputs[asd
769 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local
805 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local
839 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local
918 atomisp_alloc_css_stat_bufs(struct atomisp_sub_device *asd, uint16_t stream_id) argument
1054 struct atomisp_sub_device *asd = pipe->asd; local
1090 atomisp_dma_burst_len_cfg(struct atomisp_sub_device *asd) argument
1107 struct atomisp_sub_device *asd = pipe->asd; local
1201 struct atomisp_sub_device *asd = pipe->asd; local
1285 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local
1359 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local
1438 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local
1479 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local
1585 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local
1709 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local
1727 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local
1780 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local
[all...]
H A Datomisp_subdev.c120 bool atomisp_subdev_format_conversion(struct atomisp_sub_device *asd) argument
124 sink = atomisp_subdev_get_ffmt(&asd->subdev, NULL,
126 src = atomisp_subdev_get_ffmt(&asd->subdev, NULL,
642 static void isp_subdev_init_params(struct atomisp_sub_device *asd) argument
647 INIT_LIST_HEAD(&asd->s3a_stats);
648 INIT_LIST_HEAD(&asd->s3a_stats_in_css);
649 INIT_LIST_HEAD(&asd->s3a_stats_ready);
650 INIT_LIST_HEAD(&asd->dis_stats);
651 INIT_LIST_HEAD(&asd->dis_stats_in_css);
652 spin_lock_init(&asd
779 atomisp_init_subdev_pipe(struct atomisp_sub_device *asd, struct atomisp_video_pipe *pipe, enum v4l2_buf_type buf_type) argument
818 isp_subdev_init_entities(struct atomisp_sub_device *asd) argument
882 atomisp_subdev_cleanup_entities(struct atomisp_sub_device *asd) argument
889 atomisp_subdev_cleanup_pending_events(struct atomisp_sub_device *asd) argument
903 atomisp_subdev_unregister_entities(struct atomisp_sub_device *asd) argument
910 atomisp_subdev_register_subdev(struct atomisp_sub_device *asd, struct v4l2_device *vdev) argument
[all...]
H A Datomisp_ioctl.h39 int atomisp_alloc_css_stat_bufs(struct atomisp_sub_device *asd,
H A Datomisp_csi2.c259 static void atomisp_csi2_configure_isp2401(struct atomisp_sub_device *asd) argument
323 struct atomisp_device *isp = asd->isp;
328 port = isp->inputs[asd->input_curr].port;
332 (isp->inputs[asd->input_curr].camera->ctrl_handler, &ctrl) == 0)
354 void atomisp_csi2_configure(struct atomisp_sub_device *asd) argument
356 if (IS_HWREVISION(asd->isp, ATOMISP_HW_REVISION_ISP2401))
357 atomisp_csi2_configure_isp2401(asd);
H A Datomisp_subdev.h84 struct atomisp_sub_device *asd; member in struct:atomisp_video_pipe
342 bool atomisp_subdev_format_conversion(struct atomisp_sub_device *asd);
363 void atomisp_subdev_cleanup_pending_events(struct atomisp_sub_device *asd);
365 void atomisp_subdev_unregister_entities(struct atomisp_sub_device *asd);
366 int atomisp_subdev_register_subdev(struct atomisp_sub_device *asd,
H A Datomisp_csi2.h77 void atomisp_csi2_configure(struct atomisp_sub_device *asd);
H A Datomisp_internal.h144 struct atomisp_sub_device *asd; member in struct:atomisp_input_subdev
185 struct atomisp_sub_device asd; member in struct:atomisp_device
221 spinlock_t lock; /* Protects asd.streaming */
H A Datomisp_v4l2.c658 if (isp->asd.streaming) {
667 isp->asd.recreate_streams_on_resume = isp->asd.stream_prepared;
668 atomisp_destroy_pipes_stream(&isp->asd);
682 if (isp->asd.recreate_streams_on_resume)
683 ret = atomisp_create_pipes_stream(&isp->asd);
854 atomisp_subdev_unregister_entities(&isp->asd);
916 ret = atomisp_subdev_register_subdev(&isp->asd, &isp->v4l2_dev);
1053 CSI2_PAD_SOURCE, &isp->asd.subdev.entity,
1101 isp->asd
[all...]
/linux-master/drivers/staging/media/imx/
H A Dimx-media-of.c22 struct v4l2_async_connection *asd; local
32 asd = v4l2_async_nf_add_fwnode(&imxmd->notifier,
35 if (IS_ERR(asd)) {
36 ret = PTR_ERR(asd);
/linux-master/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-core.c95 struct v4l2_async_connection *asd)
103 if (cru->csi.asd == asd) {
113 struct v4l2_async_connection *asd)
119 if (cru->csi.asd == asd) {
141 struct v4l2_async_connection *asd; local
164 asd = v4l2_async_nf_add_fwnode(&cru->notifier, fwnode,
166 if (IS_ERR(asd)) {
167 ret = PTR_ERR(asd);
93 rzg2l_cru_group_notify_unbind(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_connection *asd) argument
111 rzg2l_cru_group_notify_bound(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_connection *asd) argument
[all...]
H A Drzg2l-cru.h48 struct v4l2_async_connection *asd; member in struct:rzg2l_cru_csi
/linux-master/include/media/davinci/
H A Dvpif_types.h75 struct v4l2_async_connection *asd[VPIF_CAPTURE_MAX_CHANNELS]; member in struct:vpif_capture_config
/linux-master/drivers/media/platform/xilinx/
H A Dxilinx-vipp.c32 * @asd: subdev asynchronous registration information
37 struct v4l2_async_connection asd; /* must be first */ member in struct:xvip_graph_entity
43 to_xvip_entity(struct v4l2_async_connection *asd) argument
45 return container_of(asd, struct xvip_graph_entity, asd);
57 struct v4l2_async_connection *asd; local
65 list_for_each_entry(asd, lists[i], asc_entry) {
66 entity = to_xvip_entity(asd);
67 if (entity->asd.match.fwnode == fwnode)
92 ep = fwnode_graph_get_next_endpoint(entity->asd
295 struct v4l2_async_connection *asd; local
390 struct v4l2_async_connection *asd; local
[all...]
/linux-master/drivers/media/platform/renesas/
H A Drcar-isp.c329 struct v4l2_async_connection *asd)
334 pad = media_entity_get_fwnode_pad(&subdev->entity, asd->match.fwnode,
353 struct v4l2_async_connection *asd)
369 struct v4l2_async_connection *asd; local
398 asd = v4l2_async_nf_add_fwnode(&isp->notifier, fwnode,
401 if (IS_ERR(asd))
402 return PTR_ERR(asd);
327 risp_notify_bound(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_connection *asd) argument
351 risp_notify_unbind(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_connection *asd) argument
/linux-master/drivers/media/platform/sunxi/sun4i-csi/
H A Dsun4i_csi.c44 struct v4l2_async_connection *asd)
120 struct v4l2_async_connection *asd; local
137 asd = v4l2_async_nf_add_fwnode_remote(&csi->notifier, ep,
139 if (IS_ERR(asd)) {
140 ret = PTR_ERR(asd);
42 sun4i_csi_notify_bound(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_connection *asd) argument
/linux-master/drivers/media/platform/marvell/
H A Dmmp-driver.c183 struct v4l2_async_connection *asd; local
243 asd = v4l2_async_nf_add_fwnode_remote(&mcam->notifier, ep,
246 if (IS_ERR(asd)) {
247 ret = PTR_ERR(asd);
/linux-master/drivers/media/platform/
H A Dvideo-mux.c320 struct v4l2_async_connection *asd)
340 struct v4l2_async_connection *asd; local
357 asd = v4l2_async_nf_add_fwnode_remote(&vmux->notifier, ep,
362 if (IS_ERR(asd)) {
363 ret = PTR_ERR(asd);
364 /* OK if asd already exists */
318 video_mux_notify_bound(struct v4l2_async_notifier *notifier, struct v4l2_subdev *sd, struct v4l2_async_connection *asd) argument
/linux-master/drivers/media/pci/intel/ivsc/
H A Dmei_csi.c521 struct v4l2_async_connection *asd)
526 pad = media_entity_get_fwnode_pad(&subdev->entity, asd->match.fwnode,
542 struct v4l2_async_connection *asd)
595 struct v4l2_async_connection *asd; local
638 asd = v4l2_async_nf_add_fwnode_remote(&csi->notifier, sink_ep,
640 if (IS_ERR(asd)) {
641 ret = PTR_ERR(asd);
519 mei_csi_notify_bound(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_connection *asd) argument
540 mei_csi_notify_unbind(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_connection *asd) argument

Completed in 254 milliseconds

1234