resizer           344 drivers/staging/media/omap4iss/iss.c 			omap4iss_resizer_isr(&iss->resizer,
resizer           922 drivers/staging/media/omap4iss/iss.c 	omap4iss_resizer_unregister_entities(&iss->resizer);
resizer          1024 drivers/staging/media/omap4iss/iss.c 	ret = omap4iss_resizer_register_entities(&iss->resizer, &iss->v4l2_dev);
resizer          1125 drivers/staging/media/omap4iss/iss.c 			&iss->resizer.subdev.entity, RESIZER_PAD_SINK, 0);
resizer          1137 drivers/staging/media/omap4iss/iss.c 			&iss->resizer.subdev.entity, RESIZER_PAD_SINK, 0);
resizer           116 drivers/staging/media/omap4iss/iss.h 	struct iss_resizer_device resizer;
resizer            41 drivers/staging/media/omap4iss/iss_resizer.c static void resizer_print_status(struct iss_resizer_device *resizer)
resizer            43 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_device *iss = to_iss_device(resizer);
resizer           111 drivers/staging/media/omap4iss/iss_resizer.c static void resizer_enable(struct iss_resizer_device *resizer, u8 enable)
resizer           113 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_device *iss = to_iss_device(resizer);
resizer           134 drivers/staging/media/omap4iss/iss_resizer.c static void resizer_set_outaddr(struct iss_resizer_device *resizer, u32 addr)
resizer           136 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_device *iss = to_iss_device(resizer);
resizer           139 drivers/staging/media/omap4iss/iss_resizer.c 	informat = &resizer->formats[RESIZER_PAD_SINK];
resizer           140 drivers/staging/media/omap4iss/iss_resizer.c 	outformat = &resizer->formats[RESIZER_PAD_SOURCE_MEM];
resizer           157 drivers/staging/media/omap4iss/iss_resizer.c 		u32 c_addr = addr + resizer->video_out.bpl_value
resizer           181 drivers/staging/media/omap4iss/iss_resizer.c static void resizer_configure(struct iss_resizer_device *resizer)
resizer           183 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_device *iss = to_iss_device(resizer);
resizer           186 drivers/staging/media/omap4iss/iss_resizer.c 	informat = &resizer->formats[RESIZER_PAD_SINK];
resizer           187 drivers/staging/media/omap4iss/iss_resizer.c 	outformat = &resizer->formats[RESIZER_PAD_SOURCE_MEM];
resizer           198 drivers/staging/media/omap4iss/iss_resizer.c 		       resizer->input == RESIZER_INPUT_IPIPEIF ?
resizer           238 drivers/staging/media/omap4iss/iss_resizer.c 		      resizer->video_out.bpl_value);
resizer           253 drivers/staging/media/omap4iss/iss_resizer.c 			      resizer->video_out.bpl_value);
resizer           263 drivers/staging/media/omap4iss/iss_resizer.c static void resizer_isr_buffer(struct iss_resizer_device *resizer)
resizer           270 drivers/staging/media/omap4iss/iss_resizer.c 	resizer_enable(resizer, 0);
resizer           272 drivers/staging/media/omap4iss/iss_resizer.c 	buffer = omap4iss_video_buffer_next(&resizer->video_out);
resizer           276 drivers/staging/media/omap4iss/iss_resizer.c 	resizer_set_outaddr(resizer, buffer->iss_addr);
resizer           278 drivers/staging/media/omap4iss/iss_resizer.c 	resizer_enable(resizer, 1);
resizer           286 drivers/staging/media/omap4iss/iss_resizer.c void omap4iss_resizer_isr(struct iss_resizer_device *resizer, u32 events)
resizer           288 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_device *iss = to_iss_device(resizer);
resizer           290 drivers/staging/media/omap4iss/iss_resizer.c 			     to_iss_pipeline(&resizer->subdev.entity);
resizer           300 drivers/staging/media/omap4iss/iss_resizer.c 	if (omap4iss_module_sync_is_stopping(&resizer->wait,
resizer           301 drivers/staging/media/omap4iss/iss_resizer.c 					     &resizer->stopping))
resizer           305 drivers/staging/media/omap4iss/iss_resizer.c 		resizer_isr_buffer(resizer);
resizer           315 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_resizer_device *resizer = container_of(video,
resizer           318 drivers/staging/media/omap4iss/iss_resizer.c 	if (!(resizer->output & RESIZER_OUTPUT_MEMORY))
resizer           321 drivers/staging/media/omap4iss/iss_resizer.c 	resizer_set_outaddr(resizer, buffer->iss_addr);
resizer           330 drivers/staging/media/omap4iss/iss_resizer.c 		resizer_enable(resizer, 1);
resizer           352 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_resizer_device *resizer = v4l2_get_subdevdata(sd);
resizer           353 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_device *iss = to_iss_device(resizer);
resizer           354 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_video *video_out = &resizer->video_out;
resizer           357 drivers/staging/media/omap4iss/iss_resizer.c 	if (resizer->state == ISS_PIPELINE_STREAM_STOPPED) {
resizer           376 drivers/staging/media/omap4iss/iss_resizer.c 		resizer_configure(resizer);
resizer           377 drivers/staging/media/omap4iss/iss_resizer.c 		resizer_print_status(resizer);
resizer           385 drivers/staging/media/omap4iss/iss_resizer.c 		if (resizer->output & RESIZER_OUTPUT_MEMORY &&
resizer           389 drivers/staging/media/omap4iss/iss_resizer.c 		atomic_set(&resizer->stopping, 0);
resizer           390 drivers/staging/media/omap4iss/iss_resizer.c 		resizer_enable(resizer, 1);
resizer           395 drivers/staging/media/omap4iss/iss_resizer.c 		if (resizer->state == ISS_PIPELINE_STREAM_STOPPED)
resizer           397 drivers/staging/media/omap4iss/iss_resizer.c 		if (omap4iss_module_sync_idle(&sd->entity, &resizer->wait,
resizer           398 drivers/staging/media/omap4iss/iss_resizer.c 					      &resizer->stopping))
resizer           401 drivers/staging/media/omap4iss/iss_resizer.c 		resizer_enable(resizer, 0);
resizer           413 drivers/staging/media/omap4iss/iss_resizer.c 	resizer->state = enable;
resizer           418 drivers/staging/media/omap4iss/iss_resizer.c __resizer_get_format(struct iss_resizer_device *resizer,
resizer           423 drivers/staging/media/omap4iss/iss_resizer.c 		return v4l2_subdev_get_try_format(&resizer->subdev, cfg, pad);
resizer           424 drivers/staging/media/omap4iss/iss_resizer.c 	return &resizer->formats[pad];
resizer           435 drivers/staging/media/omap4iss/iss_resizer.c resizer_try_format(struct iss_resizer_device *resizer,
resizer           464 drivers/staging/media/omap4iss/iss_resizer.c 		format = __resizer_get_format(resizer, cfg, RESIZER_PAD_SINK,
resizer           498 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_resizer_device *resizer = v4l2_get_subdevdata(sd);
resizer           510 drivers/staging/media/omap4iss/iss_resizer.c 		format = __resizer_get_format(resizer, cfg, RESIZER_PAD_SINK,
resizer           543 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_resizer_device *resizer = v4l2_get_subdevdata(sd);
resizer           552 drivers/staging/media/omap4iss/iss_resizer.c 	resizer_try_format(resizer, cfg, fse->pad, &format, fse->which);
resizer           562 drivers/staging/media/omap4iss/iss_resizer.c 	resizer_try_format(resizer, cfg, fse->pad, &format, fse->which);
resizer           582 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_resizer_device *resizer = v4l2_get_subdevdata(sd);
resizer           585 drivers/staging/media/omap4iss/iss_resizer.c 	format = __resizer_get_format(resizer, cfg, fmt->pad, fmt->which);
resizer           606 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_resizer_device *resizer = v4l2_get_subdevdata(sd);
resizer           609 drivers/staging/media/omap4iss/iss_resizer.c 	format = __resizer_get_format(resizer, cfg, fmt->pad, fmt->which);
resizer           613 drivers/staging/media/omap4iss/iss_resizer.c 	resizer_try_format(resizer, cfg, fmt->pad, &fmt->format, fmt->which);
resizer           618 drivers/staging/media/omap4iss/iss_resizer.c 		format = __resizer_get_format(resizer, cfg,
resizer           622 drivers/staging/media/omap4iss/iss_resizer.c 		resizer_try_format(resizer, cfg, RESIZER_PAD_SOURCE_MEM, format,
resizer           713 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_resizer_device *resizer = v4l2_get_subdevdata(sd);
resizer           714 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_device *iss = to_iss_device(resizer);
resizer           725 drivers/staging/media/omap4iss/iss_resizer.c 			resizer->input = RESIZER_INPUT_NONE;
resizer           729 drivers/staging/media/omap4iss/iss_resizer.c 		if (resizer->input != RESIZER_INPUT_NONE)
resizer           733 drivers/staging/media/omap4iss/iss_resizer.c 			resizer->input = RESIZER_INPUT_IPIPEIF;
resizer           735 drivers/staging/media/omap4iss/iss_resizer.c 			resizer->input = RESIZER_INPUT_IPIPE;
resizer           742 drivers/staging/media/omap4iss/iss_resizer.c 			if (resizer->output & ~RESIZER_OUTPUT_MEMORY)
resizer           744 drivers/staging/media/omap4iss/iss_resizer.c 			resizer->output |= RESIZER_OUTPUT_MEMORY;
resizer           746 drivers/staging/media/omap4iss/iss_resizer.c 			resizer->output &= ~RESIZER_OUTPUT_MEMORY;
resizer           769 drivers/staging/media/omap4iss/iss_resizer.c static int resizer_init_entities(struct iss_resizer_device *resizer)
resizer           771 drivers/staging/media/omap4iss/iss_resizer.c 	struct v4l2_subdev *sd = &resizer->subdev;
resizer           772 drivers/staging/media/omap4iss/iss_resizer.c 	struct media_pad *pads = resizer->pads;
resizer           776 drivers/staging/media/omap4iss/iss_resizer.c 	resizer->input = RESIZER_INPUT_NONE;
resizer           782 drivers/staging/media/omap4iss/iss_resizer.c 	v4l2_set_subdevdata(sd, resizer);
resizer           795 drivers/staging/media/omap4iss/iss_resizer.c 	resizer->video_out.type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
resizer           796 drivers/staging/media/omap4iss/iss_resizer.c 	resizer->video_out.ops = &resizer_video_ops;
resizer           797 drivers/staging/media/omap4iss/iss_resizer.c 	resizer->video_out.iss = to_iss_device(resizer);
resizer           798 drivers/staging/media/omap4iss/iss_resizer.c 	resizer->video_out.capture_mem = PAGE_ALIGN(4096 * 4096) * 3;
resizer           799 drivers/staging/media/omap4iss/iss_resizer.c 	resizer->video_out.bpl_alignment = 32;
resizer           800 drivers/staging/media/omap4iss/iss_resizer.c 	resizer->video_out.bpl_zero_padding = 1;
resizer           801 drivers/staging/media/omap4iss/iss_resizer.c 	resizer->video_out.bpl_max = 0x1ffe0;
resizer           803 drivers/staging/media/omap4iss/iss_resizer.c 	return omap4iss_video_init(&resizer->video_out, "ISP resizer a");
resizer           806 drivers/staging/media/omap4iss/iss_resizer.c void omap4iss_resizer_unregister_entities(struct iss_resizer_device *resizer)
resizer           808 drivers/staging/media/omap4iss/iss_resizer.c 	v4l2_device_unregister_subdev(&resizer->subdev);
resizer           809 drivers/staging/media/omap4iss/iss_resizer.c 	omap4iss_video_unregister(&resizer->video_out);
resizer           812 drivers/staging/media/omap4iss/iss_resizer.c int omap4iss_resizer_register_entities(struct iss_resizer_device *resizer,
resizer           818 drivers/staging/media/omap4iss/iss_resizer.c 	ret = v4l2_device_register_subdev(vdev, &resizer->subdev);
resizer           822 drivers/staging/media/omap4iss/iss_resizer.c 	ret = omap4iss_video_register(&resizer->video_out, vdev);
resizer           829 drivers/staging/media/omap4iss/iss_resizer.c 	omap4iss_resizer_unregister_entities(resizer);
resizer           847 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_resizer_device *resizer = &iss->resizer;
resizer           849 drivers/staging/media/omap4iss/iss_resizer.c 	resizer->state = ISS_PIPELINE_STREAM_STOPPED;
resizer           850 drivers/staging/media/omap4iss/iss_resizer.c 	init_waitqueue_head(&resizer->wait);
resizer           852 drivers/staging/media/omap4iss/iss_resizer.c 	return resizer_init_entities(resizer);
resizer           863 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_resizer_device *resizer = &iss->resizer;
resizer           866 drivers/staging/media/omap4iss/iss_resizer.c 	return media_create_pad_link(&resizer->subdev.entity,
resizer           868 drivers/staging/media/omap4iss/iss_resizer.c 				     &resizer->video_out.video.entity, 0, 0);
resizer           877 drivers/staging/media/omap4iss/iss_resizer.c 	struct iss_resizer_device *resizer = &iss->resizer;
resizer           879 drivers/staging/media/omap4iss/iss_resizer.c 	media_entity_cleanup(&resizer->subdev.entity);
resizer            62 drivers/staging/media/omap4iss/iss_resizer.h int omap4iss_resizer_register_entities(struct iss_resizer_device *resizer,
resizer            64 drivers/staging/media/omap4iss/iss_resizer.h void omap4iss_resizer_unregister_entities(struct iss_resizer_device *resizer);
resizer            66 drivers/staging/media/omap4iss/iss_resizer.h int omap4iss_resizer_busy(struct iss_resizer_device *resizer);
resizer            67 drivers/staging/media/omap4iss/iss_resizer.h void omap4iss_resizer_isr(struct iss_resizer_device *resizer, u32 events);
resizer            69 drivers/staging/media/omap4iss/iss_resizer.h void omap4iss_resizer_max_rate(struct iss_resizer_device *resizer,