• Home
  • Raw
  • Download

Lines Matching refs:pad

36 		fh->pad = v4l2_subdev_alloc_pad_config(sd);  in subdev_fh_init()
37 if (fh->pad == NULL) in subdev_fh_init()
47 v4l2_subdev_free_pad_config(fh->pad); in subdev_fh_free()
48 fh->pad = NULL; in subdev_fh_free()
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()
263 return v4l2_subdev_call(sd, pad, get_fmt, subdev_fh->pad, format); in subdev_do_ioctl()
273 return v4l2_subdev_call(sd, pad, set_fmt, subdev_fh->pad, format); in subdev_do_ioctl()
286 sel.pad = crop->pad; in subdev_do_ioctl()
290 sd, pad, get_selection, subdev_fh->pad, &sel); in subdev_do_ioctl()
307 sel.pad = crop->pad; in subdev_do_ioctl()
312 sd, pad, set_selection, subdev_fh->pad, &sel); in subdev_do_ioctl()
326 if (code->pad >= sd->entity.num_pads) in subdev_do_ioctl()
329 return v4l2_subdev_call(sd, pad, enum_mbus_code, subdev_fh->pad, in subdev_do_ioctl()
340 if (fse->pad >= sd->entity.num_pads) in subdev_do_ioctl()
343 return v4l2_subdev_call(sd, pad, enum_frame_size, subdev_fh->pad, in subdev_do_ioctl()
350 if (fi->pad >= sd->entity.num_pads) in subdev_do_ioctl()
359 if (fi->pad >= sd->entity.num_pads) in subdev_do_ioctl()
372 if (fie->pad >= sd->entity.num_pads) in subdev_do_ioctl()
375 return v4l2_subdev_call(sd, pad, enum_frame_interval, subdev_fh->pad, in subdev_do_ioctl()
387 sd, pad, get_selection, subdev_fh->pad, sel); in subdev_do_ioctl()
398 sd, pad, set_selection, subdev_fh->pad, sel); in subdev_do_ioctl()
408 return v4l2_subdev_call(sd, pad, get_edid, edid); in subdev_do_ioctl()
418 return v4l2_subdev_call(sd, pad, set_edid, edid); in subdev_do_ioctl()
424 if (cap->pad >= sd->entity.num_pads) in subdev_do_ioctl()
427 return v4l2_subdev_call(sd, pad, dv_timings_cap, cap); in subdev_do_ioctl()
433 if (dvt->pad >= sd->entity.num_pads) in subdev_do_ioctl()
436 return v4l2_subdev_call(sd, pad, enum_dv_timings, dvt); in subdev_do_ioctl()
525 v4l2_subdev_link_validate_get_format(struct media_pad *pad, in v4l2_subdev_link_validate_get_format() argument
528 if (is_media_entity_v4l2_subdev(pad->entity)) { in v4l2_subdev_link_validate_get_format()
530 media_entity_to_v4l2_subdev(pad->entity); in v4l2_subdev_link_validate_get_format()
533 fmt->pad = pad->index; in v4l2_subdev_link_validate_get_format()
534 return v4l2_subdev_call(sd, pad, get_fmt, NULL, fmt); in v4l2_subdev_link_validate_get_format()
537 WARN(pad->entity->function != MEDIA_ENT_F_IO_V4L, in v4l2_subdev_link_validate_get_format()
539 pad->entity->function, pad->entity->name); in v4l2_subdev_link_validate_get_format()
562 rval = v4l2_subdev_call(sink, pad, link_validate, link, in v4l2_subdev_link_validate()
586 ret = v4l2_subdev_call(sd, pad, init_cfg, cfg); in v4l2_subdev_alloc_pad_config()