Lines Matching refs:num_pads
197 int media_entity_pads_init(struct media_entity *entity, u16 num_pads, in media_entity_pads_init() argument
203 if (num_pads >= MEDIA_ENTITY_MAX_PADS) in media_entity_pads_init()
206 entity->num_pads = num_pads; in media_entity_pads_init()
212 for (i = 0; i < num_pads; i++) { in media_entity_pads_init()
378 for (i = 0; i < entity->num_pads; i++) { in media_entity_get_fwnode_pad()
394 if (ret >= entity->num_pads) in media_entity_get_fwnode_pad()
448 bitmap_zero(active, entity->num_pads); in __media_pipeline_start()
449 bitmap_fill(has_no_links, entity->num_pads); in __media_pipeline_start()
487 bitmap_or(active, active, has_no_links, entity->num_pads); in __media_pipeline_start()
489 if (!bitmap_full(active, entity->num_pads)) { in __media_pipeline_start()
495 active, entity->num_pads)); in __media_pipeline_start()
642 for (i = 0; i < entity->num_pads; i++) { in media_get_pad_index()
667 WARN_ON(source_pad >= source->num_pads) || in media_create_pad_link()
668 WARN_ON(sink_pad >= sink->num_pads)) in media_create_pad_link()