/linux-master/drivers/media/i2c/ |
H A D | ad5820.c | 52 int power_count; member in struct:ad5820_device 228 if (coil->power_count == !on) { 236 coil->power_count += on ? 1 : -1; 237 WARN_ON(coil->power_count < 0); 276 if (!coil->power_count) 287 if (!coil->power_count)
|
H A D | adp1653.c | 337 if (flash->power_count == !on) { 344 flash->power_count += on ? 1 : -1; 345 WARN_ON(flash->power_count < 0); 385 if (!flash->power_count) 396 if (!flash->power_count)
|
H A D | s5k6a3.c | 55 * @power_count: stores state if device is powered 67 int power_count; member in struct:s5k6a3 258 if (sensor->power_count == !on) { 265 sensor->power_count += on ? 1 : -1;
|
H A D | ov772x.c | 432 /* lock to protect power_count and streaming */ 434 int power_count; member in struct:ov772x_priv 770 if (priv->power_count > 0) { 801 if (priv->power_count == 0) 943 if (priv->power_count == !on) { 960 priv->power_count += on ? 1 : -1; 961 WARN(priv->power_count < 0, "Unbalanced power count\n"); 962 WARN(priv->power_count > 1, "Duplicated s_power call\n"); 1255 if (priv->power_count > 0) {
|
H A D | mt9v032.c | 201 int power_count; member in struct:mt9v032 859 if (mt9v032->power_count == !on) { 866 mt9v032->power_count += on ? 1 : -1; 867 WARN_ON(mt9v032->power_count < 0);
|
H A D | mt9p031.c | 126 struct mutex power_lock; /* lock to protect power_count */ 127 int power_count; member in struct:mt9p031 977 if (mt9p031->power_count == !on) { 984 mt9p031->power_count += on ? 1 : -1; 985 WARN_ON(mt9p031->power_count < 0);
|
H A D | ov2640.c | 305 struct mutex lock; /* lock to protect streaming and power_count */ 307 int power_count; member in struct:ov2640_priv 726 if (!priv->power_count) 808 if (priv->power_count == !on) 810 priv->power_count += on ? 1 : -1; 811 WARN_ON(priv->power_count < 0);
|
H A D | mt9m111.c | 239 struct mutex power_lock; /* lock to protect power_count */ 240 int power_count; member in struct:mt9m111 1016 if (mt9m111->power_count == !on) { 1025 mt9m111->power_count += on ? 1 : -1; 1026 WARN_ON(mt9m111->power_count < 0);
|
/linux-master/drivers/media/platform/qcom/camss/ |
H A D | camss-ispif.h | 60 int power_count; member in struct:ispif_device
|
H A D | camss-vfe.h | 140 int power_count; member in struct:vfe_device
|
H A D | camss-ispif.c | 369 if (ispif->power_count) { 371 ispif->power_count++; 395 ispif->power_count++; 397 if (ispif->power_count == 0) { 398 dev_err(dev, "ispif power off on power_count == 0\n"); 400 } else if (ispif->power_count == 1) { 405 ispif->power_count--; 1222 ispif->power_count = 0;
|
H A D | camss-vfe.c | 676 if (vfe->power_count == 0) { 708 vfe->power_count++; 736 if (vfe->power_count == 0) { 737 dev_err(vfe->camss->dev, "vfe power off on power_count == 0\n"); 739 } else if (vfe->power_count == 1) { 749 vfe->power_count--; 1479 vfe->power_count = 0;
|
/linux-master/drivers/mfd/ |
H A D | twl6040.c | 278 if (twl6040->power_count++) 283 twl6040->power_count = 0; 295 twl6040->power_count = 0; 303 twl6040->power_count = 0; 327 if (!twl6040->power_count) { 334 if (--twl6040->power_count) 513 if (twl6040->power_count) 809 if (twl6040->power_count)
|
/linux-master/include/media/i2c/ |
H A D | adp1653.h | 110 int power_count; member in struct:adp1653_flash
|
/linux-master/include/linux/framer/ |
H A D | framer.h | 75 * @power_count: used to protect when the framer is used by multiple consumers 88 int power_count; member in struct:framer
|
/linux-master/drivers/net/wan/framer/ |
H A D | framer-core.c | 103 if (framer->power_count > framer->init_count) 194 if (framer->power_count == 0 && framer->ops->power_on) { 201 ++framer->power_count; 228 if (framer->power_count == 1 && framer->ops->power_off) { 236 --framer->power_count;
|
/linux-master/include/linux/mfd/ |
H A D | twl6040.h | 194 int power_count; member in struct:twl6040
|
/linux-master/drivers/media/i2c/et8ek8/ |
H A D | et8ek8_driver.c | 59 int power_count; member in struct:et8ek8_sensor 1324 if (sensor->power_count == !on) { 1331 sensor->power_count += on ? 1 : -1; 1332 WARN_ON(sensor->power_count < 0); 1397 if (!sensor->power_count) 1408 if (!sensor->power_count) 1483 if (sensor->power_count) { 1486 sensor->power_count = 0;
|
/linux-master/drivers/staging/media/atomisp/i2c/ |
H A D | atomisp-lm3554.c | 67 int power_count; member in struct:lm3554 653 if (flash->power_count == !power) { 659 flash->power_count += power ? 1 : -1; 660 WARN_ON(flash->power_count < 0); 727 if (flash->power_count == 0) 744 if (flash->power_count == 0)
|
/linux-master/drivers/phy/ |
H A D | phy-core.c | 258 if (phy->power_count > phy->init_count) 342 if (phy->power_count == 0 && phy->ops->power_on) { 349 ++phy->power_count; 380 if (phy->power_count == 1 && phy->ops->power_off) { 388 --phy->power_count;
|
/linux-master/drivers/media/platform/samsung/s3c-camif/ |
H A D | camif-core.h | 282 short power_count; member in struct:camif_dev::cam_sensor
|
H A D | camif-capture.c | 115 if (camif->sensor.power_count == !on) 120 sensor->power_count += on ? 1 : -1; 122 pr_debug("on: %d, power_count: %d, err: %d\n", 123 on, sensor->power_count, err);
|
/linux-master/drivers/phy/samsung/ |
H A D | phy-exynos-mipi-video.c | 237 state->phys[data->coupled_phy_id].phy->power_count == 0)
|
/linux-master/drivers/gpu/drm/msm/dp/ |
H A D | dp_ctrl.c | 1552 phy, phy->init_count, phy->power_count); 1566 phy, phy->init_count, phy->power_count); 1634 phy, phy->init_count, phy->power_count); 2074 phy, phy->init_count, phy->power_count); 2090 phy, phy->init_count, phy->power_count); 2095 phy, phy->init_count, phy->power_count); 2122 phy, phy->init_count, phy->power_count);
|
/linux-master/include/linux/phy/ |
H A D | phy.h | 153 * @power_count: used to protect when the PHY is used by multiple consumers 164 int power_count; member in struct:phy
|