Home
last modified time | relevance | path

Searched refs:ssdd (Results 1 – 14 of 14) sorted by relevance

/drivers/media/i2c/soc_camera/
Dmt9m001.c379 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in mt9m001_s_power() local
382 return soc_camera_set_power(&client->dev, ssdd, mt9m001->clk, on); in mt9m001_s_power()
482 static int mt9m001_video_probe(struct soc_camera_subdev_desc *ssdd, in mt9m001_video_probe() argument
524 if (ssdd->query_bus_param) in mt9m001_video_probe()
525 flags = ssdd->query_bus_param(ssdd); in mt9m001_video_probe()
556 static void mt9m001_video_remove(struct soc_camera_subdev_desc *ssdd) in mt9m001_video_remove() argument
558 if (ssdd->free_bus) in mt9m001_video_remove()
559 ssdd->free_bus(ssdd); in mt9m001_video_remove()
603 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in mt9m001_g_mbus_config() local
610 cfg->flags = soc_camera_apply_board_flags(ssdd, cfg); in mt9m001_g_mbus_config()
[all …]
Dmt9v022.c522 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in mt9v022_s_power() local
525 return soc_camera_set_power(&client->dev, ssdd, mt9v022->clk, on); in mt9v022_s_power()
670 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in mt9v022_video_probe() local
730 if (ssdd->query_bus_param) in mt9v022_video_probe()
731 flags = ssdd->query_bus_param(ssdd); in mt9v022_video_probe()
799 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in mt9v022_g_mbus_config() local
807 cfg->flags = soc_camera_apply_board_flags(ssdd, cfg); in mt9v022_g_mbus_config()
816 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in mt9v022_s_mbus_config() local
818 unsigned long flags = soc_camera_apply_board_flags(ssdd, cfg); in mt9v022_s_mbus_config()
823 if (ssdd->set_bus_param) { in mt9v022_s_mbus_config()
[all …]
Dimx074.c257 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in imx074_s_power() local
260 return soc_camera_set_power(&client->dev, ssdd, priv->clk, on); in imx074_s_power()
418 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in imx074_probe() local
421 if (!ssdd) { in imx074_probe()
446 ret = soc_camera_power_init(&client->dev, ssdd); in imx074_probe()
466 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in imx074_remove() local
472 if (ssdd->free_bus) in imx074_remove()
473 ssdd->free_bus(ssdd); in imx074_remove()
Dov5642.c926 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov5642_s_power() local
931 return soc_camera_power_off(&client->dev, ssdd, priv->clk); in ov5642_s_power()
933 ret = soc_camera_power_on(&client->dev, ssdd, priv->clk); in ov5642_s_power()
1014 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov5642_probe() local
1017 if (!ssdd) { in ov5642_probe()
1050 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov5642_remove() local
1054 if (ssdd->free_bus) in ov5642_remove()
1055 ssdd->free_bus(ssdd); in ov5642_remove()
Dtw9910.c588 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in tw9910_s_power() local
591 return soc_camera_set_power(&client->dev, ssdd, priv->clk, on); in tw9910_s_power()
863 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in tw9910_g_mbus_config() local
870 cfg->flags = soc_camera_apply_board_flags(ssdd, cfg); in tw9910_g_mbus_config()
879 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in tw9910_s_mbus_config() local
881 unsigned long flags = soc_camera_apply_board_flags(ssdd, cfg); in tw9910_s_mbus_config()
938 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in tw9910_probe() local
941 if (!ssdd || !ssdd->drv_priv) { in tw9910_probe()
946 info = ssdd->drv_priv; in tw9910_probe()
Drj54n1cb0c.c1166 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in rj54n1_s_power() local
1169 return soc_camera_set_power(&client->dev, ssdd, rj54n1->clk, on); in rj54n1_s_power()
1228 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in rj54n1_g_mbus_config() local
1235 cfg->flags = soc_camera_apply_board_flags(ssdd, cfg); in rj54n1_g_mbus_config()
1244 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in rj54n1_s_mbus_config() local
1247 if (soc_camera_apply_board_flags(ssdd, cfg) & in rj54n1_s_mbus_config()
1319 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in rj54n1_probe() local
1324 if (!ssdd || !ssdd->drv_priv) { in rj54n1_probe()
1329 rj54n1_priv = ssdd->drv_priv; in rj54n1_probe()
1386 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in rj54n1_remove() local
[all …]
Dmt9t031.c603 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in mt9t031_s_power() local
609 ret = soc_camera_power_on(&client->dev, ssdd, mt9t031->clk); in mt9t031_s_power()
618 soc_camera_power_off(&client->dev, ssdd, mt9t031->clk); in mt9t031_s_power()
705 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in mt9t031_g_mbus_config() local
711 cfg->flags = soc_camera_apply_board_flags(ssdd, cfg); in mt9t031_g_mbus_config()
720 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in mt9t031_s_mbus_config() local
722 if (soc_camera_apply_board_flags(ssdd, cfg) & in mt9t031_s_mbus_config()
758 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in mt9t031_probe() local
762 if (!ssdd) { in mt9t031_probe()
Dmt9t112.c770 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in mt9t112_s_power() local
773 return soc_camera_set_power(&client->dev, ssdd, priv->clk, on); in mt9t112_s_power()
1010 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in mt9t112_g_mbus_config() local
1016 cfg->flags = soc_camera_apply_board_flags(ssdd, cfg); in mt9t112_g_mbus_config()
1025 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in mt9t112_s_mbus_config() local
1028 if (soc_camera_apply_board_flags(ssdd, cfg) & V4L2_MBUS_PCLK_SAMPLE_RISING) in mt9t112_s_mbus_config()
1099 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in mt9t112_probe() local
1108 if (!ssdd || !ssdd->drv_priv) { in mt9t112_probe()
1117 priv->info = ssdd->drv_priv; in mt9t112_probe()
Dov9740.c784 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov9740_s_power() local
789 ret = soc_camera_power_on(&client->dev, ssdd, priv->clk); in ov9740_s_power()
803 soc_camera_power_off(&client->dev, ssdd, priv->clk); in ov9740_s_power()
900 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov9740_g_mbus_config() local
906 cfg->flags = soc_camera_apply_board_flags(ssdd, cfg); in ov9740_g_mbus_config()
947 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov9740_probe() local
950 if (!ssdd) { in ov9740_probe()
Dov772x.c656 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov772x_s_power() local
659 return soc_camera_set_power(&client->dev, ssdd, priv->clk, on); in ov772x_s_power()
1019 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov772x_g_mbus_config() local
1025 cfg->flags = soc_camera_apply_board_flags(ssdd, cfg); in ov772x_g_mbus_config()
1056 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov772x_probe() local
1060 if (!ssdd || !ssdd->drv_priv) { in ov772x_probe()
1076 priv->info = ssdd->drv_priv; in ov772x_probe()
Dov9640.c327 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov9640_s_power() local
330 return soc_camera_set_power(&client->dev, ssdd, priv->clk, on); in ov9640_s_power()
653 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov9640_g_mbus_config() local
659 cfg->flags = soc_camera_apply_board_flags(ssdd, cfg); in ov9640_g_mbus_config()
688 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov9640_probe() local
691 if (!ssdd) { in ov9640_probe()
Dov2640.c747 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov2640_s_power() local
750 return soc_camera_set_power(&client->dev, ssdd, priv->clk, on); in ov2640_s_power()
1010 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov2640_g_mbus_config() local
1016 cfg->flags = soc_camera_apply_board_flags(ssdd, cfg); in ov2640_g_mbus_config()
1103 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov2640_probe() local
1124 if (!ssdd && !client->dev.of_node) { in ov2640_probe()
1130 if (!ssdd) { in ov2640_probe()
Dov6650.c429 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov6650_s_power() local
432 return soc_camera_set_power(&client->dev, ssdd, priv->clk, on); in ov6650_s_power()
901 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov6650_g_mbus_config() local
909 cfg->flags = soc_camera_apply_board_flags(ssdd, cfg); in ov6650_g_mbus_config()
919 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov6650_s_mbus_config() local
920 unsigned long flags = soc_camera_apply_board_flags(ssdd, cfg); in ov6650_s_mbus_config()
974 struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); in ov6650_probe() local
977 if (!ssdd) { in ov6650_probe()
/drivers/media/platform/soc_camera/
Dsoc_camera.c72 int soc_camera_power_on(struct device *dev, struct soc_camera_subdev_desc *ssdd, in soc_camera_power_on() argument
78 if (clk && (!ssdd->unbalanced_power || in soc_camera_power_on()
79 !test_and_set_bit(0, &ssdd->clock_state))) { in soc_camera_power_on()
90 ret = regulator_bulk_enable(ssdd->sd_pdata.num_regulators, in soc_camera_power_on()
91 ssdd->sd_pdata.regulators); in soc_camera_power_on()
97 if (ssdd->power) { in soc_camera_power_on()
98 ret = ssdd->power(dev, 1); in soc_camera_power_on()
109 regulator_bulk_disable(ssdd->sd_pdata.num_regulators, in soc_camera_power_on()
110 ssdd->sd_pdata.regulators); in soc_camera_power_on()
119 int soc_camera_power_off(struct device *dev, struct soc_camera_subdev_desc *ssdd, in soc_camera_power_off() argument
[all …]