Home
last modified time | relevance | path

Searched refs:num_pads (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-subdev.c35 if (sd->entity.num_pads) { in subdev_fh_init()
135 if (format->pad >= sd->entity.num_pads) in check_format()
147 if (crop->pad >= sd->entity.num_pads) in check_crop()
160 if (sel->pad >= sd->entity.num_pads) in check_selection()
168 if (edid->pad >= sd->entity.num_pads) in check_edid()
369 if (code->pad >= sd->entity.num_pads) in subdev_do_ioctl()
384 if (fse->pad >= sd->entity.num_pads) in subdev_do_ioctl()
395 if (fi->pad >= sd->entity.num_pads) in subdev_do_ioctl()
405 if (fi->pad >= sd->entity.num_pads) in subdev_do_ioctl()
419 if (fie->pad >= sd->entity.num_pads) in subdev_do_ioctl()
[all …]
Dv4l2-mem2mem.c737 int num_pads; in v4l2_m2m_register_entity() local
745 num_pads = 1; in v4l2_m2m_register_entity()
751 num_pads = 1; in v4l2_m2m_register_entity()
758 num_pads = 2; in v4l2_m2m_register_entity()
777 ret = media_entity_pads_init(entity, num_pads, pads); in v4l2_m2m_register_entity()
/linux-4.19.296/drivers/media/
Dmedia-entity.c206 int media_entity_pads_init(struct media_entity *entity, u16 num_pads, in media_entity_pads_init() argument
212 if (num_pads >= MEDIA_ENTITY_MAX_PADS) in media_entity_pads_init()
215 entity->num_pads = num_pads; in media_entity_pads_init()
221 for (i = 0; i < num_pads; i++) { in media_entity_pads_init()
386 for (i = 0; i < entity->num_pads; i++) { in media_entity_get_fwnode_pad()
402 if (ret >= entity->num_pads) in media_entity_get_fwnode_pad()
453 bitmap_zero(active, entity->num_pads); in __media_pipeline_start()
454 bitmap_fill(has_no_links, entity->num_pads); in __media_pipeline_start()
492 bitmap_or(active, active, has_no_links, entity->num_pads); in __media_pipeline_start()
494 if (!bitmap_full(active, entity->num_pads)) { in __media_pipeline_start()
[all …]
/linux-4.19.296/include/media/
Dv4l2-subdev.h934 if (WARN_ON(pad >= sd->entity.num_pads)) in v4l2_subdev_get_try_format()
952 if (WARN_ON(pad >= sd->entity.num_pads)) in v4l2_subdev_get_try_crop()
970 if (WARN_ON(pad >= sd->entity.num_pads)) in v4l2_subdev_get_try_compose()
Dmedia-entity.h274 u16 num_pads; member
626 int media_entity_pads_init(struct media_entity *entity, u16 num_pads,
/linux-4.19.296/include/uapi/linux/
Dmedia.h356 __u32 num_pads; member