Lines Matching refs:id

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