Lines Matching refs:id

37 	pipe->id   = mdev->n_pipelines;  in komeda_pipeline_add()
69 komeda_pipeline_get_component_pos(struct komeda_pipeline *pipe, int id) in komeda_pipeline_get_component_pos() argument
75 switch (id) { in komeda_pipeline_get_component_pos()
80 pos = to_cpos(pipe->layers[id - KOMEDA_COMPONENT_LAYER0]); in komeda_pipeline_get_component_pos()
87 temp = mdev->pipelines[id - KOMEDA_COMPONENT_COMPIZ0]; in komeda_pipeline_get_component_pos()
89 DRM_ERROR("compiz-%d doesn't exist.\n", id); in komeda_pipeline_get_component_pos()
96 pos = to_cpos(pipe->scalers[id - KOMEDA_COMPONENT_SCALER0]); in komeda_pipeline_get_component_pos()
106 temp = mdev->pipelines[id - KOMEDA_COMPONENT_IPS0]; in komeda_pipeline_get_component_pos()
108 DRM_ERROR("ips-%d doesn't exist.\n", id); in komeda_pipeline_get_component_pos()
118 DRM_ERROR("Unknown pipeline resource ID: %d.\n", id); in komeda_pipeline_get_component_pos()
126 komeda_pipeline_get_component(struct komeda_pipeline *pipe, int id) in komeda_pipeline_get_component() argument
131 pos = komeda_pipeline_get_component_pos(pipe, id); in komeda_pipeline_get_component()
144 int id; in komeda_pipeline_get_first_component() local
146 id = find_first_bit(&comp_mask_local, 32); in komeda_pipeline_get_first_component()
147 if (id < 32) in komeda_pipeline_get_first_component()
148 c = komeda_pipeline_get_component(pipe, id); in komeda_pipeline_get_first_component()
164 size_t comp_sz, u32 id, u32 hw_id, in komeda_component_add() argument
180 pos = komeda_pipeline_get_component_pos(pipe, id); in komeda_component_add()
184 if (has_bit(id, KOMEDA_PIPELINE_LAYERS)) { in komeda_component_add()
185 idx = id - KOMEDA_COMPONENT_LAYER0; in komeda_component_add()
191 } else if (has_bit(id, KOMEDA_PIPELINE_SCALERS)) { in komeda_component_add()
192 idx = id - KOMEDA_COMPONENT_SCALER0; in komeda_component_add()
204 c->id = id; in komeda_component_add()
224 pipe->avail_comps |= BIT(c->id); in komeda_component_add()
242 c->name, c->id, BIT(c->id)); in komeda_component_dump()
252 int id; in komeda_pipeline_dump() local
256 pipe->id, pipe->n_layers, pipe->n_scalers, in komeda_pipeline_dump()
265 for_each_set_bit(id, &avail_comps, 32) { in komeda_pipeline_dump()
266 c = komeda_pipeline_get_component(pipe, id); in komeda_pipeline_dump()
276 int id; in komeda_component_verify_inputs() local
279 for_each_set_bit(id, &supported_inputs, 32) { in komeda_component_verify_inputs()
280 input = komeda_pipeline_get_component(pipe, id); in komeda_component_verify_inputs()
282 c->supported_inputs &= ~(BIT(id)); in komeda_component_verify_inputs()
284 id, c->name); in komeda_component_verify_inputs()
288 input->supported_outputs |= BIT(c->id); in komeda_component_verify_inputs()
296 int index = left->base.id - KOMEDA_COMPONENT_LAYER0; in komeda_get_layer_split_right_layer()
309 int i, id; in komeda_pipeline_assemble() local
312 for_each_set_bit(id, &avail_comps, 32) { in komeda_pipeline_assemble()
313 c = komeda_pipeline_get_component(pipe, id); in komeda_pipeline_assemble()
326 pipe->id); in komeda_pipeline_assemble()
363 u32 id; in komeda_pipeline_dump_register() local
366 seq_printf(sf, "\n======== Pipeline-%d ==========\n", pipe->id); in komeda_pipeline_dump_register()
372 for_each_set_bit(id, &avail_comps, 32) { in komeda_pipeline_dump_register()
373 c = komeda_pipeline_get_component(pipe, id); in komeda_pipeline_dump_register()