Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/media/video/
Dv4l2-subdev.c40 * sd->entity.num_pads, GFP_KERNEL); in subdev_fh_init()
45 (fh->try_fmt + sd->entity.num_pads); in subdev_fh_init()
216 if (format->pad >= sd->entity.num_pads) in subdev_do_ioctl()
229 if (format->pad >= sd->entity.num_pads) in subdev_do_ioctl()
242 if (crop->pad >= sd->entity.num_pads) in subdev_do_ioctl()
255 if (crop->pad >= sd->entity.num_pads) in subdev_do_ioctl()
264 if (code->pad >= sd->entity.num_pads) in subdev_do_ioctl()
274 if (fse->pad >= sd->entity.num_pads) in subdev_do_ioctl()
290 if (fie->pad >= sd->entity.num_pads) in subdev_do_ioctl()
/linux-3.4.99/drivers/media/video/uvc/
Duvc_entity.c40 for (i = 0; i < entity->num_pads; ++i) { in uvc_mc_register_entity()
58 remote_pad = remote->num_pads - 1; in uvc_mc_register_entity()
92 entity->num_pads, entity->pads, 0); in uvc_mc_init_entity()
95 entity->num_pads, entity->pads, 0); in uvc_mc_init_entity()
Duvc_driver.c799 unsigned int num_pads, unsigned int extra_size) in uvc_alloc_entity() argument
807 num_inputs = (type & UVC_TERM_OUTPUT) ? num_pads : num_pads - 1; in uvc_alloc_entity()
808 size = sizeof(*entity) + extra_size + sizeof(*entity->pads) * num_pads in uvc_alloc_entity()
818 entity->num_pads = num_pads; in uvc_alloc_entity()
824 entity->pads[num_pads-1].flags = MEDIA_PAD_FL_SOURCE; in uvc_alloc_entity()
827 entity->baSourceID = (__u8 *)(&entity->pads[num_pads]); in uvc_alloc_entity()
Duvcvideo.h225 unsigned int num_pads; member
/linux-3.4.99/drivers/media/
Dmedia-entity.c53 media_entity_init(struct media_entity *entity, u16 num_pads, in media_entity_init() argument
57 unsigned int max_links = num_pads + extra_links; in media_entity_init()
68 entity->num_pads = num_pads; in media_entity_init()
72 for (i = 0; i < num_pads; i++) { in media_entity_init()
346 BUG_ON(source_pad >= source->num_pads); in media_entity_create_link()
347 BUG_ON(sink_pad >= sink->num_pads); in media_entity_create_link()
Dmedia-device.c110 u_ent.pads = ent->num_pads; in media_device_enum_entities()
142 for (p = 0; p < entity->num_pads; p++) { in media_device_enum_links()
196 if (ulink.source.index >= source->num_pads || in media_device_setup_link()
197 ulink.sink.index >= sink->num_pads) in media_device_setup_link()
/linux-3.4.99/include/media/
Dmedia-entity.h62 u16 num_pads; /* Number of sink and source pads */ member
124 int media_entity_init(struct media_entity *entity, u16 num_pads,
/linux-3.4.99/drivers/pinctrl/
Dpinctrl-pxa3xx.h76 unsigned int num_pads; member
Dpinctrl-pxa3xx.c192 desc->npins = info->num_pads; in pxa3xx_pinctrl_register()
Dpinctrl-pxa168.c611 .num_pads = ARRAY_SIZE(pxa168_pads),
Dpinctrl-mmp2.c682 .num_pads = ARRAY_SIZE(mmp2_pads),
Dpinctrl-pxa910.c967 .num_pads = ARRAY_SIZE(pxa910_pads),
/linux-3.4.99/drivers/media/video/omap3isp/
Disp.h346 if (pad >= subdev->entity.num_pads) in isp_pad_buffer_type()
/linux-3.4.99/Documentation/
Dmedia-framework.txt106 media_entity_init(struct media_entity *entity, u16 num_pads,