/linux-master/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_compat.h | 44 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 D | atomisp_cmd.h | 55 void atomisp_clear_css_buffer_counters(struct atomisp_sub_device *asd); 76 int atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag, 80 int atomisp_low_light(struct atomisp_sub_device *asd, int flag, 87 int atomisp_xnr(struct atomisp_sub_device *asd, int flag, int *arg); 89 int atomisp_formats(struct atomisp_sub_device *asd, int flag, 93 int atomisp_nr(struct atomisp_sub_device *asd, int flag, 97 int atomisp_tnr(struct atomisp_sub_device *asd, int flag, 101 int atomisp_black_level(struct atomisp_sub_device *asd, int flag, 105 int atomisp_ee(struct atomisp_sub_device *asd, int flag, 109 int atomisp_gamma(struct atomisp_sub_device *asd, in [all...] |
H A D | atomisp_fops.h | 29 int atomisp_qbuffers_to_css(struct atomisp_sub_device *asd);
|
H A D | atomisp_fops.c | 52 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 457 atomisp_subdev_init_struct(struct atomisp_sub_device *asd) argument 489 struct atomisp_sub_device *asd = pipe->asd; local 540 struct atomisp_sub_device *asd = pipe->asd; local [all...] |
H A D | atomisp_compat_css20.h | 108 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 D | atomisp_compat_css20.c | 183 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); 385 static int __destroy_stream(struct atomisp_sub_device *asd, argument 388 struct atomisp_device *isp = asd->isp; 427 static int __destroy_streams(struct atomisp_sub_device *asd) argument 432 ret = __destroy_stream(asd, &asd 440 __create_stream(struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env) argument 474 __create_streams(struct atomisp_sub_device *asd) argument 491 __destroy_stream_pipes(struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env) argument 513 __destroy_pipes(struct atomisp_sub_device *asd) argument 535 atomisp_destroy_pipes_stream(struct atomisp_sub_device *asd) argument 544 __apply_additional_pipe_config( struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env, enum ia_css_pipe_id pipe_id) argument 597 is_pipe_valid_to_current_run_mode(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id) argument 644 __create_pipe(struct atomisp_sub_device *asd, struct atomisp_stream_env *stream_env, enum ia_css_pipe_id pipe_id) argument 680 __create_pipes(struct atomisp_sub_device *asd) argument 708 atomisp_create_pipes_stream(struct atomisp_sub_device *asd) argument 728 atomisp_css_update_stream(struct atomisp_sub_device *asd) argument 866 atomisp_css_init_struct(struct atomisp_sub_device *asd) argument 884 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 905 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 925 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 946 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 967 atomisp_css_start(struct atomisp_sub_device *asd) argument 1014 atomisp_css_update_isp_params(struct atomisp_sub_device *asd) argument 1038 atomisp_css_update_isp_params_on_pipe(struct atomisp_sub_device *asd, struct ia_css_pipe *pipe) argument 1062 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 1077 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 1098 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 1187 atomisp_css_free_stat_buffers(struct atomisp_sub_device *asd) argument 1273 atomisp_css_get_grid_info(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id) argument 1330 atomisp_alloc_3a_output_buf(struct atomisp_sub_device *asd) argument 1349 atomisp_alloc_dis_coef_buf(struct atomisp_sub_device *asd) argument 1391 atomisp_alloc_metadata_output_buf(struct atomisp_sub_device *asd) argument 1413 atomisp_free_metadata_output_buf(struct atomisp_sub_device *asd) argument 1425 atomisp_css_temp_pipe_to_pipe_id(struct atomisp_sub_device *asd, struct atomisp_css_event *current_event) argument 1441 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 1457 atomisp_css_input_set_resolution(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt) argument 1469 atomisp_css_input_set_binning_factor(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, unsigned int bin_factor) argument 1477 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 1486 atomisp_css_isys_set_link(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, int link, int isys_stream) argument 1497 atomisp_css_isys_set_valid(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, bool valid, int isys_stream) argument 1508 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 1519 atomisp_css_input_set_format(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, enum atomisp_input_format format) argument 1529 atomisp_css_set_default_isys_config(struct atomisp_sub_device *asd, enum atomisp_input_stream_id stream_id, struct v4l2_mbus_framefmt *ffmt) argument 1557 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 1575 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 1595 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 1607 atomisp_css_video_set_dis_envelope(struct atomisp_sub_device *asd, unsigned int dvs_w, unsigned int dvs_h) argument 1616 atomisp_css_input_set_two_pixels_per_clock( struct atomisp_sub_device *asd, bool two_ppc) argument 1633 atomisp_css_enable_dz(struct atomisp_sub_device *asd, bool enable) argument 1642 atomisp_css_capture_set_mode(struct atomisp_sub_device *asd, enum ia_css_capture_mode mode) argument 1657 atomisp_css_input_set_mode(struct atomisp_sub_device *asd, enum ia_css_input_mode mode) argument 1701 atomisp_css_capture_enable_online(struct atomisp_sub_device *asd, unsigned short stream_index, bool enable) argument 1714 atomisp_css_preview_enable_online(struct atomisp_sub_device *asd, unsigned short stream_index, bool enable) argument 1728 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 1772 atomisp_css_stop(struct atomisp_sub_device *asd, bool in_reset) argument 1825 atomisp_css_continuous_set_num_raw_frames( struct atomisp_sub_device *asd, int num_frames) argument 1853 __pipe_id_to_pipe_mode( struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id) argument 1885 __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 1921 __configure_capture_pp_input(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, enum ia_css_pipe_id pipe_id) argument 1973 __configure_preview_pp_input(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, enum ia_css_pipe_id pipe_id) argument 2101 __configure_video_pp_input(struct atomisp_sub_device *asd, unsigned int width, unsigned int height, enum ia_css_pipe_id pipe_id) argument 2197 __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 2220 __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 2275 atomisp_get_pipe_index(struct atomisp_sub_device *asd) argument 2293 atomisp_get_css_frame_info(struct atomisp_sub_device *asd, struct ia_css_frame_info *frame_info) argument 2315 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 2330 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 2340 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 2350 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 2360 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 2371 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 2381 atomisp_css_video_get_viewfinder_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) argument 2389 atomisp_css_capture_get_viewfinder_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) argument 2397 atomisp_css_copy_get_output_frame_info( struct atomisp_sub_device *asd, unsigned int stream_index, struct ia_css_frame_info *info) argument 2406 atomisp_css_preview_get_output_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) argument 2414 atomisp_css_capture_get_output_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) argument 2422 atomisp_css_video_get_output_frame_info( struct atomisp_sub_device *asd, struct ia_css_frame_info *info) argument 2430 atomisp_css_preview_configure_pp_input( struct atomisp_sub_device *asd, unsigned int width, unsigned int height) argument 2445 atomisp_css_capture_configure_pp_input( struct atomisp_sub_device *asd, unsigned int width, unsigned int height) argument 2453 atomisp_css_video_configure_pp_input( struct atomisp_sub_device *asd, unsigned int width, unsigned int height) argument 2469 atomisp_css_offline_capture_configure(struct atomisp_sub_device *asd, int num_captures, unsigned int skip, int offset) argument 2486 atomisp_css_exp_id_capture(struct atomisp_sub_device *asd, int exp_id) argument 2503 atomisp_css_exp_id_unlock(struct atomisp_sub_device *asd, int exp_id) argument 2518 atomisp_css_capture_enable_xnr(struct atomisp_sub_device *asd, bool enable) argument 2531 atomisp_css_set_ctc_table(struct atomisp_sub_device *asd, struct ia_css_ctc_table *ctc_table) argument 2558 atomisp_css_set_anr_thres(struct atomisp_sub_device *asd, struct ia_css_anr_thres *anr_thres) argument 2564 atomisp_css_set_dvs_6axis(struct atomisp_sub_device *asd, struct ia_css_dvs_6axis_config *dvs_6axis) argument 2570 atomisp_css_video_set_dis_vector(struct atomisp_sub_device *asd, struct atomisp_dis_vector *vector) argument 2582 atomisp_compare_dvs_grid(struct atomisp_sub_device *asd, struct atomisp_dvs_grid_info *atomgrid) argument 2606 atomisp_css_set_dvs2_coefs(struct atomisp_sub_device *asd, struct ia_css_dvs2_coefficients *coefs) argument 2612 atomisp_css_set_dis_coefs(struct atomisp_sub_device *asd, struct atomisp_dis_coefficients *coefs) argument 2675 atomisp_css_set_zoom_factor(struct atomisp_sub_device *asd, unsigned int zoom) argument 2696 atomisp_css_set_formats_config(struct atomisp_sub_device *asd, struct ia_css_formats_config *formats_config) argument 2702 atomisp_css_get_wb_config(struct atomisp_sub_device *asd, struct atomisp_wb_config *config) argument 2725 atomisp_css_get_ob_config(struct atomisp_sub_device *asd, struct atomisp_ob_config *config) argument 2748 atomisp_css_get_dp_config(struct atomisp_sub_device *asd, struct atomisp_dp_config *config) argument 2771 atomisp_css_get_de_config(struct atomisp_sub_device *asd, struct atomisp_de_config *config) argument 2794 atomisp_css_get_nr_config(struct atomisp_sub_device *asd, struct atomisp_nr_config *config) argument 2818 atomisp_css_get_ee_config(struct atomisp_sub_device *asd, struct atomisp_ee_config *config) argument 2841 atomisp_css_get_tnr_config(struct atomisp_sub_device *asd, struct atomisp_tnr_config *config) argument 2864 atomisp_css_get_ctc_table(struct atomisp_sub_device *asd, struct atomisp_ctc_table *config) argument 2892 atomisp_css_get_gamma_table(struct atomisp_sub_device *asd, struct atomisp_gamma_table *config) argument 2920 atomisp_css_get_gc_config(struct atomisp_sub_device *asd, struct atomisp_gc_config *config) argument 2944 atomisp_css_get_3a_config(struct atomisp_sub_device *asd, struct atomisp_3a_config *config) argument 2968 atomisp_css_get_formats_config(struct atomisp_sub_device *asd, struct atomisp_formats_config *config) argument 2992 atomisp_css_get_zoom_factor(struct atomisp_sub_device *asd, unsigned int *zoom) argument 3018 atomisp_css_get_dis_stat(struct atomisp_sub_device *asd, struct atomisp_dis_statistics *stats) argument 3113 atomisp_css_set_shading_table(struct atomisp_sub_device *asd, struct ia_css_shading_table *table) argument 3130 atomisp_css_set_morph_table(struct atomisp_sub_device *asd, struct ia_css_morph_table *table) argument 3136 atomisp_css_get_morph_table(struct atomisp_sub_device *asd, struct ia_css_morph_table *table) argument 3362 atomisp_css_set_isp_config_id(struct atomisp_sub_device *asd, uint32_t isp_config_id) argument 3368 atomisp_css_set_isp_config_applied_frame(struct atomisp_sub_device *asd, struct ia_css_frame *output_frame) argument 3390 atomisp_en_dz_capt_pipe(struct atomisp_sub_device *asd, bool enable) argument [all...] |
H A D | atomisp_cmd.c | 93 static unsigned short atomisp_get_sensor_fps(struct atomisp_sub_device *asd) argument 96 struct atomisp_device *isp = asd->isp; 101 ret = v4l2_subdev_call_state_active(isp->inputs[asd->input_curr].camera, 217 fps = atomisp_get_sensor_fps(&isp->asd); 225 curr_rules.width = isp->asd.fmt[ATOMISP_SUBDEV_PAD_SOURCE].fmt.width; 226 curr_rules.height = isp->asd.fmt[ATOMISP_SUBDEV_PAD_SOURCE].fmt.height; 228 curr_rules.run_mode = isp->asd.run_mode->val; 349 static void atomisp_sof_event(struct atomisp_sub_device *asd) argument 354 event.u.frame_sync.frame_sequence = atomic_read(&asd->sof_count); 356 v4l2_event_queue(asd 359 atomisp_eof_event(struct atomisp_sub_device *asd, uint8_t exp_id) argument 369 atomisp_3a_stats_ready_event(struct atomisp_sub_device *asd, uint8_t exp_id) argument 380 atomisp_metadata_ready_event(struct atomisp_sub_device *asd, enum atomisp_metadata_type md_type) argument 391 atomisp_reset_event(struct atomisp_sub_device *asd) argument 535 atomisp_clear_css_buffer_counters(struct atomisp_sub_device *asd) argument 657 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 1145 atomisp_update_capture_mode(struct atomisp_sub_device *asd) argument 1161 atomisp_gdc_cac(struct atomisp_sub_device *asd, int flag, __s32 *value) argument 1183 atomisp_low_light(struct atomisp_sub_device *asd, int flag, __s32 *value) argument 1200 atomisp_xnr(struct atomisp_sub_device *asd, int flag, int *xnr_enable) argument 1216 atomisp_nr(struct atomisp_sub_device *asd, int flag, struct atomisp_nr_config *arg) argument 1236 atomisp_tnr(struct atomisp_sub_device *asd, int flag, struct atomisp_tnr_config *config) argument 1258 atomisp_black_level(struct atomisp_sub_device *asd, int flag, struct atomisp_ob_config *config) argument 1279 atomisp_ee(struct atomisp_sub_device *asd, int flag, struct atomisp_ee_config *config) argument 1300 atomisp_gamma(struct atomisp_sub_device *asd, int flag, struct atomisp_gamma_table *config) argument 1320 atomisp_ctc(struct atomisp_sub_device *asd, int flag, struct atomisp_ctc_table *config) argument 1340 atomisp_gamma_correction(struct atomisp_sub_device *asd, int flag, struct atomisp_gc_config *config) argument 1361 atomisp_formats(struct atomisp_sub_device *asd, int flag, struct atomisp_formats_config *config) argument 1378 atomisp_free_internal_buffers(struct atomisp_sub_device *asd) argument 1383 atomisp_update_grid_info(struct atomisp_sub_device *asd, enum ia_css_pipe_id pipe_id) argument 1430 atomisp_curr_user_grid_info(struct atomisp_sub_device *asd, struct atomisp_grid_info *info) argument 1437 atomisp_compare_grid(struct atomisp_sub_device *asd, struct atomisp_grid_info *atomgrid) argument 1449 atomisp_gdc_cac_table(struct atomisp_sub_device *asd, int flag, struct atomisp_morph_table *config) argument 1534 atomisp_macc_table(struct atomisp_sub_device *asd, int flag, struct atomisp_macc_config *config) argument 1576 atomisp_set_dis_vector(struct atomisp_sub_device *asd, struct atomisp_dis_vector *vector) argument 1589 atomisp_get_dis_stat(struct atomisp_sub_device *asd, struct atomisp_dis_statistics *stats) argument 1598 atomisp_set_array_res(struct atomisp_sub_device *asd, struct atomisp_resolution *config) argument 1615 atomisp_get_dvs2_bq_resolutions(struct atomisp_sub_device *asd, struct atomisp_dvs2_bq_resolutions *bq_res) argument 1674 atomisp_set_dis_coefs(struct atomisp_sub_device *asd, struct atomisp_dis_coefficients *coefs) argument 1683 atomisp_3a_stat(struct atomisp_sub_device *asd, int flag, struct atomisp_3a_statistics *config) argument 1741 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 1896 atomisp_check_zoom_region( struct atomisp_sub_device *asd, struct ia_css_dz_config *dz_config) argument 1931 atomisp_apply_css_parameters( struct atomisp_sub_device *asd, struct atomisp_css_params *css_param) argument 2049 atomisp_cp_general_isp_parameters(struct atomisp_sub_device *asd, struct atomisp_parameters *arg, struct atomisp_css_params *css_param, bool from_user) argument 2342 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 2454 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 2582 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 2734 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 2822 atomisp_makeup_css_parameters(struct atomisp_sub_device *asd, struct atomisp_parameters *arg, struct atomisp_css_params *css_param) argument 2888 struct atomisp_sub_device *asd = pipe->asd; local 2950 struct atomisp_sub_device *asd = pipe->asd; local 3025 atomisp_param(struct atomisp_sub_device *asd, int flag, struct atomisp_parm *config) argument 3120 atomisp_color_effect(struct atomisp_sub_device *asd, int flag, __s32 *effect) argument 3213 atomisp_bad_pixel(struct atomisp_sub_device *asd, int flag, __s32 *value) argument 3228 atomisp_bad_pixel_param(struct atomisp_sub_device *asd, int flag, struct atomisp_dp_config *config) argument 3249 atomisp_video_stable(struct atomisp_sub_device *asd, int flag, __s32 *value) argument 3263 atomisp_fixed_pattern(struct atomisp_sub_device *asd, int flag, __s32 *value) argument 3366 atomisp_fixed_pattern_table(struct atomisp_sub_device *asd, struct v4l2_framebuffer *arg) argument 3390 atomisp_false_color(struct atomisp_sub_device *asd, int flag, __s32 *value) argument 3414 atomisp_false_color_param(struct atomisp_sub_device *asd, int flag, struct atomisp_de_config *config) argument 3435 atomisp_white_balance_param(struct atomisp_sub_device *asd, int flag, struct atomisp_wb_config *config) argument 3453 atomisp_3a_config_param(struct atomisp_sub_device *asd, int flag, struct atomisp_3a_config *config) argument 3479 atomisp_digital_zoom(struct atomisp_sub_device *asd, int flag, __s32 *value) argument 3504 __atomisp_update_stream_env(struct atomisp_sub_device *asd, u16 stream_index, struct atomisp_input_stream_info *stream_info) argument 3783 struct atomisp_sub_device *asd = &isp->asd; local 3874 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 3956 configure_pp_input_nop(struct atomisp_sub_device *asd, unsigned int width, unsigned int height) argument 3962 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 3970 get_frame_info_nop(struct atomisp_sub_device *asd, struct ia_css_frame_info *finfo) argument 3983 css_input_resolution_changed(struct atomisp_sub_device *asd, struct v4l2_mbus_framefmt *ffmt) argument 4024 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local 4186 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 4205 atomisp_check_copy_mode(struct atomisp_sub_device *asd, const struct v4l2_pix_format *f) argument 4233 struct atomisp_sub_device *asd = pipe->asd; local 4308 struct atomisp_sub_device *asd = pipe->asd; local 4425 atomisp_set_shading_table(struct atomisp_sub_device *asd, struct atomisp_shading_table *user_shading_table) argument 4487 __checking_exp_id(struct atomisp_sub_device *asd, int exp_id) argument 4507 atomisp_init_raw_buffer_bitmap(struct atomisp_sub_device *asd) argument 4517 __is_raw_buffer_locked(struct atomisp_sub_device *asd, int exp_id) argument 4534 __clear_raw_buffer_bitmap(struct atomisp_sub_device *asd, int exp_id) argument 4554 atomisp_exp_id_capture(struct atomisp_sub_device *asd, int *exp_id) argument 4577 atomisp_exp_id_unlock(struct atomisp_sub_device *asd, int *exp_id) argument 4600 atomisp_enable_dz_capt_pipe(struct atomisp_sub_device *asd, unsigned int *enable) argument 4615 atomisp_inject_a_fake_event(struct atomisp_sub_device *asd, int *event) argument [all...] |
H A D | atomisp_ioctl.c | 420 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local 422 *input = asd->input_curr; 518 struct atomisp_input_subdev *input = &isp->inputs[isp->asd.input_curr]; 543 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local 544 struct atomisp_input_subdev *input = &isp->inputs[asd->input_curr]; 579 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local 580 struct atomisp_input_subdev *input = &isp->inputs[asd 613 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local 692 atomisp_alloc_css_stat_bufs(struct atomisp_sub_device *asd, uint16_t stream_id) argument 856 atomisp_dma_burst_len_cfg(struct atomisp_sub_device *asd) argument 873 struct atomisp_sub_device *asd = pipe->asd; local 975 struct atomisp_sub_device *asd = pipe->asd; local 1055 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local 1107 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local 1182 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local 1239 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local 1305 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local 1323 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local 1375 struct atomisp_sub_device *asd = atomisp_to_video_pipe(vdev)->asd; local [all...] |
H A D | atomisp_subdev.c | 121 bool atomisp_subdev_format_conversion(struct atomisp_sub_device *asd) argument 125 sink = atomisp_subdev_get_ffmt(&asd->subdev, NULL, 127 src = atomisp_subdev_get_ffmt(&asd->subdev, NULL, 608 static void isp_subdev_init_params(struct atomisp_sub_device *asd) argument 613 INIT_LIST_HEAD(&asd->s3a_stats); 614 INIT_LIST_HEAD(&asd->s3a_stats_in_css); 615 INIT_LIST_HEAD(&asd->s3a_stats_ready); 616 INIT_LIST_HEAD(&asd->dis_stats); 617 INIT_LIST_HEAD(&asd->dis_stats_in_css); 618 spin_lock_init(&asd 633 struct atomisp_sub_device *asd = v4l2_get_subdevdata(sd); local 782 atomisp_init_subdev_pipe(struct atomisp_sub_device *asd, struct atomisp_video_pipe *pipe, enum v4l2_buf_type buf_type) argument 821 isp_subdev_init_entities(struct atomisp_sub_device *asd) argument 884 atomisp_subdev_cleanup_entities(struct atomisp_sub_device *asd) argument 891 atomisp_subdev_cleanup_pending_events(struct atomisp_sub_device *asd) argument 905 atomisp_subdev_unregister_entities(struct atomisp_sub_device *asd) argument 912 atomisp_subdev_register_subdev(struct atomisp_sub_device *asd, struct v4l2_device *vdev) argument [all...] |
H A D | atomisp_ioctl.h | 39 int atomisp_alloc_css_stat_bufs(struct atomisp_sub_device *asd,
|
H A D | atomisp_csi2.c | 239 static void atomisp_csi2_configure_isp2401(struct atomisp_sub_device *asd) argument 303 struct atomisp_device *isp = asd->isp; 308 port = isp->inputs[asd->input_curr].port; 312 (isp->inputs[asd->input_curr].camera->ctrl_handler, &ctrl) == 0) 334 void atomisp_csi2_configure(struct atomisp_sub_device *asd) argument 336 if (IS_HWREVISION(asd->isp, ATOMISP_HW_REVISION_ISP2401)) 337 atomisp_csi2_configure_isp2401(asd);
|
H A D | atomisp_subdev.h | 85 struct atomisp_sub_device *asd; member in struct:atomisp_video_pipe 327 bool atomisp_subdev_format_conversion(struct atomisp_sub_device *asd); 348 void atomisp_subdev_cleanup_pending_events(struct atomisp_sub_device *asd); 350 void atomisp_subdev_unregister_entities(struct atomisp_sub_device *asd); 351 int atomisp_subdev_register_subdev(struct atomisp_sub_device *asd,
|
H A D | atomisp_csi2.h | 77 void atomisp_csi2_configure(struct atomisp_sub_device *asd);
|
/linux-master/drivers/media/pci/intel/ipu6/ |
H A D | ipu6-isys-subdev.c | 144 struct ipu6_isys_subdev *asd = to_ipu6_isys_subdev(sd); local 147 u32 code = asd->supported_codes[0]; 163 for (i = 0; asd->supported_codes[i]; i++) { 164 if (asd->supported_codes[i] == format->format.code) { 165 code = asd->supported_codes[i]; 212 struct ipu6_isys_subdev *asd = to_ipu6_isys_subdev(sd); local 213 const u32 *supported_codes = asd->supported_codes; 336 int ipu6_isys_subdev_init(struct ipu6_isys_subdev *asd, argument 346 v4l2_subdev_init(&asd->sd, ops); 348 asd 399 ipu6_isys_subdev_cleanup(struct ipu6_isys_subdev *asd) argument [all...] |
H A D | ipu6-isys-csi2.h | 39 struct ipu6_isys_subdev asd; member in struct:ipu6_isys_csi2 64 container_of(__sd, struct ipu6_isys_csi2, asd) 66 #define to_ipu6_isys_csi2(__asd) container_of(__asd, struct ipu6_isys_csi2, asd)
|
H A D | ipu6-isys-csi2.c | 90 src_pad = media_entity_remote_source_pad_unique(&csi2->asd.sd.entity); 93 csi2->asd.sd.name, PTR_ERR(src_pad)); 98 if (WARN(!ext_sd, "Failed to get subdev for %s\n", csi2->asd.sd.name)) 107 struct ipu6_isys_subdev *asd = to_ipu6_isys_subdev(sd); local 108 struct ipu6_isys_csi2 *csi2 = to_ipu6_isys_csi2(asd); 237 struct ipu6_isys_subdev *asd = to_ipu6_isys_subdev(sd); local 238 struct ipu6_isys_csi2 *csi2 = to_ipu6_isys_csi2(asd); 350 struct ipu6_isys_subdev *asd = to_ipu6_isys_subdev(sd); local 351 struct ipu6_isys_csi2 *csi2 = to_ipu6_isys_csi2(asd); 392 struct ipu6_isys_subdev *asd local [all...] |
H A D | ipu6-isys-subdev.h | 53 int ipu6_isys_subdev_init(struct ipu6_isys_subdev *asd, 58 void ipu6_isys_subdev_cleanup(struct ipu6_isys_subdev *asd);
|
/linux-master/drivers/staging/media/imx/ |
H A D | imx-media-of.c | 22 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 D | rzg2l-core.c | 95 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 D | rzg2l-cru.h | 48 struct v4l2_async_connection *asd; member in struct:rzg2l_cru_csi
|
/linux-master/include/media/davinci/ |
H A D | vpif_types.h | 75 struct v4l2_async_connection *asd[VPIF_CAPTURE_MAX_CHANNELS]; member in struct:vpif_capture_config
|
/linux-master/drivers/media/platform/xilinx/ |
H A D | xilinx-vipp.c | 32 * @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 D | rcar-isp.c | 329 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 D | sun4i_csi.c | 44 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 D | mmp-driver.c | 183 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);
|