Searched refs:graph (Results 1 – 6 of 6) sorted by relevance
/linux-4.19.296/drivers/media/ |
D | media-entity.c | 250 static void stack_push(struct media_graph *graph, in stack_push() argument 253 if (graph->top == MEDIA_ENTITY_ENUM_MAX_DEPTH - 1) { in stack_push() 257 graph->top++; in stack_push() 258 graph->stack[graph->top].link = entity->links.next; in stack_push() 259 graph->stack[graph->top].entity = entity; in stack_push() 262 static struct media_entity *stack_pop(struct media_graph *graph) in stack_pop() argument 266 entity = graph->stack[graph->top].entity; in stack_pop() 267 graph->top--; in stack_pop() 287 struct media_graph *graph, struct media_device *mdev) in media_graph_walk_init() argument 289 return media_entity_enum_init(&graph->ent_enum, mdev); in media_graph_walk_init() [all …]
|
/linux-4.19.296/drivers/media/v4l2-core/ |
D | v4l2-mc.c | 259 struct media_graph *graph) in pipeline_pm_use_count() argument 263 media_graph_walk_start(graph, entity); in pipeline_pm_use_count() 265 while ((entity = media_graph_walk_next(graph))) { in pipeline_pm_use_count() 318 struct media_graph *graph) in pipeline_pm_power() argument 326 media_graph_walk_start(graph, entity); in pipeline_pm_power() 328 while (!ret && (entity = media_graph_walk_next(graph))) in pipeline_pm_power() 335 media_graph_walk_start(graph, first); in pipeline_pm_power() 337 while ((first = media_graph_walk_next(graph)) in pipeline_pm_power() 371 struct media_graph *graph = &link->graph_obj.mdev->pm_count_walk; in v4l2_pipeline_link_notify() local 378 source_use = pipeline_pm_use_count(source, graph); in v4l2_pipeline_link_notify() [all …]
|
/linux-4.19.296/drivers/iio/adc/ |
D | sc27xx_adc.c | 212 static int sc27xx_adc_to_volt(const struct sc27xx_adc_linear_graph *graph, in sc27xx_adc_to_volt() argument 217 tmp = (graph->volt0 - graph->volt1) * (raw_adc - graph->adc1); in sc27xx_adc_to_volt() 218 tmp /= (graph->adc0 - graph->adc1); in sc27xx_adc_to_volt() 219 tmp += graph->volt1; in sc27xx_adc_to_volt()
|
D | qcom-pm8xxx-xoadc.c | 408 struct vadc_linear_graph graph[2]; member 588 adc->graph[VADC_CALIB_ABSOLUTE].dx = VADC_ABSOLUTE_RANGE_UV; in pm8xxx_calibrate_device() 589 adc->graph[VADC_CALIB_RATIOMETRIC].dx = VADC_RATIOMETRIC_RANGE; in pm8xxx_calibrate_device() 613 adc->graph[VADC_CALIB_ABSOLUTE].dy = read_1250v - read_0625v; in pm8xxx_calibrate_device() 614 adc->graph[VADC_CALIB_ABSOLUTE].gnd = read_0625v; in pm8xxx_calibrate_device() 617 VADC_ABSOLUTE_RANGE_UV, adc->graph[VADC_CALIB_ABSOLUTE].dy); in pm8xxx_calibrate_device() 635 adc->graph[VADC_CALIB_RATIOMETRIC].dy = in pm8xxx_calibrate_device() 637 adc->graph[VADC_CALIB_RATIOMETRIC].gnd = read_nomux_rsv4; in pm8xxx_calibrate_device() 641 adc->graph[VADC_CALIB_RATIOMETRIC].dy); in pm8xxx_calibrate_device() 668 &adc->graph[ch->calibration], in pm8xxx_read_raw()
|
D | qcom-spmi-vadc.c | 130 struct vadc_linear_graph graph[2]; member 366 vadc->graph[VADC_CALIB_RATIOMETRIC].dx = VADC_RATIOMETRIC_RANGE; in vadc_measure_ref_points() 367 vadc->graph[VADC_CALIB_ABSOLUTE].dx = VADC_ABSOLUTE_RANGE_UV; in vadc_measure_ref_points() 388 vadc->graph[VADC_CALIB_ABSOLUTE].dy = read_1 - read_2; in vadc_measure_ref_points() 389 vadc->graph[VADC_CALIB_ABSOLUTE].gnd = read_2; in vadc_measure_ref_points() 407 vadc->graph[VADC_CALIB_RATIOMETRIC].dy = read_1 - read_2; in vadc_measure_ref_points() 408 vadc->graph[VADC_CALIB_RATIOMETRIC].gnd = read_2; in vadc_measure_ref_points() 469 &vadc->graph[prop->calibration], in vadc_read_raw()
|
/linux-4.19.296/include/media/ |
D | media-entity.h | 114 struct media_graph graph; member 862 struct media_graph *graph, struct media_device *mdev); 869 void media_graph_walk_cleanup(struct media_graph *graph); 897 void media_graph_walk_start(struct media_graph *graph, 912 struct media_entity *media_graph_walk_next(struct media_graph *graph);
|