Lines Matching +full:dphy +full:- +full:cfg

1 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
3 * Rockchip ISP1 Driver - Common definitions
17 #include <linux/rkisp1-config.h>
18 #include <media/media-device.h>
19 #include <media/media-entity.h>
20 #include <media/v4l2-ctrls.h>
21 #include <media/v4l2-device.h>
22 #include <media/videobuf2-v4l2.h>
24 #include "rkisp1-regs.h"
38 * model-specific and stored in the rkisp1_info structure.
112 * enum rkisp1_feature - ISP features
114 * @RKISP1_FEATURE_MIPI_CSI2: The ISP has an internal MIPI CSI-2 receiver
118 * @RKISP1_FEATURE_DMA_34BIT: The ISP uses 34-bit DMA addresses
137 ((rkisp1)->info->features & RKISP1_FEATURE_##feature)
140 * struct rkisp1_info - Model-specific ISP Information
166 * struct rkisp1_sensor_async - A container for the v4l2_async_subdev to add to the notifier
167 * of the v4l2-async API
192 * struct rkisp1_csi - CSI receiver subdev
195 * @dphy: a pointer to the phy
196 * @is_dphy_errctrl_disabled: if dphy errctrl is disabled (avoid endless interrupt)
199 * @source: source in-use, set when starting streaming
203 struct phy *dphy; member
211 * struct rkisp1_isp - ISP subdev entity
228 * struct rkisp1_vdev_node - Container for the video nodes: params, stats, mainpath, selfpath
243 * struct rkisp1_buffer - A container for the vb2 buffers used by the video devices:
257 * struct rkisp1_params_buffer - A container for the vb2 buffers used by the
262 * @cfg: scratch buffer used for caching the ISP configuration parameters
267 void *cfg; member
277 * struct rkisp1_dummy_buffer - A buffer to write the next frame to in case
293 * struct rkisp1_capture - ISP capture video device
315 * @pix.cfg: pixel configuration
338 const struct rkisp1_capture_fmt_cfg *cfg; member
355 * struct rkisp1_stats - ISP Statistics device
397 * struct rkisp1_params - ISP input parameters device
401 * @ops: pointer to the variant-specific operations
428 * struct rkisp1_resizer - Resizer subdev
447 * struct rkisp1_debug - Values to be exposed on debugfs.
478 * struct rkisp1_device - ISP platform device
484 * @gasket: the gasket - i.MX8MP only
485 * @gasket_id: the gasket ID (0 or 1) - i.MX8MP only
488 * @notifier: a notifier to register on the v4l2-async API to be notified on the sensor
489 * @source: source subdev in-use, set when starting streaming
490 * @csi: internal CSI-2 receiver
491 * @isp: ISP sub-device
492 * @resizer_devs: resizer sub-devices
499 * @info: version-specific ISP information
529 * struct rkisp1_mbus_info - ISP media bus info, Translates media bus code to hardware
553 writel(val, rkisp1->base_addr + addr); in rkisp1_write()
558 return readl(rkisp1->base_addr + addr); in rkisp1_read()
562 * rkisp1_cap_enum_mbus_codes - A helper function that return the i'th supported mbus code
567 * @code: the mbus code, the function reads the code->index and fills the code->code
573 * rkisp1_mbus_info_get_by_index - Retrieve the ith supported mbus info
580 * rkisp1_path_count - Return the number of paths supported by the device
593 * rkisp1_sd_adjust_crop_rect - adjust a rectangle to fit into another rectangle.
602 * rkisp1_sd_adjust_crop - adjust a rectangle to fit into media bus format
614 * rkisp1_mbus_info_get_by_code - get the isp info of the media bus code
621 * rkisp1_params_pre_configure - Configure the params before stream start
638 * rkisp1_params_post_configure - Configure the params after stream start
647 /* rkisp1_params_disable - disable all parameters.