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()
377 for (i = 0; i < entity->num_pads; i++) { in media_entity_get_fwnode_pad()
393 if (ret >= entity->num_pads) in media_entity_get_fwnode_pad()
447 bitmap_zero(active, entity->num_pads); in __media_pipeline_start()
448 bitmap_fill(has_no_links, entity->num_pads); in __media_pipeline_start()
486 bitmap_or(active, active, has_no_links, entity->num_pads); in __media_pipeline_start()
488 if (!bitmap_full(active, entity->num_pads)) { in __media_pipeline_start()
494 active, entity->num_pads)); in __media_pipeline_start()
641 for (i = 0; i < entity->num_pads; i++) { in media_get_pad_index()
666 BUG_ON(source_pad >= source->num_pads); in media_create_pad_link()
667 BUG_ON(sink_pad >= sink->num_pads); in media_create_pad_link()