Lines Matching refs:change
460 static int pipeline_pm_power_one(struct media_entity *entity, int change) in pipeline_pm_power_one() argument
468 if (entity->use_count == 0 && change > 0 && subdev != NULL) { in pipeline_pm_power_one()
474 entity->use_count += change; in pipeline_pm_power_one()
477 if (entity->use_count == 0 && change < 0 && subdev != NULL) in pipeline_pm_power_one()
493 static int pipeline_pm_power(struct media_entity *entity, int change, in pipeline_pm_power() argument
499 if (!change) in pipeline_pm_power()
506 ret = pipeline_pm_power_one(entity, change); in pipeline_pm_power()
516 pipeline_pm_power_one(first, -change); in pipeline_pm_power()
524 int change = use ? 1 : -1; in v4l2_pipeline_pm_use() local
530 entity->use_count += change; in v4l2_pipeline_pm_use()
534 ret = pipeline_pm_power(entity, change, &mdev->pm_count_walk); in v4l2_pipeline_pm_use()
536 entity->use_count -= change; in v4l2_pipeline_pm_use()