ipipeif 339 drivers/staging/media/omap4iss/iss.c omap4iss_ipipeif_isr(&iss->ipipeif, ipipeif 924 drivers/staging/media/omap4iss/iss.c omap4iss_ipipeif_unregister_entities(&iss->ipipeif); ipipeif 1016 drivers/staging/media/omap4iss/iss.c ret = omap4iss_ipipeif_register_entities(&iss->ipipeif, &iss->v4l2_dev); ipipeif 1113 drivers/staging/media/omap4iss/iss.c &iss->ipipeif.subdev.entity, IPIPEIF_PAD_SINK, 0); ipipeif 1119 drivers/staging/media/omap4iss/iss.c &iss->ipipeif.subdev.entity, IPIPEIF_PAD_SINK, 0); ipipeif 1124 drivers/staging/media/omap4iss/iss.c &iss->ipipeif.subdev.entity, IPIPEIF_PAD_SOURCE_VP, ipipeif 1130 drivers/staging/media/omap4iss/iss.c &iss->ipipeif.subdev.entity, IPIPEIF_PAD_SOURCE_VP, ipipeif 114 drivers/staging/media/omap4iss/iss.h struct iss_ipipeif_device ipipeif; ipipeif 460 drivers/staging/media/omap4iss/iss_ipipe.c if (remote->entity == &iss->ipipeif.subdev.entity) ipipeif 49 drivers/staging/media/omap4iss/iss_ipipeif.c static void ipipeif_print_status(struct iss_ipipeif_device *ipipeif) ipipeif 51 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_device *iss = to_iss_device(ipipeif); ipipeif 78 drivers/staging/media/omap4iss/iss_ipipeif.c static void ipipeif_write_enable(struct iss_ipipeif_device *ipipeif, u8 enable) ipipeif 80 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_device *iss = to_iss_device(ipipeif); ipipeif 91 drivers/staging/media/omap4iss/iss_ipipeif.c static void ipipeif_enable(struct iss_ipipeif_device *ipipeif, u8 enable) ipipeif 93 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_device *iss = to_iss_device(ipipeif); ipipeif 110 drivers/staging/media/omap4iss/iss_ipipeif.c static void ipipeif_set_outaddr(struct iss_ipipeif_device *ipipeif, u32 addr) ipipeif 112 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_device *iss = to_iss_device(ipipeif); ipipeif 121 drivers/staging/media/omap4iss/iss_ipipeif.c static void ipipeif_configure(struct iss_ipipeif_device *ipipeif) ipipeif 123 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_device *iss = to_iss_device(ipipeif); ipipeif 128 drivers/staging/media/omap4iss/iss_ipipeif.c omap4iss_configure_bridge(iss, ipipeif->input); ipipeif 131 drivers/staging/media/omap4iss/iss_ipipeif.c format = &ipipeif->formats[IPIPEIF_PAD_SINK]; ipipeif 204 drivers/staging/media/omap4iss/iss_ipipeif.c format = &ipipeif->formats[IPIPEIF_PAD_SOURCE_ISIF_SF]; ipipeif 207 drivers/staging/media/omap4iss/iss_ipipeif.c (ipipeif->video_out.bpl_value >> 5) & ipipeif 218 drivers/staging/media/omap4iss/iss_ipipeif.c static void ipipeif_isr_buffer(struct iss_ipipeif_device *ipipeif) ipipeif 226 drivers/staging/media/omap4iss/iss_ipipeif.c if (list_empty(&ipipeif->video_out.dmaqueue)) ipipeif 229 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_write_enable(ipipeif, 0); ipipeif 231 drivers/staging/media/omap4iss/iss_ipipeif.c buffer = omap4iss_video_buffer_next(&ipipeif->video_out); ipipeif 235 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_set_outaddr(ipipeif, buffer->iss_addr); ipipeif 237 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_write_enable(ipipeif, 1); ipipeif 245 drivers/staging/media/omap4iss/iss_ipipeif.c void omap4iss_ipipeif_isr(struct iss_ipipeif_device *ipipeif, u32 events) ipipeif 247 drivers/staging/media/omap4iss/iss_ipipeif.c if (omap4iss_module_sync_is_stopping(&ipipeif->wait, ipipeif 248 drivers/staging/media/omap4iss/iss_ipipeif.c &ipipeif->stopping)) ipipeif 252 drivers/staging/media/omap4iss/iss_ipipeif.c (ipipeif->output & IPIPEIF_OUTPUT_MEMORY)) ipipeif 253 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_isr_buffer(ipipeif); ipipeif 263 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_ipipeif_device *ipipeif = container_of(video, ipipeif 266 drivers/staging/media/omap4iss/iss_ipipeif.c if (!(ipipeif->output & IPIPEIF_OUTPUT_MEMORY)) ipipeif 269 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_set_outaddr(ipipeif, buffer->iss_addr); ipipeif 278 drivers/staging/media/omap4iss/iss_ipipeif.c if (ipipeif->output & IPIPEIF_OUTPUT_MEMORY) ipipeif 279 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_write_enable(ipipeif, 1); ipipeif 280 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_enable(ipipeif, 1); ipipeif 304 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_ipipeif_device *ipipeif = v4l2_get_subdevdata(sd); ipipeif 305 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_device *iss = to_iss_device(ipipeif); ipipeif 306 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_video *video_out = &ipipeif->video_out; ipipeif 309 drivers/staging/media/omap4iss/iss_ipipeif.c if (ipipeif->state == ISS_PIPELINE_STREAM_STOPPED) { ipipeif 319 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_configure(ipipeif); ipipeif 320 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_print_status(ipipeif); ipipeif 328 drivers/staging/media/omap4iss/iss_ipipeif.c if (ipipeif->output & IPIPEIF_OUTPUT_MEMORY && ipipeif 332 drivers/staging/media/omap4iss/iss_ipipeif.c atomic_set(&ipipeif->stopping, 0); ipipeif 333 drivers/staging/media/omap4iss/iss_ipipeif.c if (ipipeif->output & IPIPEIF_OUTPUT_MEMORY) ipipeif 334 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_write_enable(ipipeif, 1); ipipeif 335 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_enable(ipipeif, 1); ipipeif 340 drivers/staging/media/omap4iss/iss_ipipeif.c if (ipipeif->state == ISS_PIPELINE_STREAM_STOPPED) ipipeif 342 drivers/staging/media/omap4iss/iss_ipipeif.c if (omap4iss_module_sync_idle(&sd->entity, &ipipeif->wait, ipipeif 343 drivers/staging/media/omap4iss/iss_ipipeif.c &ipipeif->stopping)) ipipeif 346 drivers/staging/media/omap4iss/iss_ipipeif.c if (ipipeif->output & IPIPEIF_OUTPUT_MEMORY) ipipeif 347 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_write_enable(ipipeif, 0); ipipeif 348 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_enable(ipipeif, 0); ipipeif 354 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->state = enable; ipipeif 359 drivers/staging/media/omap4iss/iss_ipipeif.c __ipipeif_get_format(struct iss_ipipeif_device *ipipeif, ipipeif 364 drivers/staging/media/omap4iss/iss_ipipeif.c return v4l2_subdev_get_try_format(&ipipeif->subdev, cfg, pad); ipipeif 365 drivers/staging/media/omap4iss/iss_ipipeif.c return &ipipeif->formats[pad]; ipipeif 376 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_try_format(struct iss_ipipeif_device *ipipeif, ipipeif 406 drivers/staging/media/omap4iss/iss_ipipeif.c format = __ipipeif_get_format(ipipeif, cfg, IPIPEIF_PAD_SINK, ipipeif 421 drivers/staging/media/omap4iss/iss_ipipeif.c format = __ipipeif_get_format(ipipeif, cfg, IPIPEIF_PAD_SINK, ipipeif 448 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_ipipeif_device *ipipeif = v4l2_get_subdevdata(sd); ipipeif 465 drivers/staging/media/omap4iss/iss_ipipeif.c format = __ipipeif_get_format(ipipeif, cfg, IPIPEIF_PAD_SINK, ipipeif 482 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_ipipeif_device *ipipeif = v4l2_get_subdevdata(sd); ipipeif 491 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); ipipeif 501 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); ipipeif 521 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_ipipeif_device *ipipeif = v4l2_get_subdevdata(sd); ipipeif 524 drivers/staging/media/omap4iss/iss_ipipeif.c format = __ipipeif_get_format(ipipeif, cfg, fmt->pad, fmt->which); ipipeif 545 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_ipipeif_device *ipipeif = v4l2_get_subdevdata(sd); ipipeif 548 drivers/staging/media/omap4iss/iss_ipipeif.c format = __ipipeif_get_format(ipipeif, cfg, fmt->pad, fmt->which); ipipeif 552 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_try_format(ipipeif, cfg, fmt->pad, &fmt->format, fmt->which); ipipeif 557 drivers/staging/media/omap4iss/iss_ipipeif.c format = __ipipeif_get_format(ipipeif, cfg, ipipeif 561 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_try_format(ipipeif, cfg, IPIPEIF_PAD_SOURCE_ISIF_SF, ipipeif 564 drivers/staging/media/omap4iss/iss_ipipeif.c format = __ipipeif_get_format(ipipeif, cfg, ipipeif 568 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif_try_format(ipipeif, cfg, IPIPEIF_PAD_SOURCE_VP, format, ipipeif 659 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_ipipeif_device *ipipeif = v4l2_get_subdevdata(sd); ipipeif 660 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_device *iss = to_iss_device(ipipeif); ipipeif 671 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->input = IPIPEIF_INPUT_NONE; ipipeif 675 drivers/staging/media/omap4iss/iss_ipipeif.c if (ipipeif->input != IPIPEIF_INPUT_NONE) ipipeif 679 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->input = IPIPEIF_INPUT_CSI2A; ipipeif 681 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->input = IPIPEIF_INPUT_CSI2B; ipipeif 688 drivers/staging/media/omap4iss/iss_ipipeif.c if (ipipeif->output & ~IPIPEIF_OUTPUT_MEMORY) ipipeif 690 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->output |= IPIPEIF_OUTPUT_MEMORY; ipipeif 692 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->output &= ~IPIPEIF_OUTPUT_MEMORY; ipipeif 699 drivers/staging/media/omap4iss/iss_ipipeif.c if (ipipeif->output & ~IPIPEIF_OUTPUT_VP) ipipeif 701 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->output |= IPIPEIF_OUTPUT_VP; ipipeif 703 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->output &= ~IPIPEIF_OUTPUT_VP; ipipeif 726 drivers/staging/media/omap4iss/iss_ipipeif.c static int ipipeif_init_entities(struct iss_ipipeif_device *ipipeif) ipipeif 728 drivers/staging/media/omap4iss/iss_ipipeif.c struct v4l2_subdev *sd = &ipipeif->subdev; ipipeif 729 drivers/staging/media/omap4iss/iss_ipipeif.c struct media_pad *pads = ipipeif->pads; ipipeif 733 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->input = IPIPEIF_INPUT_NONE; ipipeif 739 drivers/staging/media/omap4iss/iss_ipipeif.c v4l2_set_subdevdata(sd, ipipeif); ipipeif 753 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->video_out.type = V4L2_BUF_TYPE_VIDEO_CAPTURE; ipipeif 754 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->video_out.ops = &ipipeif_video_ops; ipipeif 755 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->video_out.iss = to_iss_device(ipipeif); ipipeif 756 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->video_out.capture_mem = PAGE_ALIGN(4096 * 4096) * 3; ipipeif 757 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->video_out.bpl_alignment = 32; ipipeif 758 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->video_out.bpl_zero_padding = 1; ipipeif 759 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->video_out.bpl_max = 0x1ffe0; ipipeif 761 drivers/staging/media/omap4iss/iss_ipipeif.c return omap4iss_video_init(&ipipeif->video_out, "ISP IPIPEIF"); ipipeif 764 drivers/staging/media/omap4iss/iss_ipipeif.c void omap4iss_ipipeif_unregister_entities(struct iss_ipipeif_device *ipipeif) ipipeif 766 drivers/staging/media/omap4iss/iss_ipipeif.c v4l2_device_unregister_subdev(&ipipeif->subdev); ipipeif 767 drivers/staging/media/omap4iss/iss_ipipeif.c omap4iss_video_unregister(&ipipeif->video_out); ipipeif 770 drivers/staging/media/omap4iss/iss_ipipeif.c int omap4iss_ipipeif_register_entities(struct iss_ipipeif_device *ipipeif, ipipeif 776 drivers/staging/media/omap4iss/iss_ipipeif.c ret = v4l2_device_register_subdev(vdev, &ipipeif->subdev); ipipeif 780 drivers/staging/media/omap4iss/iss_ipipeif.c ret = omap4iss_video_register(&ipipeif->video_out, vdev); ipipeif 787 drivers/staging/media/omap4iss/iss_ipipeif.c omap4iss_ipipeif_unregister_entities(ipipeif); ipipeif 805 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_ipipeif_device *ipipeif = &iss->ipipeif; ipipeif 807 drivers/staging/media/omap4iss/iss_ipipeif.c ipipeif->state = ISS_PIPELINE_STREAM_STOPPED; ipipeif 808 drivers/staging/media/omap4iss/iss_ipipeif.c init_waitqueue_head(&ipipeif->wait); ipipeif 810 drivers/staging/media/omap4iss/iss_ipipeif.c return ipipeif_init_entities(ipipeif); ipipeif 821 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_ipipeif_device *ipipeif = &iss->ipipeif; ipipeif 824 drivers/staging/media/omap4iss/iss_ipipeif.c return media_create_pad_link(&ipipeif->subdev.entity, ipipeif 826 drivers/staging/media/omap4iss/iss_ipipeif.c &ipipeif->video_out.video.entity, 0, 0); ipipeif 835 drivers/staging/media/omap4iss/iss_ipipeif.c struct iss_ipipeif_device *ipipeif = &iss->ipipeif; ipipeif 837 drivers/staging/media/omap4iss/iss_ipipeif.c media_entity_cleanup(&ipipeif->subdev.entity); ipipeif 79 drivers/staging/media/omap4iss/iss_ipipeif.h int omap4iss_ipipeif_register_entities(struct iss_ipipeif_device *ipipeif, ipipeif 81 drivers/staging/media/omap4iss/iss_ipipeif.h void omap4iss_ipipeif_unregister_entities(struct iss_ipipeif_device *ipipeif); ipipeif 83 drivers/staging/media/omap4iss/iss_ipipeif.h int omap4iss_ipipeif_busy(struct iss_ipipeif_device *ipipeif); ipipeif 84 drivers/staging/media/omap4iss/iss_ipipeif.h void omap4iss_ipipeif_isr(struct iss_ipipeif_device *ipipeif, u32 events); ipipeif 86 drivers/staging/media/omap4iss/iss_ipipeif.h void omap4iss_ipipeif_max_rate(struct iss_ipipeif_device *ipipeif, ipipeif 732 drivers/staging/media/omap4iss/iss_resizer.c if (remote->entity == &iss->ipipeif.subdev.entity)