Home
last modified time | relevance | path

Searched refs:csi2_dev (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/
H A Dsun8i_a83t_mipi_csi2.c86 sun8i_a83t_mipi_csi2_init(struct sun8i_a83t_mipi_csi2_device *csi2_dev) in sun8i_a83t_mipi_csi2_init() argument
88 struct regmap *regmap = csi2_dev->regmap; in sun8i_a83t_mipi_csi2_init()
126 sun8i_a83t_mipi_csi2_enable(struct sun8i_a83t_mipi_csi2_device *csi2_dev) in sun8i_a83t_mipi_csi2_enable() argument
128 struct regmap *regmap = csi2_dev->regmap; in sun8i_a83t_mipi_csi2_enable()
136 sun8i_a83t_mipi_csi2_disable(struct sun8i_a83t_mipi_csi2_device *csi2_dev) in sun8i_a83t_mipi_csi2_disable() argument
138 struct regmap *regmap = csi2_dev->regmap; in sun8i_a83t_mipi_csi2_disable()
147 sun8i_a83t_mipi_csi2_configure(struct sun8i_a83t_mipi_csi2_device *csi2_dev) in sun8i_a83t_mipi_csi2_configure() argument
149 struct regmap *regmap = csi2_dev->regmap; in sun8i_a83t_mipi_csi2_configure()
151 csi2_dev->bridge.endpoint.bus.mipi_csi2.num_data_lanes; in sun8i_a83t_mipi_csi2_configure()
152 struct v4l2_mbus_framefmt *mbus_format = &csi2_dev->bridge.mbus_format; in sun8i_a83t_mipi_csi2_configure()
[all …]
H A Dsun8i_a83t_dphy.c21 struct sun8i_a83t_mipi_csi2_device *csi2_dev = phy_get_drvdata(dphy); in sun8i_a83t_dphy_power_on() local
22 struct regmap *regmap = csi2_dev->regmap; in sun8i_a83t_dphy_power_on()
38 struct sun8i_a83t_mipi_csi2_device *csi2_dev = phy_get_drvdata(dphy); in sun8i_a83t_dphy_power_off() local
39 struct regmap *regmap = csi2_dev->regmap; in sun8i_a83t_dphy_power_off()
52 int sun8i_a83t_dphy_register(struct sun8i_a83t_mipi_csi2_device *csi2_dev) in sun8i_a83t_dphy_register() argument
54 struct device *dev = csi2_dev->dev; in sun8i_a83t_dphy_register()
57 csi2_dev->dphy = devm_phy_create(dev, NULL, &sun8i_a83t_dphy_ops); in sun8i_a83t_dphy_register()
58 if (IS_ERR(csi2_dev->dphy)) { in sun8i_a83t_dphy_register()
60 return PTR_ERR(csi2_dev->dphy); in sun8i_a83t_dphy_register()
63 phy_set_drvdata(csi2_dev->dphy, csi2_dev); in sun8i_a83t_dphy_register()
H A Dsun8i_a83t_dphy.h37 int sun8i_a83t_dphy_register(struct sun8i_a83t_mipi_csi2_device *csi2_dev);
/linux/drivers/media/platform/sunxi/sun6i-mipi-csi2/
H A Dsun6i_mipi_csi2.c82 static void sun6i_mipi_csi2_enable(struct sun6i_mipi_csi2_device *csi2_dev) in sun6i_mipi_csi2_enable() argument
84 struct regmap *regmap = csi2_dev->regmap; in sun6i_mipi_csi2_enable()
90 static void sun6i_mipi_csi2_disable(struct sun6i_mipi_csi2_device *csi2_dev) in sun6i_mipi_csi2_disable() argument
92 struct regmap *regmap = csi2_dev->regmap; in sun6i_mipi_csi2_disable()
98 static void sun6i_mipi_csi2_configure(struct sun6i_mipi_csi2_device *csi2_dev) in sun6i_mipi_csi2_configure() argument
100 struct regmap *regmap = csi2_dev->regmap; in sun6i_mipi_csi2_configure()
102 csi2_dev->bridge.endpoint.bus.mipi_csi2.num_data_lanes; in sun6i_mipi_csi2_configure()
103 struct v4l2_mbus_framefmt *mbus_format = &csi2_dev->bridge.mbus_format; in sun6i_mipi_csi2_configure()
105 struct device *dev = csi2_dev->dev; in sun6i_mipi_csi2_configure()
172 struct sun6i_mipi_csi2_device *csi2_dev = v4l2_get_subdevdata(subdev); in sun6i_mipi_csi2_s_stream() local
[all …]
/linux/drivers/staging/media/imx/
H A Dimx6-mipi-csi2.c37 struct csi2_dev { struct
94 static inline struct csi2_dev *sd_to_dev(struct v4l2_subdev *sdev) in sd_to_dev()
96 return container_of(sdev, struct csi2_dev, sd); in sd_to_dev()
99 static inline struct csi2_dev *notifier_to_dev(struct v4l2_async_notifier *n) in notifier_to_dev()
101 return container_of(n, struct csi2_dev, notifier); in notifier_to_dev()
132 static void csi2_enable(struct csi2_dev *csi2, bool enable) in csi2_enable()
145 static void csi2_set_lanes(struct csi2_dev *csi2, unsigned int lanes) in csi2_set_lanes()
150 static void dw_mipi_csi2_phy_write(struct csi2_dev *csi2, in dw_mipi_csi2_phy_write()
203 static int csi2_dphy_init(struct csi2_dev *csi2) in csi2_dphy_init()
230 static int __maybe_unused csi2_dphy_wait_ulp(struct csi2_dev *csi2) in csi2_dphy_wait_ulp()
[all …]