isp               262 arch/arm/mach-omap2/id.c 	OMAP3_SHOW_FEATURE(isp);
isp               447 arch/arm/mach-omap2/soc.h OMAP3_HAS_FEATURE(isp, ISP)
isp                98 arch/s390/include/asm/nospec-insn.h 	\expand \disp,\r1,\r2
isp               138 arch/s390/include/asm/nospec-insn.h 556:	b	\disp(\reg)
isp               148 arch/s390/include/asm/nospec-insn.h 	__DECODE_DRR __THUNK_PROLOG_BC,\disp,\reg,\ruse
isp               149 arch/s390/include/asm/nospec-insn.h 	__THUNK_EX_BC \disp,\reg,\ruse
isp               161 arch/s390/include/asm/nospec-insn.h 558:	__DECODE_DRR __THUNK_BC,\disp,\reg,\ruse
isp               186 arch/s390/include/asm/nospec-insn.h 	b	\disp(\reg)
isp               266 arch/s390/include/asm/vx-insn.h 	.word	(b2 << 12) | (\disp)
isp               297 arch/s390/include/asm/vx-insn.h 	.word	(b2 << 12) | (\disp)
isp               307 arch/s390/include/asm/vx-insn.h 	.word	(b2 << 12) | (\disp)
isp               311 arch/s390/include/asm/vx-insn.h 	VLEx	\vr1, \disp, \index, \base, \m3, 0x00
isp               314 arch/s390/include/asm/vx-insn.h 	VLEx	\vr1, \disp, \index, \base, \m3, 0x01
isp               317 arch/s390/include/asm/vx-insn.h 	VLEx	\vr1, \disp, \index, \base, \m3, 0x03
isp               320 arch/s390/include/asm/vx-insn.h 	VLEx	\vr1, \disp, \index, \base, \m3, 0x02
isp               349 arch/s390/include/asm/vx-insn.h 	.word	(b2 << 12) | (\disp)
isp               353 arch/s390/include/asm/vx-insn.h 	VLGV	\gr, \vr, \disp, \base, 0
isp               356 arch/s390/include/asm/vx-insn.h 	VLGV	\gr, \vr, \disp, \base, 1
isp               359 arch/s390/include/asm/vx-insn.h 	VLGV	\gr, \vr, \disp, \base, 2
isp               362 arch/s390/include/asm/vx-insn.h 	VLGV	\gr, \vr, \disp, \base, 3
isp               371 arch/s390/include/asm/vx-insn.h 	.word	(b2 << 12) | (\disp)
isp               381 arch/s390/include/asm/vx-insn.h 	.word	(b2 << 12) | (\disp)
isp                85 arch/sh/kernel/irq.c 		u32 *isp;
isp                87 arch/sh/kernel/irq.c 		isp = (u32 *)((char *)irqctx + sizeof(*irqctx));
isp               108 arch/sh/kernel/irq.c 			: "r" (irq), "r" (generic_handle_irq), "r" (isp)
isp               155 arch/sh/kernel/irq.c 	u32 *isp;
isp               163 arch/sh/kernel/irq.c 	isp = (u32 *)((char *)irqctx + sizeof(*irqctx));
isp               173 arch/sh/kernel/irq.c 		: "r" (__do_softirq), "r" (isp)
isp                76 arch/x86/kernel/irq_32.c 	u32 *isp, *prev_esp, arg1;
isp                90 arch/x86/kernel/irq_32.c 	isp = (u32 *) ((char *)irqstk + sizeof(*irqstk));
isp                97 arch/x86/kernel/irq_32.c 		call_on_stack(print_stack_overflow, isp);
isp               102 arch/x86/kernel/irq_32.c 		     : "=a" (arg1), "=b" (isp)
isp               103 arch/x86/kernel/irq_32.c 		     :  "0" (desc),   "1" (isp),
isp               137 arch/x86/kernel/irq_32.c 	u32 *isp, *prev_esp;
isp               142 arch/x86/kernel/irq_32.c 	isp = (u32 *) ((char *)irqstk + sizeof(*irqstk));
isp               148 arch/x86/kernel/irq_32.c 	call_on_stack(__do_softirq, isp);
isp                82 drivers/devfreq/event/exynos-ppmu.c 	PPMU_EVENT(isp),
isp                63 drivers/media/platform/exynos4-is/fimc-is-param.c 		__hw_param_copy(&par->isp.control, &cfg->isp.control);
isp                67 drivers/media/platform/exynos4-is/fimc-is-param.c 		__hw_param_copy(&par->isp.otf_input, &cfg->isp.otf_input);
isp                71 drivers/media/platform/exynos4-is/fimc-is-param.c 		__hw_param_copy(&par->isp.dma1_input, &cfg->isp.dma1_input);
isp                75 drivers/media/platform/exynos4-is/fimc-is-param.c 		__hw_param_copy(&par->isp.dma2_input, &cfg->isp.dma2_input);
isp                79 drivers/media/platform/exynos4-is/fimc-is-param.c 		__hw_param_copy(&par->isp.aa, &cfg->isp.aa);
isp                83 drivers/media/platform/exynos4-is/fimc-is-param.c 		__hw_param_copy(&par->isp.flash, &cfg->isp.flash);
isp                87 drivers/media/platform/exynos4-is/fimc-is-param.c 		__hw_param_copy(&par->isp.awb, &cfg->isp.awb);
isp                91 drivers/media/platform/exynos4-is/fimc-is-param.c 		__hw_param_copy(&par->isp.effect, &cfg->isp.effect);
isp                95 drivers/media/platform/exynos4-is/fimc-is-param.c 		__hw_param_copy(&par->isp.iso, &cfg->isp.iso);
isp                99 drivers/media/platform/exynos4-is/fimc-is-param.c 		__hw_param_copy(&par->isp.adjust, &cfg->isp.adjust);
isp               103 drivers/media/platform/exynos4-is/fimc-is-param.c 		__hw_param_copy(&par->isp.metering, &cfg->isp.metering);
isp               107 drivers/media/platform/exynos4-is/fimc-is-param.c 		__hw_param_copy(&par->isp.afc, &cfg->isp.afc);
isp               111 drivers/media/platform/exynos4-is/fimc-is-param.c 		__hw_param_copy(&par->isp.otf_output, &cfg->isp.otf_output);
isp               115 drivers/media/platform/exynos4-is/fimc-is-param.c 		__hw_param_copy(&par->isp.dma1_output, &cfg->isp.dma1_output);
isp               119 drivers/media/platform/exynos4-is/fimc-is-param.c 		__hw_param_copy(&par->isp.dma2_output, &cfg->isp.dma2_output);
isp               209 drivers/media/platform/exynos4-is/fimc-is-param.c 	struct isp_param *isp;
isp               211 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp = &is->config[is->config_index].isp;
isp               212 drivers/media/platform/exynos4-is/fimc-is-param.c 	mf->width = isp->otf_input.width;
isp               213 drivers/media/platform/exynos4-is/fimc-is-param.c 	mf->height = isp->otf_input.height;
isp               219 drivers/media/platform/exynos4-is/fimc-is-param.c 	struct isp_param *isp;
isp               223 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp = &is->config[index].isp;
isp               228 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_input.width = mf->width;
isp               229 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_input.height = mf->height;
isp               230 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_output.width = mf->width;
isp               231 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_output.height = mf->height;
isp               267 drivers/media/platform/exynos4-is/fimc-is-param.c 	struct isp_param *isp;
isp               270 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp = &is->config[index].isp;
isp               275 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->otf_input.frametime_min = 0;
isp               276 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->otf_input.frametime_max = 66666;
isp               279 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->otf_input.frametime_min = 0;
isp               280 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->otf_input.frametime_max = (u32)1000000 / fps;
isp               289 drivers/media/platform/exynos4-is/fimc-is-param.c 	struct isp_param *isp;
isp               291 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp = &is->config[is->config_index].isp;
isp               293 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->aa.cmd = ISP_AA_COMMAND_START;
isp               294 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->aa.target = ISP_AA_TARGET_AF | ISP_AA_TARGET_AE |
isp               296 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->aa.mode = 0;
isp               297 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->aa.scene = 0;
isp               298 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->aa.sleep = 0;
isp               299 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->aa.face = 0;
isp               300 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->aa.touch_x = 0;
isp               301 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->aa.touch_y = 0;
isp               302 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->aa.manual_af_setting = 0;
isp               303 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->aa.err = ISP_AF_ERROR_NONE;
isp               311 drivers/media/platform/exynos4-is/fimc-is-param.c 	struct isp_param *isp = &is->config[index].isp;
isp               313 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->flash.cmd = cmd;
isp               314 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->flash.redeye = redeye;
isp               315 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->flash.err = ISP_FLASH_ERROR_NONE;
isp               323 drivers/media/platform/exynos4-is/fimc-is-param.c 	struct isp_param *isp;
isp               325 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp = &is->config[index].isp;
isp               327 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->awb.cmd = cmd;
isp               328 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->awb.illumination = val;
isp               329 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->awb.err = ISP_AWB_ERROR_NONE;
isp               337 drivers/media/platform/exynos4-is/fimc-is-param.c 	struct isp_param *isp;
isp               339 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp = &is->config[index].isp;
isp               341 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->effect.cmd = cmd;
isp               342 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->effect.err = ISP_IMAGE_EFFECT_ERROR_NONE;
isp               350 drivers/media/platform/exynos4-is/fimc-is-param.c 	struct isp_param *isp;
isp               352 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp = &is->config[index].isp;
isp               354 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->iso.cmd = cmd;
isp               355 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->iso.value = val;
isp               356 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->iso.err = ISP_ISO_ERROR_NONE;
isp               365 drivers/media/platform/exynos4-is/fimc-is-param.c 	struct isp_param *isp;
isp               368 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp = &is->config[index].isp;
isp               372 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->adjust.contrast = val;
isp               375 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->adjust.saturation = val;
isp               378 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->adjust.sharpness = val;
isp               381 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->adjust.exposure = val;
isp               384 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->adjust.brightness = val;
isp               387 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->adjust.hue = val;
isp               390 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->adjust.contrast = 0;
isp               391 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->adjust.saturation = 0;
isp               392 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->adjust.sharpness = 0;
isp               393 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->adjust.exposure = 0;
isp               394 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->adjust.brightness = 0;
isp               395 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->adjust.hue = 0;
isp               400 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->adjust.cmd = cmd;
isp               401 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->adjust.err = ISP_ADJUST_ERROR_NONE;
isp               404 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->adjust.cmd |= cmd;
isp               411 drivers/media/platform/exynos4-is/fimc-is-param.c 	struct isp_param *isp;
isp               415 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp = &is->config[index].isp;
isp               419 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->metering.cmd = val;
isp               422 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->metering.win_pos_x = val;
isp               425 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->metering.win_pos_y = val;
isp               428 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->metering.win_width = val;
isp               431 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->metering.win_height = val;
isp               438 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->metering.err = ISP_METERING_ERROR_NONE;
isp               446 drivers/media/platform/exynos4-is/fimc-is-param.c 	struct isp_param *isp;
isp               448 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp = &is->config[index].isp;
isp               450 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->afc.cmd = cmd;
isp               451 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->afc.manual = val;
isp               452 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->afc.err = ISP_AFC_ERROR_NONE;
isp               667 drivers/media/platform/exynos4-is/fimc-is-param.c 	struct isp_param *isp;
isp               675 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp = &is->config[index].isp;
isp               685 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->control.cmd = CONTROL_COMMAND_START;
isp               686 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->control.bypass = CONTROL_BYPASS_DISABLE;
isp               687 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->control.err = CONTROL_ERROR_NONE;
isp               690 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_input.cmd = OTF_INPUT_COMMAND_ENABLE;
isp               692 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->otf_input.width = DEFAULT_PREVIEW_STILL_WIDTH;
isp               693 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->otf_input.height = DEFAULT_PREVIEW_STILL_HEIGHT;
isp               697 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->otf_input.format = OTF_INPUT_FORMAT_STRGEN_COLORBAR_BAYER;
isp               699 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->otf_input.format = OTF_INPUT_FORMAT_BAYER;
isp               700 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_input.bitwidth = 10;
isp               701 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_input.order = OTF_INPUT_ORDER_BAYER_GR_BG;
isp               702 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_input.crop_offset_x = 0;
isp               703 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_input.crop_offset_y = 0;
isp               704 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_input.err = OTF_INPUT_ERROR_NONE;
isp               706 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma1_input.cmd = DMA_INPUT_COMMAND_DISABLE;
isp               707 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma1_input.width = 0;
isp               708 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma1_input.height = 0;
isp               709 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma1_input.format = 0;
isp               710 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma1_input.bitwidth = 0;
isp               711 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma1_input.plane = 0;
isp               712 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma1_input.order = 0;
isp               713 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma1_input.buffer_number = 0;
isp               714 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma1_input.width = 0;
isp               715 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma1_input.err = DMA_INPUT_ERROR_NONE;
isp               718 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma2_input.cmd = DMA_INPUT_COMMAND_DISABLE;
isp               719 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma2_input.width = 0;
isp               720 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma2_input.height = 0;
isp               721 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma2_input.format = 0;
isp               722 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma2_input.bitwidth = 0;
isp               723 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma2_input.plane = 0;
isp               724 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma2_input.order = 0;
isp               725 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma2_input.buffer_number = 0;
isp               726 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma2_input.width = 0;
isp               727 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->dma2_input.err = DMA_INPUT_ERROR_NONE;
isp               730 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->aa.cmd = ISP_AA_COMMAND_START;
isp               731 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->aa.target = ISP_AA_TARGET_AE | ISP_AA_TARGET_AWB;
isp               769 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_output.cmd = OTF_OUTPUT_COMMAND_ENABLE;
isp               771 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->otf_output.width = DEFAULT_PREVIEW_STILL_WIDTH;
isp               772 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->otf_output.height = DEFAULT_PREVIEW_STILL_HEIGHT;
isp               775 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_output.format = OTF_OUTPUT_FORMAT_YUV444;
isp               776 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_output.bitwidth = 12;
isp               777 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_output.order = 0;
isp               778 drivers/media/platform/exynos4-is/fimc-is-param.c 	isp->otf_output.err = OTF_OUTPUT_ERROR_NONE;
isp               781 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma1_output.cmd = DMA_OUTPUT_COMMAND_DISABLE;
isp               782 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma1_output.width = 0;
isp               783 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma1_output.height = 0;
isp               784 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma1_output.format = 0;
isp               785 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma1_output.bitwidth = 0;
isp               786 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma1_output.plane = 0;
isp               787 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma1_output.order = 0;
isp               788 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma1_output.buffer_number = 0;
isp               789 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma1_output.buffer_address = 0;
isp               790 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma1_output.notify_dma_done = 0;
isp               791 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma1_output.dma_out_mask = 0;
isp               792 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma1_output.err = DMA_OUTPUT_ERROR_NONE;
isp               797 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma2_output.cmd = DMA_OUTPUT_COMMAND_DISABLE;
isp               798 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma2_output.width = 0;
isp               799 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma2_output.height = 0;
isp               800 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma2_output.format = 0;
isp               801 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma2_output.bitwidth = 0;
isp               802 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma2_output.plane = 0;
isp               803 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma2_output.order = 0;
isp               804 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma2_output.buffer_number = 0;
isp               805 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma2_output.buffer_address = 0;
isp               806 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma2_output.notify_dma_done = 0;
isp               807 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma2_output.dma_out_mask = 0;
isp               808 drivers/media/platform/exynos4-is/fimc-is-param.c 		isp->dma2_output.err = DMA_OUTPUT_ERROR_NONE;
isp               760 drivers/media/platform/exynos4-is/fimc-is-param.h 	struct isp_param		isp;
isp               810 drivers/media/platform/exynos4-is/fimc-is-param.h 	struct is_tune_isp isp;
isp               207 drivers/media/platform/exynos4-is/fimc-is.c 	ret = fimc_isp_subdev_create(&is->isp);
isp               227 drivers/media/platform/exynos4-is/fimc-is.c 	fimc_isp_subdev_destroy(&is->isp);
isp               506 drivers/media/platform/exynos4-is/fimc-is.c 			is->isp.cac_margin_x = is->i2h_cmd.args[1];
isp               507 drivers/media/platform/exynos4-is/fimc-is.c 			is->isp.cac_margin_y = is->i2h_cmd.args[2];
isp               509 drivers/media/platform/exynos4-is/fimc-is.c 				 is->isp.cac_margin_x, is->isp.cac_margin_y);
isp               789 drivers/media/platform/exynos4-is/fimc-is.c 	is->isp.pdev = pdev;
isp               224 drivers/media/platform/exynos4-is/fimc-is.h 	struct isp_param	isp;
isp               254 drivers/media/platform/exynos4-is/fimc-is.h 	struct fimc_isp			isp;
isp               288 drivers/media/platform/exynos4-is/fimc-is.h static inline struct fimc_is *fimc_isp_to_is(struct fimc_isp *isp)
isp               290 drivers/media/platform/exynos4-is/fimc-is.h 	return container_of(isp, struct fimc_is, isp);
isp               312 drivers/media/platform/exynos4-is/fimc-is.h 	is->is_p_region->parameter.isp.control.cmd = cmd;
isp                42 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = vb2_get_drv_priv(vq);
isp                43 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct v4l2_pix_format_mplane *vid_fmt = &isp->video_capture.pixfmt;
isp                44 drivers/media/platform/exynos4-is/fimc-isp-video.c 	const struct fimc_fmt *fmt = isp->video_capture.format;
isp                73 drivers/media/platform/exynos4-is/fimc-isp-video.c 	return &__get_curr_is_config(is)->isp.dma2_output;
isp                79 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = vb2_get_drv_priv(q);
isp                80 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_is *is = fimc_isp_to_is(isp);
isp                82 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_is_video *video = &isp->video_capture;
isp                85 drivers/media/platform/exynos4-is/fimc-isp-video.c 	if (!test_bit(ST_ISP_VID_CAP_BUF_PREP, &isp->state) ||
isp                86 drivers/media/platform/exynos4-is/fimc-isp-video.c 	    test_bit(ST_ISP_VID_CAP_STREAMING, &isp->state))
isp               115 drivers/media/platform/exynos4-is/fimc-isp-video.c 	set_bit(ST_ISP_VID_CAP_STREAMING, &isp->state);
isp               121 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = vb2_get_drv_priv(q);
isp               122 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_is *is = fimc_isp_to_is(isp);
isp               126 drivers/media/platform/exynos4-is/fimc-isp-video.c 	ret = fimc_pipeline_call(&isp->video_capture.ve, set_stream, 0);
isp               145 drivers/media/platform/exynos4-is/fimc-isp-video.c 	clear_bit(ST_ISP_VID_CAP_BUF_PREP, &isp->state);
isp               146 drivers/media/platform/exynos4-is/fimc-isp-video.c 	clear_bit(ST_ISP_VID_CAP_STREAMING, &isp->state);
isp               148 drivers/media/platform/exynos4-is/fimc-isp-video.c 	isp->video_capture.buf_count = 0;
isp               153 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = vb2_get_drv_priv(vb->vb2_queue);
isp               154 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_is_video *video = &isp->video_capture;
isp               173 drivers/media/platform/exynos4-is/fimc-isp-video.c 	if (test_bit(ST_ISP_VID_CAP_BUF_PREP, &isp->state)) {
isp               189 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = vb2_get_drv_priv(vb->vb2_queue);
isp               190 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_is_video *video = &isp->video_capture;
isp               191 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_is *is = fimc_isp_to_is(isp);
isp               196 drivers/media/platform/exynos4-is/fimc-isp-video.c 	if (test_bit(ST_ISP_VID_CAP_BUF_PREP, &isp->state)) {
isp               223 drivers/media/platform/exynos4-is/fimc-isp-video.c 		set_bit(ST_ISP_VID_CAP_BUF_PREP, &isp->state);
isp               226 drivers/media/platform/exynos4-is/fimc-isp-video.c 	if (!test_bit(ST_ISP_VID_CAP_STREAMING, &isp->state))
isp               236 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_is_video *video = &is->isp.video_capture;
isp               241 drivers/media/platform/exynos4-is/fimc-isp-video.c 	if (!test_bit(ST_ISP_VID_CAP_STREAMING, &is->isp.state))
isp               266 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
isp               267 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct exynos_video_entity *ve = &isp->video_capture.ve;
isp               271 drivers/media/platform/exynos4-is/fimc-isp-video.c 	if (mutex_lock_interruptible(&isp->video_lock))
isp               278 drivers/media/platform/exynos4-is/fimc-isp-video.c 	ret = pm_runtime_get_sync(&isp->pdev->dev);
isp               298 drivers/media/platform/exynos4-is/fimc-isp-video.c 	mutex_unlock(&isp->video_lock);
isp               304 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
isp               305 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_is_video *ivc = &isp->video_capture;
isp               309 drivers/media/platform/exynos4-is/fimc-isp-video.c 	mutex_lock(&isp->video_lock);
isp               326 drivers/media/platform/exynos4-is/fimc-isp-video.c 	pm_runtime_put(&isp->pdev->dev);
isp               327 drivers/media/platform/exynos4-is/fimc-isp-video.c 	mutex_unlock(&isp->video_lock);
isp               347 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
isp               349 drivers/media/platform/exynos4-is/fimc-isp-video.c 	__fimc_vidioc_querycap(&isp->pdev->dev, cap);
isp               373 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
isp               375 drivers/media/platform/exynos4-is/fimc-isp-video.c 	f->fmt.pix_mp = isp->video_capture.pixfmt;
isp               379 drivers/media/platform/exynos4-is/fimc-isp-video.c static void __isp_video_try_fmt(struct fimc_isp *isp,
isp               407 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
isp               409 drivers/media/platform/exynos4-is/fimc-isp-video.c 	__isp_video_try_fmt(isp, &f->fmt.pix_mp, NULL);
isp               416 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
isp               417 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_is *is = fimc_isp_to_is(isp);
isp               422 drivers/media/platform/exynos4-is/fimc-isp-video.c 	__isp_video_try_fmt(isp, pixm, &ifmt);
isp               436 drivers/media/platform/exynos4-is/fimc-isp-video.c 	isp->video_capture.format = ifmt;
isp               437 drivers/media/platform/exynos4-is/fimc-isp-video.c 	isp->video_capture.pixfmt = *pixm;
isp               446 drivers/media/platform/exynos4-is/fimc-isp-video.c static int isp_video_pipeline_validate(struct fimc_isp *isp)
isp               448 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct v4l2_subdev *sd = &isp->subdev;
isp               488 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
isp               489 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct exynos_video_entity *ve = &isp->video_capture.ve;
isp               497 drivers/media/platform/exynos4-is/fimc-isp-video.c 	ret = isp_video_pipeline_validate(isp);
isp               505 drivers/media/platform/exynos4-is/fimc-isp-video.c 	isp->video_capture.streaming = 1;
isp               515 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
isp               516 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_is_video *video = &isp->video_capture;
isp               531 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct fimc_isp *isp = video_drvdata(file);
isp               544 drivers/media/platform/exynos4-is/fimc-isp-video.c 	isp->video_capture.reqbufs_count = rb->count;
isp               564 drivers/media/platform/exynos4-is/fimc-isp-video.c int fimc_isp_video_device_register(struct fimc_isp *isp,
isp               568 drivers/media/platform/exynos4-is/fimc-isp-video.c 	struct vb2_queue *q = &isp->video_capture.vb_queue;
isp               574 drivers/media/platform/exynos4-is/fimc-isp-video.c 		iv = &isp->video_capture;
isp               578 drivers/media/platform/exynos4-is/fimc-isp-video.c 	mutex_init(&isp->video_lock);
isp               594 drivers/media/platform/exynos4-is/fimc-isp-video.c 	q->drv_priv = isp;
isp               596 drivers/media/platform/exynos4-is/fimc-isp-video.c 	q->lock = &isp->video_lock;
isp               597 drivers/media/platform/exynos4-is/fimc-isp-video.c 	q->dev = &isp->pdev->dev;
isp               612 drivers/media/platform/exynos4-is/fimc-isp-video.c 	vdev->lock = &isp->video_lock;
isp               620 drivers/media/platform/exynos4-is/fimc-isp-video.c 	video_set_drvdata(vdev, isp);
isp               634 drivers/media/platform/exynos4-is/fimc-isp-video.c void fimc_isp_video_device_unregister(struct fimc_isp *isp,
isp               640 drivers/media/platform/exynos4-is/fimc-isp-video.c 		ve = &isp->video_capture.ve;
isp               644 drivers/media/platform/exynos4-is/fimc-isp-video.c 	mutex_lock(&isp->video_lock);
isp               652 drivers/media/platform/exynos4-is/fimc-isp-video.c 	mutex_unlock(&isp->video_lock);
isp                15 drivers/media/platform/exynos4-is/fimc-isp-video.h int fimc_isp_video_device_register(struct fimc_isp *isp,
isp                19 drivers/media/platform/exynos4-is/fimc-isp-video.h void fimc_isp_video_device_unregister(struct fimc_isp *isp,
isp                28 drivers/media/platform/exynos4-is/fimc-isp-video.h static inline int fimc_isp_video_device_register(struct fimc_isp *isp,
isp                35 drivers/media/platform/exynos4-is/fimc-isp-video.h void fimc_isp_video_device_unregister(struct fimc_isp *isp,
isp               125 drivers/media/platform/exynos4-is/fimc-isp.c 	struct fimc_isp *isp = v4l2_get_subdevdata(sd);
isp               135 drivers/media/platform/exynos4-is/fimc-isp.c 	mutex_lock(&isp->subdev_lock);
isp               139 drivers/media/platform/exynos4-is/fimc-isp.c 		*mf = isp->sink_fmt;
isp               142 drivers/media/platform/exynos4-is/fimc-isp.c 		*mf = isp->src_fmt;
isp               150 drivers/media/platform/exynos4-is/fimc-isp.c 	mutex_unlock(&isp->subdev_lock);
isp               158 drivers/media/platform/exynos4-is/fimc-isp.c static void __isp_subdev_try_format(struct fimc_isp *isp,
isp               175 drivers/media/platform/exynos4-is/fimc-isp.c 			format = v4l2_subdev_get_try_format(&isp->subdev, cfg,
isp               178 drivers/media/platform/exynos4-is/fimc-isp.c 			format = &isp->sink_fmt;
isp               197 drivers/media/platform/exynos4-is/fimc-isp.c 	struct fimc_isp *isp = v4l2_get_subdevdata(sd);
isp               198 drivers/media/platform/exynos4-is/fimc-isp.c 	struct fimc_is *is = fimc_isp_to_is(isp);
isp               205 drivers/media/platform/exynos4-is/fimc-isp.c 	mutex_lock(&isp->subdev_lock);
isp               206 drivers/media/platform/exynos4-is/fimc-isp.c 	__isp_subdev_try_format(isp, cfg, fmt);
isp               220 drivers/media/platform/exynos4-is/fimc-isp.c 				__isp_subdev_try_format(isp, cfg, &format);
isp               230 drivers/media/platform/exynos4-is/fimc-isp.c 				isp->sink_fmt = *mf;
isp               233 drivers/media/platform/exynos4-is/fimc-isp.c 				__isp_subdev_try_format(isp, cfg, &format);
isp               235 drivers/media/platform/exynos4-is/fimc-isp.c 				isp->src_fmt = format.format;
isp               236 drivers/media/platform/exynos4-is/fimc-isp.c 				__is_set_frame_size(is, &isp->src_fmt);
isp               238 drivers/media/platform/exynos4-is/fimc-isp.c 				isp->src_fmt = *mf;
isp               245 drivers/media/platform/exynos4-is/fimc-isp.c 	mutex_unlock(&isp->subdev_lock);
isp               251 drivers/media/platform/exynos4-is/fimc-isp.c 	struct fimc_isp *isp = v4l2_get_subdevdata(sd);
isp               252 drivers/media/platform/exynos4-is/fimc-isp.c 	struct fimc_is *is = fimc_isp_to_is(isp);
isp               300 drivers/media/platform/exynos4-is/fimc-isp.c 	struct fimc_isp *isp = v4l2_get_subdevdata(sd);
isp               301 drivers/media/platform/exynos4-is/fimc-isp.c 	struct fimc_is *is = fimc_isp_to_is(isp);
isp               388 drivers/media/platform/exynos4-is/fimc-isp.c 	struct fimc_isp *isp = v4l2_get_subdevdata(sd);
isp               392 drivers/media/platform/exynos4-is/fimc-isp.c 	isp->video_capture.ve.pipe = v4l2_get_subdev_hostdata(sd);
isp               394 drivers/media/platform/exynos4-is/fimc-isp.c 	ret = fimc_isp_video_device_register(isp, sd->v4l2_dev,
isp               397 drivers/media/platform/exynos4-is/fimc-isp.c 		isp->video_capture.ve.pipe = NULL;
isp               404 drivers/media/platform/exynos4-is/fimc-isp.c 	struct fimc_isp *isp = v4l2_get_subdevdata(sd);
isp               406 drivers/media/platform/exynos4-is/fimc-isp.c 	fimc_isp_video_device_unregister(isp,
isp               470 drivers/media/platform/exynos4-is/fimc-isp.c 	struct isp_param *isp = &is->is_p_region->parameter.isp;
isp               474 drivers/media/platform/exynos4-is/fimc-isp.c 	isp->aa.cmd = cmd;
isp               475 drivers/media/platform/exynos4-is/fimc-isp.c 	isp->aa.target = ISP_AA_TARGET_AE;
isp               485 drivers/media/platform/exynos4-is/fimc-isp.c 	isp->aa.cmd = cmd;
isp               486 drivers/media/platform/exynos4-is/fimc-isp.c 	isp->aa.target = ISP_AA_TARGET_AE;
isp               507 drivers/media/platform/exynos4-is/fimc-isp.c 	idx = is->isp.ctrls.iso->val;
isp               587 drivers/media/platform/exynos4-is/fimc-isp.c 	struct fimc_isp *isp = ctrl_to_fimc_isp(ctrl);
isp               588 drivers/media/platform/exynos4-is/fimc-isp.c 	struct fimc_is *is = fimc_isp_to_is(isp);
isp               654 drivers/media/platform/exynos4-is/fimc-isp.c 		v4l2_err(&isp->subdev, "Failed to set control: %s (%d)\n",
isp               669 drivers/media/platform/exynos4-is/fimc-isp.c static void __isp_subdev_set_default_format(struct fimc_isp *isp)
isp               671 drivers/media/platform/exynos4-is/fimc-isp.c 	struct fimc_is *is = fimc_isp_to_is(isp);
isp               673 drivers/media/platform/exynos4-is/fimc-isp.c 	isp->sink_fmt.width = DEFAULT_PREVIEW_STILL_WIDTH +
isp               675 drivers/media/platform/exynos4-is/fimc-isp.c 	isp->sink_fmt.height = DEFAULT_PREVIEW_STILL_HEIGHT +
isp               677 drivers/media/platform/exynos4-is/fimc-isp.c 	isp->sink_fmt.code = MEDIA_BUS_FMT_SGRBG10_1X10;
isp               679 drivers/media/platform/exynos4-is/fimc-isp.c 	isp->src_fmt.width = DEFAULT_PREVIEW_STILL_WIDTH;
isp               680 drivers/media/platform/exynos4-is/fimc-isp.c 	isp->src_fmt.height = DEFAULT_PREVIEW_STILL_HEIGHT;
isp               681 drivers/media/platform/exynos4-is/fimc-isp.c 	isp->src_fmt.code = MEDIA_BUS_FMT_SGRBG10_1X10;
isp               682 drivers/media/platform/exynos4-is/fimc-isp.c 	__is_set_frame_size(is, &isp->src_fmt);
isp               685 drivers/media/platform/exynos4-is/fimc-isp.c int fimc_isp_subdev_create(struct fimc_isp *isp)
isp               688 drivers/media/platform/exynos4-is/fimc-isp.c 	struct v4l2_ctrl_handler *handler = &isp->ctrls.handler;
isp               689 drivers/media/platform/exynos4-is/fimc-isp.c 	struct v4l2_subdev *sd = &isp->subdev;
isp               690 drivers/media/platform/exynos4-is/fimc-isp.c 	struct fimc_isp_ctrls *ctrls = &isp->ctrls;
isp               693 drivers/media/platform/exynos4-is/fimc-isp.c 	mutex_init(&isp->subdev_lock);
isp               703 drivers/media/platform/exynos4-is/fimc-isp.c 	isp->subdev_pads[FIMC_ISP_SD_PAD_SINK].flags = MEDIA_PAD_FL_SINK;
isp               704 drivers/media/platform/exynos4-is/fimc-isp.c 	isp->subdev_pads[FIMC_ISP_SD_PAD_SRC_FIFO].flags = MEDIA_PAD_FL_SOURCE;
isp               705 drivers/media/platform/exynos4-is/fimc-isp.c 	isp->subdev_pads[FIMC_ISP_SD_PAD_SRC_DMA].flags = MEDIA_PAD_FL_SOURCE;
isp               707 drivers/media/platform/exynos4-is/fimc-isp.c 				isp->subdev_pads);
isp               766 drivers/media/platform/exynos4-is/fimc-isp.c 	v4l2_set_subdevdata(sd, isp);
isp               768 drivers/media/platform/exynos4-is/fimc-isp.c 	__isp_subdev_set_default_format(isp);
isp               773 drivers/media/platform/exynos4-is/fimc-isp.c void fimc_isp_subdev_destroy(struct fimc_isp *isp)
isp               775 drivers/media/platform/exynos4-is/fimc-isp.c 	struct v4l2_subdev *sd = &isp->subdev;
isp               779 drivers/media/platform/exynos4-is/fimc-isp.c 	v4l2_ctrl_handler_free(&isp->ctrls.handler);
isp               183 drivers/media/platform/exynos4-is/fimc-isp.h int fimc_isp_subdev_create(struct fimc_isp *isp);
isp               184 drivers/media/platform/exynos4-is/fimc-isp.h void fimc_isp_subdev_destroy(struct fimc_isp *isp);
isp               186 drivers/media/platform/exynos4-is/fimc-isp.h int fimc_is_create_controls(struct fimc_isp *isp);
isp               187 drivers/media/platform/exynos4-is/fimc-isp.h int fimc_is_delete_controls(struct fimc_isp *isp);
isp               640 drivers/media/platform/exynos4-is/media-dev.c 	struct v4l2_subdev *sd = &is->isp.subdev;
isp               776 drivers/media/platform/exynos4-is/media-dev.c 		v4l2_device_unregister_subdev(&fmd->fimc_is->isp.subdev);
isp               876 drivers/media/platform/exynos4-is/media-dev.c 		sink = &fmd->fimc_is->isp.subdev.entity;
isp               889 drivers/media/platform/exynos4-is/media-dev.c 	struct fimc_isp *isp = &fmd->fimc_is->isp;
isp               893 drivers/media/platform/exynos4-is/media-dev.c 	source = &isp->subdev.entity;
isp               908 drivers/media/platform/exynos4-is/media-dev.c 	sink = &isp->video_capture.ve.vdev.entity;
isp                84 drivers/media/platform/omap3isp/isp.c static void isp_save_ctx(struct isp_device *isp);
isp                86 drivers/media/platform/omap3isp/isp.c static void isp_restore_ctx(struct isp_device *isp);
isp               149 drivers/media/platform/omap3isp/isp.c void omap3isp_flush(struct isp_device *isp)
isp               151 drivers/media/platform/omap3isp/isp.c 	isp_reg_writel(isp, 0, OMAP3_ISP_IOMEM_MAIN, ISP_REVISION);
isp               152 drivers/media/platform/omap3isp/isp.c 	isp_reg_readl(isp, OMAP3_ISP_IOMEM_MAIN, ISP_REVISION);
isp               165 drivers/media/platform/omap3isp/isp.c 		isp_reg_clr_set(xclk->isp, OMAP3_ISP_IOMEM_MAIN, ISP_TCTRL_CTRL,
isp               170 drivers/media/platform/omap3isp/isp.c 		isp_reg_clr_set(xclk->isp, OMAP3_ISP_IOMEM_MAIN, ISP_TCTRL_CTRL,
isp               181 drivers/media/platform/omap3isp/isp.c 	omap3isp_get(xclk->isp);
isp               190 drivers/media/platform/omap3isp/isp.c 	omap3isp_put(xclk->isp);
isp               269 drivers/media/platform/omap3isp/isp.c 	dev_dbg(xclk->isp->dev, "%s: cam_xclk%c set to %lu Hz (div %u)\n",
isp               289 drivers/media/platform/omap3isp/isp.c 	struct isp_device *isp = data;
isp               291 drivers/media/platform/omap3isp/isp.c 	if (idx >= ARRAY_SIZE(isp->xclks))
isp               294 drivers/media/platform/omap3isp/isp.c 	return isp->xclks[idx].clk;
isp               297 drivers/media/platform/omap3isp/isp.c static int isp_xclk_init(struct isp_device *isp)
isp               299 drivers/media/platform/omap3isp/isp.c 	struct device_node *np = isp->dev->of_node;
isp               303 drivers/media/platform/omap3isp/isp.c 	for (i = 0; i < ARRAY_SIZE(isp->xclks); ++i)
isp               304 drivers/media/platform/omap3isp/isp.c 		isp->xclks[i].clk = ERR_PTR(-EINVAL);
isp               306 drivers/media/platform/omap3isp/isp.c 	for (i = 0; i < ARRAY_SIZE(isp->xclks); ++i) {
isp               307 drivers/media/platform/omap3isp/isp.c 		struct isp_xclk *xclk = &isp->xclks[i];
isp               309 drivers/media/platform/omap3isp/isp.c 		xclk->isp = isp;
isp               332 drivers/media/platform/omap3isp/isp.c 		of_clk_add_provider(np, isp_xclk_src_get, isp);
isp               337 drivers/media/platform/omap3isp/isp.c static void isp_xclk_cleanup(struct isp_device *isp)
isp               339 drivers/media/platform/omap3isp/isp.c 	struct device_node *np = isp->dev->of_node;
isp               345 drivers/media/platform/omap3isp/isp.c 	for (i = 0; i < ARRAY_SIZE(isp->xclks); ++i) {
isp               346 drivers/media/platform/omap3isp/isp.c 		struct isp_xclk *xclk = &isp->xclks[i];
isp               361 drivers/media/platform/omap3isp/isp.c static void isp_enable_interrupts(struct isp_device *isp)
isp               376 drivers/media/platform/omap3isp/isp.c 	isp_reg_writel(isp, irq, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0STATUS);
isp               377 drivers/media/platform/omap3isp/isp.c 	isp_reg_writel(isp, irq, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0ENABLE);
isp               384 drivers/media/platform/omap3isp/isp.c static void isp_disable_interrupts(struct isp_device *isp)
isp               386 drivers/media/platform/omap3isp/isp.c 	isp_reg_writel(isp, 0, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0ENABLE);
isp               401 drivers/media/platform/omap3isp/isp.c static void isp_core_init(struct isp_device *isp, int idle)
isp               403 drivers/media/platform/omap3isp/isp.c 	isp_reg_writel(isp,
isp               407 drivers/media/platform/omap3isp/isp.c 			((isp->revision == ISP_REVISION_15_0) ?
isp               411 drivers/media/platform/omap3isp/isp.c 	isp_reg_writel(isp,
isp               412 drivers/media/platform/omap3isp/isp.c 		       (isp->autoidle ? ISPCTRL_SBL_AUTOIDLE : 0) |
isp               428 drivers/media/platform/omap3isp/isp.c void omap3isp_configure_bridge(struct isp_device *isp,
isp               435 drivers/media/platform/omap3isp/isp.c 	ispctrl_val  = isp_reg_readl(isp, OMAP3_ISP_IOMEM_MAIN, ISP_CTRL);
isp               467 drivers/media/platform/omap3isp/isp.c 	isp_reg_writel(isp, ispctrl_val, OMAP3_ISP_IOMEM_MAIN, ISP_CTRL);
isp               470 drivers/media/platform/omap3isp/isp.c void omap3isp_hist_dma_done(struct isp_device *isp)
isp               472 drivers/media/platform/omap3isp/isp.c 	if (omap3isp_ccdc_busy(&isp->isp_ccdc) ||
isp               473 drivers/media/platform/omap3isp/isp.c 	    omap3isp_stat_pcr_busy(&isp->isp_hist)) {
isp               475 drivers/media/platform/omap3isp/isp.c 		atomic_set(&isp->isp_hist.buf_err, 1);
isp               476 drivers/media/platform/omap3isp/isp.c 		dev_dbg(isp->dev,
isp               481 drivers/media/platform/omap3isp/isp.c static inline void isp_isr_dbg(struct isp_device *isp, u32 irqstatus)
isp               519 drivers/media/platform/omap3isp/isp.c 	dev_dbg(isp->dev, "ISP IRQ: ");
isp               528 drivers/media/platform/omap3isp/isp.c static void isp_isr_sbl(struct isp_device *isp)
isp               530 drivers/media/platform/omap3isp/isp.c 	struct device *dev = isp->dev;
isp               538 drivers/media/platform/omap3isp/isp.c 	sbl_pcr = isp_reg_readl(isp, OMAP3_ISP_IOMEM_SBL, ISPSBL_PCR);
isp               539 drivers/media/platform/omap3isp/isp.c 	isp_reg_writel(isp, sbl_pcr, OMAP3_ISP_IOMEM_SBL, ISPSBL_PCR);
isp               546 drivers/media/platform/omap3isp/isp.c 		pipe = to_isp_pipeline(&isp->isp_ccp2.subdev.entity);
isp               552 drivers/media/platform/omap3isp/isp.c 		pipe = to_isp_pipeline(&isp->isp_csi2a.subdev.entity);
isp               558 drivers/media/platform/omap3isp/isp.c 		pipe = to_isp_pipeline(&isp->isp_ccdc.subdev.entity);
isp               564 drivers/media/platform/omap3isp/isp.c 		pipe = to_isp_pipeline(&isp->isp_prev.subdev.entity);
isp               573 drivers/media/platform/omap3isp/isp.c 		pipe = to_isp_pipeline(&isp->isp_res.subdev.entity);
isp               579 drivers/media/platform/omap3isp/isp.c 		omap3isp_stat_sbl_overflow(&isp->isp_af);
isp               582 drivers/media/platform/omap3isp/isp.c 		omap3isp_stat_sbl_overflow(&isp->isp_aewb);
isp               599 drivers/media/platform/omap3isp/isp.c 	struct isp_device *isp = _isp;
isp               602 drivers/media/platform/omap3isp/isp.c 	irqstatus = isp_reg_readl(isp, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0STATUS);
isp               603 drivers/media/platform/omap3isp/isp.c 	isp_reg_writel(isp, irqstatus, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0STATUS);
isp               605 drivers/media/platform/omap3isp/isp.c 	isp_isr_sbl(isp);
isp               608 drivers/media/platform/omap3isp/isp.c 		omap3isp_csi2_isr(&isp->isp_csi2a);
isp               611 drivers/media/platform/omap3isp/isp.c 		omap3isp_ccp2_isr(&isp->isp_ccp2);
isp               614 drivers/media/platform/omap3isp/isp.c 		if (isp->isp_ccdc.output & CCDC_OUTPUT_PREVIEW)
isp               615 drivers/media/platform/omap3isp/isp.c 			omap3isp_preview_isr_frame_sync(&isp->isp_prev);
isp               616 drivers/media/platform/omap3isp/isp.c 		if (isp->isp_ccdc.output & CCDC_OUTPUT_RESIZER)
isp               617 drivers/media/platform/omap3isp/isp.c 			omap3isp_resizer_isr_frame_sync(&isp->isp_res);
isp               618 drivers/media/platform/omap3isp/isp.c 		omap3isp_stat_isr_frame_sync(&isp->isp_aewb);
isp               619 drivers/media/platform/omap3isp/isp.c 		omap3isp_stat_isr_frame_sync(&isp->isp_af);
isp               620 drivers/media/platform/omap3isp/isp.c 		omap3isp_stat_isr_frame_sync(&isp->isp_hist);
isp               624 drivers/media/platform/omap3isp/isp.c 		omap3isp_ccdc_isr(&isp->isp_ccdc, irqstatus & ccdc_events);
isp               627 drivers/media/platform/omap3isp/isp.c 		if (isp->isp_prev.output & PREVIEW_OUTPUT_RESIZER)
isp               628 drivers/media/platform/omap3isp/isp.c 			omap3isp_resizer_isr_frame_sync(&isp->isp_res);
isp               629 drivers/media/platform/omap3isp/isp.c 		omap3isp_preview_isr(&isp->isp_prev);
isp               633 drivers/media/platform/omap3isp/isp.c 		omap3isp_resizer_isr(&isp->isp_res);
isp               636 drivers/media/platform/omap3isp/isp.c 		omap3isp_stat_isr(&isp->isp_aewb);
isp               639 drivers/media/platform/omap3isp/isp.c 		omap3isp_stat_isr(&isp->isp_af);
isp               642 drivers/media/platform/omap3isp/isp.c 		omap3isp_stat_isr(&isp->isp_hist);
isp               644 drivers/media/platform/omap3isp/isp.c 	omap3isp_flush(isp);
isp               647 drivers/media/platform/omap3isp/isp.c 	isp_isr_dbg(isp, irqstatus);
isp               675 drivers/media/platform/omap3isp/isp.c 	struct isp_device *isp = pipe->output->isp;
isp               687 drivers/media/platform/omap3isp/isp.c 	if (media_entity_enum_intersects(&pipe->ent_enum, &isp->crashed))
isp               713 drivers/media/platform/omap3isp/isp.c 		if (subdev == &isp->isp_ccdc.subdev) {
isp               714 drivers/media/platform/omap3isp/isp.c 			v4l2_subdev_call(&isp->isp_aewb.subdev, video,
isp               716 drivers/media/platform/omap3isp/isp.c 			v4l2_subdev_call(&isp->isp_af.subdev, video,
isp               718 drivers/media/platform/omap3isp/isp.c 			v4l2_subdev_call(&isp->isp_hist.subdev, video,
isp               724 drivers/media/platform/omap3isp/isp.c 		if (subdev->dev != isp->dev)
isp               731 drivers/media/platform/omap3isp/isp.c static int isp_pipeline_wait_resizer(struct isp_device *isp)
isp               733 drivers/media/platform/omap3isp/isp.c 	return omap3isp_resizer_busy(&isp->isp_res);
isp               736 drivers/media/platform/omap3isp/isp.c static int isp_pipeline_wait_preview(struct isp_device *isp)
isp               738 drivers/media/platform/omap3isp/isp.c 	return omap3isp_preview_busy(&isp->isp_prev);
isp               741 drivers/media/platform/omap3isp/isp.c static int isp_pipeline_wait_ccdc(struct isp_device *isp)
isp               743 drivers/media/platform/omap3isp/isp.c 	return omap3isp_stat_busy(&isp->isp_af)
isp               744 drivers/media/platform/omap3isp/isp.c 	    || omap3isp_stat_busy(&isp->isp_aewb)
isp               745 drivers/media/platform/omap3isp/isp.c 	    || omap3isp_stat_busy(&isp->isp_hist)
isp               746 drivers/media/platform/omap3isp/isp.c 	    || omap3isp_ccdc_busy(&isp->isp_ccdc);
isp               751 drivers/media/platform/omap3isp/isp.c static int isp_pipeline_wait(struct isp_device *isp,
isp               752 drivers/media/platform/omap3isp/isp.c 			     int(*busy)(struct isp_device *isp))
isp               757 drivers/media/platform/omap3isp/isp.c 		if (!busy(isp))
isp               778 drivers/media/platform/omap3isp/isp.c 	struct isp_device *isp = pipe->output->isp;
isp               802 drivers/media/platform/omap3isp/isp.c 		if (subdev == &isp->isp_ccdc.subdev) {
isp               803 drivers/media/platform/omap3isp/isp.c 			v4l2_subdev_call(&isp->isp_aewb.subdev,
isp               805 drivers/media/platform/omap3isp/isp.c 			v4l2_subdev_call(&isp->isp_af.subdev,
isp               807 drivers/media/platform/omap3isp/isp.c 			v4l2_subdev_call(&isp->isp_hist.subdev,
isp               813 drivers/media/platform/omap3isp/isp.c 		if (subdev == &isp->isp_res.subdev)
isp               814 drivers/media/platform/omap3isp/isp.c 			ret |= isp_pipeline_wait(isp, isp_pipeline_wait_resizer);
isp               815 drivers/media/platform/omap3isp/isp.c 		else if (subdev == &isp->isp_prev.subdev)
isp               816 drivers/media/platform/omap3isp/isp.c 			ret |= isp_pipeline_wait(isp, isp_pipeline_wait_preview);
isp               817 drivers/media/platform/omap3isp/isp.c 		else if (subdev == &isp->isp_ccdc.subdev)
isp               818 drivers/media/platform/omap3isp/isp.c 			ret |= isp_pipeline_wait(isp, isp_pipeline_wait_ccdc);
isp               833 drivers/media/platform/omap3isp/isp.c 			dev_info(isp->dev, "Unable to stop %s\n", subdev->name);
isp               834 drivers/media/platform/omap3isp/isp.c 			isp->stop_failure = true;
isp               835 drivers/media/platform/omap3isp/isp.c 			if (subdev == &isp->isp_prev.subdev)
isp               836 drivers/media/platform/omap3isp/isp.c 				media_entity_enum_set(&isp->crashed,
isp               842 drivers/media/platform/omap3isp/isp.c 		if (subdev->dev != isp->dev)
isp               979 drivers/media/platform/omap3isp/isp.c static int __maybe_unused isp_suspend_modules(struct isp_device *isp)
isp               983 drivers/media/platform/omap3isp/isp.c 	omap3isp_stat_suspend(&isp->isp_aewb);
isp               984 drivers/media/platform/omap3isp/isp.c 	omap3isp_stat_suspend(&isp->isp_af);
isp               985 drivers/media/platform/omap3isp/isp.c 	omap3isp_stat_suspend(&isp->isp_hist);
isp               986 drivers/media/platform/omap3isp/isp.c 	isp_suspend_module_pipeline(&isp->isp_res.subdev.entity);
isp               987 drivers/media/platform/omap3isp/isp.c 	isp_suspend_module_pipeline(&isp->isp_prev.subdev.entity);
isp               988 drivers/media/platform/omap3isp/isp.c 	isp_suspend_module_pipeline(&isp->isp_ccdc.subdev.entity);
isp               989 drivers/media/platform/omap3isp/isp.c 	isp_suspend_module_pipeline(&isp->isp_csi2a.subdev.entity);
isp               990 drivers/media/platform/omap3isp/isp.c 	isp_suspend_module_pipeline(&isp->isp_ccp2.subdev.entity);
isp               993 drivers/media/platform/omap3isp/isp.c 	while (omap3isp_stat_busy(&isp->isp_af)
isp               994 drivers/media/platform/omap3isp/isp.c 	    || omap3isp_stat_busy(&isp->isp_aewb)
isp               995 drivers/media/platform/omap3isp/isp.c 	    || omap3isp_stat_busy(&isp->isp_hist)
isp               996 drivers/media/platform/omap3isp/isp.c 	    || omap3isp_preview_busy(&isp->isp_prev)
isp               997 drivers/media/platform/omap3isp/isp.c 	    || omap3isp_resizer_busy(&isp->isp_res)
isp               998 drivers/media/platform/omap3isp/isp.c 	    || omap3isp_ccdc_busy(&isp->isp_ccdc)) {
isp              1000 drivers/media/platform/omap3isp/isp.c 			dev_info(isp->dev, "can't stop modules.\n");
isp              1013 drivers/media/platform/omap3isp/isp.c static void __maybe_unused isp_resume_modules(struct isp_device *isp)
isp              1015 drivers/media/platform/omap3isp/isp.c 	omap3isp_stat_resume(&isp->isp_aewb);
isp              1016 drivers/media/platform/omap3isp/isp.c 	omap3isp_stat_resume(&isp->isp_af);
isp              1017 drivers/media/platform/omap3isp/isp.c 	omap3isp_stat_resume(&isp->isp_hist);
isp              1018 drivers/media/platform/omap3isp/isp.c 	isp_resume_module_pipeline(&isp->isp_res.subdev.entity);
isp              1019 drivers/media/platform/omap3isp/isp.c 	isp_resume_module_pipeline(&isp->isp_prev.subdev.entity);
isp              1020 drivers/media/platform/omap3isp/isp.c 	isp_resume_module_pipeline(&isp->isp_ccdc.subdev.entity);
isp              1021 drivers/media/platform/omap3isp/isp.c 	isp_resume_module_pipeline(&isp->isp_csi2a.subdev.entity);
isp              1022 drivers/media/platform/omap3isp/isp.c 	isp_resume_module_pipeline(&isp->isp_ccp2.subdev.entity);
isp              1029 drivers/media/platform/omap3isp/isp.c static int isp_reset(struct isp_device *isp)
isp              1033 drivers/media/platform/omap3isp/isp.c 	isp_reg_writel(isp,
isp              1034 drivers/media/platform/omap3isp/isp.c 		       isp_reg_readl(isp, OMAP3_ISP_IOMEM_MAIN, ISP_SYSCONFIG)
isp              1037 drivers/media/platform/omap3isp/isp.c 	while (!(isp_reg_readl(isp, OMAP3_ISP_IOMEM_MAIN,
isp              1040 drivers/media/platform/omap3isp/isp.c 			dev_alert(isp->dev, "cannot reset ISP\n");
isp              1046 drivers/media/platform/omap3isp/isp.c 	isp->stop_failure = false;
isp              1047 drivers/media/platform/omap3isp/isp.c 	media_entity_enum_zero(&isp->crashed);
isp              1058 drivers/media/platform/omap3isp/isp.c isp_save_context(struct isp_device *isp, struct isp_reg *reg_list)
isp              1063 drivers/media/platform/omap3isp/isp.c 		next->val = isp_reg_readl(isp, next->mmio_range, next->reg);
isp              1073 drivers/media/platform/omap3isp/isp.c isp_restore_context(struct isp_device *isp, struct isp_reg *reg_list)
isp              1078 drivers/media/platform/omap3isp/isp.c 		isp_reg_writel(isp, next->val, next->mmio_range, next->reg);
isp              1088 drivers/media/platform/omap3isp/isp.c static void isp_save_ctx(struct isp_device *isp)
isp              1090 drivers/media/platform/omap3isp/isp.c 	isp_save_context(isp, isp_reg_list);
isp              1091 drivers/media/platform/omap3isp/isp.c 	omap_iommu_save_ctx(isp->dev);
isp              1101 drivers/media/platform/omap3isp/isp.c static void isp_restore_ctx(struct isp_device *isp)
isp              1103 drivers/media/platform/omap3isp/isp.c 	isp_restore_context(isp, isp_reg_list);
isp              1104 drivers/media/platform/omap3isp/isp.c 	omap_iommu_restore_ctx(isp->dev);
isp              1105 drivers/media/platform/omap3isp/isp.c 	omap3isp_ccdc_restore_context(isp);
isp              1106 drivers/media/platform/omap3isp/isp.c 	omap3isp_preview_restore_context(isp);
isp              1122 drivers/media/platform/omap3isp/isp.c void omap3isp_sbl_enable(struct isp_device *isp, enum isp_sbl_resource res)
isp              1126 drivers/media/platform/omap3isp/isp.c 	isp->sbl_resources |= res;
isp              1128 drivers/media/platform/omap3isp/isp.c 	if (isp->sbl_resources & OMAP3_ISP_SBL_CSI1_READ)
isp              1131 drivers/media/platform/omap3isp/isp.c 	if (isp->sbl_resources & OMAP3_ISP_SBL_CCDC_LSC_READ)
isp              1134 drivers/media/platform/omap3isp/isp.c 	if (isp->sbl_resources & OMAP3_ISP_SBL_CSI2C_WRITE)
isp              1137 drivers/media/platform/omap3isp/isp.c 	if (isp->sbl_resources & OMAP3_ISP_SBL_RESIZER_WRITE)
isp              1140 drivers/media/platform/omap3isp/isp.c 	if (isp->sbl_resources & OMAP3_ISP_SBL_WRITE)
isp              1143 drivers/media/platform/omap3isp/isp.c 	if (isp->sbl_resources & OMAP3_ISP_SBL_READ)
isp              1146 drivers/media/platform/omap3isp/isp.c 	isp_reg_set(isp, OMAP3_ISP_IOMEM_MAIN, ISP_CTRL, sbl);
isp              1149 drivers/media/platform/omap3isp/isp.c void omap3isp_sbl_disable(struct isp_device *isp, enum isp_sbl_resource res)
isp              1153 drivers/media/platform/omap3isp/isp.c 	isp->sbl_resources &= ~res;
isp              1155 drivers/media/platform/omap3isp/isp.c 	if (!(isp->sbl_resources & OMAP3_ISP_SBL_CSI1_READ))
isp              1158 drivers/media/platform/omap3isp/isp.c 	if (!(isp->sbl_resources & OMAP3_ISP_SBL_CCDC_LSC_READ))
isp              1161 drivers/media/platform/omap3isp/isp.c 	if (!(isp->sbl_resources & OMAP3_ISP_SBL_CSI2C_WRITE))
isp              1164 drivers/media/platform/omap3isp/isp.c 	if (!(isp->sbl_resources & OMAP3_ISP_SBL_RESIZER_WRITE))
isp              1167 drivers/media/platform/omap3isp/isp.c 	if (!(isp->sbl_resources & OMAP3_ISP_SBL_WRITE))
isp              1170 drivers/media/platform/omap3isp/isp.c 	if (!(isp->sbl_resources & OMAP3_ISP_SBL_READ))
isp              1173 drivers/media/platform/omap3isp/isp.c 	isp_reg_clr(isp, OMAP3_ISP_IOMEM_MAIN, ISP_CTRL, sbl);
isp              1263 drivers/media/platform/omap3isp/isp.c static void __isp_subclk_update(struct isp_device *isp)
isp              1268 drivers/media/platform/omap3isp/isp.c 	if (isp->subclk_resources &
isp              1272 drivers/media/platform/omap3isp/isp.c 	if (isp->subclk_resources & OMAP3_ISP_SUBCLK_HIST)
isp              1275 drivers/media/platform/omap3isp/isp.c 	if (isp->subclk_resources & OMAP3_ISP_SUBCLK_RESIZER)
isp              1281 drivers/media/platform/omap3isp/isp.c 	if (isp->subclk_resources & OMAP3_ISP_SUBCLK_CCDC)
isp              1284 drivers/media/platform/omap3isp/isp.c 	if (isp->subclk_resources & OMAP3_ISP_SUBCLK_PREVIEW)
isp              1287 drivers/media/platform/omap3isp/isp.c 	isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_MAIN, ISP_CTRL,
isp              1291 drivers/media/platform/omap3isp/isp.c void omap3isp_subclk_enable(struct isp_device *isp,
isp              1294 drivers/media/platform/omap3isp/isp.c 	isp->subclk_resources |= res;
isp              1296 drivers/media/platform/omap3isp/isp.c 	__isp_subclk_update(isp);
isp              1299 drivers/media/platform/omap3isp/isp.c void omap3isp_subclk_disable(struct isp_device *isp,
isp              1302 drivers/media/platform/omap3isp/isp.c 	isp->subclk_resources &= ~res;
isp              1304 drivers/media/platform/omap3isp/isp.c 	__isp_subclk_update(isp);
isp              1314 drivers/media/platform/omap3isp/isp.c static int isp_enable_clocks(struct isp_device *isp)
isp              1319 drivers/media/platform/omap3isp/isp.c 	r = clk_prepare_enable(isp->clock[ISP_CLK_CAM_ICK]);
isp              1321 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "failed to enable cam_ick clock\n");
isp              1324 drivers/media/platform/omap3isp/isp.c 	r = clk_set_rate(isp->clock[ISP_CLK_CAM_MCLK], CM_CAM_MCLK_HZ);
isp              1326 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "clk_set_rate for cam_mclk failed\n");
isp              1329 drivers/media/platform/omap3isp/isp.c 	r = clk_prepare_enable(isp->clock[ISP_CLK_CAM_MCLK]);
isp              1331 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "failed to enable cam_mclk clock\n");
isp              1334 drivers/media/platform/omap3isp/isp.c 	rate = clk_get_rate(isp->clock[ISP_CLK_CAM_MCLK]);
isp              1336 drivers/media/platform/omap3isp/isp.c 		dev_warn(isp->dev, "unexpected cam_mclk rate:\n"
isp              1339 drivers/media/platform/omap3isp/isp.c 	r = clk_prepare_enable(isp->clock[ISP_CLK_CSI2_FCK]);
isp              1341 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "failed to enable csi2_fck clock\n");
isp              1347 drivers/media/platform/omap3isp/isp.c 	clk_disable_unprepare(isp->clock[ISP_CLK_CAM_MCLK]);
isp              1349 drivers/media/platform/omap3isp/isp.c 	clk_disable_unprepare(isp->clock[ISP_CLK_CAM_ICK]);
isp              1358 drivers/media/platform/omap3isp/isp.c static void isp_disable_clocks(struct isp_device *isp)
isp              1360 drivers/media/platform/omap3isp/isp.c 	clk_disable_unprepare(isp->clock[ISP_CLK_CAM_ICK]);
isp              1361 drivers/media/platform/omap3isp/isp.c 	clk_disable_unprepare(isp->clock[ISP_CLK_CAM_MCLK]);
isp              1362 drivers/media/platform/omap3isp/isp.c 	clk_disable_unprepare(isp->clock[ISP_CLK_CSI2_FCK]);
isp              1372 drivers/media/platform/omap3isp/isp.c static int isp_get_clocks(struct isp_device *isp)
isp              1378 drivers/media/platform/omap3isp/isp.c 		clk = devm_clk_get(isp->dev, isp_clocks[i]);
isp              1380 drivers/media/platform/omap3isp/isp.c 			dev_err(isp->dev, "clk_get %s failed\n", isp_clocks[i]);
isp              1384 drivers/media/platform/omap3isp/isp.c 		isp->clock[i] = clk;
isp              1400 drivers/media/platform/omap3isp/isp.c static struct isp_device *__omap3isp_get(struct isp_device *isp, bool irq)
isp              1402 drivers/media/platform/omap3isp/isp.c 	struct isp_device *__isp = isp;
isp              1404 drivers/media/platform/omap3isp/isp.c 	if (isp == NULL)
isp              1407 drivers/media/platform/omap3isp/isp.c 	mutex_lock(&isp->isp_mutex);
isp              1408 drivers/media/platform/omap3isp/isp.c 	if (isp->ref_count > 0)
isp              1411 drivers/media/platform/omap3isp/isp.c 	if (isp_enable_clocks(isp) < 0) {
isp              1417 drivers/media/platform/omap3isp/isp.c 	if (isp->has_context)
isp              1418 drivers/media/platform/omap3isp/isp.c 		isp_restore_ctx(isp);
isp              1421 drivers/media/platform/omap3isp/isp.c 		isp_enable_interrupts(isp);
isp              1425 drivers/media/platform/omap3isp/isp.c 		isp->ref_count++;
isp              1426 drivers/media/platform/omap3isp/isp.c 	mutex_unlock(&isp->isp_mutex);
isp              1431 drivers/media/platform/omap3isp/isp.c struct isp_device *omap3isp_get(struct isp_device *isp)
isp              1433 drivers/media/platform/omap3isp/isp.c 	return __omap3isp_get(isp, true);
isp              1442 drivers/media/platform/omap3isp/isp.c static void __omap3isp_put(struct isp_device *isp, bool save_ctx)
isp              1444 drivers/media/platform/omap3isp/isp.c 	if (isp == NULL)
isp              1447 drivers/media/platform/omap3isp/isp.c 	mutex_lock(&isp->isp_mutex);
isp              1448 drivers/media/platform/omap3isp/isp.c 	BUG_ON(isp->ref_count == 0);
isp              1449 drivers/media/platform/omap3isp/isp.c 	if (--isp->ref_count == 0) {
isp              1450 drivers/media/platform/omap3isp/isp.c 		isp_disable_interrupts(isp);
isp              1452 drivers/media/platform/omap3isp/isp.c 			isp_save_ctx(isp);
isp              1453 drivers/media/platform/omap3isp/isp.c 			isp->has_context = 1;
isp              1458 drivers/media/platform/omap3isp/isp.c 		if (!media_entity_enum_empty(&isp->crashed) ||
isp              1459 drivers/media/platform/omap3isp/isp.c 		    isp->stop_failure)
isp              1460 drivers/media/platform/omap3isp/isp.c 			isp_reset(isp);
isp              1461 drivers/media/platform/omap3isp/isp.c 		isp_disable_clocks(isp);
isp              1463 drivers/media/platform/omap3isp/isp.c 	mutex_unlock(&isp->isp_mutex);
isp              1466 drivers/media/platform/omap3isp/isp.c void omap3isp_put(struct isp_device *isp)
isp              1468 drivers/media/platform/omap3isp/isp.c 	__omap3isp_put(isp, true);
isp              1479 drivers/media/platform/omap3isp/isp.c #define ISP_PRINT_REGISTER(isp, name)\
isp              1480 drivers/media/platform/omap3isp/isp.c 	dev_dbg(isp->dev, "###ISP " #name "=0x%08x\n", \
isp              1481 drivers/media/platform/omap3isp/isp.c 		isp_reg_readl(isp, OMAP3_ISP_IOMEM_MAIN, ISP_##name))
isp              1482 drivers/media/platform/omap3isp/isp.c #define SBL_PRINT_REGISTER(isp, name)\
isp              1483 drivers/media/platform/omap3isp/isp.c 	dev_dbg(isp->dev, "###SBL " #name "=0x%08x\n", \
isp              1484 drivers/media/platform/omap3isp/isp.c 		isp_reg_readl(isp, OMAP3_ISP_IOMEM_SBL, ISPSBL_##name))
isp              1486 drivers/media/platform/omap3isp/isp.c void omap3isp_print_status(struct isp_device *isp)
isp              1488 drivers/media/platform/omap3isp/isp.c 	dev_dbg(isp->dev, "-------------ISP Register dump--------------\n");
isp              1490 drivers/media/platform/omap3isp/isp.c 	ISP_PRINT_REGISTER(isp, SYSCONFIG);
isp              1491 drivers/media/platform/omap3isp/isp.c 	ISP_PRINT_REGISTER(isp, SYSSTATUS);
isp              1492 drivers/media/platform/omap3isp/isp.c 	ISP_PRINT_REGISTER(isp, IRQ0ENABLE);
isp              1493 drivers/media/platform/omap3isp/isp.c 	ISP_PRINT_REGISTER(isp, IRQ0STATUS);
isp              1494 drivers/media/platform/omap3isp/isp.c 	ISP_PRINT_REGISTER(isp, TCTRL_GRESET_LENGTH);
isp              1495 drivers/media/platform/omap3isp/isp.c 	ISP_PRINT_REGISTER(isp, TCTRL_PSTRB_REPLAY);
isp              1496 drivers/media/platform/omap3isp/isp.c 	ISP_PRINT_REGISTER(isp, CTRL);
isp              1497 drivers/media/platform/omap3isp/isp.c 	ISP_PRINT_REGISTER(isp, TCTRL_CTRL);
isp              1498 drivers/media/platform/omap3isp/isp.c 	ISP_PRINT_REGISTER(isp, TCTRL_FRAME);
isp              1499 drivers/media/platform/omap3isp/isp.c 	ISP_PRINT_REGISTER(isp, TCTRL_PSTRB_DELAY);
isp              1500 drivers/media/platform/omap3isp/isp.c 	ISP_PRINT_REGISTER(isp, TCTRL_STRB_DELAY);
isp              1501 drivers/media/platform/omap3isp/isp.c 	ISP_PRINT_REGISTER(isp, TCTRL_SHUT_DELAY);
isp              1502 drivers/media/platform/omap3isp/isp.c 	ISP_PRINT_REGISTER(isp, TCTRL_PSTRB_LENGTH);
isp              1503 drivers/media/platform/omap3isp/isp.c 	ISP_PRINT_REGISTER(isp, TCTRL_STRB_LENGTH);
isp              1504 drivers/media/platform/omap3isp/isp.c 	ISP_PRINT_REGISTER(isp, TCTRL_SHUT_LENGTH);
isp              1506 drivers/media/platform/omap3isp/isp.c 	SBL_PRINT_REGISTER(isp, PCR);
isp              1507 drivers/media/platform/omap3isp/isp.c 	SBL_PRINT_REGISTER(isp, SDR_REQ_EXP);
isp              1509 drivers/media/platform/omap3isp/isp.c 	dev_dbg(isp->dev, "--------------------------------------------\n");
isp              1533 drivers/media/platform/omap3isp/isp.c 	struct isp_device *isp = dev_get_drvdata(dev);
isp              1536 drivers/media/platform/omap3isp/isp.c 	WARN_ON(mutex_is_locked(&isp->isp_mutex));
isp              1538 drivers/media/platform/omap3isp/isp.c 	if (isp->ref_count == 0)
isp              1541 drivers/media/platform/omap3isp/isp.c 	reset = isp_suspend_modules(isp);
isp              1542 drivers/media/platform/omap3isp/isp.c 	isp_disable_interrupts(isp);
isp              1543 drivers/media/platform/omap3isp/isp.c 	isp_save_ctx(isp);
isp              1545 drivers/media/platform/omap3isp/isp.c 		isp_reset(isp);
isp              1552 drivers/media/platform/omap3isp/isp.c 	struct isp_device *isp = dev_get_drvdata(dev);
isp              1554 drivers/media/platform/omap3isp/isp.c 	WARN_ON(mutex_is_locked(&isp->isp_mutex));
isp              1556 drivers/media/platform/omap3isp/isp.c 	if (isp->ref_count)
isp              1557 drivers/media/platform/omap3isp/isp.c 		isp_disable_clocks(isp);
isp              1564 drivers/media/platform/omap3isp/isp.c 	struct isp_device *isp = dev_get_drvdata(dev);
isp              1566 drivers/media/platform/omap3isp/isp.c 	if (isp->ref_count == 0)
isp              1569 drivers/media/platform/omap3isp/isp.c 	return isp_enable_clocks(isp);
isp              1574 drivers/media/platform/omap3isp/isp.c 	struct isp_device *isp = dev_get_drvdata(dev);
isp              1576 drivers/media/platform/omap3isp/isp.c 	if (isp->ref_count == 0)
isp              1579 drivers/media/platform/omap3isp/isp.c 	isp_restore_ctx(isp);
isp              1580 drivers/media/platform/omap3isp/isp.c 	isp_enable_interrupts(isp);
isp              1581 drivers/media/platform/omap3isp/isp.c 	isp_resume_modules(isp);
isp              1593 drivers/media/platform/omap3isp/isp.c static void isp_unregister_entities(struct isp_device *isp)
isp              1595 drivers/media/platform/omap3isp/isp.c 	media_device_unregister(&isp->media_dev);
isp              1597 drivers/media/platform/omap3isp/isp.c 	omap3isp_csi2_unregister_entities(&isp->isp_csi2a);
isp              1598 drivers/media/platform/omap3isp/isp.c 	omap3isp_ccp2_unregister_entities(&isp->isp_ccp2);
isp              1599 drivers/media/platform/omap3isp/isp.c 	omap3isp_ccdc_unregister_entities(&isp->isp_ccdc);
isp              1600 drivers/media/platform/omap3isp/isp.c 	omap3isp_preview_unregister_entities(&isp->isp_prev);
isp              1601 drivers/media/platform/omap3isp/isp.c 	omap3isp_resizer_unregister_entities(&isp->isp_res);
isp              1602 drivers/media/platform/omap3isp/isp.c 	omap3isp_stat_unregister_entities(&isp->isp_aewb);
isp              1603 drivers/media/platform/omap3isp/isp.c 	omap3isp_stat_unregister_entities(&isp->isp_af);
isp              1604 drivers/media/platform/omap3isp/isp.c 	omap3isp_stat_unregister_entities(&isp->isp_hist);
isp              1606 drivers/media/platform/omap3isp/isp.c 	v4l2_device_unregister(&isp->v4l2_dev);
isp              1607 drivers/media/platform/omap3isp/isp.c 	media_device_cleanup(&isp->media_dev);
isp              1611 drivers/media/platform/omap3isp/isp.c 	struct isp_device *isp, struct media_entity *entity,
isp              1626 drivers/media/platform/omap3isp/isp.c 		input = &isp->isp_ccdc.subdev.entity;
isp              1632 drivers/media/platform/omap3isp/isp.c 		input = &isp->isp_csi2a.subdev.entity;
isp              1639 drivers/media/platform/omap3isp/isp.c 		input = &isp->isp_ccp2.subdev.entity;
isp              1645 drivers/media/platform/omap3isp/isp.c 		input = &isp->isp_csi2c.subdev.entity;
isp              1651 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "%s: invalid interface type %u\n", __func__,
isp              1663 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "%s: invalid input %u\n", entity->name,
isp              1673 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "%s: no source pad in external entity %s\n",
isp              1681 drivers/media/platform/omap3isp/isp.c static int isp_register_entities(struct isp_device *isp)
isp              1685 drivers/media/platform/omap3isp/isp.c 	isp->media_dev.dev = isp->dev;
isp              1686 drivers/media/platform/omap3isp/isp.c 	strscpy(isp->media_dev.model, "TI OMAP3 ISP",
isp              1687 drivers/media/platform/omap3isp/isp.c 		sizeof(isp->media_dev.model));
isp              1688 drivers/media/platform/omap3isp/isp.c 	isp->media_dev.hw_revision = isp->revision;
isp              1689 drivers/media/platform/omap3isp/isp.c 	isp->media_dev.ops = &isp_media_ops;
isp              1690 drivers/media/platform/omap3isp/isp.c 	media_device_init(&isp->media_dev);
isp              1692 drivers/media/platform/omap3isp/isp.c 	isp->v4l2_dev.mdev = &isp->media_dev;
isp              1693 drivers/media/platform/omap3isp/isp.c 	ret = v4l2_device_register(isp->dev, &isp->v4l2_dev);
isp              1695 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "%s: V4L2 device registration failed (%d)\n",
isp              1701 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_ccp2_register_entities(&isp->isp_ccp2, &isp->v4l2_dev);
isp              1705 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_csi2_register_entities(&isp->isp_csi2a, &isp->v4l2_dev);
isp              1709 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_ccdc_register_entities(&isp->isp_ccdc, &isp->v4l2_dev);
isp              1713 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_preview_register_entities(&isp->isp_prev,
isp              1714 drivers/media/platform/omap3isp/isp.c 						 &isp->v4l2_dev);
isp              1718 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_resizer_register_entities(&isp->isp_res, &isp->v4l2_dev);
isp              1722 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_stat_register_entities(&isp->isp_aewb, &isp->v4l2_dev);
isp              1726 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_stat_register_entities(&isp->isp_af, &isp->v4l2_dev);
isp              1730 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_stat_register_entities(&isp->isp_hist, &isp->v4l2_dev);
isp              1736 drivers/media/platform/omap3isp/isp.c 		isp_unregister_entities(isp);
isp              1750 drivers/media/platform/omap3isp/isp.c static int isp_create_links(struct isp_device *isp)
isp              1756 drivers/media/platform/omap3isp/isp.c 			&isp->isp_csi2a.subdev.entity, CSI2_PAD_SOURCE,
isp              1757 drivers/media/platform/omap3isp/isp.c 			&isp->isp_csi2a.video_out.video.entity, 0, 0);
isp              1762 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccp2.video_in.video.entity, 0,
isp              1763 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccp2.subdev.entity, CCP2_PAD_SINK, 0);
isp              1768 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SOURCE_OF,
isp              1769 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.video_out.video.entity, 0, 0);
isp              1774 drivers/media/platform/omap3isp/isp.c 			&isp->isp_prev.video_in.video.entity, 0,
isp              1775 drivers/media/platform/omap3isp/isp.c 			&isp->isp_prev.subdev.entity, PREV_PAD_SINK, 0);
isp              1780 drivers/media/platform/omap3isp/isp.c 			&isp->isp_prev.subdev.entity, PREV_PAD_SOURCE,
isp              1781 drivers/media/platform/omap3isp/isp.c 			&isp->isp_prev.video_out.video.entity, 0, 0);
isp              1786 drivers/media/platform/omap3isp/isp.c 			&isp->isp_res.video_in.video.entity, 0,
isp              1787 drivers/media/platform/omap3isp/isp.c 			&isp->isp_res.subdev.entity, RESZ_PAD_SINK, 0);
isp              1792 drivers/media/platform/omap3isp/isp.c 			&isp->isp_res.subdev.entity, RESZ_PAD_SOURCE,
isp              1793 drivers/media/platform/omap3isp/isp.c 			&isp->isp_res.video_out.video.entity, 0, 0);
isp              1800 drivers/media/platform/omap3isp/isp.c 			&isp->isp_csi2a.subdev.entity, CSI2_PAD_SOURCE,
isp              1801 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SINK, 0);
isp              1806 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccp2.subdev.entity, CCP2_PAD_SOURCE,
isp              1807 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SINK, 0);
isp              1812 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SOURCE_VP,
isp              1813 drivers/media/platform/omap3isp/isp.c 			&isp->isp_prev.subdev.entity, PREV_PAD_SINK, 0);
isp              1818 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SOURCE_OF,
isp              1819 drivers/media/platform/omap3isp/isp.c 			&isp->isp_res.subdev.entity, RESZ_PAD_SINK, 0);
isp              1824 drivers/media/platform/omap3isp/isp.c 			&isp->isp_prev.subdev.entity, PREV_PAD_SOURCE,
isp              1825 drivers/media/platform/omap3isp/isp.c 			&isp->isp_res.subdev.entity, RESZ_PAD_SINK, 0);
isp              1830 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SOURCE_VP,
isp              1831 drivers/media/platform/omap3isp/isp.c 			&isp->isp_aewb.subdev.entity, 0,
isp              1837 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SOURCE_VP,
isp              1838 drivers/media/platform/omap3isp/isp.c 			&isp->isp_af.subdev.entity, 0,
isp              1844 drivers/media/platform/omap3isp/isp.c 			&isp->isp_ccdc.subdev.entity, CCDC_PAD_SOURCE_VP,
isp              1845 drivers/media/platform/omap3isp/isp.c 			&isp->isp_hist.subdev.entity, 0,
isp              1853 drivers/media/platform/omap3isp/isp.c static void isp_cleanup_modules(struct isp_device *isp)
isp              1855 drivers/media/platform/omap3isp/isp.c 	omap3isp_h3a_aewb_cleanup(isp);
isp              1856 drivers/media/platform/omap3isp/isp.c 	omap3isp_h3a_af_cleanup(isp);
isp              1857 drivers/media/platform/omap3isp/isp.c 	omap3isp_hist_cleanup(isp);
isp              1858 drivers/media/platform/omap3isp/isp.c 	omap3isp_resizer_cleanup(isp);
isp              1859 drivers/media/platform/omap3isp/isp.c 	omap3isp_preview_cleanup(isp);
isp              1860 drivers/media/platform/omap3isp/isp.c 	omap3isp_ccdc_cleanup(isp);
isp              1861 drivers/media/platform/omap3isp/isp.c 	omap3isp_ccp2_cleanup(isp);
isp              1862 drivers/media/platform/omap3isp/isp.c 	omap3isp_csi2_cleanup(isp);
isp              1863 drivers/media/platform/omap3isp/isp.c 	omap3isp_csiphy_cleanup(isp);
isp              1866 drivers/media/platform/omap3isp/isp.c static int isp_initialize_modules(struct isp_device *isp)
isp              1870 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_csiphy_init(isp);
isp              1872 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "CSI PHY initialization failed\n");
isp              1876 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_csi2_init(isp);
isp              1878 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "CSI2 initialization failed\n");
isp              1882 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_ccp2_init(isp);
isp              1885 drivers/media/platform/omap3isp/isp.c 			dev_err(isp->dev, "CCP2 initialization failed\n");
isp              1889 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_ccdc_init(isp);
isp              1891 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "CCDC initialization failed\n");
isp              1895 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_preview_init(isp);
isp              1897 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "Preview initialization failed\n");
isp              1901 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_resizer_init(isp);
isp              1903 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "Resizer initialization failed\n");
isp              1907 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_hist_init(isp);
isp              1909 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "Histogram initialization failed\n");
isp              1913 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_h3a_aewb_init(isp);
isp              1915 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "H3A AEWB initialization failed\n");
isp              1919 drivers/media/platform/omap3isp/isp.c 	ret = omap3isp_h3a_af_init(isp);
isp              1921 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "H3A AF initialization failed\n");
isp              1928 drivers/media/platform/omap3isp/isp.c 	omap3isp_h3a_aewb_cleanup(isp);
isp              1930 drivers/media/platform/omap3isp/isp.c 	omap3isp_hist_cleanup(isp);
isp              1932 drivers/media/platform/omap3isp/isp.c 	omap3isp_resizer_cleanup(isp);
isp              1934 drivers/media/platform/omap3isp/isp.c 	omap3isp_preview_cleanup(isp);
isp              1936 drivers/media/platform/omap3isp/isp.c 	omap3isp_ccdc_cleanup(isp);
isp              1938 drivers/media/platform/omap3isp/isp.c 	omap3isp_ccp2_cleanup(isp);
isp              1940 drivers/media/platform/omap3isp/isp.c 	omap3isp_csi2_cleanup(isp);
isp              1942 drivers/media/platform/omap3isp/isp.c 	omap3isp_csiphy_cleanup(isp);
isp              1947 drivers/media/platform/omap3isp/isp.c static void isp_detach_iommu(struct isp_device *isp)
isp              1950 drivers/media/platform/omap3isp/isp.c 	arm_iommu_detach_device(isp->dev);
isp              1951 drivers/media/platform/omap3isp/isp.c 	arm_iommu_release_mapping(isp->mapping);
isp              1952 drivers/media/platform/omap3isp/isp.c 	isp->mapping = NULL;
isp              1956 drivers/media/platform/omap3isp/isp.c static int isp_attach_iommu(struct isp_device *isp)
isp              1968 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "failed to create ARM IOMMU mapping\n");
isp              1972 drivers/media/platform/omap3isp/isp.c 	isp->mapping = mapping;
isp              1975 drivers/media/platform/omap3isp/isp.c 	ret = arm_iommu_attach_device(isp->dev, mapping);
isp              1977 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "failed to attach device to VA mapping\n");
isp              1984 drivers/media/platform/omap3isp/isp.c 	arm_iommu_release_mapping(isp->mapping);
isp              1985 drivers/media/platform/omap3isp/isp.c 	isp->mapping = NULL;
isp              2000 drivers/media/platform/omap3isp/isp.c 	struct isp_device *isp = platform_get_drvdata(pdev);
isp              2002 drivers/media/platform/omap3isp/isp.c 	v4l2_async_notifier_unregister(&isp->notifier);
isp              2003 drivers/media/platform/omap3isp/isp.c 	isp_unregister_entities(isp);
isp              2004 drivers/media/platform/omap3isp/isp.c 	isp_cleanup_modules(isp);
isp              2005 drivers/media/platform/omap3isp/isp.c 	isp_xclk_cleanup(isp);
isp              2007 drivers/media/platform/omap3isp/isp.c 	__omap3isp_get(isp, false);
isp              2008 drivers/media/platform/omap3isp/isp.c 	isp_detach_iommu(isp);
isp              2009 drivers/media/platform/omap3isp/isp.c 	__omap3isp_put(isp, false);
isp              2011 drivers/media/platform/omap3isp/isp.c 	media_entity_enum_cleanup(&isp->crashed);
isp              2012 drivers/media/platform/omap3isp/isp.c 	v4l2_async_notifier_cleanup(&isp->notifier);
isp              2014 drivers/media/platform/omap3isp/isp.c 	kfree(isp);
isp              2027 drivers/media/platform/omap3isp/isp.c 	struct isp_device *isp = container_of(async, struct isp_device,
isp              2029 drivers/media/platform/omap3isp/isp.c 	struct v4l2_device *v4l2_dev = &isp->v4l2_dev;
isp              2033 drivers/media/platform/omap3isp/isp.c 	ret = media_entity_enum_init(&isp->crashed, &isp->media_dev);
isp              2038 drivers/media/platform/omap3isp/isp.c 		if (sd->notifier != &isp->notifier)
isp              2041 drivers/media/platform/omap3isp/isp.c 		ret = isp_link_entity(isp, &sd->entity,
isp              2047 drivers/media/platform/omap3isp/isp.c 	ret = v4l2_device_register_subdev_nodes(&isp->v4l2_dev);
isp              2051 drivers/media/platform/omap3isp/isp.c 	return media_device_register(&isp->media_dev);
isp              2157 drivers/media/platform/omap3isp/isp.c static int isp_parse_of_endpoints(struct isp_device *isp)
isp              2165 drivers/media/platform/omap3isp/isp.c 		dev_fwnode(isp->dev), ISP_OF_PHY_PARALLEL, 0,
isp              2174 drivers/media/platform/omap3isp/isp.c 		dev_dbg(isp->dev, "parsing parallel interface\n");
isp              2185 drivers/media/platform/omap3isp/isp.c 			isp_parse_of_parallel_endpoint(isp->dev, &vep, buscfg);
isp              2187 drivers/media/platform/omap3isp/isp.c 				&isp->notifier, ep, &isd->asd);
isp              2202 drivers/media/platform/omap3isp/isp.c 			dev_fwnode(isp->dev), isp_bus_interfaces[i].phy, 0,
isp              2208 drivers/media/platform/omap3isp/isp.c 		dev_dbg(isp->dev, "parsing serial interface %u, node %pOF\n", i,
isp              2218 drivers/media/platform/omap3isp/isp.c 			isp_parse_of_csi2_endpoint(isp->dev, &vep, buscfg);
isp              2232 drivers/media/platform/omap3isp/isp.c 				isp_parse_of_csi1_endpoint(isp->dev, &vep,
isp              2239 drivers/media/platform/omap3isp/isp.c 				&isp->notifier, ep, &isd->asd);
isp              2266 drivers/media/platform/omap3isp/isp.c 	struct isp_device *isp;
isp              2271 drivers/media/platform/omap3isp/isp.c 	isp = kzalloc(sizeof(*isp), GFP_KERNEL);
isp              2272 drivers/media/platform/omap3isp/isp.c 	if (!isp) {
isp              2278 drivers/media/platform/omap3isp/isp.c 				       "ti,phy-type", &isp->phy_type);
isp              2282 drivers/media/platform/omap3isp/isp.c 	isp->syscon = syscon_regmap_lookup_by_phandle(pdev->dev.of_node,
isp              2284 drivers/media/platform/omap3isp/isp.c 	if (IS_ERR(isp->syscon)) {
isp              2285 drivers/media/platform/omap3isp/isp.c 		ret = PTR_ERR(isp->syscon);
isp              2290 drivers/media/platform/omap3isp/isp.c 					 "syscon", 1, &isp->syscon_offset);
isp              2294 drivers/media/platform/omap3isp/isp.c 	isp->autoidle = autoidle;
isp              2296 drivers/media/platform/omap3isp/isp.c 	mutex_init(&isp->isp_mutex);
isp              2297 drivers/media/platform/omap3isp/isp.c 	spin_lock_init(&isp->stat_lock);
isp              2298 drivers/media/platform/omap3isp/isp.c 	v4l2_async_notifier_init(&isp->notifier);
isp              2299 drivers/media/platform/omap3isp/isp.c 	isp->dev = &pdev->dev;
isp              2301 drivers/media/platform/omap3isp/isp.c 	ret = isp_parse_of_endpoints(isp);
isp              2305 drivers/media/platform/omap3isp/isp.c 	isp->ref_count = 0;
isp              2307 drivers/media/platform/omap3isp/isp.c 	ret = dma_coerce_mask_and_coherent(isp->dev, DMA_BIT_MASK(32));
isp              2311 drivers/media/platform/omap3isp/isp.c 	platform_set_drvdata(pdev, isp);
isp              2314 drivers/media/platform/omap3isp/isp.c 	isp->isp_csiphy1.vdd = devm_regulator_get(&pdev->dev, "vdd-csiphy1");
isp              2315 drivers/media/platform/omap3isp/isp.c 	isp->isp_csiphy2.vdd = devm_regulator_get(&pdev->dev, "vdd-csiphy2");
isp              2331 drivers/media/platform/omap3isp/isp.c 		isp->mmio_base[map_idx] =
isp              2332 drivers/media/platform/omap3isp/isp.c 			devm_ioremap_resource(isp->dev, mem);
isp              2333 drivers/media/platform/omap3isp/isp.c 		if (IS_ERR(isp->mmio_base[map_idx]))
isp              2334 drivers/media/platform/omap3isp/isp.c 			return PTR_ERR(isp->mmio_base[map_idx]);
isp              2337 drivers/media/platform/omap3isp/isp.c 	ret = isp_get_clocks(isp);
isp              2341 drivers/media/platform/omap3isp/isp.c 	ret = clk_enable(isp->clock[ISP_CLK_CAM_ICK]);
isp              2345 drivers/media/platform/omap3isp/isp.c 	isp->revision = isp_reg_readl(isp, OMAP3_ISP_IOMEM_MAIN, ISP_REVISION);
isp              2346 drivers/media/platform/omap3isp/isp.c 	dev_info(isp->dev, "Revision %d.%d found\n",
isp              2347 drivers/media/platform/omap3isp/isp.c 		 (isp->revision & 0xf0) >> 4, isp->revision & 0x0f);
isp              2349 drivers/media/platform/omap3isp/isp.c 	clk_disable(isp->clock[ISP_CLK_CAM_ICK]);
isp              2351 drivers/media/platform/omap3isp/isp.c 	if (__omap3isp_get(isp, false) == NULL) {
isp              2356 drivers/media/platform/omap3isp/isp.c 	ret = isp_reset(isp);
isp              2360 drivers/media/platform/omap3isp/isp.c 	ret = isp_xclk_init(isp);
isp              2366 drivers/media/platform/omap3isp/isp.c 		if (isp->revision == isp_res_maps[m].isp_rev)
isp              2370 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "No resource map found for ISP rev %d.%d\n",
isp              2371 drivers/media/platform/omap3isp/isp.c 			(isp->revision & 0xf0) >> 4, isp->revision & 0xf);
isp              2377 drivers/media/platform/omap3isp/isp.c 		isp->mmio_base[i] =
isp              2378 drivers/media/platform/omap3isp/isp.c 			isp->mmio_base[0] + isp_res_maps[m].offset[i];
isp              2381 drivers/media/platform/omap3isp/isp.c 		isp->mmio_base[i] =
isp              2382 drivers/media/platform/omap3isp/isp.c 			isp->mmio_base[OMAP3_ISP_IOMEM_CSI2A_REGS1]
isp              2385 drivers/media/platform/omap3isp/isp.c 	isp->mmio_hist_base_phys =
isp              2389 drivers/media/platform/omap3isp/isp.c 	ret = isp_attach_iommu(isp);
isp              2401 drivers/media/platform/omap3isp/isp.c 	isp->irq_num = ret;
isp              2403 drivers/media/platform/omap3isp/isp.c 	if (devm_request_irq(isp->dev, isp->irq_num, isp_isr, IRQF_SHARED,
isp              2404 drivers/media/platform/omap3isp/isp.c 			     "OMAP3 ISP", isp)) {
isp              2405 drivers/media/platform/omap3isp/isp.c 		dev_err(isp->dev, "Unable to request IRQ\n");
isp              2411 drivers/media/platform/omap3isp/isp.c 	ret = isp_initialize_modules(isp);
isp              2415 drivers/media/platform/omap3isp/isp.c 	ret = isp_register_entities(isp);
isp              2419 drivers/media/platform/omap3isp/isp.c 	ret = isp_create_links(isp);
isp              2423 drivers/media/platform/omap3isp/isp.c 	isp->notifier.ops = &isp_subdev_notifier_ops;
isp              2425 drivers/media/platform/omap3isp/isp.c 	ret = v4l2_async_notifier_register(&isp->v4l2_dev, &isp->notifier);
isp              2429 drivers/media/platform/omap3isp/isp.c 	isp_core_init(isp, 1);
isp              2430 drivers/media/platform/omap3isp/isp.c 	omap3isp_put(isp);
isp              2435 drivers/media/platform/omap3isp/isp.c 	isp_unregister_entities(isp);
isp              2437 drivers/media/platform/omap3isp/isp.c 	isp_cleanup_modules(isp);
isp              2439 drivers/media/platform/omap3isp/isp.c 	isp_detach_iommu(isp);
isp              2441 drivers/media/platform/omap3isp/isp.c 	isp_xclk_cleanup(isp);
isp              2442 drivers/media/platform/omap3isp/isp.c 	__omap3isp_put(isp, false);
isp              2444 drivers/media/platform/omap3isp/isp.c 	v4l2_async_notifier_cleanup(&isp->notifier);
isp              2445 drivers/media/platform/omap3isp/isp.c 	mutex_destroy(&isp->isp_mutex);
isp              2447 drivers/media/platform/omap3isp/isp.c 	kfree(isp);
isp               126 drivers/media/platform/omap3isp/isp.h 	struct isp_device *isp;
isp               233 drivers/media/platform/omap3isp/isp.h void omap3isp_hist_dma_done(struct isp_device *isp);
isp               235 drivers/media/platform/omap3isp/isp.h void omap3isp_flush(struct isp_device *isp);
isp               246 drivers/media/platform/omap3isp/isp.h void omap3isp_configure_bridge(struct isp_device *isp,
isp               251 drivers/media/platform/omap3isp/isp.h struct isp_device *omap3isp_get(struct isp_device *isp);
isp               252 drivers/media/platform/omap3isp/isp.h void omap3isp_put(struct isp_device *isp);
isp               254 drivers/media/platform/omap3isp/isp.h void omap3isp_print_status(struct isp_device *isp);
isp               256 drivers/media/platform/omap3isp/isp.h void omap3isp_sbl_enable(struct isp_device *isp, enum isp_sbl_resource res);
isp               257 drivers/media/platform/omap3isp/isp.h void omap3isp_sbl_disable(struct isp_device *isp, enum isp_sbl_resource res);
isp               259 drivers/media/platform/omap3isp/isp.h void omap3isp_subclk_enable(struct isp_device *isp,
isp               261 drivers/media/platform/omap3isp/isp.h void omap3isp_subclk_disable(struct isp_device *isp,
isp               277 drivers/media/platform/omap3isp/isp.h u32 isp_reg_readl(struct isp_device *isp, enum isp_mem_resources isp_mmio_range,
isp               280 drivers/media/platform/omap3isp/isp.h 	return __raw_readl(isp->mmio_base[isp_mmio_range] + reg_offset);
isp               291 drivers/media/platform/omap3isp/isp.h void isp_reg_writel(struct isp_device *isp, u32 reg_value,
isp               294 drivers/media/platform/omap3isp/isp.h 	__raw_writel(reg_value, isp->mmio_base[isp_mmio_range] + reg_offset);
isp               305 drivers/media/platform/omap3isp/isp.h void isp_reg_clr(struct isp_device *isp, enum isp_mem_resources mmio_range,
isp               308 drivers/media/platform/omap3isp/isp.h 	u32 v = isp_reg_readl(isp, mmio_range, reg);
isp               310 drivers/media/platform/omap3isp/isp.h 	isp_reg_writel(isp, v & ~clr_bits, mmio_range, reg);
isp               321 drivers/media/platform/omap3isp/isp.h void isp_reg_set(struct isp_device *isp, enum isp_mem_resources mmio_range,
isp               324 drivers/media/platform/omap3isp/isp.h 	u32 v = isp_reg_readl(isp, mmio_range, reg);
isp               326 drivers/media/platform/omap3isp/isp.h 	isp_reg_writel(isp, v | set_bits, mmio_range, reg);
isp               340 drivers/media/platform/omap3isp/isp.h void isp_reg_clr_set(struct isp_device *isp, enum isp_mem_resources mmio_range,
isp               343 drivers/media/platform/omap3isp/isp.h 	u32 v = isp_reg_readl(isp, mmio_range, reg);
isp               345 drivers/media/platform/omap3isp/isp.h 	isp_reg_writel(isp, (v & ~clr_bits) | set_bits, mmio_range, reg);
isp                61 drivers/media/platform/omap3isp/ispccdc.c #define CCDC_PRINT_REGISTER(isp, name)\
isp                62 drivers/media/platform/omap3isp/ispccdc.c 	dev_dbg(isp->dev, "###CCDC " #name "=0x%08x\n", \
isp                63 drivers/media/platform/omap3isp/ispccdc.c 		isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_##name))
isp                67 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp                69 drivers/media/platform/omap3isp/ispccdc.c 	dev_dbg(isp->dev, "-------------CCDC Register dump-------------\n");
isp                71 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, PCR);
isp                72 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, SYN_MODE);
isp                73 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, HD_VD_WID);
isp                74 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, PIX_LINES);
isp                75 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, HORZ_INFO);
isp                76 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, VERT_START);
isp                77 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, VERT_LINES);
isp                78 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, CULLING);
isp                79 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, HSIZE_OFF);
isp                80 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, SDOFST);
isp                81 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, SDR_ADDR);
isp                82 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, CLAMP);
isp                83 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, DCSUB);
isp                84 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, COLPTN);
isp                85 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, BLKCMP);
isp                86 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, FPC);
isp                87 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, FPC_ADDR);
isp                88 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, VDINT);
isp                89 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, ALAW);
isp                90 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, REC656IF);
isp                91 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, CFG);
isp                92 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, FMTCFG);
isp                93 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, FMT_HORZ);
isp                94 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, FMT_VERT);
isp                95 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, PRGEVEN0);
isp                96 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, PRGEVEN1);
isp                97 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, PRGODD0);
isp                98 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, PRGODD1);
isp                99 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, VP_OUT);
isp               100 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, LSC_CONFIG);
isp               101 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, LSC_INITIAL);
isp               102 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, LSC_TABLE_BASE);
isp               103 drivers/media/platform/omap3isp/ispccdc.c 	CCDC_PRINT_REGISTER(isp, LSC_TABLE_OFFSET);
isp               105 drivers/media/platform/omap3isp/ispccdc.c 	dev_dbg(isp->dev, "--------------------------------------------\n");
isp               114 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               116 drivers/media/platform/omap3isp/ispccdc.c 	return isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_PCR) &
isp               134 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               146 drivers/media/platform/omap3isp/ispccdc.c 		dev_dbg(isp->dev, "CCDC: LSC: Invalid paxel size\n");
isp               151 drivers/media/platform/omap3isp/ispccdc.c 		dev_dbg(isp->dev,
isp               157 drivers/media/platform/omap3isp/ispccdc.c 		dev_dbg(isp->dev, "CCDC: LSC: initial_x and y must be even\n");
isp               177 drivers/media/platform/omap3isp/ispccdc.c 		dev_dbg(isp->dev, "CCDC: LSC: too small table\n");
isp               181 drivers/media/platform/omap3isp/ispccdc.c 		dev_dbg(isp->dev, "CCDC: LSC: Offset is too small\n");
isp               185 drivers/media/platform/omap3isp/ispccdc.c 		dev_dbg(isp->dev, "CCDC: LSC: Wrong size/offset combination\n");
isp               209 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               212 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, cfg->offset, OMAP3_ISP_IOMEM_CCDC,
isp               219 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, reg, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_LSC_CONFIG);
isp               226 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, reg, OMAP3_ISP_IOMEM_CCDC,
isp               232 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               235 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, IRQ0STATUS_CCDC_LSC_PREF_COMP_IRQ,
isp               240 drivers/media/platform/omap3isp/ispccdc.c 		if (isp_reg_readl(isp, OMAP3_ISP_IOMEM_MAIN, ISP_IRQ0STATUS) &
isp               242 drivers/media/platform/omap3isp/ispccdc.c 			isp_reg_writel(isp, IRQ0STATUS_CCDC_LSC_PREF_COMP_IRQ,
isp               261 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               273 drivers/media/platform/omap3isp/ispccdc.c 		omap3isp_sbl_enable(isp, OMAP3_ISP_SBL_CCDC_LSC_READ);
isp               275 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_LSC_CONFIG,
isp               280 drivers/media/platform/omap3isp/ispccdc.c 			isp_reg_clr(isp, OMAP3_ISP_IOMEM_CCDC,
isp               296 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               298 drivers/media/platform/omap3isp/ispccdc.c 	return isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_LSC_CONFIG) &
isp               335 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               345 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_clr(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_LSC_CONFIG,
isp               353 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               360 drivers/media/platform/omap3isp/ispccdc.c 		dma_free_coherent(isp->dev, req->config.size, req->table.addr,
isp               404 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               435 drivers/media/platform/omap3isp/ispccdc.c 		req->table.addr = dma_alloc_coherent(isp->dev, req->config.size,
isp               443 drivers/media/platform/omap3isp/ispccdc.c 		ret = dma_get_sgtable(isp->dev, &req->table.sgt,
isp               449 drivers/media/platform/omap3isp/ispccdc.c 		dma_sync_sg_for_cpu(isp->dev, req->table.sgt.sgl,
isp               458 drivers/media/platform/omap3isp/ispccdc.c 		dma_sync_sg_for_device(isp->dev, req->table.sgt.sgl,
isp               535 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               543 drivers/media/platform/omap3isp/ispccdc.c 		isp_reg_writel(isp, clamp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_CLAMP);
isp               545 drivers/media/platform/omap3isp/ispccdc.c 		isp_reg_writel(isp, ccdc->clamp.dcsubval,
isp               549 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_CLAMP,
isp               560 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               562 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_clr(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_FPC, ISPCCDC_FPC_FPCEN);
isp               567 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, ccdc->fpc.dma, OMAP3_ISP_IOMEM_CCDC,
isp               570 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, (ccdc->fpc.fpnum << ISPCCDC_FPC_FPNUM_SHIFT),
isp               572 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, (ccdc->fpc.fpnum << ISPCCDC_FPC_FPNUM_SHIFT) |
isp               582 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               590 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, blcomp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_BLKCMP);
isp               599 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               601 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_SYN_MODE,
isp               612 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               639 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, alaw, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_ALAW);
isp               649 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               651 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, colptn, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_COLPTN);
isp               666 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               728 drivers/media/platform/omap3isp/ispccdc.c 			fpc_new.addr = dma_alloc_coherent(isp->dev, size,
isp               737 drivers/media/platform/omap3isp/ispccdc.c 				dma_free_coherent(isp->dev, size, fpc_new.addr,
isp               749 drivers/media/platform/omap3isp/ispccdc.c 			dma_free_coherent(isp->dev, fpc_old.fpnum * 4,
isp               783 drivers/media/platform/omap3isp/ispccdc.c void omap3isp_ccdc_restore_context(struct isp_device *isp)
isp               785 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_ccdc_device *ccdc = &isp->isp_ccdc;
isp               787 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_set(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_CFG, ISPCCDC_CFG_VDLC);
isp               806 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               810 drivers/media/platform/omap3isp/ispccdc.c 	unsigned int max_div = isp->revision == ISP_REVISION_15_0 ? 64 : 8;
isp               820 drivers/media/platform/omap3isp/ispccdc.c 		isp_reg_writel(isp, 0, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_FMTCFG);
isp               824 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, (0 << ISPCCDC_FMT_HORZ_FMTSPH_SHIFT) |
isp               827 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, (0 << ISPCCDC_FMT_VERT_FMTSLV_SHIFT) |
isp               831 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, (format->width << ISPCCDC_VP_OUT_HORZ_NUM_SHIFT) |
isp               861 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, fmtcfg, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_FMTCFG);
isp               888 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               891 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, bpl & 0xffff, OMAP3_ISP_IOMEM_CCDC,
isp               911 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, sdofst, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_SDOFST);
isp               923 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp               925 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, addr, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_SDR_ADDR);
isp               966 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp              1016 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, syn_mode, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_SYN_MODE);
isp              1022 drivers/media/platform/omap3isp/ispccdc.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_CFG,
isp              1025 drivers/media/platform/omap3isp/ispccdc.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_CFG,
isp              1032 drivers/media/platform/omap3isp/ispccdc.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_REC656IF,
isp              1035 drivers/media/platform/omap3isp/ispccdc.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_REC656IF,
isp              1115 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp              1172 drivers/media/platform/omap3isp/ispccdc.c 	omap3isp_configure_bridge(isp, ccdc->input, parcfg, shift, bridge);
isp              1177 drivers/media/platform/omap3isp/ispccdc.c 	syn_mode = isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_SYN_MODE);
isp              1218 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, ((format->height - 2) << ISPCCDC_VDINT_0_SHIFT) |
isp              1239 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, (sph << ISPCCDC_HORZ_INFO_SPH_SHIFT) |
isp              1242 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, (crop->top << ISPCCDC_VERT_START_SLV0_SHIFT) |
isp              1245 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, (crop->height - 1)
isp              1265 drivers/media/platform/omap3isp/ispccdc.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_CFG,
isp              1268 drivers/media/platform/omap3isp/ispccdc.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_CFG,
isp              1280 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_writel(isp, syn_mode, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_SYN_MODE);
isp              1313 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp              1315 drivers/media/platform/omap3isp/ispccdc.c 	isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_PCR,
isp              1376 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp              1379 drivers/media/platform/omap3isp/ispccdc.c 		| (isp_reg_readl(isp, OMAP3_ISP_IOMEM_SBL, ISPSBL_CCDC_WR_0) &
isp              1381 drivers/media/platform/omap3isp/ispccdc.c 		| (isp_reg_readl(isp, OMAP3_ISP_IOMEM_SBL, ISPSBL_CCDC_WR_1) &
isp              1383 drivers/media/platform/omap3isp/ispccdc.c 		| (isp_reg_readl(isp, OMAP3_ISP_IOMEM_SBL, ISPSBL_CCDC_WR_2) &
isp              1385 drivers/media/platform/omap3isp/ispccdc.c 		| (isp_reg_readl(isp, OMAP3_ISP_IOMEM_SBL, ISPSBL_CCDC_WR_3) &
isp              1537 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp              1546 drivers/media/platform/omap3isp/ispccdc.c 	field = isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_SYN_MODE)
isp              1581 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp              1604 drivers/media/platform/omap3isp/ispccdc.c 		dev_info(isp->dev, "CCDC won't become idle!\n");
isp              1605 drivers/media/platform/omap3isp/ispccdc.c 		media_entity_enum_set(&isp->crashed, &ccdc->subdev.entity);
isp              1785 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_ccdc_device *ccdc = &video->isp->isp_ccdc;
isp              1883 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp              1890 drivers/media/platform/omap3isp/ispccdc.c 		omap3isp_subclk_enable(isp, OMAP3_ISP_SUBCLK_CCDC);
isp              1891 drivers/media/platform/omap3isp/ispccdc.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_CFG,
isp              1902 drivers/media/platform/omap3isp/ispccdc.c 			omap3isp_sbl_enable(isp, OMAP3_ISP_SBL_CCDC_WRITE);
isp              1913 drivers/media/platform/omap3isp/ispccdc.c 			omap3isp_sbl_enable(isp, OMAP3_ISP_SBL_CCDC_WRITE);
isp              1921 drivers/media/platform/omap3isp/ispccdc.c 			omap3isp_sbl_disable(isp, OMAP3_ISP_SBL_CCDC_WRITE);
isp              1922 drivers/media/platform/omap3isp/ispccdc.c 		omap3isp_subclk_disable(isp, OMAP3_ISP_SUBCLK_CCDC);
isp              2509 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_device *isp = to_isp_device(ccdc);
isp              2529 drivers/media/platform/omap3isp/ispccdc.c 		if (remote->entity == &isp->isp_ccp2.subdev.entity)
isp              2531 drivers/media/platform/omap3isp/ispccdc.c 		else if (remote->entity == &isp->isp_csi2a.subdev.entity)
isp              2533 drivers/media/platform/omap3isp/ispccdc.c 		else if (remote->entity == &isp->isp_csi2c.subdev.entity)
isp              2661 drivers/media/platform/omap3isp/ispccdc.c 	ccdc->video_out.isp = to_isp_device(ccdc);
isp              2684 drivers/media/platform/omap3isp/ispccdc.c int omap3isp_ccdc_init(struct isp_device *isp)
isp              2686 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_ccdc_device *ccdc = &isp->isp_ccdc;
isp              2719 drivers/media/platform/omap3isp/ispccdc.c void omap3isp_ccdc_cleanup(struct isp_device *isp)
isp              2721 drivers/media/platform/omap3isp/ispccdc.c 	struct isp_ccdc_device *ccdc = &isp->isp_ccdc;
isp              2734 drivers/media/platform/omap3isp/ispccdc.c 		dma_free_coherent(isp->dev, ccdc->fpc.fpnum * 4, ccdc->fpc.addr,
isp               162 drivers/media/platform/omap3isp/ispccdc.h int omap3isp_ccdc_init(struct isp_device *isp);
isp               163 drivers/media/platform/omap3isp/ispccdc.h void omap3isp_ccdc_cleanup(struct isp_device *isp);
isp               170 drivers/media/platform/omap3isp/ispccdc.h void omap3isp_ccdc_restore_context(struct isp_device *isp);
isp                64 drivers/media/platform/omap3isp/ispccp2.c #define CCP2_PRINT_REGISTER(isp, name)\
isp                65 drivers/media/platform/omap3isp/ispccp2.c 	dev_dbg(isp->dev, "###CCP2 " #name "=0x%08x\n", \
isp                66 drivers/media/platform/omap3isp/ispccp2.c 		isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_##name))
isp                70 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_device *isp = to_isp_device(ccp2);
isp                72 drivers/media/platform/omap3isp/ispccp2.c 	dev_dbg(isp->dev, "-------------CCP2 Register dump-------------\n");
isp                74 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, SYSCONFIG);
isp                75 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, SYSSTATUS);
isp                76 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LC01_IRQENABLE);
isp                77 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LC01_IRQSTATUS);
isp                78 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LC23_IRQENABLE);
isp                79 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LC23_IRQSTATUS);
isp                80 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCM_IRQENABLE);
isp                81 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCM_IRQSTATUS);
isp                82 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, CTRL);
isp                83 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCx_CTRL(0));
isp                84 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCx_CODE(0));
isp                85 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCx_STAT_START(0));
isp                86 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCx_STAT_SIZE(0));
isp                87 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCx_SOF_ADDR(0));
isp                88 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCx_EOF_ADDR(0));
isp                89 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCx_DAT_START(0));
isp                90 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCx_DAT_SIZE(0));
isp                91 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCx_DAT_PING_ADDR(0));
isp                92 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCx_DAT_PONG_ADDR(0));
isp                93 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCx_DAT_OFST(0));
isp                94 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCM_CTRL);
isp                95 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCM_VSIZE);
isp                96 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCM_HSIZE);
isp                97 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCM_PREFETCH);
isp                98 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCM_SRC_ADDR);
isp                99 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCM_SRC_OFST);
isp               100 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCM_DST_ADDR);
isp               101 drivers/media/platform/omap3isp/ispccp2.c 	CCP2_PRINT_REGISTER(isp, LCM_DST_OFST);
isp               103 drivers/media/platform/omap3isp/ispccp2.c 	dev_dbg(isp->dev, "--------------------------------------------\n");
isp               112 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_device *isp = to_isp_device(ccp2);
isp               116 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_set(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_SYSCONFIG,
isp               118 drivers/media/platform/omap3isp/ispccp2.c 	while (!(isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_SYSSTATUS) &
isp               122 drivers/media/platform/omap3isp/ispccp2.c 			dev_warn(isp->dev,
isp               135 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_device *isp = to_isp_device(ccp2);
isp               137 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, ISPCCP2_SYSCONFIG_MSTANDBY_MODE_SMART |
isp               138 drivers/media/platform/omap3isp/ispccp2.c 			((isp->revision == ISP_REVISION_15_0 && isp->autoidle) ?
isp               150 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_device *isp = to_isp_device(ccp2);
isp               162 drivers/media/platform/omap3isp/ispccp2.c 		isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_LCx_CTRL(i),
isp               167 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_CTRL,
isp               184 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_device *isp = to_isp_device(ccp2);
isp               190 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_CTRL,
isp               193 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_LCM_CTRL,
isp               210 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_device *isp = to_isp_device(ccp2);
isp               213 drivers/media/platform/omap3isp/ispccp2.c 	val = isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_CTRL) |
isp               224 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_CTRL);
isp               226 drivers/media/platform/omap3isp/ispccp2.c 	val = isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_CTRL);
isp               229 drivers/media/platform/omap3isp/ispccp2.c 			dev_warn(isp->dev, "OMAP3 CCP2 bus not available\n");
isp               255 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_device *isp = to_isp_device(ccp2);
isp               259 drivers/media/platform/omap3isp/ispccp2.c 	val = isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_CTRL);
isp               262 drivers/media/platform/omap3isp/ispccp2.c 	if (isp->revision == ISP_REVISION_15_0) {
isp               273 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_CTRL);
isp               288 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_device *isp = to_isp_device(ccp2);
isp               301 drivers/media/platform/omap3isp/ispccp2.c 	val = isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_LCx_CTRL(0))
isp               304 drivers/media/platform/omap3isp/ispccp2.c 	if (isp->revision == ISP_REVISION_15_0) {
isp               320 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_LCx_CTRL(0));
isp               323 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, config->data_start << ISPCCP2_LCx_DAT_SHIFT,
isp               327 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, config->data_size << ISPCCP2_LCx_DAT_SHIFT,
isp               338 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_LC01_IRQSTATUS);
isp               339 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_set(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_LC01_IRQENABLE, val);
isp               387 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_device *isp = to_isp_device(ccp2);
isp               417 drivers/media/platform/omap3isp/ispccp2.c 	dev_dbg(isp->dev, "%s: minimum clock divisor = %u\n", __func__,
isp               435 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_device *isp = to_isp_device(ccp2);
isp               448 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, ISPCCP2_LCM_HSIZE_SKIP_MIN |
isp               453 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, config->vsize_count << ISPCCP2_LCM_VSIZE_SHIFT,
isp               461 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, config->src_ofst, OMAP3_ISP_IOMEM_CCP2,
isp               489 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_LCM_CTRL);
isp               499 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, hwords << ISPCCP2_LCM_PREFETCH_SHIFT,
isp               503 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_set(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_CTRL,
isp               508 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, ISPCCP2_LCM_IRQSTATUS_OCPERROR_IRQ |
isp               513 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_set(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_LCM_IRQENABLE,
isp               527 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_device *isp = to_isp_device(ccp2);
isp               529 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, addr, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_LCM_SRC_ADDR);
isp               563 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_device *isp = to_isp_device(ccp2);
isp               574 drivers/media/platform/omap3isp/ispccp2.c 	lcx_irqstatus = isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCP2,
isp               576 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, lcx_irqstatus, OMAP3_ISP_IOMEM_CCP2,
isp               579 drivers/media/platform/omap3isp/ispccp2.c 	lcm_irqstatus = isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCP2,
isp               581 drivers/media/platform/omap3isp/ispccp2.c 	isp_reg_writel(isp, lcm_irqstatus, OMAP3_ISP_IOMEM_CCP2,
isp               586 drivers/media/platform/omap3isp/ispccp2.c 		dev_dbg(isp->dev, "CCP2 err:%x\n", lcx_irqstatus);
isp               592 drivers/media/platform/omap3isp/ispccp2.c 		dev_dbg(isp->dev, "CCP2 OCP err:%x\n", lcm_irqstatus);
isp               829 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_device *isp = to_isp_device(ccp2);
isp               870 drivers/media/platform/omap3isp/ispccp2.c 			omap3isp_sbl_enable(isp, OMAP3_ISP_SBL_CSI1_READ);
isp               882 drivers/media/platform/omap3isp/ispccp2.c 			omap3isp_sbl_disable(isp, OMAP3_ISP_SBL_CSI1_READ);
isp               932 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_ccp2_device *ccp2 = &video->isp->isp_ccp2;
isp              1101 drivers/media/platform/omap3isp/ispccp2.c 	ccp2->video_in.isp = to_isp_device(ccp2);
isp              1121 drivers/media/platform/omap3isp/ispccp2.c int omap3isp_ccp2_init(struct isp_device *isp)
isp              1123 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_ccp2_device *ccp2 = &isp->isp_ccp2;
isp              1139 drivers/media/platform/omap3isp/ispccp2.c 	if (isp->revision == ISP_REVISION_2_0) {
isp              1140 drivers/media/platform/omap3isp/ispccp2.c 		ccp2->vdds_csib = devm_regulator_get(isp->dev, "vdds_csib");
isp              1143 drivers/media/platform/omap3isp/ispccp2.c 				dev_dbg(isp->dev,
isp              1147 drivers/media/platform/omap3isp/ispccp2.c 			dev_dbg(isp->dev,
isp              1151 drivers/media/platform/omap3isp/ispccp2.c 		ccp2->phy = &isp->isp_csiphy2;
isp              1152 drivers/media/platform/omap3isp/ispccp2.c 	} else if (isp->revision == ISP_REVISION_15_0) {
isp              1153 drivers/media/platform/omap3isp/ispccp2.c 		ccp2->phy = &isp->isp_csiphy1;
isp              1168 drivers/media/platform/omap3isp/ispccp2.c void omap3isp_ccp2_cleanup(struct isp_device *isp)
isp              1170 drivers/media/platform/omap3isp/ispccp2.c 	struct isp_ccp2_device *ccp2 = &isp->isp_ccp2;
isp                78 drivers/media/platform/omap3isp/ispccp2.h int omap3isp_ccp2_init(struct isp_device *isp);
isp                79 drivers/media/platform/omap3isp/ispccp2.h void omap3isp_ccp2_cleanup(struct isp_device *isp);
isp                27 drivers/media/platform/omap3isp/ispcsi2.c static void csi2_if_enable(struct isp_device *isp,
isp                32 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_clr_set(isp, csi2->regs1, ISPCSI2_CTRL, ISPCSI2_CTRL_IF_EN,
isp                43 drivers/media/platform/omap3isp/ispcsi2.c static void csi2_recv_config(struct isp_device *isp,
isp                49 drivers/media/platform/omap3isp/ispcsi2.c 	reg = isp_reg_readl(isp, csi2->regs1, ISPCSI2_CTRL);
isp                74 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTRL);
isp               202 drivers/media/platform/omap3isp/ispcsi2.c 	is_3630 = csi2->isp->revision == ISP_REVISION_15_0;
isp               219 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_device *isp = csi2->isp;
isp               224 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, ctx->ping_addr,
isp               226 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, ctx->pong_addr,
isp               247 drivers/media/platform/omap3isp/ispcsi2.c static void csi2_ctx_enable(struct isp_device *isp,
isp               254 drivers/media/platform/omap3isp/ispcsi2.c 	reg = isp_reg_readl(isp, csi2->regs1, ISPCSI2_CTX_CTRL1(ctxnum));
isp               270 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTX_CTRL1(ctxnum));
isp               279 drivers/media/platform/omap3isp/ispcsi2.c static void csi2_ctx_config(struct isp_device *isp,
isp               286 drivers/media/platform/omap3isp/ispcsi2.c 	reg = isp_reg_readl(isp, csi2->regs1, ISPCSI2_CTX_CTRL1(ctx->ctxnum));
isp               303 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTX_CTRL1(ctx->ctxnum));
isp               306 drivers/media/platform/omap3isp/ispcsi2.c 	reg = isp_reg_readl(isp, csi2->regs1, ISPCSI2_CTX_CTRL2(ctx->ctxnum));
isp               326 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTX_CTRL2(ctx->ctxnum));
isp               329 drivers/media/platform/omap3isp/ispcsi2.c 	reg = isp_reg_readl(isp, csi2->regs1, ISPCSI2_CTX_CTRL3(ctx->ctxnum));
isp               333 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTX_CTRL3(ctx->ctxnum));
isp               336 drivers/media/platform/omap3isp/ispcsi2.c 	reg = isp_reg_readl(isp, csi2->regs1,
isp               340 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, reg, csi2->regs1,
isp               343 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, ctx->ping_addr,
isp               346 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, ctx->pong_addr,
isp               354 drivers/media/platform/omap3isp/ispcsi2.c static void csi2_timing_config(struct isp_device *isp,
isp               360 drivers/media/platform/omap3isp/ispcsi2.c 	reg = isp_reg_readl(isp, csi2->regs1, ISPCSI2_TIMING);
isp               381 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_TIMING);
isp               388 drivers/media/platform/omap3isp/ispcsi2.c static void csi2_irq_ctx_set(struct isp_device *isp,
isp               394 drivers/media/platform/omap3isp/ispcsi2.c 		isp_reg_writel(isp, ISPCSI2_CTX_IRQSTATUS_FE_IRQ, csi2->regs1,
isp               397 drivers/media/platform/omap3isp/ispcsi2.c 			isp_reg_set(isp, csi2->regs1, ISPCSI2_CTX_IRQENABLE(i),
isp               400 drivers/media/platform/omap3isp/ispcsi2.c 			isp_reg_clr(isp, csi2->regs1, ISPCSI2_CTX_IRQENABLE(i),
isp               409 drivers/media/platform/omap3isp/ispcsi2.c static void csi2_irq_complexio1_set(struct isp_device *isp,
isp               440 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_PHY_IRQSTATUS);
isp               442 drivers/media/platform/omap3isp/ispcsi2.c 		reg |= isp_reg_readl(isp, csi2->regs1, ISPCSI2_PHY_IRQENABLE);
isp               445 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_PHY_IRQENABLE);
isp               452 drivers/media/platform/omap3isp/ispcsi2.c static void csi2_irq_status_set(struct isp_device *isp,
isp               464 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_IRQSTATUS);
isp               466 drivers/media/platform/omap3isp/ispcsi2.c 		reg |= isp_reg_readl(isp, csi2->regs1, ISPCSI2_IRQENABLE);
isp               470 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_IRQENABLE);
isp               482 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_device *isp = csi2->isp;
isp               493 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_set(isp, csi2->regs1, ISPCSI2_SYSCONFIG,
isp               497 drivers/media/platform/omap3isp/ispcsi2.c 		reg = isp_reg_readl(isp, csi2->regs1, ISPCSI2_SYSSTATUS) &
isp               507 drivers/media/platform/omap3isp/ispcsi2.c 		dev_err(isp->dev, "CSI2: Soft reset try count exceeded!\n");
isp               511 drivers/media/platform/omap3isp/ispcsi2.c 	if (isp->revision == ISP_REVISION_15_0)
isp               512 drivers/media/platform/omap3isp/ispcsi2.c 		isp_reg_set(isp, csi2->regs1, ISPCSI2_PHY_CFG,
isp               517 drivers/media/platform/omap3isp/ispcsi2.c 		reg = isp_reg_readl(isp, csi2->phy->phy_regs, ISPCSIPHY_REG1)
isp               525 drivers/media/platform/omap3isp/ispcsi2.c 		dev_err(isp->dev,
isp               530 drivers/media/platform/omap3isp/ispcsi2.c 	if (isp->autoidle)
isp               531 drivers/media/platform/omap3isp/ispcsi2.c 		isp_reg_clr_set(isp, csi2->regs1, ISPCSI2_SYSCONFIG,
isp               535 drivers/media/platform/omap3isp/ispcsi2.c 				((isp->revision == ISP_REVISION_15_0) ?
isp               538 drivers/media/platform/omap3isp/ispcsi2.c 		isp_reg_clr_set(isp, csi2->regs1, ISPCSI2_SYSCONFIG,
isp               550 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_device *isp = csi2->isp;
isp               574 drivers/media/platform/omap3isp/ispcsi2.c 	dev_dbg(isp->dev, "%s: l3_ick %lu, external_rate %u, vp_out_ctrl %u\n",
isp               614 drivers/media/platform/omap3isp/ispcsi2.c 	csi2_irq_complexio1_set(isp, csi2, 1);
isp               615 drivers/media/platform/omap3isp/ispcsi2.c 	csi2_irq_ctx_set(isp, csi2, 1);
isp               616 drivers/media/platform/omap3isp/ispcsi2.c 	csi2_irq_status_set(isp, csi2, 1);
isp               619 drivers/media/platform/omap3isp/ispcsi2.c 	csi2_timing_config(isp, csi2, timing);
isp               620 drivers/media/platform/omap3isp/ispcsi2.c 	csi2_recv_config(isp, csi2, &csi2->ctrl);
isp               621 drivers/media/platform/omap3isp/ispcsi2.c 	csi2_ctx_config(isp, csi2, &csi2->contexts[0]);
isp               629 drivers/media/platform/omap3isp/ispcsi2.c #define CSI2_PRINT_REGISTER(isp, regs, name)\
isp               630 drivers/media/platform/omap3isp/ispcsi2.c 	dev_dbg(isp->dev, "###CSI2 " #name "=0x%08x\n", \
isp               631 drivers/media/platform/omap3isp/ispcsi2.c 		isp_reg_readl(isp, regs, ISPCSI2_##name))
isp               635 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_device *isp = csi2->isp;
isp               640 drivers/media/platform/omap3isp/ispcsi2.c 	dev_dbg(isp->dev, "-------------CSI2 Register dump-------------\n");
isp               642 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, SYSCONFIG);
isp               643 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, SYSSTATUS);
isp               644 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, IRQENABLE);
isp               645 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, IRQSTATUS);
isp               646 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, CTRL);
isp               647 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, DBG_H);
isp               648 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, GNQ);
isp               649 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, PHY_CFG);
isp               650 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, PHY_IRQSTATUS);
isp               651 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, SHORT_PACKET);
isp               652 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, PHY_IRQENABLE);
isp               653 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, DBG_P);
isp               654 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, TIMING);
isp               655 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, CTX_CTRL1(0));
isp               656 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, CTX_CTRL2(0));
isp               657 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, CTX_DAT_OFST(0));
isp               658 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, CTX_DAT_PING_ADDR(0));
isp               659 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, CTX_DAT_PONG_ADDR(0));
isp               660 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, CTX_IRQENABLE(0));
isp               661 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, CTX_IRQSTATUS(0));
isp               662 drivers/media/platform/omap3isp/ispcsi2.c 	CSI2_PRINT_REGISTER(isp, csi2->regs1, CTX_CTRL3(0));
isp               664 drivers/media/platform/omap3isp/ispcsi2.c 	dev_dbg(isp->dev, "--------------------------------------------\n");
isp               677 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_device *isp = csi2->isp;
isp               680 drivers/media/platform/omap3isp/ispcsi2.c 	csi2_ctx_enable(isp, csi2, 0, 0);
isp               692 drivers/media/platform/omap3isp/ispcsi2.c 	csi2_ctx_enable(isp, csi2, 0, 1);
isp               698 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_device *isp = csi2->isp;
isp               702 drivers/media/platform/omap3isp/ispcsi2.c 	status = isp_reg_readl(isp, csi2->regs1, ISPCSI2_CTX_IRQSTATUS(n));
isp               703 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, status, csi2->regs1, ISPCSI2_CTX_IRQSTATUS(n));
isp               722 drivers/media/platform/omap3isp/ispcsi2.c 			csi2_ctx_config(isp, csi2, ctx);
isp               723 drivers/media/platform/omap3isp/ispcsi2.c 			csi2_ctx_enable(isp, csi2, n, 1);
isp               739 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_device *isp = csi2->isp;
isp               744 drivers/media/platform/omap3isp/ispcsi2.c 	csi2_irqstatus = isp_reg_readl(isp, csi2->regs1, ISPCSI2_IRQSTATUS);
isp               745 drivers/media/platform/omap3isp/ispcsi2.c 	isp_reg_writel(isp, csi2_irqstatus, csi2->regs1, ISPCSI2_IRQSTATUS);
isp               749 drivers/media/platform/omap3isp/ispcsi2.c 		cpxio1_irqstatus = isp_reg_readl(isp, csi2->regs1,
isp               751 drivers/media/platform/omap3isp/ispcsi2.c 		isp_reg_writel(isp, cpxio1_irqstatus,
isp               753 drivers/media/platform/omap3isp/ispcsi2.c 		dev_dbg(isp->dev, "CSI2: ComplexIO Error IRQ %x\n",
isp               763 drivers/media/platform/omap3isp/ispcsi2.c 		dev_dbg(isp->dev,
isp               786 drivers/media/platform/omap3isp/ispcsi2.c 		dev_dbg(isp->dev, "CSI2: ECC correction done\n");
isp               800 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_device *isp = video->isp;
isp               801 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_csi2_device *csi2 = &isp->isp_csi2a;
isp               813 drivers/media/platform/omap3isp/ispcsi2.c 		csi2_if_enable(isp, csi2, 1);
isp               814 drivers/media/platform/omap3isp/ispcsi2.c 		csi2_ctx_enable(isp, csi2, 0, 1);
isp              1048 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_device *isp = csi2->isp;
isp              1056 drivers/media/platform/omap3isp/ispcsi2.c 			omap3isp_sbl_enable(isp, OMAP3_ISP_SBL_CSI2A_WRITE);
isp              1071 drivers/media/platform/omap3isp/ispcsi2.c 		csi2_ctx_enable(isp, csi2, 0, 1);
isp              1072 drivers/media/platform/omap3isp/ispcsi2.c 		csi2_if_enable(isp, csi2, 1);
isp              1081 drivers/media/platform/omap3isp/ispcsi2.c 			dev_dbg(isp->dev, "%s: module stop timeout.\n",
isp              1083 drivers/media/platform/omap3isp/ispcsi2.c 		csi2_ctx_enable(isp, csi2, 0, 0);
isp              1084 drivers/media/platform/omap3isp/ispcsi2.c 		csi2_if_enable(isp, csi2, 0);
isp              1085 drivers/media/platform/omap3isp/ispcsi2.c 		csi2_irq_ctx_set(isp, csi2, 0);
isp              1088 drivers/media/platform/omap3isp/ispcsi2.c 		omap3isp_sbl_disable(isp, OMAP3_ISP_SBL_CSI2A_WRITE);
isp              1258 drivers/media/platform/omap3isp/ispcsi2.c 	csi2->video_out.isp = csi2->isp;
isp              1275 drivers/media/platform/omap3isp/ispcsi2.c int omap3isp_csi2_init(struct isp_device *isp)
isp              1277 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_csi2_device *csi2a = &isp->isp_csi2a;
isp              1278 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_csi2_device *csi2c = &isp->isp_csi2c;
isp              1281 drivers/media/platform/omap3isp/ispcsi2.c 	csi2a->isp = isp;
isp              1285 drivers/media/platform/omap3isp/ispcsi2.c 	csi2a->phy = &isp->isp_csiphy2;
isp              1293 drivers/media/platform/omap3isp/ispcsi2.c 	if (isp->revision == ISP_REVISION_15_0) {
isp              1294 drivers/media/platform/omap3isp/ispcsi2.c 		csi2c->isp = isp;
isp              1298 drivers/media/platform/omap3isp/ispcsi2.c 		csi2c->phy = &isp->isp_csiphy1;
isp              1309 drivers/media/platform/omap3isp/ispcsi2.c void omap3isp_csi2_cleanup(struct isp_device *isp)
isp              1311 drivers/media/platform/omap3isp/ispcsi2.c 	struct isp_csi2_device *csi2a = &isp->isp_csi2a;
isp               124 drivers/media/platform/omap3isp/ispcsi2.h 	struct isp_device *isp;
isp               147 drivers/media/platform/omap3isp/ispcsi2.h int omap3isp_csi2_init(struct isp_device *isp);
isp               148 drivers/media/platform/omap3isp/ispcsi2.h void omap3isp_csi2_cleanup(struct isp_device *isp);
isp                30 drivers/media/platform/omap3isp/ispcsiphy.c 	regmap_read(phy->isp->syscon, phy->isp->syscon_offset, &reg);
isp                65 drivers/media/platform/omap3isp/ispcsiphy.c 	regmap_write(phy->isp->syscon, phy->isp->syscon_offset, reg);
isp                79 drivers/media/platform/omap3isp/ispcsiphy.c 		regmap_write(phy->isp->syscon, phy->isp->syscon_offset, 0);
isp                86 drivers/media/platform/omap3isp/ispcsiphy.c 	regmap_write(phy->isp->syscon, phy->isp->syscon_offset, csirxfe);
isp               105 drivers/media/platform/omap3isp/ispcsiphy.c 	if (phy->isp->phy_type == ISP_PHY_TYPE_3630 && on)
isp               107 drivers/media/platform/omap3isp/ispcsiphy.c 	if (phy->isp->phy_type == ISP_PHY_TYPE_3430)
isp               117 drivers/media/platform/omap3isp/ispcsiphy.c 	isp_reg_clr_set(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG,
isp               133 drivers/media/platform/omap3isp/ispcsiphy.c 	isp_reg_clr_set(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG,
isp               139 drivers/media/platform/omap3isp/ispcsiphy.c 		reg = isp_reg_readl(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG) &
isp               148 drivers/media/platform/omap3isp/ispcsiphy.c 		dev_err(phy->isp->dev, "CSI2 CIO set power failed!\n");
isp               214 drivers/media/platform/omap3isp/ispcsiphy.c 	reg = isp_reg_readl(phy->isp, phy->phy_regs, ISPCSIPHY_REG0);
isp               225 drivers/media/platform/omap3isp/ispcsiphy.c 	isp_reg_writel(phy->isp, reg, phy->phy_regs, ISPCSIPHY_REG0);
isp               227 drivers/media/platform/omap3isp/ispcsiphy.c 	reg = isp_reg_readl(phy->isp, phy->phy_regs, ISPCSIPHY_REG1);
isp               236 drivers/media/platform/omap3isp/ispcsiphy.c 	isp_reg_writel(phy->isp, reg, phy->phy_regs, ISPCSIPHY_REG1);
isp               239 drivers/media/platform/omap3isp/ispcsiphy.c 	reg = isp_reg_readl(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG);
isp               255 drivers/media/platform/omap3isp/ispcsiphy.c 	isp_reg_writel(phy->isp, reg, phy->cfg_regs, ISPCSI2_PHY_CFG);
isp               265 drivers/media/platform/omap3isp/ispcsiphy.c 		dev_err(phy->isp->dev,
isp               286 drivers/media/platform/omap3isp/ispcsiphy.c 	if (phy->isp->revision == ISP_REVISION_15_0) {
isp               313 drivers/media/platform/omap3isp/ispcsiphy.c 		if (phy->isp->revision == ISP_REVISION_15_0) {
isp               326 drivers/media/platform/omap3isp/ispcsiphy.c int omap3isp_csiphy_init(struct isp_device *isp)
isp               328 drivers/media/platform/omap3isp/ispcsiphy.c 	struct isp_csiphy *phy1 = &isp->isp_csiphy1;
isp               329 drivers/media/platform/omap3isp/ispcsiphy.c 	struct isp_csiphy *phy2 = &isp->isp_csiphy2;
isp               331 drivers/media/platform/omap3isp/ispcsiphy.c 	phy2->isp = isp;
isp               332 drivers/media/platform/omap3isp/ispcsiphy.c 	phy2->csi2 = &isp->isp_csi2a;
isp               338 drivers/media/platform/omap3isp/ispcsiphy.c 	phy1->isp = isp;
isp               341 drivers/media/platform/omap3isp/ispcsiphy.c 	if (isp->revision == ISP_REVISION_15_0) {
isp               342 drivers/media/platform/omap3isp/ispcsiphy.c 		phy1->csi2 = &isp->isp_csi2c;
isp               351 drivers/media/platform/omap3isp/ispcsiphy.c void omap3isp_csiphy_cleanup(struct isp_device *isp)
isp               353 drivers/media/platform/omap3isp/ispcsiphy.c 	mutex_destroy(&isp->isp_csiphy1.mutex);
isp               354 drivers/media/platform/omap3isp/ispcsiphy.c 	mutex_destroy(&isp->isp_csiphy2.mutex);
isp                23 drivers/media/platform/omap3isp/ispcsiphy.h 	struct isp_device *isp;
isp                40 drivers/media/platform/omap3isp/ispcsiphy.h int omap3isp_csiphy_init(struct isp_device *isp);
isp                41 drivers/media/platform/omap3isp/ispcsiphy.h void omap3isp_csiphy_cleanup(struct isp_device *isp);
isp                98 drivers/media/platform/omap3isp/isph3a.h int omap3isp_h3a_aewb_init(struct isp_device *isp);
isp                99 drivers/media/platform/omap3isp/isph3a.h int omap3isp_h3a_af_init(struct isp_device *isp);
isp               101 drivers/media/platform/omap3isp/isph3a.h void omap3isp_h3a_aewb_cleanup(struct isp_device *isp);
isp               102 drivers/media/platform/omap3isp/isph3a.h void omap3isp_h3a_af_cleanup(struct isp_device *isp);
isp                37 drivers/media/platform/omap3isp/isph3a_aewb.c 	isp_reg_writel(aewb->isp, aewb->active_buf->dma_addr,
isp                63 drivers/media/platform/omap3isp/isph3a_aewb.c 	isp_reg_writel(aewb->isp, win1, OMAP3_ISP_IOMEM_H3A, ISPH3A_AEWWIN1);
isp                64 drivers/media/platform/omap3isp/isph3a_aewb.c 	isp_reg_writel(aewb->isp, start, OMAP3_ISP_IOMEM_H3A,
isp                66 drivers/media/platform/omap3isp/isph3a_aewb.c 	isp_reg_writel(aewb->isp, blk, OMAP3_ISP_IOMEM_H3A, ISPH3A_AEWINBLK);
isp                67 drivers/media/platform/omap3isp/isph3a_aewb.c 	isp_reg_writel(aewb->isp, subwin, OMAP3_ISP_IOMEM_H3A,
isp                69 drivers/media/platform/omap3isp/isph3a_aewb.c 	isp_reg_clr_set(aewb->isp, OMAP3_ISP_IOMEM_H3A, ISPH3A_PCR,
isp                81 drivers/media/platform/omap3isp/isph3a_aewb.c 		isp_reg_set(aewb->isp, OMAP3_ISP_IOMEM_H3A, ISPH3A_PCR,
isp                83 drivers/media/platform/omap3isp/isph3a_aewb.c 		omap3isp_subclk_enable(aewb->isp, OMAP3_ISP_SUBCLK_AEWB);
isp                85 drivers/media/platform/omap3isp/isph3a_aewb.c 		isp_reg_clr(aewb->isp, OMAP3_ISP_IOMEM_H3A, ISPH3A_PCR,
isp                87 drivers/media/platform/omap3isp/isph3a_aewb.c 		omap3isp_subclk_disable(aewb->isp, OMAP3_ISP_SUBCLK_AEWB);
isp                93 drivers/media/platform/omap3isp/isph3a_aewb.c 	return isp_reg_readl(aewb->isp, OMAP3_ISP_IOMEM_H3A, ISPH3A_PCR)
isp               287 drivers/media/platform/omap3isp/isph3a_aewb.c int omap3isp_h3a_aewb_init(struct isp_device *isp)
isp               289 drivers/media/platform/omap3isp/isph3a_aewb.c 	struct ispstat *aewb = &isp->isp_aewb;
isp               301 drivers/media/platform/omap3isp/isph3a_aewb.c 	aewb->isp = isp;
isp               306 drivers/media/platform/omap3isp/isph3a_aewb.c 		dev_err(aewb->isp->dev,
isp               324 drivers/media/platform/omap3isp/isph3a_aewb.c 		dev_err(aewb->isp->dev,
isp               347 drivers/media/platform/omap3isp/isph3a_aewb.c void omap3isp_h3a_aewb_cleanup(struct isp_device *isp)
isp               349 drivers/media/platform/omap3isp/isph3a_aewb.c 	omap3isp_stat_cleanup(&isp->isp_aewb);
isp                41 drivers/media/platform/omap3isp/isph3a_af.c 	isp_reg_writel(af->isp, af->active_buf->dma_addr, OMAP3_ISP_IOMEM_H3A,
isp                51 drivers/media/platform/omap3isp/isph3a_af.c 	isp_reg_writel(af->isp, pax1, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX1);
isp                60 drivers/media/platform/omap3isp/isph3a_af.c 	isp_reg_writel(af->isp, pax2, OMAP3_ISP_IOMEM_H3A, ISPH3A_AFPAX2);
isp                67 drivers/media/platform/omap3isp/isph3a_af.c 	isp_reg_writel(af->isp, paxstart, OMAP3_ISP_IOMEM_H3A,
isp                71 drivers/media/platform/omap3isp/isph3a_af.c 	isp_reg_writel(af->isp, conf->iir.h_start,
isp                82 drivers/media/platform/omap3isp/isph3a_af.c 		isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A,
isp                91 drivers/media/platform/omap3isp/isph3a_af.c 		isp_reg_writel(af->isp, coef, OMAP3_ISP_IOMEM_H3A,
isp                96 drivers/media/platform/omap3isp/isph3a_af.c 	isp_reg_writel(af->isp, conf->iir.coeff_set0[10],
isp                99 drivers/media/platform/omap3isp/isph3a_af.c 	isp_reg_writel(af->isp, conf->iir.coeff_set1[10],
isp               119 drivers/media/platform/omap3isp/isph3a_af.c 	isp_reg_clr_set(af->isp, OMAP3_ISP_IOMEM_H3A, ISPH3A_PCR,
isp               131 drivers/media/platform/omap3isp/isph3a_af.c 		isp_reg_set(af->isp, OMAP3_ISP_IOMEM_H3A, ISPH3A_PCR,
isp               133 drivers/media/platform/omap3isp/isph3a_af.c 		omap3isp_subclk_enable(af->isp, OMAP3_ISP_SUBCLK_AF);
isp               135 drivers/media/platform/omap3isp/isph3a_af.c 		isp_reg_clr(af->isp, OMAP3_ISP_IOMEM_H3A, ISPH3A_PCR,
isp               137 drivers/media/platform/omap3isp/isph3a_af.c 		omap3isp_subclk_disable(af->isp, OMAP3_ISP_SUBCLK_AF);
isp               143 drivers/media/platform/omap3isp/isph3a_af.c 	return isp_reg_readl(af->isp, OMAP3_ISP_IOMEM_H3A, ISPH3A_PCR)
isp               350 drivers/media/platform/omap3isp/isph3a_af.c int omap3isp_h3a_af_init(struct isp_device *isp)
isp               352 drivers/media/platform/omap3isp/isph3a_af.c 	struct ispstat *af = &isp->isp_af;
isp               364 drivers/media/platform/omap3isp/isph3a_af.c 	af->isp = isp;
isp               369 drivers/media/platform/omap3isp/isph3a_af.c 		dev_err(af->isp->dev,
isp               382 drivers/media/platform/omap3isp/isph3a_af.c 		dev_err(af->isp->dev,
isp               402 drivers/media/platform/omap3isp/isph3a_af.c void omap3isp_h3a_af_cleanup(struct isp_device *isp)
isp               404 drivers/media/platform/omap3isp/isph3a_af.c 	omap3isp_stat_cleanup(&isp->isp_af);
isp                32 drivers/media/platform/omap3isp/isphist.c 	struct isp_device *isp = hist->isp;
isp                36 drivers/media/platform/omap3isp/isphist.c 	isp_reg_writel(isp, 0, OMAP3_ISP_IOMEM_HIST, ISPHIST_ADDR);
isp                42 drivers/media/platform/omap3isp/isphist.c 	isp_reg_set(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT, ISPHIST_CNT_CLEAR);
isp                49 drivers/media/platform/omap3isp/isphist.c 		isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA);
isp                50 drivers/media/platform/omap3isp/isphist.c 		isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA);
isp                51 drivers/media/platform/omap3isp/isphist.c 		isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA);
isp                52 drivers/media/platform/omap3isp/isphist.c 		isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA);
isp                54 drivers/media/platform/omap3isp/isphist.c 	isp_reg_clr(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT, ISPHIST_CNT_CLEAR);
isp                64 drivers/media/platform/omap3isp/isphist.c 	struct isp_device *isp = hist->isp;
isp               123 drivers/media/platform/omap3isp/isphist.c 	isp_reg_writel(isp, cnt, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT);
isp               124 drivers/media/platform/omap3isp/isphist.c 	isp_reg_writel(isp, wb_gain,  OMAP3_ISP_IOMEM_HIST, ISPHIST_WB_GAIN);
isp               125 drivers/media/platform/omap3isp/isphist.c 	isp_reg_writel(isp, reg_hor[0], OMAP3_ISP_IOMEM_HIST, ISPHIST_R0_HORZ);
isp               126 drivers/media/platform/omap3isp/isphist.c 	isp_reg_writel(isp, reg_ver[0], OMAP3_ISP_IOMEM_HIST, ISPHIST_R0_VERT);
isp               127 drivers/media/platform/omap3isp/isphist.c 	isp_reg_writel(isp, reg_hor[1], OMAP3_ISP_IOMEM_HIST, ISPHIST_R1_HORZ);
isp               128 drivers/media/platform/omap3isp/isphist.c 	isp_reg_writel(isp, reg_ver[1], OMAP3_ISP_IOMEM_HIST, ISPHIST_R1_VERT);
isp               129 drivers/media/platform/omap3isp/isphist.c 	isp_reg_writel(isp, reg_hor[2], OMAP3_ISP_IOMEM_HIST, ISPHIST_R2_HORZ);
isp               130 drivers/media/platform/omap3isp/isphist.c 	isp_reg_writel(isp, reg_ver[2], OMAP3_ISP_IOMEM_HIST, ISPHIST_R2_VERT);
isp               131 drivers/media/platform/omap3isp/isphist.c 	isp_reg_writel(isp, reg_hor[3], OMAP3_ISP_IOMEM_HIST, ISPHIST_R3_HORZ);
isp               132 drivers/media/platform/omap3isp/isphist.c 	isp_reg_writel(isp, reg_ver[3], OMAP3_ISP_IOMEM_HIST, ISPHIST_R3_VERT);
isp               143 drivers/media/platform/omap3isp/isphist.c 		isp_reg_set(hist->isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_PCR,
isp               145 drivers/media/platform/omap3isp/isphist.c 		omap3isp_subclk_enable(hist->isp, OMAP3_ISP_SUBCLK_HIST);
isp               147 drivers/media/platform/omap3isp/isphist.c 		isp_reg_clr(hist->isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_PCR,
isp               149 drivers/media/platform/omap3isp/isphist.c 		omap3isp_subclk_disable(hist->isp, OMAP3_ISP_SUBCLK_HIST);
isp               155 drivers/media/platform/omap3isp/isphist.c 	return isp_reg_readl(hist->isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_PCR)
isp               165 drivers/media/platform/omap3isp/isphist.c 	isp_reg_clr(hist->isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT,
isp               170 drivers/media/platform/omap3isp/isphist.c 		omap3isp_hist_dma_done(hist->isp);
isp               182 drivers/media/platform/omap3isp/isphist.c 		dev_dbg(hist->isp->dev, "hist: invalid DMA buffer address\n");
isp               186 drivers/media/platform/omap3isp/isphist.c 	isp_reg_writel(hist->isp, 0, OMAP3_ISP_IOMEM_HIST, ISPHIST_ADDR);
isp               187 drivers/media/platform/omap3isp/isphist.c 	isp_reg_set(hist->isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT,
isp               189 drivers/media/platform/omap3isp/isphist.c 	omap3isp_flush(hist->isp);
isp               192 drivers/media/platform/omap3isp/isphist.c 	cfg.src_addr = hist->isp->mmio_hist_base_phys + ISPHIST_DATA;
isp               198 drivers/media/platform/omap3isp/isphist.c 		dev_dbg(hist->isp->dev,
isp               207 drivers/media/platform/omap3isp/isphist.c 		dev_dbg(hist->isp->dev,
isp               216 drivers/media/platform/omap3isp/isphist.c 		dev_dbg(hist->isp->dev, "hist: DMA submission failed\n");
isp               231 drivers/media/platform/omap3isp/isphist.c 	struct isp_device *isp = hist->isp;
isp               236 drivers/media/platform/omap3isp/isphist.c 		dev_dbg(isp->dev, "hist: invalid PIO buffer address\n");
isp               241 drivers/media/platform/omap3isp/isphist.c 	isp_reg_writel(isp, 0, OMAP3_ISP_IOMEM_HIST, ISPHIST_ADDR);
isp               248 drivers/media/platform/omap3isp/isphist.c 	isp_reg_set(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT, ISPHIST_CNT_CLEAR);
isp               256 drivers/media/platform/omap3isp/isphist.c 		*buf++ = isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA);
isp               257 drivers/media/platform/omap3isp/isphist.c 		*buf++ = isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA);
isp               258 drivers/media/platform/omap3isp/isphist.c 		*buf++ = isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA);
isp               259 drivers/media/platform/omap3isp/isphist.c 		*buf++ = isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA);
isp               261 drivers/media/platform/omap3isp/isphist.c 	isp_reg_clr(hist->isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT,
isp               474 drivers/media/platform/omap3isp/isphist.c int omap3isp_hist_init(struct isp_device *isp)
isp               476 drivers/media/platform/omap3isp/isphist.c 	struct ispstat *hist = &isp->isp_hist;
isp               484 drivers/media/platform/omap3isp/isphist.c 	hist->isp = isp;
isp               505 drivers/media/platform/omap3isp/isphist.c 			dev_warn(isp->dev,
isp               508 drivers/media/platform/omap3isp/isphist.c 			dev_dbg(isp->dev, "hist: using DMA channel %s\n",
isp               532 drivers/media/platform/omap3isp/isphist.c void omap3isp_hist_cleanup(struct isp_device *isp)
isp               534 drivers/media/platform/omap3isp/isphist.c 	struct ispstat *hist = &isp->isp_hist;
isp                24 drivers/media/platform/omap3isp/isphist.h int omap3isp_hist_init(struct isp_device *isp);
isp                25 drivers/media/platform/omap3isp/isphist.h void omap3isp_hist_cleanup(struct isp_device *isp);
isp               152 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               156 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, ISPPRV_YENH_TABLE_ADDR,
isp               159 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_writel(isp, yt->table[i],
isp               170 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               173 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               176 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               185 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               188 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               191 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               201 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               204 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, (hmed->odddist == 1 ? 0 : ISPPRV_HMED_ODDDIST) |
isp               215 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               218 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               221 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               244 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               248 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp,
isp               253 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, ISPPRV_CFA_TABLE_ADDR,
isp               260 drivers/media/platform/omap3isp/isppreview.c 			isp_reg_writel(isp, block[j], OMAP3_ISP_IOMEM_PREV,
isp               272 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               275 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp,
isp               287 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               290 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               293 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               306 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               310 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, wbal->dgain, OMAP3_ISP_IOMEM_PREV, ISPPRV_WB_DGAIN);
isp               316 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_PREV, ISPPRV_WBGAIN);
isp               318 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp,
isp               345 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               348 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, (blkadj->blue << ISPPRV_BLKADJOFF_B_SHIFT) |
isp               361 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               367 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_PREV, ISPPRV_RGB_MAT1);
isp               371 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_PREV, ISPPRV_RGB_MAT2);
isp               375 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_PREV, ISPPRV_RGB_MAT3);
isp               379 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_PREV, ISPPRV_RGB_MAT4);
isp               382 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_PREV, ISPPRV_RGB_MAT5);
isp               386 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_PREV, ISPPRV_RGB_OFF1);
isp               389 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_PREV, ISPPRV_RGB_OFF2);
isp               399 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               406 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_PREV, ISPPRV_CSC0);
isp               411 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_PREV, ISPPRV_CSC1);
isp               416 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_PREV, ISPPRV_CSC2);
isp               421 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, val, OMAP3_ISP_IOMEM_PREV, ISPPRV_CSC_OFFSET);
isp               431 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               434 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp,
isp               449 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               452 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, dcor->detect_correct[0],
isp               454 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, dcor->detect_correct[1],
isp               456 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, dcor->detect_correct[2],
isp               458 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, dcor->detect_correct[3],
isp               460 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               470 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               473 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               476 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               486 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               489 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               492 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               501 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               504 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               507 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               518 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               522 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, nf->spread, OMAP3_ISP_IOMEM_PREV, ISPPRV_NF);
isp               523 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, ISPPRV_NF_TABLE_ADDR,
isp               526 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_writel(isp, nf->table[i],
isp               537 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               540 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               543 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               554 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               558 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, ISPPRV_REDGAMMA_TABLE_ADDR,
isp               561 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_writel(isp, gt->red[i], OMAP3_ISP_IOMEM_PREV,
isp               564 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, ISPPRV_GREENGAMMA_TABLE_ADDR,
isp               567 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_writel(isp, gt->green[i], OMAP3_ISP_IOMEM_PREV,
isp               570 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, ISPPRV_BLUEGAMMA_TABLE_ADDR,
isp               573 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_writel(isp, gt->blue[i], OMAP3_ISP_IOMEM_PREV,
isp               586 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               589 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               592 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               605 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               607 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_CNT_BRT,
isp               619 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               621 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_CNT_BRT,
isp               962 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               976 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp               987 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp               989 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, ISPPRV_AVE_EVENDIST_2 << ISPPRV_AVE_EVENDIST_SHIFT |
isp              1011 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp              1015 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp              1018 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp              1036 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp              1041 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR, ISPPRV_PCR_CFAEN);
isp              1042 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp              1065 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp              1096 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, (sph << ISPPRV_HORZ_INFO_SPH_SHIFT) | eph,
isp              1098 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, (slv << ISPPRV_VERT_INFO_SLV_SHIFT) | elv,
isp              1115 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp              1117 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, offset & 0xffff, OMAP3_ISP_IOMEM_PREV,
isp              1129 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp              1131 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, addr, OMAP3_ISP_IOMEM_PREV, ISPPRV_RSDR_ADDR);
isp              1143 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp              1145 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, offset & 0xffff, OMAP3_ISP_IOMEM_PREV,
isp              1157 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp              1159 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_writel(isp, addr, OMAP3_ISP_IOMEM_PREV, ISPPRV_WSDR_ADDR);
isp              1165 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp              1177 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_SBL, ISPSBL_SDR_REQ_EXP,
isp              1206 drivers/media/platform/omap3isp/isppreview.c 	dev_dbg(isp->dev, "%s: cycles per request = %u\n", __func__, value);
isp              1207 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_SBL, ISPSBL_SDR_REQ_EXP,
isp              1217 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp              1219 drivers/media/platform/omap3isp/isppreview.c 	return isp_reg_readl(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR)
isp              1226 drivers/media/platform/omap3isp/isppreview.c void omap3isp_preview_restore_context(struct isp_device *isp)
isp              1228 drivers/media/platform/omap3isp/isppreview.c 	struct isp_prev_device *prev = &isp->isp_prev;
isp              1243 drivers/media/platform/omap3isp/isppreview.c #define PREV_PRINT_REGISTER(isp, name)\
isp              1244 drivers/media/platform/omap3isp/isppreview.c 	dev_dbg(isp->dev, "###PRV " #name "=0x%08x\n", \
isp              1245 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_readl(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_##name))
isp              1249 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp              1251 drivers/media/platform/omap3isp/isppreview.c 	dev_dbg(isp->dev, "-------------Preview Register dump----------\n");
isp              1253 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, PCR);
isp              1254 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, HORZ_INFO);
isp              1255 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, VERT_INFO);
isp              1256 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, RSDR_ADDR);
isp              1257 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, RADR_OFFSET);
isp              1258 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, DSDR_ADDR);
isp              1259 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, DRKF_OFFSET);
isp              1260 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, WSDR_ADDR);
isp              1261 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, WADD_OFFSET);
isp              1262 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, AVE);
isp              1263 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, HMED);
isp              1264 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, NF);
isp              1265 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, WB_DGAIN);
isp              1266 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, WBGAIN);
isp              1267 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, WBSEL);
isp              1268 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, CFA);
isp              1269 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, BLKADJOFF);
isp              1270 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, RGB_MAT1);
isp              1271 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, RGB_MAT2);
isp              1272 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, RGB_MAT3);
isp              1273 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, RGB_MAT4);
isp              1274 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, RGB_MAT5);
isp              1275 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, RGB_OFF1);
isp              1276 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, RGB_OFF2);
isp              1277 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, CSC0);
isp              1278 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, CSC1);
isp              1279 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, CSC2);
isp              1280 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, CSC_OFFSET);
isp              1281 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, CNT_BRT);
isp              1282 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, CSUP);
isp              1283 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, SETUP_YC);
isp              1284 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, SET_TBL_ADDR);
isp              1285 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, CDC_THR0);
isp              1286 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, CDC_THR1);
isp              1287 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, CDC_THR2);
isp              1288 drivers/media/platform/omap3isp/isppreview.c 	PREV_PRINT_REGISTER(isp, CDC_THR3);
isp              1290 drivers/media/platform/omap3isp/isppreview.c 	dev_dbg(isp->dev, "--------------------------------------------\n");
isp              1363 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp              1365 drivers/media/platform/omap3isp/isppreview.c 	switch (isp->revision) {
isp              1380 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp              1414 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp              1417 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp              1421 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp              1424 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp              1445 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp              1452 drivers/media/platform/omap3isp/isppreview.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp              1455 drivers/media/platform/omap3isp/isppreview.c 	isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR,
isp              1558 drivers/media/platform/omap3isp/isppreview.c 	struct isp_prev_device *prev = &video->isp->isp_prev;
isp              1632 drivers/media/platform/omap3isp/isppreview.c 	struct isp_device *isp = to_isp_device(prev);
isp              1639 drivers/media/platform/omap3isp/isppreview.c 		omap3isp_subclk_enable(isp, OMAP3_ISP_SUBCLK_PREVIEW);
isp              1648 drivers/media/platform/omap3isp/isppreview.c 			omap3isp_sbl_enable(isp, OMAP3_ISP_SBL_PREVIEW_WRITE);
isp              1659 drivers/media/platform/omap3isp/isppreview.c 			omap3isp_sbl_enable(isp, OMAP3_ISP_SBL_PREVIEW_READ);
isp              1661 drivers/media/platform/omap3isp/isppreview.c 			omap3isp_sbl_enable(isp, OMAP3_ISP_SBL_PREVIEW_WRITE);
isp              1670 drivers/media/platform/omap3isp/isppreview.c 		omap3isp_sbl_disable(isp, OMAP3_ISP_SBL_PREVIEW_READ);
isp              1671 drivers/media/platform/omap3isp/isppreview.c 		omap3isp_sbl_disable(isp, OMAP3_ISP_SBL_PREVIEW_WRITE);
isp              1672 drivers/media/platform/omap3isp/isppreview.c 		omap3isp_subclk_disable(isp, OMAP3_ISP_SUBCLK_PREVIEW);
isp              2300 drivers/media/platform/omap3isp/isppreview.c 	prev->video_in.isp = to_isp_device(prev);
isp              2305 drivers/media/platform/omap3isp/isppreview.c 	prev->video_out.isp = to_isp_device(prev);
isp              2331 drivers/media/platform/omap3isp/isppreview.c int omap3isp_preview_init(struct isp_device *isp)
isp              2333 drivers/media/platform/omap3isp/isppreview.c 	struct isp_prev_device *prev = &isp->isp_prev;
isp              2342 drivers/media/platform/omap3isp/isppreview.c void omap3isp_preview_cleanup(struct isp_device *isp)
isp              2344 drivers/media/platform/omap3isp/isppreview.c 	struct isp_prev_device *prev = &isp->isp_prev;
isp               147 drivers/media/platform/omap3isp/isppreview.h int omap3isp_preview_init(struct isp_device *isp);
isp               148 drivers/media/platform/omap3isp/isppreview.h void omap3isp_preview_cleanup(struct isp_device *isp);
isp               159 drivers/media/platform/omap3isp/isppreview.h void omap3isp_preview_restore_context(struct isp_device *isp);
isp               152 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               164 drivers/media/platform/omap3isp/ispresizer.c 		isp_reg_writel(isp, tmp_h, OMAP3_ISP_IOMEM_RESZ, startaddr_h);
isp               165 drivers/media/platform/omap3isp/ispresizer.c 		isp_reg_writel(isp, tmp_v, OMAP3_ISP_IOMEM_RESZ, startaddr_v);
isp               183 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               186 drivers/media/platform/omap3isp/ispresizer.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT,
isp               189 drivers/media/platform/omap3isp/ispresizer.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT,
isp               200 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               204 drivers/media/platform/omap3isp/ispresizer.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT,
isp               208 drivers/media/platform/omap3isp/ispresizer.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT,
isp               227 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               230 drivers/media/platform/omap3isp/ispresizer.c 	rgval = isp_reg_readl(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT) &
isp               235 drivers/media/platform/omap3isp/ispresizer.c 	isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT);
isp               263 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               275 drivers/media/platform/omap3isp/ispresizer.c 	isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_YENH);
isp               289 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               292 drivers/media/platform/omap3isp/ispresizer.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT,
isp               295 drivers/media/platform/omap3isp/ispresizer.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT,
isp               309 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               313 drivers/media/platform/omap3isp/ispresizer.c 	rgval = isp_reg_readl(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT) &
isp               319 drivers/media/platform/omap3isp/ispresizer.c 	isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT);
isp               353 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               360 drivers/media/platform/omap3isp/ispresizer.c 	isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_OUT_SIZE);
isp               374 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               376 drivers/media/platform/omap3isp/ispresizer.c 	isp_reg_writel(isp, offset, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_SDR_OUTOFF);
isp               396 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               404 drivers/media/platform/omap3isp/ispresizer.c 	isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_IN_START);
isp               416 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               424 drivers/media/platform/omap3isp/ispresizer.c 	isp_reg_writel(isp, rgval, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_IN_SIZE);
isp               438 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               440 drivers/media/platform/omap3isp/ispresizer.c 	isp_reg_writel(isp, offset, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_SDR_INOFF);
isp               451 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               454 drivers/media/platform/omap3isp/ispresizer.c 		isp_reg_set(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT,
isp               457 drivers/media/platform/omap3isp/ispresizer.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT,
isp               469 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               471 drivers/media/platform/omap3isp/ispresizer.c 	isp_reg_writel(isp, addr, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_SDR_INADD);
isp               542 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               554 drivers/media/platform/omap3isp/ispresizer.c 		isp_reg_clr(isp, OMAP3_ISP_IOMEM_SBL, ISPSBL_SDR_REQ_EXP,
isp               559 drivers/media/platform/omap3isp/ispresizer.c 	switch (isp->revision) {
isp               596 drivers/media/platform/omap3isp/ispresizer.c 	dev_dbg(isp->dev, "%s: cycles per request = %u\n", __func__, value);
isp               597 drivers/media/platform/omap3isp/ispresizer.c 	isp_reg_clr_set(isp, OMAP3_ISP_IOMEM_SBL, ISPSBL_SDR_REQ_EXP,
isp               609 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               611 drivers/media/platform/omap3isp/ispresizer.c 	return isp_reg_readl(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_PCR) &
isp               638 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               644 drivers/media/platform/omap3isp/ispresizer.c 	isp_reg_writel(isp, addr << ISPRSZ_SDR_OUTADD_ADDR_SHIFT,
isp               651 drivers/media/platform/omap3isp/ispresizer.c #define RSZ_PRINT_REGISTER(isp, name)\
isp               652 drivers/media/platform/omap3isp/ispresizer.c 	dev_dbg(isp->dev, "###RSZ " #name "=0x%08x\n", \
isp               653 drivers/media/platform/omap3isp/ispresizer.c 		isp_reg_readl(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_##name))
isp               657 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               659 drivers/media/platform/omap3isp/ispresizer.c 	dev_dbg(isp->dev, "-------------Resizer Register dump----------\n");
isp               661 drivers/media/platform/omap3isp/ispresizer.c 	RSZ_PRINT_REGISTER(isp, PCR);
isp               662 drivers/media/platform/omap3isp/ispresizer.c 	RSZ_PRINT_REGISTER(isp, CNT);
isp               663 drivers/media/platform/omap3isp/ispresizer.c 	RSZ_PRINT_REGISTER(isp, OUT_SIZE);
isp               664 drivers/media/platform/omap3isp/ispresizer.c 	RSZ_PRINT_REGISTER(isp, IN_START);
isp               665 drivers/media/platform/omap3isp/ispresizer.c 	RSZ_PRINT_REGISTER(isp, IN_SIZE);
isp               666 drivers/media/platform/omap3isp/ispresizer.c 	RSZ_PRINT_REGISTER(isp, SDR_INADD);
isp               667 drivers/media/platform/omap3isp/ispresizer.c 	RSZ_PRINT_REGISTER(isp, SDR_INOFF);
isp               668 drivers/media/platform/omap3isp/ispresizer.c 	RSZ_PRINT_REGISTER(isp, SDR_OUTADD);
isp               669 drivers/media/platform/omap3isp/ispresizer.c 	RSZ_PRINT_REGISTER(isp, SDR_OUTOFF);
isp               670 drivers/media/platform/omap3isp/ispresizer.c 	RSZ_PRINT_REGISTER(isp, YENH);
isp               672 drivers/media/platform/omap3isp/ispresizer.c 	dev_dbg(isp->dev, "--------------------------------------------\n");
isp               782 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               831 drivers/media/platform/omap3isp/ispresizer.c 		switch (isp->revision) {
isp               846 drivers/media/platform/omap3isp/ispresizer.c 		switch (isp->revision) {
isp               991 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp               993 drivers/media/platform/omap3isp/ispresizer.c 	isp_reg_set(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_PCR,
isp              1089 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_res_device *res = &video->isp->isp_res;
isp              1134 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp              1141 drivers/media/platform/omap3isp/ispresizer.c 		omap3isp_subclk_enable(isp, OMAP3_ISP_SUBCLK_RESIZER);
isp              1148 drivers/media/platform/omap3isp/ispresizer.c 		omap3isp_sbl_enable(isp, OMAP3_ISP_SBL_RESIZER_WRITE);
isp              1157 drivers/media/platform/omap3isp/ispresizer.c 			omap3isp_sbl_enable(isp, OMAP3_ISP_SBL_RESIZER_READ);
isp              1158 drivers/media/platform/omap3isp/ispresizer.c 		omap3isp_sbl_enable(isp, OMAP3_ISP_SBL_RESIZER_WRITE);
isp              1167 drivers/media/platform/omap3isp/ispresizer.c 		omap3isp_sbl_disable(isp, OMAP3_ISP_SBL_RESIZER_READ |
isp              1169 drivers/media/platform/omap3isp/ispresizer.c 		omap3isp_subclk_disable(isp, OMAP3_ISP_SUBCLK_RESIZER);
isp              1280 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp              1295 drivers/media/platform/omap3isp/ispresizer.c 	dev_dbg(isp->dev, "%s(%s): req %ux%u -> (%d,%d)/%ux%u -> %ux%u\n",
isp              1313 drivers/media/platform/omap3isp/ispresizer.c 	dev_dbg(isp->dev, "%s(%s): got %ux%u -> (%d,%d)/%ux%u -> %ux%u\n",
isp              1353 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_device *isp = to_isp_device(res);
isp              1358 drivers/media/platform/omap3isp/ispresizer.c 		if (isp->revision == ISP_REVISION_1_0)
isp              1742 drivers/media/platform/omap3isp/ispresizer.c 	res->video_in.isp = to_isp_device(res);
isp              1747 drivers/media/platform/omap3isp/ispresizer.c 	res->video_out.isp = to_isp_device(res);
isp              1775 drivers/media/platform/omap3isp/ispresizer.c int omap3isp_resizer_init(struct isp_device *isp)
isp              1777 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_res_device *res = &isp->isp_res;
isp              1786 drivers/media/platform/omap3isp/ispresizer.c void omap3isp_resizer_cleanup(struct isp_device *isp)
isp              1788 drivers/media/platform/omap3isp/ispresizer.c 	struct isp_res_device *res = &isp->isp_res;
isp               118 drivers/media/platform/omap3isp/ispresizer.h int omap3isp_resizer_init(struct isp_device *isp);
isp               119 drivers/media/platform/omap3isp/ispresizer.h void omap3isp_resizer_cleanup(struct isp_device *isp);
isp                56 drivers/media/platform/omap3isp/ispstat.c #define IS_H3A_AF(stat)		((stat) == &(stat)->isp->isp_af)
isp                57 drivers/media/platform/omap3isp/ispstat.c #define IS_H3A_AEWB(stat)	((stat) == &(stat)->isp->isp_aewb)
isp                68 drivers/media/platform/omap3isp/ispstat.c 	dma_sync(stat->isp->dev, buf->dma_addr, 0, MAGIC_SIZE, dir);
isp                69 drivers/media/platform/omap3isp/ispstat.c 	dma_sync(stat->isp->dev, buf->dma_addr + (buf_size & PAGE_MASK),
isp               114 drivers/media/platform/omap3isp/ispstat.c 		dev_dbg(stat->isp->dev,
isp               124 drivers/media/platform/omap3isp/ispstat.c 			dev_dbg(stat->isp->dev,
isp               164 drivers/media/platform/omap3isp/ispstat.c 	dma_sync_sg_for_device(stat->isp->dev, buf->sgt.sgl,
isp               174 drivers/media/platform/omap3isp/ispstat.c 	dma_sync_sg_for_cpu(stat->isp->dev, buf->sgt.sgl,
isp               242 drivers/media/platform/omap3isp/ispstat.c 		dev_dbg(stat->isp->dev, "%s: data wasn't properly written.\n",
isp               259 drivers/media/platform/omap3isp/ispstat.c 		dev_dbg(stat->isp->dev,
isp               271 drivers/media/platform/omap3isp/ispstat.c 	spin_lock_irqsave(&stat->isp->stat_lock, flags);
isp               273 drivers/media/platform/omap3isp/ispstat.c 	spin_unlock_irqrestore(&stat->isp->stat_lock, flags);
isp               284 drivers/media/platform/omap3isp/ispstat.c 	spin_lock_irqsave(&stat->isp->stat_lock, flags);
isp               289 drivers/media/platform/omap3isp/ispstat.c 			spin_unlock_irqrestore(&stat->isp->stat_lock, flags);
isp               290 drivers/media/platform/omap3isp/ispstat.c 			dev_dbg(stat->isp->dev, "%s: cannot find a buffer.\n",
isp               295 drivers/media/platform/omap3isp/ispstat.c 			dev_dbg(stat->isp->dev,
isp               308 drivers/media/platform/omap3isp/ispstat.c 	spin_unlock_irqrestore(&stat->isp->stat_lock, flags);
isp               311 drivers/media/platform/omap3isp/ispstat.c 		dev_warn(stat->isp->dev,
isp               325 drivers/media/platform/omap3isp/ispstat.c 		dev_info(stat->isp->dev,
isp               338 drivers/media/platform/omap3isp/ispstat.c 			   ? NULL : stat->isp->dev;
isp               357 drivers/media/platform/omap3isp/ispstat.c 	dev_dbg(stat->isp->dev, "%s: all buffers were freed.\n",
isp               406 drivers/media/platform/omap3isp/ispstat.c 			   ? NULL : stat->isp->dev;
isp               410 drivers/media/platform/omap3isp/ispstat.c 	spin_lock_irqsave(&stat->isp->stat_lock, flags);
isp               416 drivers/media/platform/omap3isp/ispstat.c 		spin_unlock_irqrestore(&stat->isp->stat_lock, flags);
isp               421 drivers/media/platform/omap3isp/ispstat.c 		dev_info(stat->isp->dev,
isp               424 drivers/media/platform/omap3isp/ispstat.c 		spin_unlock_irqrestore(&stat->isp->stat_lock, flags);
isp               428 drivers/media/platform/omap3isp/ispstat.c 	spin_unlock_irqrestore(&stat->isp->stat_lock, flags);
isp               440 drivers/media/platform/omap3isp/ispstat.c 			dev_err(stat->isp->dev,
isp               449 drivers/media/platform/omap3isp/ispstat.c 		dev_dbg(stat->isp->dev,
isp               487 drivers/media/platform/omap3isp/ispstat.c 		dev_dbg(stat->isp->dev, "%s: engine not enabled.\n",
isp               546 drivers/media/platform/omap3isp/ispstat.c 	dev_dbg(stat->isp->dev,
isp               553 drivers/media/platform/omap3isp/ispstat.c 		dev_dbg(stat->isp->dev, "%s: configuration values are invalid.\n",
isp               559 drivers/media/platform/omap3isp/ispstat.c 		dev_dbg(stat->isp->dev,
isp               600 drivers/media/platform/omap3isp/ispstat.c 	spin_lock_irqsave(&stat->isp->stat_lock, irqflags);
isp               602 drivers/media/platform/omap3isp/ispstat.c 	spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags);
isp               612 drivers/media/platform/omap3isp/ispstat.c 	dev_dbg(stat->isp->dev,
isp               676 drivers/media/platform/omap3isp/ispstat.c 	spin_lock_irqsave(&stat->isp->stat_lock, flags);
isp               683 drivers/media/platform/omap3isp/ispstat.c 	spin_unlock_irqrestore(&stat->isp->stat_lock, flags);
isp               701 drivers/media/platform/omap3isp/ispstat.c 	spin_lock_irqsave(&stat->isp->stat_lock, irqflags);
isp               723 drivers/media/platform/omap3isp/ispstat.c 		spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags);
isp               724 drivers/media/platform/omap3isp/ispstat.c 		dev_dbg(stat->isp->dev, "%s: module is enabled.\n",
isp               727 drivers/media/platform/omap3isp/ispstat.c 		spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags);
isp               740 drivers/media/platform/omap3isp/ispstat.c 	spin_lock_irqsave(&stat->isp->stat_lock, irqflags);
isp               755 drivers/media/platform/omap3isp/ispstat.c 	spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags);
isp               769 drivers/media/platform/omap3isp/ispstat.c 	dev_dbg(stat->isp->dev, "%s: user wants to %s module.\n",
isp               775 drivers/media/platform/omap3isp/ispstat.c 	spin_lock_irqsave(&stat->isp->stat_lock, irqflags);
isp               778 drivers/media/platform/omap3isp/ispstat.c 		spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags);
isp               780 drivers/media/platform/omap3isp/ispstat.c 		dev_dbg(stat->isp->dev,
isp               804 drivers/media/platform/omap3isp/ispstat.c 	spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags);
isp               824 drivers/media/platform/omap3isp/ispstat.c 		spin_lock_irqsave(&stat->isp->stat_lock, flags);
isp               826 drivers/media/platform/omap3isp/ispstat.c 		spin_unlock_irqrestore(&stat->isp->stat_lock, flags);
isp               842 drivers/media/platform/omap3isp/ispstat.c 		dev_dbg(stat->isp->dev, "%s: module is being disabled\n",
isp               864 drivers/media/platform/omap3isp/ispstat.c 	spin_lock_irqsave(&stat->isp->stat_lock, irqflags);
isp               866 drivers/media/platform/omap3isp/ispstat.c 		spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags);
isp               875 drivers/media/platform/omap3isp/ispstat.c 			spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags);
isp               876 drivers/media/platform/omap3isp/ispstat.c 			dev_err(stat->isp->dev,
isp               889 drivers/media/platform/omap3isp/ispstat.c 			spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags);
isp               893 drivers/media/platform/omap3isp/ispstat.c 	spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags);
isp               904 drivers/media/platform/omap3isp/ispstat.c 		spin_lock_irqsave(&stat->isp->stat_lock, irqflags);
isp               913 drivers/media/platform/omap3isp/ispstat.c 			spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags);
isp               960 drivers/media/platform/omap3isp/ispstat.c 		spin_unlock_irqrestore(&stat->isp->stat_lock, irqflags);
isp               982 drivers/media/platform/omap3isp/ispstat.c 		dev_dbg(stat->isp->dev,
isp                96 drivers/media/platform/omap3isp/ispstat.h 	struct isp_device *isp;
isp               366 drivers/media/platform/omap3isp/ispvideo.c 		dev_dbg(video->isp->dev,
isp               711 drivers/media/platform/omap3isp/ispvideo.c 		if (video != &video->isp->isp_ccdc.video_out)
isp               959 drivers/media/platform/omap3isp/ispvideo.c 	struct isp_device *isp = video->isp;
isp               961 drivers/media/platform/omap3isp/ispvideo.c 		&isp->isp_csi2a.subdev.entity,
isp               962 drivers/media/platform/omap3isp/ispvideo.c 		&isp->isp_csi2c.subdev.entity,
isp               963 drivers/media/platform/omap3isp/ispvideo.c 		&isp->isp_ccp2.subdev.entity,
isp               964 drivers/media/platform/omap3isp/ispvideo.c 		&isp->isp_ccdc.subdev.entity
isp               995 drivers/media/platform/omap3isp/ispvideo.c 		dev_warn(isp->dev, "can't find source, failing now\n");
isp              1009 drivers/media/platform/omap3isp/ispvideo.c 		dev_warn(isp->dev, "get_fmt returned null!\n");
isp              1026 drivers/media/platform/omap3isp/ispvideo.c 		dev_warn(isp->dev, "no pixel rate control in subdev %s\n",
isp              1034 drivers/media/platform/omap3isp/ispvideo.c 				   &isp->isp_ccdc.subdev.entity)) {
isp              1040 drivers/media/platform/omap3isp/ispvideo.c 		omap3isp_ccdc_max_rate(&isp->isp_ccdc, &rate);
isp              1100 drivers/media/platform/omap3isp/ispvideo.c 	ret = media_entity_enum_init(&pipe->ent_enum, &video->isp->media_dev);
isp              1105 drivers/media/platform/omap3isp/ispvideo.c 	pipe->l3_ick = clk_get_rate(video->isp->clock[ISP_CLK_L3_ICK]);
isp              1309 drivers/media/platform/omap3isp/ispvideo.c 	if (omap3isp_get(video->isp) == NULL) {
isp              1316 drivers/media/platform/omap3isp/ispvideo.c 		omap3isp_put(video->isp);
isp              1328 drivers/media/platform/omap3isp/ispvideo.c 	queue->dev = video->isp->dev;
isp              1332 drivers/media/platform/omap3isp/ispvideo.c 		omap3isp_put(video->isp);
isp              1374 drivers/media/platform/omap3isp/ispvideo.c 	omap3isp_put(video->isp);
isp              1489 drivers/media/platform/omap3isp/ispvideo.c 		dev_err(video->isp->dev,
isp               156 drivers/media/platform/omap3isp/ispvideo.h 	struct isp_device *isp;
isp               528 drivers/parisc/iosapic.c 	struct iosapic_info *isp = vi->iosapic;
isp               531 drivers/parisc/iosapic.c 	*dp0 = iosapic_read(isp->addr, IOSAPIC_IRDT_ENTRY(idx));
isp               532 drivers/parisc/iosapic.c 	*dp1 = iosapic_read(isp->addr, IOSAPIC_IRDT_ENTRY_HI(idx));
isp               538 drivers/parisc/iosapic.c 	struct iosapic_info *isp = vi->iosapic;
isp               541 drivers/parisc/iosapic.c 		vi->irqline, isp->isi_hpa, dp0, dp1);
isp               543 drivers/parisc/iosapic.c 	iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY(vi->irqline), dp0);
isp               546 drivers/parisc/iosapic.c 	dp0 = readl(isp->addr+IOSAPIC_REG_WINDOW);
isp               548 drivers/parisc/iosapic.c 	iosapic_write(isp->addr, IOSAPIC_IRDT_ENTRY_HI(vi->irqline), dp1);
isp               551 drivers/parisc/iosapic.c 	dp1 = readl(isp->addr+IOSAPIC_REG_WINDOW);
isp               638 drivers/parisc/iosapic.c 	struct iosapic_info *isp = vi->iosapic;
isp               641 drivers/parisc/iosapic.c 		d1 = iosapic_read(isp->addr, d0);
isp                61 drivers/power/supply/isp1704_charger.c static inline int isp1704_read(struct isp1704_charger *isp, u32 reg)
isp                63 drivers/power/supply/isp1704_charger.c 	return usb_phy_io_read(isp->phy, reg);
isp                66 drivers/power/supply/isp1704_charger.c static inline int isp1704_write(struct isp1704_charger *isp, u32 reg, u32 val)
isp                68 drivers/power/supply/isp1704_charger.c 	return usb_phy_io_write(isp->phy, val, reg);
isp                71 drivers/power/supply/isp1704_charger.c static void isp1704_charger_set_power(struct isp1704_charger *isp, bool on)
isp                73 drivers/power/supply/isp1704_charger.c 	gpiod_set_value(isp->enable_gpio, on);
isp                83 drivers/power/supply/isp1704_charger.c static inline int isp1704_charger_type(struct isp1704_charger *isp)
isp                90 drivers/power/supply/isp1704_charger.c 	func_ctrl = isp1704_read(isp, ULPI_FUNC_CTRL);
isp                91 drivers/power/supply/isp1704_charger.c 	otg_ctrl = isp1704_read(isp, ULPI_OTG_CTRL);
isp                95 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_CLR(ULPI_OTG_CTRL), reg);
isp                98 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_CLR(ULPI_FUNC_CTRL),
isp               100 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_SET(ULPI_FUNC_CTRL),
isp               105 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_SET(ULPI_FUNC_CTRL), reg);
isp               108 drivers/power/supply/isp1704_charger.c 	reg = isp1704_read(isp, ULPI_DEBUG);
isp               113 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_FUNC_CTRL, func_ctrl);
isp               114 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_OTG_CTRL, otg_ctrl);
isp               123 drivers/power/supply/isp1704_charger.c static inline int isp1704_charger_verify(struct isp1704_charger *isp)
isp               129 drivers/power/supply/isp1704_charger.c 	r = isp1704_read(isp, ULPI_FUNC_CTRL);
isp               131 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_FUNC_CTRL, r);
isp               136 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_FUNC_CTRL, r);
isp               140 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_CLR(ULPI_OTG_CTRL), r);
isp               144 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_SET(ULPI_FUNC_CTRL), r);
isp               148 drivers/power/supply/isp1704_charger.c 	if (!isp1704_read(isp, ULPI_DEBUG)) {
isp               150 drivers/power/supply/isp1704_charger.c 		isp1704_write(isp, ULPI_CLR(ULPI_FUNC_CTRL),
isp               158 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_SET(ISP1704_PWR_CTRL),
isp               162 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_CLR(ULPI_FUNC_CTRL),
isp               166 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_SET(ULPI_OTG_CTRL),
isp               170 drivers/power/supply/isp1704_charger.c 	if (!(isp1704_read(isp, ULPI_DEBUG)))
isp               174 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_CLR(ISP1704_PWR_CTRL),
isp               180 drivers/power/supply/isp1704_charger.c static inline int isp1704_charger_detect(struct isp1704_charger *isp)
isp               186 drivers/power/supply/isp1704_charger.c 	pwr_ctrl = isp1704_read(isp, ISP1704_PWR_CTRL);
isp               189 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ISP1704_PWR_CTRL,
isp               193 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ULPI_SET(ISP1704_PWR_CTRL),
isp               201 drivers/power/supply/isp1704_charger.c 		if (isp1704_read(isp, ISP1704_PWR_CTRL)
isp               203 drivers/power/supply/isp1704_charger.c 			ret = isp1704_charger_verify(isp);
isp               206 drivers/power/supply/isp1704_charger.c 	} while (!time_after(jiffies, timeout) && isp->online);
isp               209 drivers/power/supply/isp1704_charger.c 	isp1704_write(isp, ISP1704_PWR_CTRL, pwr_ctrl);
isp               214 drivers/power/supply/isp1704_charger.c static inline int isp1704_charger_detect_dcp(struct isp1704_charger *isp)
isp               216 drivers/power/supply/isp1704_charger.c 	if (isp1704_charger_detect(isp) &&
isp               217 drivers/power/supply/isp1704_charger.c 			isp1704_charger_type(isp) == POWER_SUPPLY_TYPE_USB_DCP)
isp               225 drivers/power/supply/isp1704_charger.c 	struct isp1704_charger	*isp =
isp               231 drivers/power/supply/isp1704_charger.c 	switch (isp->phy->last_event) {
isp               234 drivers/power/supply/isp1704_charger.c 		if (!isp->present) {
isp               235 drivers/power/supply/isp1704_charger.c 			isp->online = true;
isp               236 drivers/power/supply/isp1704_charger.c 			isp->present = 1;
isp               237 drivers/power/supply/isp1704_charger.c 			isp1704_charger_set_power(isp, 1);
isp               240 drivers/power/supply/isp1704_charger.c 			if (isp1704_charger_detect_dcp(isp)) {
isp               241 drivers/power/supply/isp1704_charger.c 				isp->psy_desc.type = POWER_SUPPLY_TYPE_USB_DCP;
isp               242 drivers/power/supply/isp1704_charger.c 				isp->current_max = 1800;
isp               244 drivers/power/supply/isp1704_charger.c 				isp->psy_desc.type = POWER_SUPPLY_TYPE_USB;
isp               245 drivers/power/supply/isp1704_charger.c 				isp->current_max = 500;
isp               249 drivers/power/supply/isp1704_charger.c 			if (isp->phy->otg->gadget)
isp               250 drivers/power/supply/isp1704_charger.c 				usb_gadget_connect(isp->phy->otg->gadget);
isp               253 drivers/power/supply/isp1704_charger.c 		if (isp->psy_desc.type != POWER_SUPPLY_TYPE_USB_DCP) {
isp               258 drivers/power/supply/isp1704_charger.c 			if (isp->current_max > 500)
isp               259 drivers/power/supply/isp1704_charger.c 				isp->current_max = 500;
isp               261 drivers/power/supply/isp1704_charger.c 			if (isp->current_max > 100)
isp               262 drivers/power/supply/isp1704_charger.c 				isp->psy_desc.type = POWER_SUPPLY_TYPE_USB_CDP;
isp               266 drivers/power/supply/isp1704_charger.c 		isp->online = false;
isp               267 drivers/power/supply/isp1704_charger.c 		isp->present = 0;
isp               268 drivers/power/supply/isp1704_charger.c 		isp->current_max = 0;
isp               269 drivers/power/supply/isp1704_charger.c 		isp->psy_desc.type = POWER_SUPPLY_TYPE_USB;
isp               279 drivers/power/supply/isp1704_charger.c 		if (isp->phy->otg->gadget)
isp               280 drivers/power/supply/isp1704_charger.c 			usb_gadget_disconnect(isp->phy->otg->gadget);
isp               282 drivers/power/supply/isp1704_charger.c 		isp1704_charger_set_power(isp, 0);
isp               288 drivers/power/supply/isp1704_charger.c 	power_supply_changed(isp->psy);
isp               296 drivers/power/supply/isp1704_charger.c 	struct isp1704_charger *isp =
isp               299 drivers/power/supply/isp1704_charger.c 	schedule_work(&isp->work);
isp               308 drivers/power/supply/isp1704_charger.c 	struct isp1704_charger *isp = power_supply_get_drvdata(psy);
isp               312 drivers/power/supply/isp1704_charger.c 		val->intval = isp->present;
isp               315 drivers/power/supply/isp1704_charger.c 		val->intval = isp->online;
isp               318 drivers/power/supply/isp1704_charger.c 		val->intval = isp->current_max;
isp               321 drivers/power/supply/isp1704_charger.c 		val->strval = isp->model;
isp               340 drivers/power/supply/isp1704_charger.c static inline int isp1704_test_ulpi(struct isp1704_charger *isp)
isp               348 drivers/power/supply/isp1704_charger.c 	ret = isp1704_write(isp, ULPI_SCRATCH, 0xaa);
isp               352 drivers/power/supply/isp1704_charger.c 	ret = isp1704_read(isp, ULPI_SCRATCH);
isp               360 drivers/power/supply/isp1704_charger.c 	vendor = isp1704_read(isp, ULPI_VENDOR_ID_LOW);
isp               361 drivers/power/supply/isp1704_charger.c 	vendor |= isp1704_read(isp, ULPI_VENDOR_ID_HIGH) << 8;
isp               365 drivers/power/supply/isp1704_charger.c 	product = isp1704_read(isp, ULPI_PRODUCT_ID_LOW);
isp               366 drivers/power/supply/isp1704_charger.c 	product |= isp1704_read(isp, ULPI_PRODUCT_ID_HIGH) << 8;
isp               370 drivers/power/supply/isp1704_charger.c 			sprintf(isp->model, "isp%x", product);
isp               375 drivers/power/supply/isp1704_charger.c 	dev_err(isp->dev, "product id %x not matching known ids", product);
isp               382 drivers/power/supply/isp1704_charger.c 	struct isp1704_charger	*isp;
isp               386 drivers/power/supply/isp1704_charger.c 	isp = devm_kzalloc(&pdev->dev, sizeof(*isp), GFP_KERNEL);
isp               387 drivers/power/supply/isp1704_charger.c 	if (!isp)
isp               390 drivers/power/supply/isp1704_charger.c 	isp->enable_gpio = devm_gpiod_get(&pdev->dev, "nxp,enable",
isp               392 drivers/power/supply/isp1704_charger.c 	if (IS_ERR(isp->enable_gpio)) {
isp               393 drivers/power/supply/isp1704_charger.c 		ret = PTR_ERR(isp->enable_gpio);
isp               399 drivers/power/supply/isp1704_charger.c 		isp->phy = devm_usb_get_phy_by_phandle(&pdev->dev, "usb-phy", 0);
isp               401 drivers/power/supply/isp1704_charger.c 		isp->phy = devm_usb_get_phy(&pdev->dev, USB_PHY_TYPE_USB2);
isp               403 drivers/power/supply/isp1704_charger.c 	if (IS_ERR(isp->phy)) {
isp               404 drivers/power/supply/isp1704_charger.c 		ret = PTR_ERR(isp->phy);
isp               409 drivers/power/supply/isp1704_charger.c 	isp->dev = &pdev->dev;
isp               410 drivers/power/supply/isp1704_charger.c 	platform_set_drvdata(pdev, isp);
isp               412 drivers/power/supply/isp1704_charger.c 	isp1704_charger_set_power(isp, 1);
isp               414 drivers/power/supply/isp1704_charger.c 	ret = isp1704_test_ulpi(isp);
isp               420 drivers/power/supply/isp1704_charger.c 	isp->psy_desc.name		= "isp1704";
isp               421 drivers/power/supply/isp1704_charger.c 	isp->psy_desc.type		= POWER_SUPPLY_TYPE_USB;
isp               422 drivers/power/supply/isp1704_charger.c 	isp->psy_desc.properties	= power_props;
isp               423 drivers/power/supply/isp1704_charger.c 	isp->psy_desc.num_properties	= ARRAY_SIZE(power_props);
isp               424 drivers/power/supply/isp1704_charger.c 	isp->psy_desc.get_property	= isp1704_charger_get_property;
isp               426 drivers/power/supply/isp1704_charger.c 	psy_cfg.drv_data		= isp;
isp               428 drivers/power/supply/isp1704_charger.c 	isp->psy = power_supply_register(isp->dev, &isp->psy_desc, &psy_cfg);
isp               429 drivers/power/supply/isp1704_charger.c 	if (IS_ERR(isp->psy)) {
isp               430 drivers/power/supply/isp1704_charger.c 		ret = PTR_ERR(isp->psy);
isp               439 drivers/power/supply/isp1704_charger.c 	INIT_WORK(&isp->work, isp1704_charger_work);
isp               441 drivers/power/supply/isp1704_charger.c 	isp->nb.notifier_call = isp1704_notifier_call;
isp               443 drivers/power/supply/isp1704_charger.c 	ret = usb_register_notifier(isp->phy, &isp->nb);
isp               449 drivers/power/supply/isp1704_charger.c 	dev_info(isp->dev, "registered with product id %s\n", isp->model);
isp               458 drivers/power/supply/isp1704_charger.c 	if (isp->phy->otg->gadget)
isp               459 drivers/power/supply/isp1704_charger.c 		usb_gadget_disconnect(isp->phy->otg->gadget);
isp               461 drivers/power/supply/isp1704_charger.c 	if (isp->phy->last_event == USB_EVENT_NONE)
isp               462 drivers/power/supply/isp1704_charger.c 		isp1704_charger_set_power(isp, 0);
isp               465 drivers/power/supply/isp1704_charger.c 	if (isp->phy->last_event == USB_EVENT_VBUS &&
isp               466 drivers/power/supply/isp1704_charger.c 			!isp->phy->otg->default_a)
isp               467 drivers/power/supply/isp1704_charger.c 		schedule_work(&isp->work);
isp               471 drivers/power/supply/isp1704_charger.c 	power_supply_unregister(isp->psy);
isp               473 drivers/power/supply/isp1704_charger.c 	isp1704_charger_set_power(isp, 0);
isp               482 drivers/power/supply/isp1704_charger.c 	struct isp1704_charger *isp = platform_get_drvdata(pdev);
isp               484 drivers/power/supply/isp1704_charger.c 	usb_unregister_notifier(isp->phy, &isp->nb);
isp               485 drivers/power/supply/isp1704_charger.c 	power_supply_unregister(isp->psy);
isp               486 drivers/power/supply/isp1704_charger.c 	isp1704_charger_set_power(isp, 0);
isp               375 drivers/scsi/qla2xxx/qla_dbg.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp               728 drivers/scsi/qla2xxx/qla_dbg.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp               755 drivers/scsi/qla2xxx/qla_dbg.c 	fw = &ha->fw_dump->isp.isp23;
isp               900 drivers/scsi/qla2xxx/qla_dbg.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp               928 drivers/scsi/qla2xxx/qla_dbg.c 	fw = &ha->fw_dump->isp.isp21;
isp              1133 drivers/scsi/qla2xxx/qla_dbg.c 	fw = &ha->fw_dump->isp.isp24;
isp              1388 drivers/scsi/qla2xxx/qla_dbg.c 	fw = &ha->fw_dump->isp.isp25;
isp              1713 drivers/scsi/qla2xxx/qla_dbg.c 	fw = &ha->fw_dump->isp.isp81;
isp              2041 drivers/scsi/qla2xxx/qla_dbg.c 	fw = &ha->fw_dump->isp.isp83;
isp              2717 drivers/scsi/qla2xxx/qla_dbg.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp               306 drivers/scsi/qla2xxx/qla_dbg.h 	} isp;
isp               890 drivers/scsi/qla2xxx/qla_def.h 		struct device_reg_2xxx isp;
isp              2325 drivers/scsi/qla2xxx/qla_init.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              2357 drivers/scsi/qla2xxx/qla_init.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              2548 drivers/scsi/qla2xxx/qla_init.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              2954 drivers/scsi/qla2xxx/qla_init.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              3273 drivers/scsi/qla2xxx/qla_init.c 		dump_size = offsetof(struct qla2xxx_fw_dump, isp);
isp              3343 drivers/scsi/qla2xxx/qla_init.c 					    (struct qla2xxx_fw_dump, isp));
isp              3592 drivers/scsi/qla2xxx/qla_init.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              3932 drivers/scsi/qla2xxx/qla_init.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              3956 drivers/scsi/qla2xxx/qla_init.c 	struct device_reg_2xxx __iomem *ioreg = &ha->iobase->isp;
isp              4495 drivers/scsi/qla2xxx/qla_init.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              7011 drivers/scsi/qla2xxx/qla_init.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp               342 drivers/scsi/qla2xxx/qla_iocb.c 	reg = &ha->iobase->isp;
isp               487 drivers/scsi/qla2xxx/qla_iocb.c 			WRT_REG_WORD(ISP_REQ_Q_IN(ha, &reg->isp),
isp               489 drivers/scsi/qla2xxx/qla_iocb.c 			RD_REG_WORD_RELAXED(ISP_REQ_Q_IN(ha, &reg->isp));
isp              2278 drivers/scsi/qla2xxx/qla_iocb.c 			    ISP_REQ_Q_OUT(ha, &reg->isp));
isp                64 drivers/scsi/qla2xxx/qla_isr.c 	reg = &ha->iobase->isp;
isp               184 drivers/scsi/qla2xxx/qla_isr.c 	reg = &ha->iobase->isp;
isp               280 drivers/scsi/qla2xxx/qla_isr.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp               635 drivers/scsi/qla2xxx/qla_isr.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              2045 drivers/scsi/qla2xxx/qla_isr.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              3680 drivers/scsi/qla2xxx/qla_isr.c 	WRT_REG_WORD(&reg->isp.semaphore, 0);
isp               216 drivers/scsi/qla2xxx/qla_mbx.c 		optr = (uint16_t __iomem *)MAILBOX_REG(ha, &reg->isp, 0);
isp               227 drivers/scsi/qla2xxx/qla_mbx.c 			    (uint16_t __iomem *)MAILBOX_REG(ha, &reg->isp, 8);
isp               261 drivers/scsi/qla2xxx/qla_mbx.c 			WRT_REG_WORD(&reg->isp.hccr, HCCR_SET_HOST_INT);
isp               319 drivers/scsi/qla2xxx/qla_mbx.c 			WRT_REG_WORD(&reg->isp.hccr, HCCR_SET_HOST_INT);
isp               433 drivers/scsi/qla2xxx/qla_mbx.c 			mb[0] = RD_MAILBOX_REG(ha, &reg->isp, 0);
isp               434 drivers/scsi/qla2xxx/qla_mbx.c 			ictrl = RD_REG_WORD(&reg->isp.ictrl);
isp               583 drivers/scsi/qla2xxx/qla_mbx.c 			    RD_REG_WORD(&reg->isp.ctrl_status),
isp               584 drivers/scsi/qla2xxx/qla_mbx.c 			    RD_REG_WORD(&reg->isp.ictrl),
isp               585 drivers/scsi/qla2xxx/qla_mbx.c 			    RD_REG_WORD(&reg->isp.istatus));
isp              1881 drivers/scsi/qla2xxx/qla_os.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              1896 drivers/scsi/qla2xxx/qla_os.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              6958 drivers/scsi/qla2xxx/qla_os.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp                26 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp                58 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp                74 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp               107 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp               172 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp               191 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp               249 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp               309 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp               374 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              1579 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              1631 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              1971 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              1987 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              2009 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              2069 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              2286 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              2313 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              2356 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp              2393 drivers/scsi/qla2xxx/qla_sup.c 	struct device_reg_2xxx __iomem *reg = &ha->iobase->isp;
isp                24 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.id, bi->info.isp.sp.pipeline.mode,
isp                25 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.bds.supported_bds_factors,
isp                26 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.enable.vf_veceven,
isp                27 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.vf_dec.is_variable,
isp                28 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.num_output_pins);
isp                31 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.input.min_width,
isp                32 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.input.min_height,
isp                33 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.input.max_width,
isp                34 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.input.max_height,
isp                35 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.enable.input_yuv ? "yuv420 " : "",
isp                36 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.enable.input_feeder ||
isp                37 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.enable.input_raw ? "raw8 raw10 " : "",
isp                38 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.enable.input_raw ? "raw12" : "");
isp                41 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.internal.max_width,
isp                42 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.internal.max_height);
isp                45 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.output.min_width,
isp                46 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.output.min_height,
isp                47 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.output.max_width,
isp                48 drivers/staging/media/ipu3/ipu3-css-fw.c 		bi->info.isp.sp.output.max_height);
isp                49 drivers/staging/media/ipu3/ipu3-css-fw.c 	for (i = 0; i < bi->info.isp.num_output_formats; i++)
isp                50 drivers/staging/media/ipu3/ipu3-css-fw.c 		dev_dbg(dev, " %i", bi->info.isp.output_formats[i]);
isp                52 drivers/staging/media/ipu3/ipu3-css-fw.c 	for (i = 0; i < bi->info.isp.num_vf_formats; i++)
isp                53 drivers/staging/media/ipu3/ipu3-css-fw.c 		dev_dbg(dev, " %i", bi->info.isp.vf_formats[i]);
isp                59 drivers/staging/media/ipu3/ipu3-css-fw.c 	unsigned int width = DIV_ROUND_UP(bi->info.isp.sp.internal.max_width,
isp                61 drivers/staging/media/ipu3/ipu3-css-fw.c 	unsigned int height = DIV_ROUND_UP(bi->info.isp.sp.internal.max_height,
isp                68 drivers/staging/media/ipu3/ipu3-css-fw.c 				 bi->info.isp.sp.iterator.num_stripes;
isp                82 drivers/staging/media/ipu3/ipu3-css-fw.c 	    bi->info.isp.sp.mem_initializers.params[cls][mem].size)
isp               191 drivers/staging/media/ipu3/ipu3-css-fw.c 		if (bi->info.isp.sp.pipeline.mode >= IPU3_CSS_PIPE_ID_NUM)
isp               194 drivers/staging/media/ipu3/ipu3-css-fw.c 		if (bi->info.isp.sp.iterator.num_stripes >
isp               198 drivers/staging/media/ipu3/ipu3-css-fw.c 		if (bi->info.isp.num_vf_formats > IMGU_ABI_FRAME_FORMAT_NUM ||
isp               199 drivers/staging/media/ipu3/ipu3-css-fw.c 		    bi->info.isp.num_output_formats > IMGU_ABI_FRAME_FORMAT_NUM)
isp               202 drivers/staging/media/ipu3/ipu3-css-fw.c 		for (j = 0; j < bi->info.isp.num_output_formats; j++)
isp               203 drivers/staging/media/ipu3/ipu3-css-fw.c 			if (bi->info.isp.output_formats[j] >=
isp               206 drivers/staging/media/ipu3/ipu3-css-fw.c 		for (j = 0; j < bi->info.isp.num_vf_formats; j++)
isp               207 drivers/staging/media/ipu3/ipu3-css-fw.c 			if (bi->info.isp.vf_formats[j] >=
isp               211 drivers/staging/media/ipu3/ipu3-css-fw.c 		if (bi->info.isp.sp.block.block_width <= 0 ||
isp               212 drivers/staging/media/ipu3/ipu3-css-fw.c 		    bi->info.isp.sp.block.block_width > BLOCK_MAX ||
isp               213 drivers/staging/media/ipu3/ipu3-css-fw.c 		    bi->info.isp.sp.block.output_block_height <= 0 ||
isp               214 drivers/staging/media/ipu3/ipu3-css-fw.c 		    bi->info.isp.sp.block.output_block_height > BLOCK_MAX)
isp               141 drivers/staging/media/ipu3/ipu3-css-fw.h 	struct imgu_fw_binary_xinfo isp;	/* ISP info */
isp              1195 drivers/staging/media/ipu3/ipu3-css-params.c 				bi->info.isp.sp.block.block_width *
isp              1656 drivers/staging/media/ipu3/ipu3-css-params.c 		.acc_enable = bi->info.isp.sp.enable.af,
isp              1683 drivers/staging/media/ipu3/ipu3-css-params.c 		.acc_enable = bi->info.isp.sp.enable.awb_fr_acc,
isp              1709 drivers/staging/media/ipu3/ipu3-css-params.c 		.acc_enable = bi->info.isp.sp.enable.awb_acc,
isp              1739 drivers/staging/media/ipu3/ipu3-css-params.c 	const unsigned int stripes = bi->info.isp.sp.iterator.num_stripes;
isp              1957 drivers/staging/media/ipu3/ipu3-css-params.c 	const unsigned int stripes = bi->info.isp.sp.iterator.num_stripes;
isp              2744 drivers/staging/media/ipu3/ipu3-css-params.c 	memset(vmem0, 0, bi->info.isp.sp.mem_initializers.params[c][m].size);
isp              2824 drivers/staging/media/ipu3/ipu3-css-params.c 	memset(dmem0, 0, bi->info.isp.sp.mem_initializers.params[c][m].size);
isp               703 drivers/staging/media/ipu3/ipu3-css.c 	const unsigned int stripes = bi->info.isp.sp.iterator.num_stripes;
isp               904 drivers/staging/media/ipu3/ipu3-css.c 	isp_stage->binary_info = bi->info.isp.sp;
isp               908 drivers/staging/media/ipu3/ipu3-css.c 	isp_stage->mem_initializers = bi->info.isp.sp.mem_initializers;
isp              1026 drivers/staging/media/ipu3/ipu3-css.c 				bi->info.isp.sp.pipeline.isp_pipe_version;
isp              1066 drivers/staging/media/ipu3/ipu3-css.c 			bi->info.isp.sp.enable.params ? (1 << pipe) : 0;
isp              1087 drivers/staging/media/ipu3/ipu3-css.c 				       bi->info.isp.sp.mem_initializers.params
isp              1275 drivers/staging/media/ipu3/ipu3-css.c 			    bi->info.isp.sp.mem_initializers.params[j][i].size))
isp              1305 drivers/staging/media/ipu3/ipu3-css.c 				bi->info.isp.sp.block.block_width *
isp              1309 drivers/staging/media/ipu3/ipu3-css.c 				bi->info.isp.sp.block.output_block_height);
isp              1621 drivers/staging/media/ipu3/ipu3-css.c 		u32 max_width = bi->info.isp.sp.output.max_width;
isp              1622 drivers/staging/media/ipu3/ipu3-css.c 		u32 max_height = bi->info.isp.sp.output.max_height;
isp              1624 drivers/staging/media/ipu3/ipu3-css.c 		if (bi->info.isp.sp.iterator.num_stripes <= 1) {
isp              1639 drivers/staging/media/ipu3/ipu3-css.c 		if (bi->info.isp.sp.input.source !=
isp              1644 drivers/staging/media/ipu3/ipu3-css.c 		if (!bi->info.isp.sp.enable.input_feeder &&
isp              1645 drivers/staging/media/ipu3/ipu3-css.c 		    !bi->info.isp.sp.enable.input_raw)
isp              1649 drivers/staging/media/ipu3/ipu3-css.c 		if (bi->info.isp.sp.pipeline.mode != binary_mode)
isp              1653 drivers/staging/media/ipu3/ipu3-css.c 		if (bi->info.isp.sp.enable.luma_only)
isp              1656 drivers/staging/media/ipu3/ipu3-css.c 		if (in->width < bi->info.isp.sp.input.min_width ||
isp              1657 drivers/staging/media/ipu3/ipu3-css.c 		    in->width > bi->info.isp.sp.input.max_width ||
isp              1658 drivers/staging/media/ipu3/ipu3-css.c 		    in->height < bi->info.isp.sp.input.min_height ||
isp              1659 drivers/staging/media/ipu3/ipu3-css.c 		    in->height > bi->info.isp.sp.input.max_height)
isp              1663 drivers/staging/media/ipu3/ipu3-css.c 			if (bi->info.isp.num_output_pins <= 0)
isp              1667 drivers/staging/media/ipu3/ipu3-css.c 			for (j = 0; j < bi->info.isp.num_output_formats; j++)
isp              1668 drivers/staging/media/ipu3/ipu3-css.c 				if (bi->info.isp.output_formats[j] == q_fmt)
isp              1670 drivers/staging/media/ipu3/ipu3-css.c 			if (j >= bi->info.isp.num_output_formats)
isp              1673 drivers/staging/media/ipu3/ipu3-css.c 			if (out->width < bi->info.isp.sp.output.min_width ||
isp              1674 drivers/staging/media/ipu3/ipu3-css.c 			    out->width > bi->info.isp.sp.output.max_width ||
isp              1675 drivers/staging/media/ipu3/ipu3-css.c 			    out->height < bi->info.isp.sp.output.min_height ||
isp              1676 drivers/staging/media/ipu3/ipu3-css.c 			    out->height > bi->info.isp.sp.output.max_height)
isp              1679 drivers/staging/media/ipu3/ipu3-css.c 			if (out->width > bi->info.isp.sp.internal.max_width ||
isp              1680 drivers/staging/media/ipu3/ipu3-css.c 			    out->height > bi->info.isp.sp.internal.max_height)
isp              1685 drivers/staging/media/ipu3/ipu3-css.c 			if (bi->info.isp.num_output_pins <= 1)
isp              1689 drivers/staging/media/ipu3/ipu3-css.c 			for (j = 0; j < bi->info.isp.num_output_formats; j++)
isp              1690 drivers/staging/media/ipu3/ipu3-css.c 				if (bi->info.isp.output_formats[j] == q_fmt)
isp              1692 drivers/staging/media/ipu3/ipu3-css.c 			if (j >= bi->info.isp.num_output_formats)
isp              1695 drivers/staging/media/ipu3/ipu3-css.c 			if (vf->width < bi->info.isp.sp.output.min_width ||
isp              1696 drivers/staging/media/ipu3/ipu3-css.c 			    vf->width > bi->info.isp.sp.output.max_width ||
isp              1697 drivers/staging/media/ipu3/ipu3-css.c 			    vf->height < bi->info.isp.sp.output.min_height ||
isp              1698 drivers/staging/media/ipu3/ipu3-css.c 			    vf->height > bi->info.isp.sp.output.max_height)
isp              1704 drivers/staging/media/ipu3/ipu3-css.c 			bi->info.isp.sp.id);
isp              2171 drivers/staging/media/ipu3/ipu3-css.c 	stripes = bi->info.isp.sp.iterator.num_stripes ? : 1;
isp              2237 drivers/staging/media/ipu3/ipu3-css.c 	if (bi->info.isp.sp.enable.dvs_6axis) {
isp                26 drivers/usb/isp1760/isp1760-core.c static void isp1760_init_core(struct isp1760_device *isp)
isp                32 drivers/usb/isp1760/isp1760-core.c 	if (isp->rst_gpio) {
isp                33 drivers/usb/isp1760/isp1760-core.c 		gpiod_set_value_cansleep(isp->rst_gpio, 1);
isp                35 drivers/usb/isp1760/isp1760-core.c 		gpiod_set_value_cansleep(isp->rst_gpio, 0);
isp                42 drivers/usb/isp1760/isp1760-core.c 	isp1760_write32(isp->regs, HC_RESET_REG, SW_RESET_RESET_ALL);
isp                48 drivers/usb/isp1760/isp1760-core.c 	if (isp->devflags & ISP1760_FLAG_BUS_WIDTH_16)
isp                50 drivers/usb/isp1760/isp1760-core.c 	if (isp->devflags & ISP1760_FLAG_ANALOG_OC)
isp                52 drivers/usb/isp1760/isp1760-core.c 	if (isp->devflags & ISP1760_FLAG_DACK_POL_HIGH)
isp                54 drivers/usb/isp1760/isp1760-core.c 	if (isp->devflags & ISP1760_FLAG_DREQ_POL_HIGH)
isp                56 drivers/usb/isp1760/isp1760-core.c 	if (isp->devflags & ISP1760_FLAG_INTR_POL_HIGH)
isp                58 drivers/usb/isp1760/isp1760-core.c 	if (isp->devflags & ISP1760_FLAG_INTR_EDGE_TRIG)
isp                67 drivers/usb/isp1760/isp1760-core.c 	if (isp->devflags & ISP1760_FLAG_ISP1761) {
isp                68 drivers/usb/isp1760/isp1760-core.c 		isp1760_write32(isp->regs, DC_MODE, 0);
isp                77 drivers/usb/isp1760/isp1760-core.c 	isp1760_write32(isp->regs, HC_HW_MODE_CTRL, hwmode);
isp                78 drivers/usb/isp1760/isp1760-core.c 	isp1760_write32(isp->regs, HC_HW_MODE_CTRL, hwmode);
isp                87 drivers/usb/isp1760/isp1760-core.c 	if ((isp->devflags & ISP1760_FLAG_ISP1761) &&
isp                88 drivers/usb/isp1760/isp1760-core.c 	    (isp->devflags & ISP1760_FLAG_OTG_EN))
isp                95 drivers/usb/isp1760/isp1760-core.c 	isp1760_write32(isp->regs, HC_PORT1_CTRL, otgctrl);
isp                97 drivers/usb/isp1760/isp1760-core.c 	dev_info(isp->dev, "bus width: %u, oc: %s\n",
isp                98 drivers/usb/isp1760/isp1760-core.c 		 isp->devflags & ISP1760_FLAG_BUS_WIDTH_16 ? 16 : 32,
isp                99 drivers/usb/isp1760/isp1760-core.c 		 isp->devflags & ISP1760_FLAG_ANALOG_OC ? "analog" : "digital");
isp               102 drivers/usb/isp1760/isp1760-core.c void isp1760_set_pullup(struct isp1760_device *isp, bool enable)
isp               104 drivers/usb/isp1760/isp1760-core.c 	isp1760_write32(isp->regs, HW_OTG_CTRL_SET,
isp               111 drivers/usb/isp1760/isp1760-core.c 	struct isp1760_device *isp;
isp               123 drivers/usb/isp1760/isp1760-core.c 	isp = devm_kzalloc(dev, sizeof(*isp), GFP_KERNEL);
isp               124 drivers/usb/isp1760/isp1760-core.c 	if (!isp)
isp               127 drivers/usb/isp1760/isp1760-core.c 	isp->dev = dev;
isp               128 drivers/usb/isp1760/isp1760-core.c 	isp->devflags = devflags;
isp               130 drivers/usb/isp1760/isp1760-core.c 	isp->rst_gpio = devm_gpiod_get_optional(dev, NULL, GPIOD_OUT_HIGH);
isp               131 drivers/usb/isp1760/isp1760-core.c 	if (IS_ERR(isp->rst_gpio))
isp               132 drivers/usb/isp1760/isp1760-core.c 		return PTR_ERR(isp->rst_gpio);
isp               134 drivers/usb/isp1760/isp1760-core.c 	isp->regs = devm_ioremap_resource(dev, mem);
isp               135 drivers/usb/isp1760/isp1760-core.c 	if (IS_ERR(isp->regs))
isp               136 drivers/usb/isp1760/isp1760-core.c 		return PTR_ERR(isp->regs);
isp               138 drivers/usb/isp1760/isp1760-core.c 	isp1760_init_core(isp);
isp               141 drivers/usb/isp1760/isp1760-core.c 		ret = isp1760_hcd_register(&isp->hcd, isp->regs, mem, irq,
isp               148 drivers/usb/isp1760/isp1760-core.c 		ret = isp1760_udc_register(isp, irq, irqflags);
isp               150 drivers/usb/isp1760/isp1760-core.c 			isp1760_hcd_unregister(&isp->hcd);
isp               155 drivers/usb/isp1760/isp1760-core.c 	dev_set_drvdata(dev, isp);
isp               162 drivers/usb/isp1760/isp1760-core.c 	struct isp1760_device *isp = dev_get_drvdata(dev);
isp               164 drivers/usb/isp1760/isp1760-core.c 	isp1760_udc_unregister(isp);
isp               165 drivers/usb/isp1760/isp1760-core.c 	isp1760_hcd_unregister(&isp->hcd);
isp                53 drivers/usb/isp1760/isp1760-core.h void isp1760_set_pullup(struct isp1760_device *isp, bool enable);
isp               130 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(ep->udc->isp->dev, "completing request %p with status %d\n",
isp               155 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(ep->udc->isp->dev, "%s(ep%02x)\n", __func__, ep->addr);
isp               187 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(udc->isp->dev, "%s: received %u bytes (%u/%u done)\n",
isp               223 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(udc->isp->dev,
isp               252 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(udc->isp->dev, "%s: transferring %u bytes (%u/%u done)\n",
isp               288 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "%s: invalid ep0 state %u\n", __func__,
isp               295 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "%s: ep%02x is disabled\n", __func__,
isp               303 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "%s: ep%02x (%p) has no request queued\n",
isp               329 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "TX IRQ: invalid endpoint state %u\n",
isp               347 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "%s: ep%02x has no request queued\n",
isp               360 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(udc->isp->dev,
isp               402 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(udc->isp->dev, "%s: %s halt on ep%02x\n", __func__,
isp               406 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "%s: ep%02x is isochronous\n", __func__,
isp               489 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(udc->isp->dev, "%s: status 0x%04x\n", __func__, status);
isp               497 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "invalid device address %u\n", addr);
isp               503 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "can't set address in state %u\n",
isp               659 drivers/usb/isp1760/isp1760-udc.c 		dev_err(udc->isp->dev, "invalid length %u for setup packet\n",
isp               671 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "unexpected SETUP packet\n");
isp               688 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(udc->isp->dev,
isp               715 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(uep->udc->isp->dev, "%s\n", __func__);
isp               725 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev,
isp               745 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "%s: control endpoints unsupported\n",
isp               776 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(udc->isp->dev, "%s\n", __func__);
isp               781 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "%s: endpoint not enabled\n", __func__);
isp               840 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(udc->isp->dev,
isp               849 drivers/usb/isp1760/isp1760-udc.c 			dev_dbg(udc->isp->dev,
isp               858 drivers/usb/isp1760/isp1760-udc.c 			dev_dbg(udc->isp->dev, "%s: transmitting req %p\n",
isp               876 drivers/usb/isp1760/isp1760-udc.c 			dev_dbg(udc->isp->dev, "%s: invalid ep0 state\n",
isp               890 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev,
isp               915 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(uep->udc->isp->dev, "%s(ep%02x)\n", __func__, uep->addr);
isp               952 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "%s: ep%02x is disabled\n", __func__,
isp               960 drivers/usb/isp1760/isp1760-udc.c 			dev_dbg(udc->isp->dev,
isp               994 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(uep->udc->isp->dev, "%s: %s halt on ep%02x\n", __func__,
isp              1010 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(uep->udc->isp->dev, "%s: set wedge on ep%02x)\n", __func__,
isp              1069 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(udc->isp->dev, "Device disconnected in state %u\n",
isp              1104 drivers/usb/isp1760/isp1760-udc.c 		isp1760_set_pullup(udc->isp, true);
isp              1162 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(udc->isp->dev, "%s\n", __func__);
isp              1183 drivers/usb/isp1760/isp1760-udc.c 	isp1760_set_pullup(udc->isp, is_on);
isp              1197 drivers/usb/isp1760/isp1760-udc.c 		dev_err(udc->isp->dev, "Invalid gadget driver\n");
isp              1204 drivers/usb/isp1760/isp1760-udc.c 		dev_err(udc->isp->dev, "UDC already has a gadget driver\n");
isp              1213 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(udc->isp->dev, "starting UDC with driver %s\n",
isp              1226 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(udc->isp->dev, "UDC started with driver %s\n",
isp              1237 drivers/usb/isp1760/isp1760-udc.c 	dev_dbg(udc->isp->dev, "%s\n", __func__);
isp              1274 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "%s(VBUS)\n", __func__);
isp              1282 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "%s(BRST)\n", __func__);
isp              1291 drivers/usb/isp1760/isp1760-udc.c 			dev_dbg(udc->isp->dev, "%s(EPTX%u)\n", __func__, i);
isp              1296 drivers/usb/isp1760/isp1760-udc.c 			dev_dbg(udc->isp->dev, "%s(EPRX%u)\n", __func__, i);
isp              1302 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "%s(EP0SETUP)\n", __func__);
isp              1308 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "%s(RESM)\n", __func__);
isp              1313 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "%s(SUSP)\n", __func__);
isp              1324 drivers/usb/isp1760/isp1760-udc.c 		dev_dbg(udc->isp->dev, "%s(HS_STA)\n", __func__);
isp              1420 drivers/usb/isp1760/isp1760-udc.c 		dev_err(udc->isp->dev,
isp              1427 drivers/usb/isp1760/isp1760-udc.c 		dev_err(udc->isp->dev, "udc: invalid chip ID 0x%08x\n", chipid);
isp              1440 drivers/usb/isp1760/isp1760-udc.c int isp1760_udc_register(struct isp1760_device *isp, int irq,
isp              1443 drivers/usb/isp1760/isp1760-udc.c 	struct isp1760_udc *udc = &isp->udc;
isp              1447 drivers/usb/isp1760/isp1760-udc.c 	udc->isp = isp;
isp              1448 drivers/usb/isp1760/isp1760-udc.c 	udc->regs = isp->regs;
isp              1457 drivers/usb/isp1760/isp1760-udc.c 	udc->irqname = kasprintf(GFP_KERNEL, "%s (udc)", dev_name(isp->dev));
isp              1480 drivers/usb/isp1760/isp1760-udc.c 	ret = usb_add_gadget_udc(isp->dev, &udc->gadget);
isp              1494 drivers/usb/isp1760/isp1760-udc.c void isp1760_udc_unregister(struct isp1760_device *isp)
isp              1496 drivers/usb/isp1760/isp1760-udc.c 	struct isp1760_udc *udc = &isp->udc;
isp              1498 drivers/usb/isp1760/isp1760-udc.c 	if (!udc->isp)
isp                63 drivers/usb/isp1760/isp1760-udc.h 	struct isp1760_device *isp;
isp                88 drivers/usb/isp1760/isp1760-udc.h int isp1760_udc_register(struct isp1760_device *isp, int irq,
isp                90 drivers/usb/isp1760/isp1760-udc.h void isp1760_udc_unregister(struct isp1760_device *isp);
isp                92 drivers/usb/isp1760/isp1760-udc.h static inline int isp1760_udc_register(struct isp1760_device *isp, int irq,
isp                98 drivers/usb/isp1760/isp1760-udc.h static inline void isp1760_udc_unregister(struct isp1760_device *isp)
isp                98 drivers/usb/phy/phy-isp1301-omap.c static void enable_vbus_draw(struct isp1301 *isp, unsigned mA)
isp               107 drivers/usb/phy/phy-isp1301-omap.c static void enable_vbus_draw(struct isp1301 *isp, unsigned mA)
isp               117 drivers/usb/phy/phy-isp1301-omap.c static void enable_vbus_source(struct isp1301 *isp)
isp               126 drivers/usb/phy/phy-isp1301-omap.c static inline void notresponding(struct isp1301 *isp)
isp               139 drivers/usb/phy/phy-isp1301-omap.c isp1301_get_u8(struct isp1301 *isp, u8 reg)
isp               141 drivers/usb/phy/phy-isp1301-omap.c 	return i2c_smbus_read_byte_data(isp->client, reg + 0);
isp               145 drivers/usb/phy/phy-isp1301-omap.c isp1301_get_u16(struct isp1301 *isp, u8 reg)
isp               147 drivers/usb/phy/phy-isp1301-omap.c 	return i2c_smbus_read_word_data(isp->client, reg);
isp               151 drivers/usb/phy/phy-isp1301-omap.c isp1301_set_bits(struct isp1301 *isp, u8 reg, u8 bits)
isp               153 drivers/usb/phy/phy-isp1301-omap.c 	return i2c_smbus_write_byte_data(isp->client, reg + 0, bits);
isp               157 drivers/usb/phy/phy-isp1301-omap.c isp1301_clear_bits(struct isp1301 *isp, u8 reg, u8 bits)
isp               159 drivers/usb/phy/phy-isp1301-omap.c 	return i2c_smbus_write_byte_data(isp->client, reg + 1, bits);
isp               222 drivers/usb/phy/phy-isp1301-omap.c static inline const char *state_name(struct isp1301 *isp)
isp               224 drivers/usb/phy/phy-isp1301-omap.c 	return usb_otg_state_string(isp->phy.otg->state);
isp               237 drivers/usb/phy/phy-isp1301-omap.c static void power_down(struct isp1301 *isp)
isp               239 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->state = OTG_STATE_UNDEFINED;
isp               242 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_set_bits(isp, ISP1301_MODE_CONTROL_1, MC1_SUSPEND);
isp               244 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_clear_bits(isp, ISP1301_OTG_CONTROL_1, OTG1_ID_PULLDOWN);
isp               245 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_clear_bits(isp, ISP1301_MODE_CONTROL_1, MC1_DAT_SE0);
isp               248 drivers/usb/phy/phy-isp1301-omap.c static void __maybe_unused power_up(struct isp1301 *isp)
isp               251 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_clear_bits(isp, ISP1301_MODE_CONTROL_1, MC1_SUSPEND);
isp               256 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_set_bits(isp, ISP1301_MODE_CONTROL_1, MC1_DAT_SE0);
isp               261 drivers/usb/phy/phy-isp1301-omap.c static int host_suspend(struct isp1301 *isp)
isp               268 drivers/usb/phy/phy-isp1301-omap.c 	if (!isp->phy.otg->host)
isp               274 drivers/usb/phy/phy-isp1301-omap.c 	dev = isp->phy.otg->host->controller;
isp               279 drivers/usb/phy/phy-isp1301-omap.c static int host_resume(struct isp1301 *isp)
isp               286 drivers/usb/phy/phy-isp1301-omap.c 	if (!isp->phy.otg->host)
isp               289 drivers/usb/phy/phy-isp1301-omap.c 	dev = isp->phy.otg->host->controller;
isp               294 drivers/usb/phy/phy-isp1301-omap.c static int gadget_suspend(struct isp1301 *isp)
isp               296 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->gadget->b_hnp_enable = 0;
isp               297 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->gadget->a_hnp_support = 0;
isp               298 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->gadget->a_alt_hnp_support = 0;
isp               299 drivers/usb/phy/phy-isp1301-omap.c 	return usb_gadget_vbus_disconnect(isp->phy.otg->gadget);
isp               311 drivers/usb/phy/phy-isp1301-omap.c static void isp1301_defer_work(struct isp1301 *isp, int work)
isp               315 drivers/usb/phy/phy-isp1301-omap.c 	if (isp && !test_and_set_bit(work, &isp->todo)) {
isp               316 drivers/usb/phy/phy-isp1301-omap.c 		(void) get_device(&isp->client->dev);
isp               317 drivers/usb/phy/phy-isp1301-omap.c 		status = schedule_work(&isp->work);
isp               318 drivers/usb/phy/phy-isp1301-omap.c 		if (!status && !isp->working)
isp               319 drivers/usb/phy/phy-isp1301-omap.c 			dev_vdbg(&isp->client->dev,
isp               325 drivers/usb/phy/phy-isp1301-omap.c static void a_idle(struct isp1301 *isp, const char *tag)
isp               329 drivers/usb/phy/phy-isp1301-omap.c 	if (isp->phy.otg->state == OTG_STATE_A_IDLE)
isp               332 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->default_a = 1;
isp               333 drivers/usb/phy/phy-isp1301-omap.c 	if (isp->phy.otg->host) {
isp               334 drivers/usb/phy/phy-isp1301-omap.c 		isp->phy.otg->host->is_b_host = 0;
isp               335 drivers/usb/phy/phy-isp1301-omap.c 		host_suspend(isp);
isp               337 drivers/usb/phy/phy-isp1301-omap.c 	if (isp->phy.otg->gadget) {
isp               338 drivers/usb/phy/phy-isp1301-omap.c 		isp->phy.otg->gadget->is_a_peripheral = 1;
isp               339 drivers/usb/phy/phy-isp1301-omap.c 		gadget_suspend(isp);
isp               341 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->state = OTG_STATE_A_IDLE;
isp               344 drivers/usb/phy/phy-isp1301-omap.c 	isp->last_otg_ctrl = l;
isp               345 drivers/usb/phy/phy-isp1301-omap.c 	pr_debug("  --> %s/%s\n", state_name(isp), tag);
isp               349 drivers/usb/phy/phy-isp1301-omap.c static void b_idle(struct isp1301 *isp, const char *tag)
isp               353 drivers/usb/phy/phy-isp1301-omap.c 	if (isp->phy.otg->state == OTG_STATE_B_IDLE)
isp               356 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->default_a = 0;
isp               357 drivers/usb/phy/phy-isp1301-omap.c 	if (isp->phy.otg->host) {
isp               358 drivers/usb/phy/phy-isp1301-omap.c 		isp->phy.otg->host->is_b_host = 1;
isp               359 drivers/usb/phy/phy-isp1301-omap.c 		host_suspend(isp);
isp               361 drivers/usb/phy/phy-isp1301-omap.c 	if (isp->phy.otg->gadget) {
isp               362 drivers/usb/phy/phy-isp1301-omap.c 		isp->phy.otg->gadget->is_a_peripheral = 0;
isp               363 drivers/usb/phy/phy-isp1301-omap.c 		gadget_suspend(isp);
isp               365 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->state = OTG_STATE_B_IDLE;
isp               368 drivers/usb/phy/phy-isp1301-omap.c 	isp->last_otg_ctrl = l;
isp               369 drivers/usb/phy/phy-isp1301-omap.c 	pr_debug("  --> %s/%s\n", state_name(isp), tag);
isp               373 drivers/usb/phy/phy-isp1301-omap.c dump_regs(struct isp1301 *isp, const char *label)
isp               375 drivers/usb/phy/phy-isp1301-omap.c 	u8	ctrl = isp1301_get_u8(isp, ISP1301_OTG_CONTROL_1);
isp               376 drivers/usb/phy/phy-isp1301-omap.c 	u8	status = isp1301_get_u8(isp, ISP1301_OTG_STATUS);
isp               377 drivers/usb/phy/phy-isp1301-omap.c 	u8	src = isp1301_get_u8(isp, ISP1301_INTERRUPT_SOURCE);
isp               380 drivers/usb/phy/phy-isp1301-omap.c 		omap_readl(OTG_CTRL), label, state_name(isp),
isp               399 drivers/usb/phy/phy-isp1301-omap.c static void check_state(struct isp1301 *isp, const char *tag)
isp               464 drivers/usb/phy/phy-isp1301-omap.c 	if (isp->phy.otg->state == state && !extra)
isp               467 drivers/usb/phy/phy-isp1301-omap.c 		usb_otg_state_string(state), fsm, state_name(isp),
isp               473 drivers/usb/phy/phy-isp1301-omap.c static inline void check_state(struct isp1301 *isp, const char *tag) { }
isp               478 drivers/usb/phy/phy-isp1301-omap.c static void update_otg1(struct isp1301 *isp, u8 int_src)
isp               488 drivers/usb/phy/phy-isp1301-omap.c 	else if (isp->phy.otg->state == OTG_STATE_A_WAIT_VFALL) {
isp               489 drivers/usb/phy/phy-isp1301-omap.c 		a_idle(isp, "vfall");
isp               495 drivers/usb/phy/phy-isp1301-omap.c 		if (isp->phy.otg->state == OTG_STATE_B_IDLE
isp               496 drivers/usb/phy/phy-isp1301-omap.c 				|| isp->phy.otg->state
isp               498 drivers/usb/phy/phy-isp1301-omap.c 			a_idle(isp, "init");
isp               503 drivers/usb/phy/phy-isp1301-omap.c 		if (isp->phy.otg->state == OTG_STATE_A_IDLE
isp               504 drivers/usb/phy/phy-isp1301-omap.c 			|| isp->phy.otg->state == OTG_STATE_UNDEFINED) {
isp               505 drivers/usb/phy/phy-isp1301-omap.c 			b_idle(isp, "init");
isp               513 drivers/usb/phy/phy-isp1301-omap.c static void update_otg2(struct isp1301 *isp, u8 otg_status)
isp               528 drivers/usb/phy/phy-isp1301-omap.c static void otg_update_isp(struct isp1301 *isp)
isp               534 drivers/usb/phy/phy-isp1301-omap.c 	otg_change = otg_ctrl ^ isp->last_otg_ctrl;
isp               535 drivers/usb/phy/phy-isp1301-omap.c 	isp->last_otg_ctrl = otg_ctrl;
isp               538 drivers/usb/phy/phy-isp1301-omap.c 	switch (isp->phy.otg->state) {
isp               544 drivers/usb/phy/phy-isp1301-omap.c 			if (isp->phy.otg->gadget->b_hnp_enable) {
isp               545 drivers/usb/phy/phy-isp1301-omap.c 				isp->phy.otg->state = OTG_STATE_B_WAIT_ACON;
isp               572 drivers/usb/phy/phy-isp1301-omap.c 	if (!(isp->phy.otg->host))
isp               575 drivers/usb/phy/phy-isp1301-omap.c 	switch (isp->phy.otg->state) {
isp               582 drivers/usb/phy/phy-isp1301-omap.c 		notresponding(isp);
isp               586 drivers/usb/phy/phy-isp1301-omap.c 		isp->phy.otg->state = OTG_STATE_A_WAIT_VFALL;
isp               595 drivers/usb/phy/phy-isp1301-omap.c 			isp->phy.otg->state = OTG_STATE_A_WAIT_VRISE;
isp               608 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_set_bits(isp, ISP1301_OTG_CONTROL_1, set);
isp               609 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_clear_bits(isp, ISP1301_OTG_CONTROL_1, clr);
isp               615 drivers/usb/phy/phy-isp1301-omap.c 		switch (isp->phy.otg->state) {
isp               619 drivers/usb/phy/phy-isp1301-omap.c 			isp->phy.otg->state = OTG_STATE_B_PERIPHERAL;
isp               625 drivers/usb/phy/phy-isp1301-omap.c 			isp->phy.otg->state = OTG_STATE_A_PERIPHERAL;
isp               636 drivers/usb/phy/phy-isp1301-omap.c 	check_state(isp, __func__);
isp               637 drivers/usb/phy/phy-isp1301-omap.c 	dump_regs(isp, "otg->isp1301");
isp               645 drivers/usb/phy/phy-isp1301-omap.c 	struct isp1301	*isp = _isp;
isp               646 drivers/usb/phy/phy-isp1301-omap.c 	struct usb_otg	*otg = isp->phy.otg;
isp               651 drivers/usb/phy/phy-isp1301-omap.c 		isp1301_defer_work(isp, WORK_UPDATE_ISP);
isp               657 drivers/usb/phy/phy-isp1301-omap.c 		notresponding(isp);
isp               663 drivers/usb/phy/phy-isp1301-omap.c 		if (isp->phy.otg->state == OTG_STATE_B_SRP_INIT)
isp               664 drivers/usb/phy/phy-isp1301-omap.c 			b_idle(isp, "srp_timeout");
isp               672 drivers/usb/phy/phy-isp1301-omap.c 				state_name(isp), omap_readl(OTG_CTRL));
isp               673 drivers/usb/phy/phy-isp1301-omap.c 		notresponding(isp);
isp               681 drivers/usb/phy/phy-isp1301-omap.c 		isp->phy.otg->state = OTG_STATE_B_PERIPHERAL;
isp               690 drivers/usb/phy/phy-isp1301-omap.c 				state_name(isp), omap_readl(OTG_CTRL));
isp               692 drivers/usb/phy/phy-isp1301-omap.c 		isp1301_defer_work(isp, WORK_UPDATE_OTG);
isp               693 drivers/usb/phy/phy-isp1301-omap.c 		switch (isp->phy.otg->state) {
isp               697 drivers/usb/phy/phy-isp1301-omap.c 			isp1301_defer_work(isp, WORK_HOST_RESUME);
isp               718 drivers/usb/phy/phy-isp1301-omap.c 				state_name(isp), otg_ctrl);
isp               719 drivers/usb/phy/phy-isp1301-omap.c 		notresponding(isp);
isp               724 drivers/usb/phy/phy-isp1301-omap.c 		isp->phy.otg->state = OTG_STATE_A_WAIT_VFALL;
isp               733 drivers/usb/phy/phy-isp1301-omap.c 			state_name(isp), otg_irq, otg_ctrl);
isp               738 drivers/usb/phy/phy-isp1301-omap.c 		isp->phy.otg->state = OTG_STATE_A_VBUS_ERR;
isp               751 drivers/usb/phy/phy-isp1301-omap.c 				state_name(isp),
isp               755 drivers/usb/phy/phy-isp1301-omap.c 		isp1301_defer_work(isp, WORK_UPDATE_ISP);
isp               759 drivers/usb/phy/phy-isp1301-omap.c 			switch (isp->phy.otg->state) {
isp               761 drivers/usb/phy/phy-isp1301-omap.c 				b_idle(isp, __func__);
isp               766 drivers/usb/phy/phy-isp1301-omap.c 			isp1301_defer_work(isp, WORK_UPDATE_ISP);
isp               776 drivers/usb/phy/phy-isp1301-omap.c 				switch (isp->phy.otg->state) {
isp               778 drivers/usb/phy/phy-isp1301-omap.c 					isp->phy.otg->state = OTG_STATE_B_HOST;
isp               783 drivers/usb/phy/phy-isp1301-omap.c 					isp->phy.otg->state = OTG_STATE_A_HOST;
isp               787 drivers/usb/phy/phy-isp1301-omap.c 					isp->phy.otg->state = OTG_STATE_A_WAIT_BCON;
isp               793 drivers/usb/phy/phy-isp1301-omap.c 				isp1301_defer_work(isp, WORK_HOST_RESUME);
isp               804 drivers/usb/phy/phy-isp1301-omap.c 	check_state(isp, __func__);
isp               810 drivers/usb/phy/phy-isp1301-omap.c static int isp1301_otg_init(struct isp1301 *isp)
isp               817 drivers/usb/phy/phy-isp1301-omap.c 	dump_regs(isp, __func__);
isp               832 drivers/usb/phy/phy-isp1301-omap.c 	update_otg1(isp, isp1301_get_u8(isp, ISP1301_INTERRUPT_SOURCE));
isp               833 drivers/usb/phy/phy-isp1301-omap.c 	update_otg2(isp, isp1301_get_u8(isp, ISP1301_OTG_STATUS));
isp               835 drivers/usb/phy/phy-isp1301-omap.c 	check_state(isp, __func__);
isp               837 drivers/usb/phy/phy-isp1301-omap.c 			state_name(isp), __func__, omap_readl(OTG_CTRL));
isp               872 drivers/usb/phy/phy-isp1301-omap.c static int otg_bind(struct isp1301 *isp)
isp               885 drivers/usb/phy/phy-isp1301-omap.c 				0, DRIVER_NAME, isp);
isp               894 drivers/usb/phy/phy-isp1301-omap.c static void otg_unbind(struct isp1301 *isp)
isp               898 drivers/usb/phy/phy-isp1301-omap.c 	free_irq(otg_dev->resource[1].start, isp);
isp               909 drivers/usb/phy/phy-isp1301-omap.c static void b_peripheral(struct isp1301 *isp)
isp               916 drivers/usb/phy/phy-isp1301-omap.c 	usb_gadget_vbus_connect(isp->phy.otg->gadget);
isp               919 drivers/usb/phy/phy-isp1301-omap.c 	enable_vbus_draw(isp, 8);
isp               920 drivers/usb/phy/phy-isp1301-omap.c 	otg_update_isp(isp);
isp               922 drivers/usb/phy/phy-isp1301-omap.c 	enable_vbus_draw(isp, 100);
isp               924 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_set_bits(isp, ISP1301_OTG_CONTROL_1, OTG1_DP_PULLUP);
isp               925 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_clear_bits(isp, ISP1301_OTG_CONTROL_1, OTG1_DP_PULLDOWN);
isp               926 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->state = OTG_STATE_B_PERIPHERAL;
isp               928 drivers/usb/phy/phy-isp1301-omap.c 	dump_regs(isp, "2periph");
isp               932 drivers/usb/phy/phy-isp1301-omap.c static void isp_update_otg(struct isp1301 *isp, u8 stat)
isp               934 drivers/usb/phy/phy-isp1301-omap.c 	struct usb_otg		*otg = isp->phy.otg;
isp               936 drivers/usb/phy/phy-isp1301-omap.c 	enum usb_otg_state	state = isp->phy.otg->state;
isp               939 drivers/usb/phy/phy-isp1301-omap.c 		pr_debug("OTG:  BDIS_ACON, %s\n", state_name(isp));
isp               942 drivers/usb/phy/phy-isp1301-omap.c 	isp_stat = isp1301_get_u8(isp, ISP1301_INTERRUPT_SOURCE);
isp               947 drivers/usb/phy/phy-isp1301-omap.c 				a_idle(isp, "idle");
isp               950 drivers/usb/phy/phy-isp1301-omap.c 				enable_vbus_source(isp);
isp               959 drivers/usb/phy/phy-isp1301-omap.c 					isp->phy.otg->state = OTG_STATE_A_HOST;
isp               963 drivers/usb/phy/phy-isp1301-omap.c 					a_idle(isp, "vfell");
isp               967 drivers/usb/phy/phy-isp1301-omap.c 					isp->phy.otg->state = OTG_STATE_A_VBUS_ERR;
isp               970 drivers/usb/phy/phy-isp1301-omap.c 			isp_bstat = isp1301_get_u8(isp, ISP1301_OTG_STATUS);
isp               982 drivers/usb/phy/phy-isp1301-omap.c 				a_idle(isp, "id");
isp               984 drivers/usb/phy/phy-isp1301-omap.c 				isp1301_defer_work(isp, WORK_HOST_RESUME);
isp               996 drivers/usb/phy/phy-isp1301-omap.c 				isp->phy.otg->state = OTG_STATE_A_WAIT_VFALL;
isp              1006 drivers/usb/phy/phy-isp1301-omap.c 				host_suspend(isp);
isp              1007 drivers/usb/phy/phy-isp1301-omap.c 				isp1301_clear_bits(isp, ISP1301_MODE_CONTROL_1,
isp              1009 drivers/usb/phy/phy-isp1301-omap.c 				isp->phy.otg->state = OTG_STATE_B_IDLE;
isp              1018 drivers/usb/phy/phy-isp1301-omap.c 		isp_bstat = isp1301_get_u8(isp, ISP1301_OTG_STATUS);
isp              1020 drivers/usb/phy/phy-isp1301-omap.c 		switch (isp->phy.otg->state) {
isp              1026 drivers/usb/phy/phy-isp1301-omap.c 			enable_vbus_draw(isp, 0);
isp              1029 drivers/usb/phy/phy-isp1301-omap.c 			isp1301_set_bits(isp, ISP1301_OTG_CONTROL_1,
isp              1031 drivers/usb/phy/phy-isp1301-omap.c 			isp1301_clear_bits(isp, ISP1301_OTG_CONTROL_1,
isp              1033 drivers/usb/phy/phy-isp1301-omap.c 			dump_regs(isp, __func__);
isp              1037 drivers/usb/phy/phy-isp1301-omap.c 			b_idle(isp, __func__);
isp              1044 drivers/usb/phy/phy-isp1301-omap.c 				update_otg1(isp, isp_stat);
isp              1045 drivers/usb/phy/phy-isp1301-omap.c 				update_otg2(isp, isp_bstat);
isp              1047 drivers/usb/phy/phy-isp1301-omap.c 				b_peripheral(isp);
isp              1055 drivers/usb/phy/phy-isp1301-omap.c 				state_name(isp));
isp              1060 drivers/usb/phy/phy-isp1301-omap.c 	if (state != isp->phy.otg->state)
isp              1062 drivers/usb/phy/phy-isp1301-omap.c 				usb_otg_state_string(state), state_name(isp));
isp              1068 drivers/usb/phy/phy-isp1301-omap.c 	update_otg1(isp, isp_stat);
isp              1069 drivers/usb/phy/phy-isp1301-omap.c 	update_otg2(isp, isp_bstat);
isp              1070 drivers/usb/phy/phy-isp1301-omap.c 	check_state(isp, __func__);
isp              1073 drivers/usb/phy/phy-isp1301-omap.c 	dump_regs(isp, "isp1301->otg");
isp              1078 drivers/usb/phy/phy-isp1301-omap.c static u8 isp1301_clear_latch(struct isp1301 *isp)
isp              1080 drivers/usb/phy/phy-isp1301-omap.c 	u8 latch = isp1301_get_u8(isp, ISP1301_INTERRUPT_LATCH);
isp              1081 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_clear_bits(isp, ISP1301_INTERRUPT_LATCH, latch);
isp              1088 drivers/usb/phy/phy-isp1301-omap.c 	struct isp1301	*isp = container_of(work, struct isp1301, work);
isp              1092 drivers/usb/phy/phy-isp1301-omap.c 	isp->working = 1;
isp              1094 drivers/usb/phy/phy-isp1301-omap.c 		stop = test_bit(WORK_STOP, &isp->todo);
isp              1098 drivers/usb/phy/phy-isp1301-omap.c 		if (test_and_clear_bit(WORK_UPDATE_ISP, &isp->todo)) {
isp              1099 drivers/usb/phy/phy-isp1301-omap.c 			otg_update_isp(isp);
isp              1100 drivers/usb/phy/phy-isp1301-omap.c 			put_device(&isp->client->dev);
isp              1104 drivers/usb/phy/phy-isp1301-omap.c 		if (test_and_clear_bit(WORK_UPDATE_OTG, &isp->todo)) {
isp              1105 drivers/usb/phy/phy-isp1301-omap.c 			u8		stat = isp1301_clear_latch(isp);
isp              1107 drivers/usb/phy/phy-isp1301-omap.c 			isp_update_otg(isp, stat);
isp              1108 drivers/usb/phy/phy-isp1301-omap.c 			put_device(&isp->client->dev);
isp              1111 drivers/usb/phy/phy-isp1301-omap.c 		if (test_and_clear_bit(WORK_HOST_RESUME, &isp->todo)) {
isp              1118 drivers/usb/phy/phy-isp1301-omap.c 			switch (isp->phy.otg->state) {
isp              1121 drivers/usb/phy/phy-isp1301-omap.c 				isp->phy.otg->state = OTG_STATE_A_HOST;
isp              1130 drivers/usb/phy/phy-isp1301-omap.c 				isp->phy.otg->state = OTG_STATE_B_HOST;
isp              1139 drivers/usb/phy/phy-isp1301-omap.c 						state_name(isp));
isp              1141 drivers/usb/phy/phy-isp1301-omap.c 			host_resume(isp);
isp              1143 drivers/usb/phy/phy-isp1301-omap.c 			put_device(&isp->client->dev);
isp              1146 drivers/usb/phy/phy-isp1301-omap.c 		if (test_and_clear_bit(WORK_TIMER, &isp->todo)) {
isp              1148 drivers/usb/phy/phy-isp1301-omap.c 			dump_regs(isp, "timer");
isp              1150 drivers/usb/phy/phy-isp1301-omap.c 				mod_timer(&isp->timer, jiffies + TIMER_JIFFIES);
isp              1152 drivers/usb/phy/phy-isp1301-omap.c 			put_device(&isp->client->dev);
isp              1155 drivers/usb/phy/phy-isp1301-omap.c 		if (isp->todo)
isp              1156 drivers/usb/phy/phy-isp1301-omap.c 			dev_vdbg(&isp->client->dev,
isp              1158 drivers/usb/phy/phy-isp1301-omap.c 				isp->todo);
isp              1160 drivers/usb/phy/phy-isp1301-omap.c 			dev_dbg(&isp->client->dev, "stop\n");
isp              1163 drivers/usb/phy/phy-isp1301-omap.c 	} while (isp->todo);
isp              1164 drivers/usb/phy/phy-isp1301-omap.c 	isp->working = 0;
isp              1167 drivers/usb/phy/phy-isp1301-omap.c static irqreturn_t isp1301_irq(int irq, void *isp)
isp              1169 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_defer_work(isp, WORK_UPDATE_OTG);
isp              1175 drivers/usb/phy/phy-isp1301-omap.c 	struct isp1301 *isp = from_timer(isp, t, timer);
isp              1177 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_defer_work(isp, WORK_TIMER);
isp              1184 drivers/usb/phy/phy-isp1301-omap.c 	struct isp1301	*isp;
isp              1186 drivers/usb/phy/phy-isp1301-omap.c 	isp = dev_get_drvdata(dev);
isp              1191 drivers/usb/phy/phy-isp1301-omap.c 	if (isp->i2c_release)
isp              1192 drivers/usb/phy/phy-isp1301-omap.c 		isp->i2c_release(dev);
isp              1193 drivers/usb/phy/phy-isp1301-omap.c 	kfree(isp->phy.otg);
isp              1194 drivers/usb/phy/phy-isp1301-omap.c 	kfree (isp);
isp              1201 drivers/usb/phy/phy-isp1301-omap.c 	struct isp1301	*isp;
isp              1203 drivers/usb/phy/phy-isp1301-omap.c 	isp = i2c_get_clientdata(i2c);
isp              1205 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_clear_bits(isp, ISP1301_INTERRUPT_FALLING, ~0);
isp              1206 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_clear_bits(isp, ISP1301_INTERRUPT_RISING, ~0);
isp              1207 drivers/usb/phy/phy-isp1301-omap.c 	free_irq(i2c->irq, isp);
isp              1209 drivers/usb/phy/phy-isp1301-omap.c 	otg_unbind(isp);
isp              1214 drivers/usb/phy/phy-isp1301-omap.c 	set_bit(WORK_STOP, &isp->todo);
isp              1215 drivers/usb/phy/phy-isp1301-omap.c 	del_timer_sync(&isp->timer);
isp              1216 drivers/usb/phy/phy-isp1301-omap.c 	flush_work(&isp->work);
isp              1241 drivers/usb/phy/phy-isp1301-omap.c static int isp1301_otg_enable(struct isp1301 *isp)
isp              1243 drivers/usb/phy/phy-isp1301-omap.c 	power_up(isp);
isp              1244 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_otg_init(isp);
isp              1249 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_set_bits(isp, ISP1301_INTERRUPT_RISING,
isp              1251 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_set_bits(isp, ISP1301_INTERRUPT_FALLING,
isp              1254 drivers/usb/phy/phy-isp1301-omap.c 	dev_info(&isp->client->dev, "ready for dual-role USB ...\n");
isp              1265 drivers/usb/phy/phy-isp1301-omap.c 	struct isp1301	*isp = container_of(otg->usb_phy, struct isp1301, phy);
isp              1267 drivers/usb/phy/phy-isp1301-omap.c 	if (isp != the_transceiver)
isp              1272 drivers/usb/phy/phy-isp1301-omap.c 		power_down(isp);
isp              1279 drivers/usb/phy/phy-isp1301-omap.c 	dev_dbg(&isp->client->dev, "registered host\n");
isp              1280 drivers/usb/phy/phy-isp1301-omap.c 	host_suspend(isp);
isp              1282 drivers/usb/phy/phy-isp1301-omap.c 		return isp1301_otg_enable(isp);
isp              1289 drivers/usb/phy/phy-isp1301-omap.c 	power_up(isp);
isp              1292 drivers/usb/phy/phy-isp1301-omap.c 		isp1301_set_bits(isp, ISP1301_MODE_CONTROL_1, MC1_DAT_SE0);
isp              1294 drivers/usb/phy/phy-isp1301-omap.c 	dev_info(&isp->client->dev, "A-Host sessions ok\n");
isp              1295 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_set_bits(isp, ISP1301_INTERRUPT_RISING,
isp              1297 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_set_bits(isp, ISP1301_INTERRUPT_FALLING,
isp              1305 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_set_bits(isp, ISP1301_OTG_CONTROL_1, OTG1_VBUS_DRV);
isp              1307 drivers/usb/phy/phy-isp1301-omap.c 	dump_regs(isp, __func__);
isp              1312 drivers/usb/phy/phy-isp1301-omap.c 	dev_dbg(&isp->client->dev, "host sessions not allowed\n");
isp              1321 drivers/usb/phy/phy-isp1301-omap.c 	struct isp1301	*isp = container_of(otg->usb_phy, struct isp1301, phy);
isp              1323 drivers/usb/phy/phy-isp1301-omap.c 	if (isp != the_transceiver)
isp              1329 drivers/usb/phy/phy-isp1301-omap.c 			enable_vbus_draw(isp, 0);
isp              1332 drivers/usb/phy/phy-isp1301-omap.c 		power_down(isp);
isp              1338 drivers/usb/phy/phy-isp1301-omap.c 	dev_dbg(&isp->client->dev, "registered gadget\n");
isp              1341 drivers/usb/phy/phy-isp1301-omap.c 		return isp1301_otg_enable(isp);
isp              1357 drivers/usb/phy/phy-isp1301-omap.c 	power_up(isp);
isp              1358 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->state = OTG_STATE_B_IDLE;
isp              1361 drivers/usb/phy/phy-isp1301-omap.c 		isp1301_set_bits(isp, ISP1301_MODE_CONTROL_1, MC1_DAT_SE0);
isp              1363 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_set_bits(isp, ISP1301_INTERRUPT_RISING,
isp              1365 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_set_bits(isp, ISP1301_INTERRUPT_FALLING,
isp              1367 drivers/usb/phy/phy-isp1301-omap.c 	dev_info(&isp->client->dev, "B-Peripheral sessions ok\n");
isp              1368 drivers/usb/phy/phy-isp1301-omap.c 	dump_regs(isp, __func__);
isp              1374 drivers/usb/phy/phy-isp1301-omap.c 	if (isp1301_get_u8(isp, ISP1301_INTERRUPT_SOURCE) & INTR_VBUS_VLD)
isp              1375 drivers/usb/phy/phy-isp1301-omap.c 		b_peripheral(isp);
isp              1380 drivers/usb/phy/phy-isp1301-omap.c 	dev_dbg(&isp->client->dev, "peripheral sessions not allowed\n");
isp              1401 drivers/usb/phy/phy-isp1301-omap.c 	struct isp1301	*isp = container_of(otg->usb_phy, struct isp1301, phy);
isp              1404 drivers/usb/phy/phy-isp1301-omap.c 	if (isp != the_transceiver || isp->phy.otg->state != OTG_STATE_B_IDLE)
isp              1414 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->state = OTG_STATE_B_SRP_INIT;
isp              1416 drivers/usb/phy/phy-isp1301-omap.c 	pr_debug("otg: SRP, %s ... %06x\n", state_name(isp),
isp              1419 drivers/usb/phy/phy-isp1301-omap.c 	check_state(isp, __func__);
isp              1428 drivers/usb/phy/phy-isp1301-omap.c 	struct isp1301	*isp = container_of(otg->usb_phy, struct isp1301, phy);
isp              1431 drivers/usb/phy/phy-isp1301-omap.c 	if (isp != the_transceiver)
isp              1442 drivers/usb/phy/phy-isp1301-omap.c 	switch (isp->phy.otg->state) {
isp              1444 drivers/usb/phy/phy-isp1301-omap.c 		isp->phy.otg->state = OTG_STATE_B_PERIPHERAL;
isp              1450 drivers/usb/phy/phy-isp1301-omap.c 		isp1301_set_bits(isp, ISP1301_MODE_CONTROL_1,
isp              1467 drivers/usb/phy/phy-isp1301-omap.c 		state_name(isp), omap_readl(OTG_CTRL));
isp              1468 drivers/usb/phy/phy-isp1301-omap.c 	check_state(isp, __func__);
isp              1482 drivers/usb/phy/phy-isp1301-omap.c 	struct isp1301		*isp;
isp              1487 drivers/usb/phy/phy-isp1301-omap.c 	isp = kzalloc(sizeof *isp, GFP_KERNEL);
isp              1488 drivers/usb/phy/phy-isp1301-omap.c 	if (!isp)
isp              1491 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg = kzalloc(sizeof *isp->phy.otg, GFP_KERNEL);
isp              1492 drivers/usb/phy/phy-isp1301-omap.c 	if (!isp->phy.otg) {
isp              1493 drivers/usb/phy/phy-isp1301-omap.c 		kfree(isp);
isp              1497 drivers/usb/phy/phy-isp1301-omap.c 	INIT_WORK(&isp->work, isp1301_work);
isp              1498 drivers/usb/phy/phy-isp1301-omap.c 	timer_setup(&isp->timer, isp1301_timer, 0);
isp              1500 drivers/usb/phy/phy-isp1301-omap.c 	i2c_set_clientdata(i2c, isp);
isp              1501 drivers/usb/phy/phy-isp1301-omap.c 	isp->client = i2c;
isp              1504 drivers/usb/phy/phy-isp1301-omap.c 	status = isp1301_get_u16(isp, ISP1301_VENDOR_ID);
isp              1509 drivers/usb/phy/phy-isp1301-omap.c 	status = isp1301_get_u16(isp, ISP1301_PRODUCT_ID);
isp              1514 drivers/usb/phy/phy-isp1301-omap.c 	isp->i2c_release = i2c->dev.release;
isp              1523 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_clear_bits(isp, ISP1301_MODE_CONTROL_1, MC1_MASK);
isp              1525 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_set_bits(isp, ISP1301_MODE_CONTROL_2, MC2_BI_DI);
isp              1526 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_clear_bits(isp, ISP1301_MODE_CONTROL_2, ~MC2_BI_DI);
isp              1528 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_set_bits(isp, ISP1301_OTG_CONTROL_1,
isp              1530 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_clear_bits(isp, ISP1301_OTG_CONTROL_1,
isp              1533 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_clear_bits(isp, ISP1301_INTERRUPT_LATCH, ~0);
isp              1534 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_clear_bits(isp, ISP1301_INTERRUPT_FALLING, ~0);
isp              1535 drivers/usb/phy/phy-isp1301-omap.c 	isp1301_clear_bits(isp, ISP1301_INTERRUPT_RISING, ~0);
isp              1538 drivers/usb/phy/phy-isp1301-omap.c 	status = otg_bind(isp);
isp              1547 drivers/usb/phy/phy-isp1301-omap.c 		isp1301_set_bits(isp, ISP1301_MODE_CONTROL_1,
isp              1549 drivers/usb/phy/phy-isp1301-omap.c 		isp1301_set_bits(isp, ISP1301_MODE_CONTROL_2,
isp              1556 drivers/usb/phy/phy-isp1301-omap.c 		isp->irq_type = IRQF_TRIGGER_FALLING;
isp              1560 drivers/usb/phy/phy-isp1301-omap.c 			isp->irq_type, DRIVER_NAME, isp);
isp              1567 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.dev = &i2c->dev;
isp              1568 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.label = DRIVER_NAME;
isp              1569 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.set_power = isp1301_set_power,
isp              1571 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->usb_phy = &isp->phy;
isp              1572 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->set_host = isp1301_set_host,
isp              1573 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->set_peripheral = isp1301_set_peripheral,
isp              1574 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->start_srp = isp1301_start_srp,
isp              1575 drivers/usb/phy/phy-isp1301-omap.c 	isp->phy.otg->start_hnp = isp1301_start_hnp,
isp              1577 drivers/usb/phy/phy-isp1301-omap.c 	enable_vbus_draw(isp, 0);
isp              1578 drivers/usb/phy/phy-isp1301-omap.c 	power_down(isp);
isp              1579 drivers/usb/phy/phy-isp1301-omap.c 	the_transceiver = isp;
isp              1582 drivers/usb/phy/phy-isp1301-omap.c 	update_otg1(isp, isp1301_get_u8(isp, ISP1301_INTERRUPT_SOURCE));
isp              1583 drivers/usb/phy/phy-isp1301-omap.c 	update_otg2(isp, isp1301_get_u8(isp, ISP1301_OTG_STATUS));
isp              1586 drivers/usb/phy/phy-isp1301-omap.c 	dump_regs(isp, __func__);
isp              1589 drivers/usb/phy/phy-isp1301-omap.c 	mod_timer(&isp->timer, jiffies + TIMER_JIFFIES);
isp              1593 drivers/usb/phy/phy-isp1301-omap.c 	status = usb_add_phy(&isp->phy, USB_PHY_TYPE_USB2);
isp              1601 drivers/usb/phy/phy-isp1301-omap.c 	kfree(isp->phy.otg);
isp              1602 drivers/usb/phy/phy-isp1301-omap.c 	kfree(isp);
isp                41 drivers/usb/phy/phy-isp1301.c static int __isp1301_write(struct isp1301 *isp, u8 reg, u8 value, u8 clear)
isp                43 drivers/usb/phy/phy-isp1301.c 	return i2c_smbus_write_byte_data(isp->client, reg | clear, value);
isp                46 drivers/usb/phy/phy-isp1301.c static int isp1301_write(struct isp1301 *isp, u8 reg, u8 value)
isp                48 drivers/usb/phy/phy-isp1301.c 	return __isp1301_write(isp, reg, value, 0);
isp                51 drivers/usb/phy/phy-isp1301.c static int isp1301_clear(struct isp1301 *isp, u8 reg, u8 value)
isp                53 drivers/usb/phy/phy-isp1301.c 	return __isp1301_write(isp, reg, value, ISP1301_I2C_REG_CLEAR_ADDR);
isp                58 drivers/usb/phy/phy-isp1301.c 	struct isp1301 *isp = phy_to_isp(phy);
isp                61 drivers/usb/phy/phy-isp1301.c 	isp1301_clear(isp, ISP1301_I2C_MODE_CONTROL_1, MC1_UART_EN);
isp                62 drivers/usb/phy/phy-isp1301.c 	isp1301_clear(isp, ISP1301_I2C_MODE_CONTROL_1, ~MC1_SPEED_REG);
isp                63 drivers/usb/phy/phy-isp1301.c 	isp1301_write(isp, ISP1301_I2C_MODE_CONTROL_1, MC1_SPEED_REG);
isp                64 drivers/usb/phy/phy-isp1301.c 	isp1301_clear(isp, ISP1301_I2C_MODE_CONTROL_2, ~0);
isp                65 drivers/usb/phy/phy-isp1301.c 	isp1301_write(isp, ISP1301_I2C_MODE_CONTROL_2, (MC2_BI_DI | MC2_PSW_EN
isp                68 drivers/usb/phy/phy-isp1301.c 	isp1301_clear(isp, ISP1301_I2C_OTG_CONTROL_1, ~0);
isp                69 drivers/usb/phy/phy-isp1301.c 	isp1301_write(isp, ISP1301_I2C_MODE_CONTROL_1, MC1_DAT_SE0);
isp                70 drivers/usb/phy/phy-isp1301.c 	isp1301_write(isp, ISP1301_I2C_OTG_CONTROL_1, (OTG1_DM_PULLDOWN
isp                72 drivers/usb/phy/phy-isp1301.c 	isp1301_clear(isp, ISP1301_I2C_OTG_CONTROL_1, (OTG1_DM_PULLUP
isp                76 drivers/usb/phy/phy-isp1301.c 	isp1301_clear(isp, ISP1301_I2C_INTERRUPT_LATCH, ~0);
isp                77 drivers/usb/phy/phy-isp1301.c 	isp1301_clear(isp, ISP1301_I2C_INTERRUPT_FALLING, ~0);
isp                78 drivers/usb/phy/phy-isp1301.c 	isp1301_clear(isp, ISP1301_I2C_INTERRUPT_RISING, ~0);
isp                85 drivers/usb/phy/phy-isp1301.c 	struct isp1301 *isp = phy_to_isp(phy);
isp                88 drivers/usb/phy/phy-isp1301.c 		isp1301_write(isp, ISP1301_I2C_OTG_CONTROL_1, OTG1_VBUS_DRV);
isp                90 drivers/usb/phy/phy-isp1301.c 		isp1301_clear(isp, ISP1301_I2C_OTG_CONTROL_1, OTG1_VBUS_DRV);
isp                98 drivers/usb/phy/phy-isp1301.c 	struct isp1301 *isp;
isp               101 drivers/usb/phy/phy-isp1301.c 	isp = devm_kzalloc(&client->dev, sizeof(*isp), GFP_KERNEL);
isp               102 drivers/usb/phy/phy-isp1301.c 	if (!isp)
isp               105 drivers/usb/phy/phy-isp1301.c 	isp->client = client;
isp               106 drivers/usb/phy/phy-isp1301.c 	mutex_init(&isp->mutex);
isp               108 drivers/usb/phy/phy-isp1301.c 	phy = &isp->phy;
isp               115 drivers/usb/phy/phy-isp1301.c 	i2c_set_clientdata(client, isp);
isp               125 drivers/usb/phy/phy-isp1301.c 	struct isp1301 *isp = i2c_get_clientdata(client);
isp               127 drivers/usb/phy/phy-isp1301.c 	usb_remove_phy(&isp->phy);
isp               372 security/smack/smack.h static inline int smk_inode_transmutable(const struct inode *isp)
isp               374 security/smack/smack.h 	struct inode_smack *sip = smack_inode(isp);
isp               381 security/smack/smack.h static inline struct smack_known *smk_of_inode(const struct inode *isp)
isp               383 security/smack/smack.h 	struct inode_smack *sip = smack_inode(isp);
isp               185 security/smack/smack_lsm.c 	struct inode_smack *isp = smack_inode(inode);
isp               188 security/smack/smack_lsm.c 	if (isp->smk_flags & SMK_INODE_IMPURE)
isp               198 security/smack/smack_lsm.c 		isp->smk_flags |= SMK_INODE_IMPURE;
isp               203 security/smack/smack_lsm.c 		tsp->smk_task->smk_known, isp->smk_inode->smk_known, acc,
isp               217 security/smack/smack_lsm.c 	struct inode_smack *isp = smack_inode(inode);
isp               220 security/smack/smack_lsm.c 	if (isp->smk_flags & SMK_INODE_IMPURE)
isp               247 security/smack/smack_lsm.c 	struct inode_smack *isp = smack_inode(inode);
isp               250 security/smack/smack_lsm.c 	if (isp->smk_flags & SMK_INODE_IMPURE)
isp               314 security/smack/smack_lsm.c 	struct inode_smack *isp = smack_inode(inode);
isp               316 security/smack/smack_lsm.c 	isp->smk_inode = skp;
isp               317 security/smack/smack_lsm.c 	isp->smk_flags = 0;
isp               318 security/smack/smack_lsm.c 	mutex_init(&isp->smk_lock);
isp               783 security/smack/smack_lsm.c 	struct inode_smack *isp;
isp               865 security/smack/smack_lsm.c 		isp = smack_inode(inode);
isp               866 security/smack/smack_lsm.c 		isp->smk_flags |= SMK_INODE_TRANSMUTE;
isp               907 security/smack/smack_lsm.c 	struct inode_smack *isp;
isp               914 security/smack/smack_lsm.c 	isp = smack_inode(inode);
isp               915 security/smack/smack_lsm.c 	if (isp->smk_task == NULL || isp->smk_task == bsp->smk_task)
isp               920 security/smack/smack_lsm.c 	    isp->smk_task != sbsp->smk_root)
isp               931 security/smack/smack_lsm.c 						   isp->smk_task,
isp               942 security/smack/smack_lsm.c 	bsp->smk_task = isp->smk_task;
isp               987 security/smack/smack_lsm.c 	struct smack_known *isp = smk_of_inode(inode);
isp              1008 security/smack/smack_lsm.c 			isp = dsp;
isp              1012 security/smack/smack_lsm.c 		*value = kstrdup(isp->smk_known, GFP_NOFS);
isp              1016 security/smack/smack_lsm.c 		*len = strlen(isp->smk_known);
isp              1033 security/smack/smack_lsm.c 	struct smack_known *isp;
isp              1040 security/smack/smack_lsm.c 	isp = smk_of_inode(d_backing_inode(old_dentry));
isp              1041 security/smack/smack_lsm.c 	rc = smk_curacc(isp, MAY_WRITE, &ad);
isp              1045 security/smack/smack_lsm.c 		isp = smk_of_inode(d_backing_inode(new_dentry));
isp              1047 security/smack/smack_lsm.c 		rc = smk_curacc(isp, MAY_WRITE, &ad);
isp              1140 security/smack/smack_lsm.c 	struct smack_known *isp;
isp              1146 security/smack/smack_lsm.c 	isp = smk_of_inode(d_backing_inode(old_dentry));
isp              1147 security/smack/smack_lsm.c 	rc = smk_curacc(isp, MAY_READWRITE, &ad);
isp              1151 security/smack/smack_lsm.c 		isp = smk_of_inode(d_backing_inode(new_dentry));
isp              1153 security/smack/smack_lsm.c 		rc = smk_curacc(isp, MAY_READWRITE, &ad);
isp              1322 security/smack/smack_lsm.c 	struct inode_smack *isp = smack_inode(d_backing_inode(dentry));
isp              1325 security/smack/smack_lsm.c 		isp->smk_flags |= SMK_INODE_TRANSMUTE;
isp              1332 security/smack/smack_lsm.c 			isp->smk_inode = skp;
isp              1336 security/smack/smack_lsm.c 			isp->smk_task = skp;
isp              1340 security/smack/smack_lsm.c 			isp->smk_mmap = skp;
isp              1377 security/smack/smack_lsm.c 	struct inode_smack *isp;
isp              1403 security/smack/smack_lsm.c 	isp = smack_inode(d_backing_inode(dentry));
isp              1413 security/smack/smack_lsm.c 		isp->smk_inode = sbsp->smk_default;
isp              1415 security/smack/smack_lsm.c 		isp->smk_task = NULL;
isp              1417 security/smack/smack_lsm.c 		isp->smk_mmap = NULL;
isp              1419 security/smack/smack_lsm.c 		isp->smk_flags &= ~SMK_INODE_TRANSMUTE;
isp              1441 security/smack/smack_lsm.c 	struct smack_known *isp;
isp              1444 security/smack/smack_lsm.c 		isp = smk_of_inode(inode);
isp              1460 security/smack/smack_lsm.c 			isp = ssp->smk_in;
isp              1462 security/smack/smack_lsm.c 			isp = ssp->smk_out;
isp              1468 security/smack/smack_lsm.c 		*buffer = kstrdup(isp->smk_known, GFP_KERNEL);
isp              1473 security/smack/smack_lsm.c 	return strlen(isp->smk_known);
isp              1665 security/smack/smack_lsm.c 	struct inode_smack *isp;
isp              1678 security/smack/smack_lsm.c 	isp = smack_inode(file_inode(file));
isp              1679 security/smack/smack_lsm.c 	if (isp->smk_mmap == NULL)
isp              1683 security/smack/smack_lsm.c 	    isp->smk_mmap != sbsp->smk_root)
isp              1685 security/smack/smack_lsm.c 	mkp = isp->smk_mmap;
isp              2024 security/smack/smack_lsm.c 	struct inode_smack *isp = smack_inode(inode);
isp              2027 security/smack/smack_lsm.c 	tsp->smk_forked = isp->smk_inode;
isp              2222 security/smack/smack_lsm.c 	struct inode_smack *isp = smack_inode(inode);
isp              2225 security/smack/smack_lsm.c 	isp->smk_inode = skp;
isp              2226 security/smack/smack_lsm.c 	isp->smk_flags |= SMK_INODE_INSTANT;
isp              2902 security/smack/smack_lsm.c static struct smack_known *smack_of_ipc(struct kern_ipc_perm *isp)
isp              2904 security/smack/smack_lsm.c 	struct smack_known **blob = smack_ipc(isp);
isp              2915 security/smack/smack_lsm.c static int smack_ipc_alloc_security(struct kern_ipc_perm *isp)
isp              2917 security/smack/smack_lsm.c 	struct smack_known **blob = smack_ipc(isp);
isp              2930 security/smack/smack_lsm.c static int smk_curacc_shm(struct kern_ipc_perm *isp, int access)
isp              2932 security/smack/smack_lsm.c 	struct smack_known *ssp = smack_of_ipc(isp);
isp              2938 security/smack/smack_lsm.c 	ad.a.u.ipc_id = isp->id;
isp              2952 security/smack/smack_lsm.c static int smack_shm_associate(struct kern_ipc_perm *isp, int shmflg)
isp              2957 security/smack/smack_lsm.c 	return smk_curacc_shm(isp, may);
isp              2967 security/smack/smack_lsm.c static int smack_shm_shmctl(struct kern_ipc_perm *isp, int cmd)
isp              2992 security/smack/smack_lsm.c 	return smk_curacc_shm(isp, may);
isp              3003 security/smack/smack_lsm.c static int smack_shm_shmat(struct kern_ipc_perm *isp, char __user *shmaddr,
isp              3009 security/smack/smack_lsm.c 	return smk_curacc_shm(isp, may);
isp              3019 security/smack/smack_lsm.c static int smk_curacc_sem(struct kern_ipc_perm *isp, int access)
isp              3021 security/smack/smack_lsm.c 	struct smack_known *ssp = smack_of_ipc(isp);
isp              3027 security/smack/smack_lsm.c 	ad.a.u.ipc_id = isp->id;
isp              3041 security/smack/smack_lsm.c static int smack_sem_associate(struct kern_ipc_perm *isp, int semflg)
isp              3046 security/smack/smack_lsm.c 	return smk_curacc_sem(isp, may);
isp              3056 security/smack/smack_lsm.c static int smack_sem_semctl(struct kern_ipc_perm *isp, int cmd)
isp              3087 security/smack/smack_lsm.c 	return smk_curacc_sem(isp, may);
isp              3101 security/smack/smack_lsm.c static int smack_sem_semop(struct kern_ipc_perm *isp, struct sembuf *sops,
isp              3104 security/smack/smack_lsm.c 	return smk_curacc_sem(isp, MAY_READWRITE);
isp              3114 security/smack/smack_lsm.c static int smk_curacc_msq(struct kern_ipc_perm *isp, int access)
isp              3116 security/smack/smack_lsm.c 	struct smack_known *msp = smack_of_ipc(isp);
isp              3122 security/smack/smack_lsm.c 	ad.a.u.ipc_id = isp->id;
isp              3136 security/smack/smack_lsm.c static int smack_msg_queue_associate(struct kern_ipc_perm *isp, int msqflg)
isp              3141 security/smack/smack_lsm.c 	return smk_curacc_msq(isp, may);
isp              3151 security/smack/smack_lsm.c static int smack_msg_queue_msgctl(struct kern_ipc_perm *isp, int cmd)
isp              3175 security/smack/smack_lsm.c 	return smk_curacc_msq(isp, may);
isp              3186 security/smack/smack_lsm.c static int smack_msg_queue_msgsnd(struct kern_ipc_perm *isp, struct msg_msg *msg,
isp              3192 security/smack/smack_lsm.c 	return smk_curacc_msq(isp, may);
isp              3205 security/smack/smack_lsm.c static int smack_msg_queue_msgrcv(struct kern_ipc_perm *isp, struct msg_msg *msg,
isp              3208 security/smack/smack_lsm.c 	return smk_curacc_msq(isp, MAY_READWRITE);
isp              3259 security/smack/smack_lsm.c 	struct inode_smack *isp;
isp              3271 security/smack/smack_lsm.c 	isp = smack_inode(inode);
isp              3273 security/smack/smack_lsm.c 	mutex_lock(&isp->smk_lock);
isp              3278 security/smack/smack_lsm.c 	if (isp->smk_flags & SMK_INODE_INSTANT)
isp              3306 security/smack/smack_lsm.c 			isp->smk_inode = sbsp->smk_root;
isp              3313 security/smack/smack_lsm.c 			isp->smk_inode = smk_of_current();
isp              3316 security/smack/smack_lsm.c 			isp->smk_inode = smk_of_current();
isp              3323 security/smack/smack_lsm.c 			isp->smk_inode = &smack_known_star;
isp              3326 security/smack/smack_lsm.c 			isp->smk_inode = sbsp->smk_root;
isp              3329 security/smack/smack_lsm.c 		isp->smk_flags |= SMK_INODE_INSTANT;
isp              3422 security/smack/smack_lsm.c 			if (isp->smk_flags & SMK_INODE_CHANGED) {
isp              3423 security/smack/smack_lsm.c 				isp->smk_flags &= ~SMK_INODE_CHANGED;
isp              3446 security/smack/smack_lsm.c 		isp->smk_task = skp;
isp              3452 security/smack/smack_lsm.c 		isp->smk_mmap = skp;
isp              3459 security/smack/smack_lsm.c 		isp->smk_inode = ckp;
isp              3461 security/smack/smack_lsm.c 		isp->smk_inode = final;
isp              3463 security/smack/smack_lsm.c 	isp->smk_flags |= (SMK_INODE_INSTANT | transflag);
isp              3466 security/smack/smack_lsm.c 	mutex_unlock(&isp->smk_lock);
isp              4504 security/smack/smack_lsm.c 	struct inode_smack *isp;
isp              4518 security/smack/smack_lsm.c 	isp = smack_inode(d_inode(dentry->d_parent));
isp              4519 security/smack/smack_lsm.c 	skp = isp->smk_inode;
isp              4543 security/smack/smack_lsm.c 	struct inode_smack *isp;
isp              4555 security/smack/smack_lsm.c 	isp = smack_inode(d_inode(dentry->d_parent));
isp              4557 security/smack/smack_lsm.c 	if (isp->smk_flags & SMK_INODE_TRANSMUTE) {
isp              4560 security/smack/smack_lsm.c 				       isp->smk_inode->smk_known,
isp              4570 security/smack/smack_lsm.c 			ntsp->smk_task = isp->smk_inode;