Searched refs:csi2_dev (Results 1 – 5 of 5) sorted by relevance
154 struct device *dev = csi2_dev->dev; in sun8i_a83t_mipi_csi2_configure()210 struct phy *dphy = csi2_dev->dphy; in sun8i_a83t_mipi_csi2_s_stream()211 struct device *dev = csi2_dev->dev; in sun8i_a83t_mipi_csi2_s_stream()704 csi2_dev->regmap = in sun8i_a83t_mipi_csi2_resources_setup()707 if (IS_ERR(csi2_dev->regmap)) { in sun8i_a83t_mipi_csi2_resources_setup()743 if (IS_ERR(csi2_dev->reset)) { in sun8i_a83t_mipi_csi2_resources_setup()745 ret = PTR_ERR(csi2_dev->reset); in sun8i_a83t_mipi_csi2_resources_setup()773 phy_exit(csi2_dev->dphy); in sun8i_a83t_mipi_csi2_resources_cleanup()783 csi2_dev = devm_kzalloc(dev, sizeof(*csi2_dev), GFP_KERNEL); in sun8i_a83t_mipi_csi2_probe()784 if (!csi2_dev) in sun8i_a83t_mipi_csi2_probe()[all …]
21 struct sun8i_a83t_mipi_csi2_device *csi2_dev = phy_get_drvdata(dphy); in sun8i_a83t_dphy_power_on() local22 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() local39 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() argument54 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()
37 int sun8i_a83t_dphy_register(struct sun8i_a83t_mipi_csi2_device *csi2_dev);
105 struct device *dev = csi2_dev->dev; in sun6i_mipi_csi2_configure()644 csi2_dev->regmap = in sun6i_mipi_csi2_resources_setup()647 if (IS_ERR(csi2_dev->regmap)) { in sun6i_mipi_csi2_resources_setup()669 if (IS_ERR(csi2_dev->reset)) { in sun6i_mipi_csi2_resources_setup()678 if (IS_ERR(csi2_dev->dphy)) { in sun6i_mipi_csi2_resources_setup()680 ret = PTR_ERR(csi2_dev->dphy); in sun6i_mipi_csi2_resources_setup()684 ret = phy_init(csi2_dev->dphy); in sun6i_mipi_csi2_resources_setup()706 phy_exit(csi2_dev->dphy); in sun6i_mipi_csi2_resources_cleanup()716 csi2_dev = devm_kzalloc(dev, sizeof(*csi2_dev), GFP_KERNEL); in sun6i_mipi_csi2_probe()717 if (!csi2_dev) in sun6i_mipi_csi2_probe()[all …]
37 struct csi2_dev { struct341 static int csi2_start(struct csi2_dev *csi2) in csi2_start()397 static void csi2_stop(struct csi2_dev *csi2) in csi2_stop()413 struct csi2_dev *csi2 = sd_to_dev(sd); in csi2_s_stream()461 struct csi2_dev *csi2 = sd_to_dev(sd); in csi2_link_setup()513 struct csi2_dev *csi2 = sd_to_dev(sd); in csi2_get_fmt()531 struct csi2_dev *csi2 = sd_to_dev(sd); in csi2_set_fmt()559 struct csi2_dev *csi2 = sd_to_dev(sd); in csi2_registered()572 struct csi2_dev *csi2 = sd_to_dev(sd); in csi2_log_status()721 struct csi2_dev *csi2; in csi2_probe()[all …]