Searched refs:graph (Results 1 – 8 of 8) sorted by relevance
| /drivers/media/mc/ |
| D | mc-entity.c | 292 static void stack_push(struct media_graph *graph, in stack_push() argument 295 if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) { in stack_push() 299 graph->top++; in stack_push() 300 graph->stack[graph->top].link = entity->links.next; in stack_push() 301 graph->stack[graph->top].entity = entity; in stack_push() 304 static struct media_entity *stack_pop(struct media_graph *graph) in stack_pop() argument 308 entity = graph->stack[graph->top].entity; in stack_pop() 309 graph->top--; in stack_pop() 329 struct media_graph *graph, struct media_device *mdev) in media_graph_walk_init() argument 331 return media_entity_enum_init(&graph->ent_enum, mdev); in media_graph_walk_init() [all …]
|
| /drivers/media/v4l2-core/ |
| D | v4l2-mc.c | 458 struct media_graph *graph) in pipeline_pm_use_count() argument 462 media_graph_walk_start(graph, entity); in pipeline_pm_use_count() 464 while ((entity = media_graph_walk_next(graph))) { in pipeline_pm_use_count() 517 struct media_graph *graph) in pipeline_pm_power() argument 525 media_graph_walk_start(graph, entity); in pipeline_pm_power() 527 while (!ret && (entity = media_graph_walk_next(graph))) in pipeline_pm_power() 534 media_graph_walk_start(graph, first); in pipeline_pm_power() 536 while ((first = media_graph_walk_next(graph)) in pipeline_pm_power() 582 struct media_graph *graph = &link->graph_obj.mdev->pm_count_walk; in v4l2_pipeline_link_notify() local 589 source_use = pipeline_pm_use_count(source, graph); in v4l2_pipeline_link_notify() [all …]
|
| /drivers/hwtracing/coresight/ |
| D | coresight-platform.c | 451 static inline bool acpi_validate_dsd_graph(const union acpi_object *graph) in acpi_validate_dsd_graph() argument 457 if (graph->package.count < 2) in acpi_validate_dsd_graph() 460 rev = &graph->package.elements[0]; in acpi_validate_dsd_graph() 461 nr_graphs = &graph->package.elements[1]; in acpi_validate_dsd_graph() 477 if (graph->package.count != (n + 2)) in acpi_validate_dsd_graph() 485 const union acpi_object *obj = &graph->package.elements[i]; in acpi_validate_dsd_graph() 561 const union acpi_object *graph_list, *graph; in acpi_get_coresight_graph() local 571 graph = &graph_list->package.elements[i]; in acpi_get_coresight_graph() 572 if (!is_acpi_coresight_graph(graph)) in acpi_get_coresight_graph() 574 if (acpi_validate_coresight_graph(graph)) in acpi_get_coresight_graph() [all …]
|
| /drivers/iio/adc/ |
| D | sc27xx_adc.c | 196 struct sc27xx_adc_linear_graph *graph; in sc27xx_adc_scale_calibration() local 202 graph = &big_scale_graph; in sc27xx_adc_scale_calibration() 206 graph = &small_scale_graph; in sc27xx_adc_scale_calibration() 213 graph->adc0 = sc27xx_adc_get_calib_data(calib_data, calib_graph->adc0); in sc27xx_adc_scale_calibration() 214 graph->adc1 = sc27xx_adc_get_calib_data(calib_data >> 8, in sc27xx_adc_scale_calibration() 594 static int adc_to_volt(struct sc27xx_adc_linear_graph *graph, in adc_to_volt() argument 599 tmp = (graph->volt0 - graph->volt1) * (raw_adc - graph->adc1); in adc_to_volt() 600 tmp /= (graph->adc0 - graph->adc1); in adc_to_volt() 601 tmp += graph->volt1; in adc_to_volt() 606 static int sc27xx_adc_to_volt(struct sc27xx_adc_linear_graph *graph, in sc27xx_adc_to_volt() argument [all …]
|
| D | qcom-pm8xxx-xoadc.c | 410 struct vadc_linear_graph graph[2]; member 590 adc->graph[VADC_CALIB_ABSOLUTE].dx = VADC_ABSOLUTE_RANGE_UV; in pm8xxx_calibrate_device() 591 adc->graph[VADC_CALIB_RATIOMETRIC].dx = VADC_RATIOMETRIC_RANGE; in pm8xxx_calibrate_device() 615 adc->graph[VADC_CALIB_ABSOLUTE].dy = read_1250v - read_0625v; in pm8xxx_calibrate_device() 616 adc->graph[VADC_CALIB_ABSOLUTE].gnd = read_0625v; in pm8xxx_calibrate_device() 619 VADC_ABSOLUTE_RANGE_UV, adc->graph[VADC_CALIB_ABSOLUTE].dy); in pm8xxx_calibrate_device() 637 adc->graph[VADC_CALIB_RATIOMETRIC].dy = in pm8xxx_calibrate_device() 639 adc->graph[VADC_CALIB_RATIOMETRIC].gnd = read_nomux_rsv4; in pm8xxx_calibrate_device() 643 adc->graph[VADC_CALIB_RATIOMETRIC].dy); in pm8xxx_calibrate_device() 670 &adc->graph[ch->calibration], in pm8xxx_read_raw()
|
| D | qcom-spmi-vadc.c | 124 struct vadc_linear_graph graph[2]; member 360 vadc->graph[VADC_CALIB_RATIOMETRIC].dx = VADC_RATIOMETRIC_RANGE; in vadc_measure_ref_points() 361 vadc->graph[VADC_CALIB_ABSOLUTE].dx = VADC_ABSOLUTE_RANGE_UV; in vadc_measure_ref_points() 382 vadc->graph[VADC_CALIB_ABSOLUTE].dy = read_1 - read_2; in vadc_measure_ref_points() 383 vadc->graph[VADC_CALIB_ABSOLUTE].gnd = read_2; in vadc_measure_ref_points() 401 vadc->graph[VADC_CALIB_RATIOMETRIC].dy = read_1 - read_2; in vadc_measure_ref_points() 402 vadc->graph[VADC_CALIB_RATIOMETRIC].gnd = read_2; in vadc_measure_ref_points() 463 &vadc->graph[prop->calibration], in vadc_read_raw()
|
| /drivers/media/platform/samsung/exynos4-is/ |
| D | media-dev.c | 1164 struct media_graph *graph) in __fimc_md_modify_pipelines() argument 1175 media_graph_walk_start(graph, entity); in __fimc_md_modify_pipelines() 1177 while ((entity = media_graph_walk_next(graph))) { in __fimc_md_modify_pipelines() 1190 media_graph_walk_start(graph, entity_err); in __fimc_md_modify_pipelines() 1192 while ((entity_err = media_graph_walk_next(graph))) { in __fimc_md_modify_pipelines() 1208 struct media_graph *graph = in fimc_md_link_notify() local 1216 ret = media_graph_walk_init(graph, in fimc_md_link_notify() 1221 ret = __fimc_md_modify_pipelines(sink, false, graph); in fimc_md_link_notify() 1229 ret = __fimc_md_modify_pipelines(sink, true, graph); in fimc_md_link_notify() 1230 media_graph_walk_cleanup(graph); in fimc_md_link_notify()
|
| /drivers/media/platform/renesas/vsp1/ |
| D | vsp1_video.c | 442 struct media_graph graph; in vsp1_video_pipeline_build() local 449 ret = media_graph_walk_init(&graph, mdev); in vsp1_video_pipeline_build() 453 media_graph_walk_start(&graph, entity); in vsp1_video_pipeline_build() 455 while ((entity = media_graph_walk_next(&graph))) { in vsp1_video_pipeline_build() 503 media_graph_walk_cleanup(&graph); in vsp1_video_pipeline_build()
|