ssdd 252 drivers/staging/media/soc_camera/imx074.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 255 drivers/staging/media/soc_camera/imx074.c return soc_camera_set_power(&client->dev, ssdd, priv->clk, on); ssdd 413 drivers/staging/media/soc_camera/imx074.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 416 drivers/staging/media/soc_camera/imx074.c if (!ssdd) { ssdd 441 drivers/staging/media/soc_camera/imx074.c ret = soc_camera_power_init(&client->dev, ssdd); ssdd 461 drivers/staging/media/soc_camera/imx074.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 467 drivers/staging/media/soc_camera/imx074.c if (ssdd->free_bus) ssdd 468 drivers/staging/media/soc_camera/imx074.c ssdd->free_bus(ssdd); ssdd 598 drivers/staging/media/soc_camera/mt9t031.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 604 drivers/staging/media/soc_camera/mt9t031.c ret = soc_camera_power_on(&client->dev, ssdd, mt9t031->clk); ssdd 613 drivers/staging/media/soc_camera/mt9t031.c soc_camera_power_off(&client->dev, ssdd, mt9t031->clk); ssdd 700 drivers/staging/media/soc_camera/mt9t031.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 706 drivers/staging/media/soc_camera/mt9t031.c cfg->flags = soc_camera_apply_board_flags(ssdd, cfg); ssdd 715 drivers/staging/media/soc_camera/mt9t031.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 717 drivers/staging/media/soc_camera/mt9t031.c if (soc_camera_apply_board_flags(ssdd, cfg) & ssdd 753 drivers/staging/media/soc_camera/mt9t031.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 757 drivers/staging/media/soc_camera/mt9t031.c if (!ssdd) { ssdd 63 drivers/staging/media/soc_camera/soc_camera.c int soc_camera_power_on(struct device *dev, struct soc_camera_subdev_desc *ssdd, ssdd 69 drivers/staging/media/soc_camera/soc_camera.c if (clk && (!ssdd->unbalanced_power || ssdd 70 drivers/staging/media/soc_camera/soc_camera.c !test_and_set_bit(0, &ssdd->clock_state))) { ssdd 81 drivers/staging/media/soc_camera/soc_camera.c ret = regulator_bulk_enable(ssdd->sd_pdata.num_regulators, ssdd 82 drivers/staging/media/soc_camera/soc_camera.c ssdd->sd_pdata.regulators); ssdd 88 drivers/staging/media/soc_camera/soc_camera.c if (ssdd->power) { ssdd 89 drivers/staging/media/soc_camera/soc_camera.c ret = ssdd->power(dev, 1); ssdd 100 drivers/staging/media/soc_camera/soc_camera.c regulator_bulk_disable(ssdd->sd_pdata.num_regulators, ssdd 101 drivers/staging/media/soc_camera/soc_camera.c ssdd->sd_pdata.regulators); ssdd 110 drivers/staging/media/soc_camera/soc_camera.c int soc_camera_power_off(struct device *dev, struct soc_camera_subdev_desc *ssdd, ssdd 116 drivers/staging/media/soc_camera/soc_camera.c if (ssdd->power) { ssdd 117 drivers/staging/media/soc_camera/soc_camera.c err = ssdd->power(dev, 0); ssdd 125 drivers/staging/media/soc_camera/soc_camera.c err = regulator_bulk_disable(ssdd->sd_pdata.num_regulators, ssdd 126 drivers/staging/media/soc_camera/soc_camera.c ssdd->sd_pdata.regulators); ssdd 132 drivers/staging/media/soc_camera/soc_camera.c if (clk && (!ssdd->unbalanced_power || test_and_clear_bit(0, &ssdd->clock_state))) ssdd 139 drivers/staging/media/soc_camera/soc_camera.c int soc_camera_power_init(struct device *dev, struct soc_camera_subdev_desc *ssdd) ssdd 142 drivers/staging/media/soc_camera/soc_camera.c return devm_regulator_bulk_get(dev, ssdd->sd_pdata.num_regulators, ssdd 143 drivers/staging/media/soc_camera/soc_camera.c ssdd->sd_pdata.regulators); ssdd 213 drivers/staging/media/soc_camera/soc_camera.c unsigned long soc_camera_apply_board_flags(struct soc_camera_subdev_desc *ssdd, ssdd 219 drivers/staging/media/soc_camera/soc_camera.c if (ssdd->flags & SOCAM_SENSOR_INVERT_HSYNC) { ssdd 225 drivers/staging/media/soc_camera/soc_camera.c if (ssdd->flags & SOCAM_SENSOR_INVERT_VSYNC) { ssdd 231 drivers/staging/media/soc_camera/soc_camera.c if (ssdd->flags & SOCAM_SENSOR_INVERT_PCLK) { ssdd 1055 drivers/staging/media/soc_camera/soc_camera.c struct soc_camera_subdev_desc *ssdd = &sdesc->subdev_desc; ssdd 1058 drivers/staging/media/soc_camera/soc_camera.c if (ssdd->reset) ssdd 1060 drivers/staging/media/soc_camera/soc_camera.c ssdd->reset(icd->control); ssdd 1223 drivers/staging/media/soc_camera/soc_camera.c struct soc_camera_subdev_desc *ssdd; ssdd 1246 drivers/staging/media/soc_camera/soc_camera.c ssdd = kmemdup(&sdesc->subdev_desc, sizeof(*ssdd), GFP_KERNEL); ssdd 1247 drivers/staging/media/soc_camera/soc_camera.c if (!ssdd) { ssdd 1256 drivers/staging/media/soc_camera/soc_camera.c ssdd->sd_pdata.num_regulators = 0; ssdd 1257 drivers/staging/media/soc_camera/soc_camera.c ssdd->sd_pdata.regulators = NULL; ssdd 1258 drivers/staging/media/soc_camera/soc_camera.c shd->board_info->platform_data = ssdd; ssdd 1286 drivers/staging/media/soc_camera/soc_camera.c kfree(ssdd); ssdd 1297 drivers/staging/media/soc_camera/soc_camera.c struct soc_camera_subdev_desc *ssdd; ssdd 1304 drivers/staging/media/soc_camera/soc_camera.c ssdd = client->dev.platform_data; ssdd 1308 drivers/staging/media/soc_camera/soc_camera.c kfree(ssdd); ssdd 1338 drivers/staging/media/soc_camera/soc_camera.c struct soc_camera_subdev_desc *ssdd = ssdd 1340 drivers/staging/media/soc_camera/soc_camera.c if (ssdd) { ssdd 1341 drivers/staging/media/soc_camera/soc_camera.c memcpy(&sdesc->subdev_desc, ssdd, ssdd 1343 drivers/staging/media/soc_camera/soc_camera.c if (ssdd->reset) ssdd 1344 drivers/staging/media/soc_camera/soc_camera.c ssdd->reset(&client->dev); ssdd 2086 drivers/staging/media/soc_camera/soc_camera.c struct soc_camera_subdev_desc *ssdd = &sdesc->subdev_desc; ssdd 2104 drivers/staging/media/soc_camera/soc_camera.c ret = devm_regulator_bulk_get(&pdev->dev, ssdd->sd_pdata.num_regulators, ssdd 2105 drivers/staging/media/soc_camera/soc_camera.c ssdd->sd_pdata.regulators); ssdd 517 drivers/staging/media/soc_camera/soc_mt9v022.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 520 drivers/staging/media/soc_camera/soc_mt9v022.c return soc_camera_set_power(&client->dev, ssdd, mt9v022->clk, on); ssdd 665 drivers/staging/media/soc_camera/soc_mt9v022.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 725 drivers/staging/media/soc_camera/soc_mt9v022.c if (ssdd->query_bus_param) ssdd 726 drivers/staging/media/soc_camera/soc_mt9v022.c flags = ssdd->query_bus_param(ssdd); ssdd 794 drivers/staging/media/soc_camera/soc_mt9v022.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 802 drivers/staging/media/soc_camera/soc_mt9v022.c cfg->flags = soc_camera_apply_board_flags(ssdd, cfg); ssdd 811 drivers/staging/media/soc_camera/soc_mt9v022.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 813 drivers/staging/media/soc_camera/soc_mt9v022.c unsigned long flags = soc_camera_apply_board_flags(ssdd, cfg); ssdd 818 drivers/staging/media/soc_camera/soc_mt9v022.c if (ssdd->set_bus_param) { ssdd 819 drivers/staging/media/soc_camera/soc_mt9v022.c ret = ssdd->set_bus_param(ssdd, 1 << (bps - 1)); ssdd 885 drivers/staging/media/soc_camera/soc_mt9v022.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 890 drivers/staging/media/soc_camera/soc_mt9v022.c if (!ssdd) { ssdd 905 drivers/staging/media/soc_camera/soc_mt9v022.c pdata = ssdd->drv_priv; ssdd 979 drivers/staging/media/soc_camera/soc_mt9v022.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 983 drivers/staging/media/soc_camera/soc_mt9v022.c if (ssdd->free_bus) ssdd 984 drivers/staging/media/soc_camera/soc_mt9v022.c ssdd->free_bus(ssdd); ssdd 923 drivers/staging/media/soc_camera/soc_ov5642.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 928 drivers/staging/media/soc_camera/soc_ov5642.c return soc_camera_power_off(&client->dev, ssdd, priv->clk); ssdd 930 drivers/staging/media/soc_camera/soc_ov5642.c ret = soc_camera_power_on(&client->dev, ssdd, priv->clk); ssdd 1011 drivers/staging/media/soc_camera/soc_ov5642.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 1014 drivers/staging/media/soc_camera/soc_ov5642.c if (!ssdd) { ssdd 1047 drivers/staging/media/soc_camera/soc_ov5642.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 1051 drivers/staging/media/soc_camera/soc_ov5642.c if (ssdd->free_bus) ssdd 1052 drivers/staging/media/soc_camera/soc_ov5642.c ssdd->free_bus(ssdd); ssdd 763 drivers/staging/media/soc_camera/soc_ov9740.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 768 drivers/staging/media/soc_camera/soc_ov9740.c ret = soc_camera_power_on(&client->dev, ssdd, priv->clk); ssdd 782 drivers/staging/media/soc_camera/soc_ov9740.c soc_camera_power_off(&client->dev, ssdd, priv->clk); ssdd 878 drivers/staging/media/soc_camera/soc_ov9740.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 884 drivers/staging/media/soc_camera/soc_ov9740.c cfg->flags = soc_camera_apply_board_flags(ssdd, cfg); ssdd 925 drivers/staging/media/soc_camera/soc_ov9740.c struct soc_camera_subdev_desc *ssdd = soc_camera_i2c_to_desc(client); ssdd 928 drivers/staging/media/soc_camera/soc_ov9740.c if (!ssdd) { ssdd 348 include/media/soc_camera.h unsigned long soc_camera_apply_board_flags(struct soc_camera_subdev_desc *ssdd, ssdd 351 include/media/soc_camera.h int soc_camera_power_init(struct device *dev, struct soc_camera_subdev_desc *ssdd); ssdd 352 include/media/soc_camera.h int soc_camera_power_on(struct device *dev, struct soc_camera_subdev_desc *ssdd, ssdd 354 include/media/soc_camera.h int soc_camera_power_off(struct device *dev, struct soc_camera_subdev_desc *ssdd, ssdd 358 include/media/soc_camera.h struct soc_camera_subdev_desc *ssdd, struct v4l2_clk *clk, bool on) ssdd 360 include/media/soc_camera.h return on ? soc_camera_power_on(dev, ssdd, clk) ssdd 361 include/media/soc_camera.h : soc_camera_power_off(dev, ssdd, clk);