Home
last modified time | relevance | path

Searched refs:subdev (Results 1 - 25 of 43) sorted by relevance

12

/device/soc/rockchip/common/sdk_linux/include/media/
H A Dv4l2-async.h107 int (*bound)(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_subdev *asd);
109 void (*unbind)(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_subdev *asd);
146 * v4l2_async_notifier_add_subdev - Add an async subdev to the
160 * subdev to the notifier's master asd_list.
180 * remote async subdev to the
205 * subdev to the notifier's master asd_list.
223 * async subdev to the notifier's master asd_list.
317 * While registered, the subdev module is marked as in-use.
/device/soc/rockchip/common/sdk_linux/drivers/media/v4l2-core/
H A Dv4l2-async.c23 #include <media/v4l2-subdev.h>
25 static int v4l2_async_notifier_call_bound(struct v4l2_async_notifier *n, struct v4l2_subdev *subdev, in v4l2_async_notifier_call_bound() argument
32 return n->ops->bound(n, subdev, asd); in v4l2_async_notifier_call_bound()
35 static void v4l2_async_notifier_call_unbind(struct v4l2_async_notifier *n, struct v4l2_subdev *subdev, in v4l2_async_notifier_call_unbind() argument
42 n->ops->unbind(n, subdev, asd); in v4l2_async_notifier_call_unbind()
79 * Both the subdev and the async subdev can provide either an endpoint in match_fwnode()
370 * Subdevice driver will reprobe and put the subdev back in v4l2_async_cleanup()
468 dev_dbg(dev, "subdev descriptor already listed in this or other notifiers\n"); in v4l2_async_notifier_asd_valid()
596 dev_info(notifier->v4l2_dev->dev, "clear unready subdev nu in v4l2_async_notifier_clr_unready_dev()
[all...]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/cif/
H A Dmipi-csi2.h9 #include <media/v4l2-subdev.h>
32 * source subdev does not provide V4L2_CID_LINK_FREQ.
H A Dcapture.c17 #include <media/v4l2-subdev.h>
4088 v4l2_err(&stream->cifdev->v4l2_dev, "terminal subdev does not exist\n"); in rkcif_set_fmt()
4963 struct rkcif_lvds_subdev *subdev = container_of(sd, struct rkcif_lvds_subdev, sd); in rkcif_lvds_sd_get_fmt() local
4973 subdev->in_fmt = fmt->format; in rkcif_lvds_sd_get_fmt()
4979 static struct v4l2_rect *rkcif_lvds_sd_get_crop(struct rkcif_lvds_subdev *subdev, struct v4l2_subdev_pad_config *cfg, in rkcif_lvds_sd_get_crop() argument
4983 return v4l2_subdev_get_try_crop(&subdev->sd, cfg, RKCIF_LVDS_PAD_SINK); in rkcif_lvds_sd_get_crop()
4985 return &subdev->crop; in rkcif_lvds_sd_get_crop()
4992 struct rkcif_lvds_subdev *subdev = container_of(sd, struct rkcif_lvds_subdev, sd); in rkcif_lvds_sd_set_selection() local
4998 subdev->crop = sel->r; in rkcif_lvds_sd_set_selection()
5007 struct rkcif_lvds_subdev *subdev in rkcif_lvds_sd_get_selection() local
5075 struct rkcif_lvds_subdev *subdev = container_of(sd, struct rkcif_lvds_subdev, sd); rkcif_lvds_sd_s_stream() local
5129 struct rkcif_lvds_subdev *subdev = &dev->lvds_subdev; rkcif_lvds_event_inc_sof() local
5225 struct rkcif_dvp_sof_subdev *subdev = &dev->dvp_sof_subdev; rkcif_dvp_event_inc_sof() local
5266 struct rkcif_dvp_sof_subdev *subdev = &dev->dvp_sof_subdev; rkcif_register_dvp_sof_subdev() local
[all...]
H A Dsubdev-itf.c26 static inline struct sditf_priv *to_sditf_priv(struct v4l2_subdev *subdev) in to_sditf_priv() argument
28 return container_of(subdev, struct sditf_priv, sd); in to_sditf_priv()
H A Ddev.c1085 v4l2_err(&dev->v4l2_dev, "There is not terminal subdev, not synchronized with ISP\n"); in subdev_asyn_register_itf()
1145 v4l2_err(&dev->v4l2_dev, "Err: register lvds subdev failed!!!\n"); in subdev_notifier_complete()
1154 v4l2_err(&dev->v4l2_dev, "Err: register dvp sof subdev failed!!!\n"); in subdev_notifier_complete()
1176 v4l2_info(&dev->v4l2_dev, "Async subdev notifier completed\n"); in subdev_notifier_complete()
1193 static int subdev_notifier_bound(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, in subdev_notifier_bound() argument
1200 v4l2_err(&cif_dev->v4l2_dev, "%s: the num of subdev is beyond %d\n", __func__, cif_dev->num_sensors); in subdev_notifier_bound()
1206 cif_dev->sensors[cif_dev->num_sensors].sd = subdev; in subdev_notifier_bound()
1209 v4l2_err(subdev, "Async registered subdev\n"); in subdev_notifier_bound()
1298 v4l2_err(&cif_dev->v4l2_dev, "Failed to register subdev notifie in rkcif_register_platform_subdevs()
[all...]
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/
H A Disp_ispp.h8 #include <media/v4l2-subdev.h>
H A Ddev.c212 /* find the subdev of active sensor */ in isp_pipeline_s_isp_clk()
228 v4l2_warn(&dev->v4l2_dev, "No pixel rate control in subdev\n"); in isp_pipeline_s_isp_clk()
528 v4l2_info(&dev->v4l2_dev, "Async subdev notifier completed\n"); in subdev_notifier_complete()
540 static int subdev_notifier_bound(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, in subdev_notifier_bound() argument
551 isp_dev->sensors[isp_dev->num_sensors].sd = subdev; in subdev_notifier_bound()
554 v4l2_dbg(1, rkisp_debug, subdev, "Async registered subdev\n"); in subdev_notifier_bound()
649 v4l2_err(&dev->v4l2_dev, "Failed to register subdev notifier(%d)\n", ret); in rkisp_register_platform_subdevs()
833 /* create & register platefom subdev (from of_node) */ in rkisp_plat_probe()
H A Dbridge_v30.c10 #include <media/v4l2-subdev.h>
H A Dcsi.c12 #include <media/v4l2-subdev.h>
588 v4l2_err(v4l2_dev, "Failed to register csi subdev\n"); in rkisp_register_csi_subdev()
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/
H A Disp_ispp.h8 #include <media/v4l2-subdev.h>
H A Ddev.c190 /* find the subdev of active sensor */ in __isp_pipeline_s_isp_clk()
205 v4l2_warn(&dev->v4l2_dev, "No pixel rate control in subdev\n"); in __isp_pipeline_s_isp_clk()
499 v4l2_info(&dev->v4l2_dev, "Async subdev notifier completed\n"); in subdev_notifier_complete()
512 struct v4l2_subdev *subdev, in subdev_notifier_bound()
524 isp_dev->sensors[isp_dev->num_sensors].sd = subdev; in subdev_notifier_bound()
527 v4l2_dbg(1, rkisp_debug, subdev, "Async registered subdev\n"); in subdev_notifier_bound()
619 "Failed to register subdev notifier(%d)\n", ret); in rkisp_register_platform_subdevs()
808 /* create & register platefom subdev (from of_node) */ in rkisp_plat_probe()
511 subdev_notifier_bound(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_subdev *asd) subdev_notifier_bound() argument
H A Dbridge_v30.c10 #include <media/v4l2-subdev.h>
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/cif/
H A Dmipi-csi2.h9 #include <media/v4l2-subdev.h>
32 * source subdev does not provide V4L2_CID_LINK_FREQ.
H A Dcapture.c17 #include <media/v4l2-subdev.h>
4240 "terminal subdev does not exist\n"); in rkcif_set_fmt()
5148 struct rkcif_lvds_subdev *subdev = container_of(sd, struct rkcif_lvds_subdev, sd); in rkcif_lvds_sd_get_fmt() local
5158 subdev->in_fmt = fmt->format; in rkcif_lvds_sd_get_fmt()
5163 static struct v4l2_rect *rkcif_lvds_sd_get_crop(struct rkcif_lvds_subdev *subdev, in rkcif_lvds_sd_get_crop() argument
5168 return v4l2_subdev_get_try_crop(&subdev->sd, cfg, RKCIF_LVDS_PAD_SINK); in rkcif_lvds_sd_get_crop()
5170 return &subdev->crop; in rkcif_lvds_sd_get_crop()
5177 struct rkcif_lvds_subdev *subdev = container_of(sd, struct rkcif_lvds_subdev, sd); in rkcif_lvds_sd_set_selection() local
5184 subdev->crop = sel->r; in rkcif_lvds_sd_set_selection()
5193 struct rkcif_lvds_subdev *subdev in rkcif_lvds_sd_get_selection() local
5262 struct rkcif_lvds_subdev *subdev = container_of(sd, struct rkcif_lvds_subdev, sd); rkcif_lvds_sd_s_stream() local
5315 struct rkcif_lvds_subdev *subdev = &dev->lvds_subdev; rkcif_lvds_event_inc_sof() local
5408 struct rkcif_dvp_sof_subdev *subdev = &dev->dvp_sof_subdev; rkcif_dvp_event_inc_sof() local
5448 struct rkcif_dvp_sof_subdev *subdev = &dev->dvp_sof_subdev; rkcif_register_dvp_sof_subdev() local
[all...]
H A Dsubdev-itf.c26 static inline struct sditf_priv *to_sditf_priv(struct v4l2_subdev *subdev) in to_sditf_priv() argument
28 return container_of(subdev, struct sditf_priv, sd); in to_sditf_priv()
H A Ddev.c1172 "There is not terminal subdev, not synchronized with ISP\n"); in subdev_asyn_register_itf()
1237 "Err: register lvds subdev failed!!!\n"); in subdev_notifier_complete()
1248 "Err: register dvp sof subdev failed!!!\n"); in subdev_notifier_complete()
1267 v4l2_info(&dev->v4l2_dev, "Async subdev notifier completed\n"); in subdev_notifier_complete()
1285 struct v4l2_subdev *subdev, in subdev_notifier_bound()
1295 "%s: the num of subdev is beyond %d\n", in subdev_notifier_bound()
1302 cif_dev->sensors[cif_dev->num_sensors].sd = subdev; in subdev_notifier_bound()
1305 v4l2_err(subdev, "Async registered subdev\n"); in subdev_notifier_bound()
1406 "Failed to register subdev notifie in rkcif_register_platform_subdevs()
1284 subdev_notifier_bound(struct v4l2_async_notifier *notifier, struct v4l2_subdev *subdev, struct v4l2_async_subdev *asd) subdev_notifier_bound() argument
[all...]
/device/soc/rockchip/common/vendor/drivers/phy/
H A Dphy-rockchip-csi2-dphy.c22 #include <media/v4l2-subdev.h>
34 static inline struct csi2_dphy *to_csi2_dphy(struct v4l2_subdev *subdev) in to_csi2_dphy() argument
36 return container_of(subdev, struct csi2_dphy, sd); in to_csi2_dphy()
80 v4l2_warn(sd, "No pixel rate control in subdev\n"); in csi2_dphy_get_sensor_data_rate()
H A Dphy-rockchip-mipi-rx.c49 #include <media/v4l2-subdev.h>
547 static inline struct mipidphy_priv *to_dphy_priv(struct v4l2_subdev *subdev) in to_dphy_priv() argument
549 return container_of(subdev, struct mipidphy_priv, sd); in to_dphy_priv()
702 v4l2_warn(sd, "No pixel rate control in subdev\n"); in mipidphy_get_sensor_data_rate()
/device/soc/rockchip/rk3588/kernel/drivers/phy/rockchip/
H A Dphy-rockchip-csi2-dphy.c22 #include <media/v4l2-subdev.h>
34 static inline struct csi2_dphy *to_csi2_dphy(struct v4l2_subdev *subdev) in to_csi2_dphy() argument
36 return container_of(subdev, struct csi2_dphy, sd); in to_csi2_dphy()
77 v4l2_warn(sd, "No pixel rate control in subdev\n"); in csi2_dphy_get_sensor_data_rate()
H A Dphy-rockchip-mipi-rx.c49 #include <media/v4l2-subdev.h>
569 static inline struct mipidphy_priv *to_dphy_priv(struct v4l2_subdev *subdev) in to_dphy_priv() argument
571 return container_of(subdev, struct mipidphy_priv, sd); in to_dphy_priv()
724 v4l2_warn(sd, "No pixel rate control in subdev\n"); in mipidphy_get_sensor_data_rate()
/device/soc/rockchip/common/vendor/drivers/media/i2c/
H A Dgc2093.c34 #include <media/v4l2-subdev.h>
100 #define to_gc2093(sd) container_of(sd, struct gc2093, subdev)
137 struct v4l2_subdev subdev; member
666 gc2093->subdev.ctrl_handler = handler; in gc2093_initialize_controls()
902 ret = gc2093_ioctl(&gc2093->subdev, PREISP_CMD_SET_HDRAE_EXP, &gc2093->init_hdrae_exp); in __gc2093_start_stream()
1351 sd = &gc2093->subdev; in gc2093_probe()
1394 dev_err(dev, "Failed to register v4l2 async subdev\n"); in gc2093_probe()
/device/soc/rockchip/rk3588/kernel/drivers/media/i2c/
H A Ddw9763.c74 static inline struct dw9763_device *sd_to_dw9763_vcm(struct v4l2_subdev *subdev) in sd_to_dw9763_vcm() argument
76 return container_of(subdev, struct dw9763_device, sd); in sd_to_dw9763_vcm()
549 dev_err(&client->dev, "v4l2 async register subdev failed\n"); in dw9763_probe()
H A Dov13855.c29 #include <media/v4l2-subdev.h>
126 struct v4l2_subdev subdev; member
147 #define to_ov13855(sd) container_of(sd, struct ov13855, subdev)
1868 ov13855->subdev.ctrl_handler = handler; in ov13855_initialize_controls()
1992 sd = &ov13855->subdev; in ov13855_probe()
2029 dev_err(dev, "v4l2 async register subdev failed\n"); in ov13855_probe()
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/ispp/
H A Dstream_v20.c13 #include <media/v4l2-subdev.h>

Completed in 40 milliseconds

12