Lines Matching refs:pads
161 list_add_tail(&gobj->list, &mdev->pads); in media_gobj_create()
198 struct media_pad *pads) in media_entity_pads_init() argument
207 entity->pads = pads; in media_entity_pads_init()
213 pads[i].entity = entity; in media_entity_pads_init()
214 pads[i].index = i; in media_entity_pads_init()
217 &entity->pads[i].graph_obj); in media_entity_pads_init()
379 if (entity->pads[i].flags & direction_flags) in media_entity_get_fwnode_pad()
397 if (!(entity->pads[ret].flags & direction_flags)) in media_entity_get_fwnode_pad()
643 if (entity->pads[i].flags & MEDIA_PAD_FL_SINK) in media_get_pad_index()
645 else if (entity->pads[i].flags & MEDIA_PAD_FL_SOURCE) in media_get_pad_index()
652 if (entity->pads[i].sig_type == sig_type) in media_get_pad_index()
670 if (WARN_ON(!(source->pads[source_pad].flags & MEDIA_PAD_FL_SOURCE))) in media_create_pad_link()
672 if (WARN_ON(!(sink->pads[sink_pad].flags & MEDIA_PAD_FL_SINK))) in media_create_pad_link()
679 link->source = &source->pads[source_pad]; in media_create_pad_link()
680 link->sink = &sink->pads[sink_pad]; in media_create_pad_link()
696 backlink->source = &source->pads[source_pad]; in media_create_pad_link()
697 backlink->sink = &sink->pads[sink_pad]; in media_create_pad_link()