Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/media/platform/sunxi/sun8i-a83t-mipi-csi2/
Dsun8i_a83t_mipi_csi2.c87 sun8i_a83t_mipi_csi2_init(struct sun8i_a83t_mipi_csi2_device *csi2_dev) in sun8i_a83t_mipi_csi2_init() argument
89 struct regmap *regmap = csi2_dev->regmap; in sun8i_a83t_mipi_csi2_init()
127 sun8i_a83t_mipi_csi2_enable(struct sun8i_a83t_mipi_csi2_device *csi2_dev) in sun8i_a83t_mipi_csi2_enable() argument
129 struct regmap *regmap = csi2_dev->regmap; in sun8i_a83t_mipi_csi2_enable()
137 sun8i_a83t_mipi_csi2_disable(struct sun8i_a83t_mipi_csi2_device *csi2_dev) in sun8i_a83t_mipi_csi2_disable() argument
139 struct regmap *regmap = csi2_dev->regmap; in sun8i_a83t_mipi_csi2_disable()
148 sun8i_a83t_mipi_csi2_configure(struct sun8i_a83t_mipi_csi2_device *csi2_dev) in sun8i_a83t_mipi_csi2_configure() argument
150 struct regmap *regmap = csi2_dev->regmap; in sun8i_a83t_mipi_csi2_configure()
152 csi2_dev->bridge.endpoint.bus.mipi_csi2.num_data_lanes; in sun8i_a83t_mipi_csi2_configure()
153 struct v4l2_mbus_framefmt *mbus_format = &csi2_dev->bridge.mbus_format; in sun8i_a83t_mipi_csi2_configure()
[all …]
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()
Dsun8i_a83t_dphy.h37 int sun8i_a83t_dphy_register(struct sun8i_a83t_mipi_csi2_device *csi2_dev);
/Linux-v6.1/drivers/media/platform/sunxi/sun6i-mipi-csi2/
Dsun6i_mipi_csi2.c83 static void sun6i_mipi_csi2_enable(struct sun6i_mipi_csi2_device *csi2_dev) in sun6i_mipi_csi2_enable() argument
85 struct regmap *regmap = csi2_dev->regmap; in sun6i_mipi_csi2_enable()
91 static void sun6i_mipi_csi2_disable(struct sun6i_mipi_csi2_device *csi2_dev) in sun6i_mipi_csi2_disable() argument
93 struct regmap *regmap = csi2_dev->regmap; in sun6i_mipi_csi2_disable()
99 static void sun6i_mipi_csi2_configure(struct sun6i_mipi_csi2_device *csi2_dev) in sun6i_mipi_csi2_configure() argument
101 struct regmap *regmap = csi2_dev->regmap; in sun6i_mipi_csi2_configure()
103 csi2_dev->bridge.endpoint.bus.mipi_csi2.num_data_lanes; in sun6i_mipi_csi2_configure()
104 struct v4l2_mbus_framefmt *mbus_format = &csi2_dev->bridge.mbus_format; in sun6i_mipi_csi2_configure()
106 struct device *dev = csi2_dev->dev; in sun6i_mipi_csi2_configure()
173 struct sun6i_mipi_csi2_device *csi2_dev = v4l2_get_subdevdata(subdev); in sun6i_mipi_csi2_s_stream() local
[all …]
/Linux-v6.1/drivers/staging/media/imx/
Dimx6-mipi-csi2.c36 struct csi2_dev { struct
93 static inline struct csi2_dev *sd_to_dev(struct v4l2_subdev *sdev) in sd_to_dev()
95 return container_of(sdev, struct csi2_dev, sd); in sd_to_dev()
98 static inline struct csi2_dev *notifier_to_dev(struct v4l2_async_notifier *n) in notifier_to_dev()
100 return container_of(n, struct csi2_dev, notifier); in notifier_to_dev()
131 static void csi2_enable(struct csi2_dev *csi2, bool enable) in csi2_enable()
144 static void csi2_set_lanes(struct csi2_dev *csi2, unsigned int lanes) in csi2_set_lanes()
149 static void dw_mipi_csi2_phy_write(struct csi2_dev *csi2, in dw_mipi_csi2_phy_write()
202 static int csi2_dphy_init(struct csi2_dev *csi2) in csi2_dphy_init()
229 static int __maybe_unused csi2_dphy_wait_ulp(struct csi2_dev *csi2) in csi2_dphy_wait_ulp()
[all …]