/linux/drivers/media/platform/ti/omap3isp/ |
H A D | isp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * isp.c 5 * TI OMAP3 ISP - Core 7 * Copyright (C) 2006-2010 Nokia Corporation 8 * Copyright (C) 2007-2009 Texas Instruments, Inc. 17 * Stanimir Varbanov <svarbanov@mm-sol.com> 22 * Ivan T. Ivanov <iivanov@mm-sol.com> 23 * RaniSuneela <r-m@ti.com> 24 * Atanas Filipov <afilipov@mm-sol.com> 25 * Gjorgji Rosikopulos <grosikopulos@mm-sol.com> [all …]
|
H A D | isp.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * isp.h 5 * TI OMAP3 ISP - Core 7 * Copyright (C) 2009-2010 Nokia Corporation 17 #include <media/media-entity.h> 18 #include <media/v4l2-async.h> 19 #include <media/v4l2-device.h> 20 #include <linux/clk-provider.h> 36 #define ISP_TOK_TERM 0xFFFFFFFF /* 37 * terminating token for ISP [all …]
|
H A D | ispcsi2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP - CSI2 module 14 #include <media/v4l2-common.h> 15 #include <linux/v4l2-mediabus.h> 18 #include "isp.h" 23 * csi2_if_enable - Enable CSI2 Receiver interface. 27 static void csi2_if_enable(struct isp_device *isp, in csi2_if_enable() argument 30 struct isp_csi2_ctrl_cfg *currctrl = &csi2->ctrl; in csi2_if_enable() 32 isp_reg_clr_set(isp, csi2->regs1, ISPCSI2_CTRL, ISPCSI2_CTRL_IF_EN, in csi2_if_enable() 33 enable ? ISPCSI2_CTRL_IF_EN : 0); in csi2_if_enable() [all …]
|
H A D | ispccp2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP - CCP2 module 22 #include "isp.h" 29 #define ISPCCP2_DAT_START_MIN 0 31 #define ISPCCP2_DAT_SIZE_MIN 0 34 #define ISPCCP2_LCx_CTRL_FORMAT_RAW8_DPCM10_VP 0x12 35 #define ISPCCP2_LCx_CTRL_FORMAT_RAW10_VP 0x16 39 #define ISPCCP2_LCM_HSIZE_SKIP_MIN 0 46 #define ISPCCP2_LCM_CTRL_READ_THROTTLE_FULL 0 51 #define ISPCCP2_LCM_CTRL_DST_PORT_VP 0 [all …]
|
H A D | isphist.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP - Histogram module 21 #include "isp.h" 28 * hist_reset_mem - clear Histogram memory before start stats engine. 32 struct isp_device *isp = hist->isp; in hist_reset_mem() local 33 struct omap3isp_hist_config *conf = hist->priv; in hist_reset_mem() 36 isp_reg_writel(isp, 0, OMAP3_ISP_IOMEM_HIST, ISPHIST_ADDR); in hist_reset_mem() 42 isp_reg_set(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT, ISPHIST_CNT_CLEAR); in hist_reset_mem() 48 for (i = OMAP3ISP_HIST_MEM_SIZE / 4; i > 0; i--) { in hist_reset_mem() 49 isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA); in hist_reset_mem() [all …]
|
H A D | isppreview.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP driver - Preview module 20 #include "isp.h" 26 { /* RGB-RGB Matrix */ 27 {0x01E2, 0x0F30, 0x0FEE}, 28 {0x0F9B, 0x01AC, 0x0FB9}, 29 {0x0FE0, 0x0EC0, 0x0260} 31 {0x0000, 0x0000, 0x0000} 38 {-38, -75, 112}, 39 {112, -94 , -18} [all …]
|
H A D | ispcsiphy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP - CSI PHY module 19 #include "isp.h" 30 regmap_read(phy->isp->syscon, phy->isp->syscon_offset, ®); in csiphy_routing_cfg_3630() 66 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, reg); in csiphy_routing_cfg_3630() 80 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, 0); in csiphy_routing_cfg_3430() 87 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, csirxfe); in csiphy_routing_cfg_3430() 99 * and 3630, so they will not hold their contents in off-mode. This isn't an 100 * issue since the MPU power domain is forced on whilst the ISP is in use. 106 if (phy->isp->phy_type == ISP_PHY_TYPE_3630 && on) in csiphy_routing_cfg() [all …]
|
H A D | ispccdc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP - CCDC module 7 * Copyright (C) 2009-2010 Nokia Corporation 18 #include <linux/dma-mapping.h> 22 #include <media/v4l2-event.h> 24 #include "isp.h" 57 * ccdc_print_status - Print current CCDC Module register values. 58 * @ccdc: Pointer to ISP CCDC device. 62 #define CCDC_PRINT_REGISTER(isp, name)\ argument 63 dev_dbg(isp->dev, "###CCDC " #name "=0x%08x\n", \ [all …]
|
H A D | ispstat.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP - Statistics core 15 #include <linux/dma-mapping.h> 20 #include "isp.h" 22 #define ISP_STAT_USES_DMAENGINE(stat) ((stat)->dma_ch != NULL) 29 #define MAGIC_NUM 0x55 56 #define IS_H3A_AF(stat) ((stat) == &(stat)->isp->isp_af) 57 #define IS_H3A_AEWB(stat) ((stat) == &(stat)->isp->isp_aewb) 68 dma_sync(stat->isp->dev, buf->dma_addr, 0, MAGIC_SIZE, dir); in __isp_stat_buf_sync_magic() 69 dma_sync(stat->isp->dev, buf->dma_addr + (buf_size & PAGE_MASK), in __isp_stat_buf_sync_magic() [all …]
|
H A D | ispresizer.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP - Resizer module 18 #include "isp.h" 42 * "TRM ES3.1, table 12-46" 59 * 7-tap mode is for scale factors 0.25x to 0.5x. 60 * 4-tap mode is for scale factors 0.5x to 4.0x. 64 /* For 8-phase 4-tap horizontal filter: */ 66 0x0000, 0x0100, 0x0000, 0x0000, 67 0x03FA, 0x00F6, 0x0010, 0x0000, 68 0x03F9, 0x00DB, 0x002C, 0x0000, [all …]
|
/linux/drivers/staging/media/atomisp/ |
H A D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 5 obj-$(CONFIG_INTEL_ATOMISP) += i2c/ 6 obj-$(CONFIG_VIDEO_ATOMISP) += atomisp.o 7 obj-$(CONFIG_VIDEO_ATOMISP) += pci/atomisp_gmin_platform.o 10 DEFINES += -DDEBUG 14 # SPDX-License-Identifier: GPL-2.0 15 atomisp-objs += \ 51 pci/isp/kernels/aa/aa_2/ia_css_aa2.host.o \ 52 pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.o \ 53 pci/isp/kernels/anr/anr_2/ia_css_anr2.host.o \ [all …]
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_v4l2.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Support for Medifield PNW Camera Imaging ISP subsystem. 5 * Copyright (c) 2010-2017 Intel Corporation. All Rights Reserved. 19 #include <media/v4l2-fwnode.h> 30 #include "atomisp-regs.h" 44 /* G-Min addition: pull this in from intel_mid_pm.h */ 50 MODULE_PARM_DESC(dbg_level, "debug message level (default:0)"); 64 * output res, and isp output res. however since we do not have this yet, 69 MODULE_PARM_DESC(pad_w, "extra data for ISP processing"); 73 MODULE_PARM_DESC(pad_h, "extra data for ISP processing"); [all …]
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | isp_v4_1_1.c | 1 /* SPDX-License-Identifier: MIT */ 16 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 42 static int isp_v4_1_1_hw_init(struct amdgpu_isp *isp) in isp_v4_1_1_hw_init() argument 44 struct amdgpu_device *adev = isp->adev; in isp_v4_1_1_hw_init() 48 if (adev->rmmio_size == 0 || adev->rmmio_size < 0x5289) in isp_v4_1_1_hw_init() 49 return -EINVAL; in isp_v4_1_1_hw_init() 51 isp_base = adev->rmmio_base; in isp_v4_1_1_hw_init() 53 isp->isp_cell = kcalloc(2, sizeof(struct mfd_cell), GFP_KERNEL); in isp_v4_1_1_hw_init() 54 if (!isp->isp_cell) { in isp_v4_1_1_hw_init() 55 r = -ENOMEM; in isp_v4_1_1_hw_init() [all …]
|
H A D | isp_v4_1_0.c | 1 /* SPDX-License-Identifier: MIT */ 16 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 42 static int isp_v4_1_0_hw_init(struct amdgpu_isp *isp) in isp_v4_1_0_hw_init() argument 44 struct amdgpu_device *adev = isp->adev; in isp_v4_1_0_hw_init() 48 if (adev->rmmio_size == 0 || adev->rmmio_size < 0x5289) in isp_v4_1_0_hw_init() 49 return -EINVAL; in isp_v4_1_0_hw_init() 51 isp_base = adev->rmmio_base; in isp_v4_1_0_hw_init() 53 isp->isp_cell = kcalloc(2, sizeof(struct mfd_cell), GFP_KERNEL); in isp_v4_1_0_hw_init() 54 if (!isp->isp_cell) { in isp_v4_1_0_hw_init() 55 r = -ENOMEM; in isp_v4_1_0_hw_init() [all …]
|
/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-is-param.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 23 #include <media/v4l2-device.h> 24 #include <media/v4l2-ioctl.h> 26 #include "fimc-is.h" 27 #include "fimc-is-command.h" 28 #include "fimc-is-errno.h" 29 #include "fimc-is-param.h" 30 #include "fimc-is-regs.h" 31 #include "fimc-is-sensor.h" [all …]
|
H A D | fimc-isp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 22 #include <media/v4l2-device.h> 24 #include "media-dev.h" 25 #include "fimc-isp-video.h" 26 #include "fimc-is-command.h" 27 #include "fimc-is-param.h" 28 #include "fimc-is-regs.h" 29 #include "fimc-is.h" 57 * fimc_isp_find_format - lookup color format by fourcc or media bus code [all …]
|
/linux/drivers/power/supply/ |
H A D | isp1704_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2012 - 2013 Pali Rohár <pali@kernel.org> 28 #define ISP1704_PWR_CTRL 0x3d 29 #define ISP1704_PWR_CTRL_SWCTRL (1 << 0) 38 #define NXP_VENDOR_ID 0x04cc 41 0x1704, 42 0x1707, 61 static inline int isp1704_read(struct isp1704_charger *isp, u32 reg) in isp1704_read() argument 63 return usb_phy_io_read(isp->phy, reg); in isp1704_read() 66 static inline int isp1704_write(struct isp1704_charger *isp, u32 reg, u32 val) in isp1704_write() argument [all …]
|
/linux/drivers/media/pci/intel/ipu6/ |
H A D | ipu6-buttress.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013--2024 Intel Corporation 11 #include <linux/dma-mapping.h> 26 #include "ipu6-bus.h" 27 #include "ipu6-dma.h" 28 #include "ipu6-buttress.h" 29 #include "ipu6-platform-buttress-regs.h" 31 #define BOOTLOADER_STATUS_OFFSET 0x15c 33 #define BOOTLOADER_MAGIC_KEY 0xb00710ad 63 int ipu6_buttress_ipc_reset(struct ipu6_device *isp, in ipu6_buttress_ipc_reset() argument [all …]
|
H A D | ipu6.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013--2024 Intel Corporation 8 #include <linux/dma-mapping.h> 16 #include <linux/pci-ats.h> 23 #include <media/ipu-bridge.h> 24 #include <media/ipu6-pci-table.h> 27 #include "ipu6-bus.h" 28 #include "ipu6-buttress.h" 29 #include "ipu6-cpd.h" 30 #include "ipu6-isys.h" [all …]
|
H A D | ipu6-cpd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2013--2024 Intel Corporation 9 #include <linux/dma-mapping.h> 16 #include "ipu6-bus.h" 17 #include "ipu6-cpd.h" 18 #include "ipu6-dma.h" 28 #define PKG_DIR_HDR_MARK 0x5f4955504b44525fULL 31 #define CPD_HDR_MARK 0x44504324 37 #define MAX_COMPONENT_VERSION 0xffff 39 #define MANIFEST_IDX 0 [all …]
|
/linux/drivers/staging/media/ipu3/ |
H A D | ipu3-css-fw.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include "ipu3-css.h" 10 #include "ipu3-css-fw.h" 11 #include "ipu3-dmamap.h" 19 bi->type, bi->blob.size, name); in imgu_css_fw_show_binary() 20 if (bi->type != IMGU_FW_ISP_FIRMWARE) in imgu_css_fw_show_binary() 23 dev_dbg(dev, " id %i mode %i bds 0x%x veceven %i/%i out_pins %i\n", in imgu_css_fw_show_binary() 24 bi->info.isp.sp.id, bi->info.isp.sp.pipeline.mode, in imgu_css_fw_show_binary() 25 bi->info.isp.sp.bds.supported_bds_factors, in imgu_css_fw_show_binary() 26 bi->info.isp.sp.enable.vf_veceven, in imgu_css_fw_show_binary() [all …]
|
/linux/drivers/media/platform/rockchip/rkisp1/ |
H A D | rkisp1-isp.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Rockchip ISP1 Driver - ISP Subdevice 17 #include <media/v4l2-event.h> 19 #include "rkisp1-common.h" 28 * This is because ISP Subdev describes not only ISP submodule (input size, 38 * Cropping regions of ISP 40 * +---------------------------------------------------------+ 42 * | +---------------------------------------------------+ | 45 * | | +--------------------------------------------+ | | 48 * | | | +---------------------------------+ | | | [all …]
|
/linux/Documentation/devicetree/bindings/media/ |
H A D | rockchip-isp1.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 --- 4 $id: http://devicetree.org/schemas/media/rockchip-isp1.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Helen Koike <helen.koike@collabora.com> 19 - fsl,imx8mp-isp 20 - rockchip,px30-cif-isp 21 - rockchip,rk3399-cif-isp 30 interrupt-names: 32 - const: isp [all …]
|
/linux/arch/m68k/ifpsp060/ |
H A D | isp.doc | 3 M68000 Hi-Performance Microprocessor Division 5 Production Release P1.00 -- October 10, 1994 30 ------------------------------------------------ 32 The file isp.sa contains the 68060 Integer Software Package. 38 isp.sa provides full emulation support for these instructions. 41 64-bit divide 42 64-bit multiply 50 -------------------- 51 The file isp.sa is essentially a hexadecimal image of the 66 The source code isp.s has also been included but only for [all …]
|
/linux/drivers/usb/isp1760/ |
H A D | isp1760-core.c | 1 // SPDX-License-Identifier: GPL-2.0 24 #include "isp1760-core.h" 25 #include "isp1760-hcd.h" 26 #include "isp1760-regs.h" 27 #include "isp1760-udc.h" 29 static int isp1760_init_core(struct isp1760_device *isp) in isp1760_init_core() argument 31 struct isp1760_hcd *hcd = &isp->hcd; in isp1760_init_core() 32 struct isp1760_udc *udc = &isp->udc; in isp1760_init_core() 35 /* Low-level chip reset */ in isp1760_init_core() 36 if (isp->rst_gpio) { in isp1760_init_core() [all …]
|