| /Linux-v5.15/drivers/media/platform/omap3isp/ |
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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 …]
|
| 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() 65 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, reg); in csiphy_routing_cfg_3630() 79 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, 0); in csiphy_routing_cfg_3430() 86 regmap_write(phy->isp->syscon, phy->isp->syscon_offset, csirxfe); in csiphy_routing_cfg_3430() 98 * and 3630, so they will not hold their contents in off-mode. This isn't an 99 * issue since the MPU power domain is forced on whilst the ISP is in use. 105 if (phy->isp->phy_type == ISP_PHY_TYPE_3630 && on) in csiphy_routing_cfg() [all …]
|
| 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 …]
|
| 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 …]
|
| /Linux-v5.15/drivers/staging/media/atomisp/ |
| 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 += \ 56 pci/isp/kernels/aa/aa_2/ia_css_aa2.host.o \ 57 pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.o \ 58 pci/isp/kernels/anr/anr_2/ia_css_anr2.host.o \ [all …]
|
| /Linux-v5.15/drivers/staging/media/atomisp/pci/ |
| 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. 40 #include "atomisp-regs.h" 54 /* G-Min addition: pull this in from intel_mid_pm.h */ 87 MODULE_PARM_DESC(dbg_level, "debug message level (default:0)"); 100 module_param_string(firmware_name, firmware_name, sizeof(firmware_name), 0); 108 output res, and isp output res. however since we do not have this yet, 112 MODULE_PARM_DESC(pad_w, "extra data for ISP processing"); 116 MODULE_PARM_DESC(pad_h, "extra data for ISP processing"); [all …]
|
| D | atomisp_ioctl.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Support for Medifield PNW Camera Imaging ISP subsystem. 24 #include <media/v4l2-ioctl.h> 25 #include <media/v4l2-event.h> 26 #include <media/videobuf-vmalloc.h> 34 #include "atomisp-regs.h" 44 static const char *CARD = "ATOM ISP"; /* max size 31 */ 47 * FIXME: ISP should not know beforehand all CIDs supported by sensor. 55 .minimum = 0, 58 .default_value = 0, [all …]
|
| D | atomisp_compat_css20.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Support for Clovertrail PNW Camera Imaging ISP subsystem. 19 #include <media/videobuf-vmalloc.h> 20 #include <media/v4l2-dev.h> 21 #include <media/v4l2-event.h> 31 #include "atomisp-regs.h" 48 #define NO_LINK -1 71 struct atomisp_device *isp = dev_get_drvdata(atomisp_dev); in atomisp_css2_hw_store_8() local 75 writeb(data, isp->base + (addr & 0x003FFFFF)); in atomisp_css2_hw_store_8() 81 struct atomisp_device *isp = dev_get_drvdata(atomisp_dev); in atomisp_css2_hw_store_16() local [all …]
|
| D | atomisp_fops.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Support for Medifield PNW Camera Imaging ISP subsystem. 24 #include <media/v4l2-ioctl.h> 25 #include <media/videobuf-vmalloc.h> 35 #include "atomisp-regs.h" 48 #define ISP_PARAM_MMAP_OFFSET 0xfffff000 57 } while (0) 65 struct atomisp_video_pipe *pipe = vq->priv_data; in atomisp_buf_setup() 67 *size = pipe->pix.sizeimage; in atomisp_buf_setup() 69 return 0; in atomisp_buf_setup() [all …]
|
| D | ia_css_types.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 4 * Support for Intel Camera Imaging ISP subsystem. 31 #include "isp/kernels/aa/aa_2/ia_css_aa2_types.h" 32 #include "isp/kernels/anr/anr_1.0/ia_css_anr_types.h" 33 #include "isp/kernels/anr/anr_2/ia_css_anr2_types.h" 34 #include "isp/kernels/cnr/cnr_2/ia_css_cnr2_types.h" 35 #include "isp/kernels/csc/csc_1.0/ia_css_csc_types.h" 36 #include "isp/kernels/ctc/ctc_1.0/ia_css_ctc_types.h" 37 #include "isp/kernels/dp/dp_1.0/ia_css_dp_types.h" 38 #include "isp/kernels/de/de_1.0/ia_css_de_types.h" [all …]
|
| D | atomisp_cmd.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Support for Medifield PNW Camera Imaging ISP subsystem. 32 #include <media/v4l2-event.h> 33 #include <media/videobuf-vmalloc.h> 43 #include "atomisp-regs.h" 85 * get sensor:dis71430/ov2720 related info from v4l2_subdev->priv data field. 86 * subdev->priv is set in mrst.c 113 struct v4l2_subdev_frame_interval fi = { 0 }; in atomisp_get_sensor_fps() 114 struct atomisp_device *isp = asd->isp; in atomisp_get_sensor_fps() local 116 unsigned short fps = 0; in atomisp_get_sensor_fps() [all …]
|
| D | atomisp_file.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Support for Medifield PNW Camera Imaging ISP subsystem. 21 #include <media/v4l2-event.h> 22 #include <media/v4l2-mediabus.h> 24 #include <media/videobuf-vmalloc.h> 39 struct atomisp_device *isp = file_dev->isp; in file_work() local 41 struct atomisp_sub_device *asd = &isp->asd[0]; in file_work() 42 struct atomisp_video_pipe *out_pipe = &asd->video_in; in file_work() 43 unsigned short *buf = videobuf_to_vmalloc(out_pipe->outq.bufs[0]); in file_work() 46 if (asd->streaming != ATOMISP_DEVICE_STREAMING_ENABLED) in file_work() [all …]
|
| /Linux-v5.15/drivers/power/supply/ |
| 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-v5.15/drivers/media/platform/exynos4-is/ |
| 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 …]
|
| D | fimc-isp-video.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Samsung EXYNOS4x12 FIMC-IS (Imaging Subsystem) driver 5 * FIMC-IS ISP video input and video output DMA interface driver 26 #include <media/v4l2-device.h> 27 #include <media/v4l2-ioctl.h> 28 #include <media/videobuf2-v4l2.h> 29 #include <media/videobuf2-dma-contig.h> 30 #include <media/drv-intf/exynos-fimc.h> 33 #include "media-dev.h" 34 #include "fimc-is.h" [all …]
|
| 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-v5.15/drivers/usb/phy/ |
| D | phy-isp1301-omap.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * isp1301_omap - ISP 1301 USB transceiver, talking to OMAP OTG controller 24 #include <asm/mach-types.h> 55 # define WORK_UPDATE_ISP 0 /* update ISP from OTG */ 56 # define WORK_UPDATE_OTG 1 /* update OTG from ISP */ 78 /*-------------------------------------------------------------------------*/ 80 /* board-specific PM hooks */ 93 return 0; in tps65010_set_vbus_draw() 98 static void enable_vbus_draw(struct isp1301 *isp, unsigned mA) in enable_vbus_draw() argument 101 if (status < 0) in enable_vbus_draw() [all …]
|
| D | phy-isp1301.c | 1 // SPDX-License-Identifier: GPL-2.0 28 { "isp1301", 0 }, 41 static int __isp1301_write(struct isp1301 *isp, u8 reg, u8 value, u8 clear) in __isp1301_write() argument 43 return i2c_smbus_write_byte_data(isp->client, reg | clear, value); in __isp1301_write() 46 static int isp1301_write(struct isp1301 *isp, u8 reg, u8 value) in isp1301_write() argument 48 return __isp1301_write(isp, reg, value, 0); in isp1301_write() 51 static int isp1301_clear(struct isp1301 *isp, u8 reg, u8 value) in isp1301_clear() argument 53 return __isp1301_write(isp, reg, value, ISP1301_I2C_REG_CLEAR_ADDR); in isp1301_clear() 58 struct isp1301 *isp = phy_to_isp(phy); in isp1301_phy_init() local 61 isp1301_clear(isp, ISP1301_I2C_MODE_CONTROL_1, MC1_UART_EN); in isp1301_phy_init() [all …]
|
| /Linux-v5.15/drivers/staging/media/ipu3/ |
| 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-v5.15/drivers/media/platform/rockchip/rkisp1/ |
| D | rkisp1-isp.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Rockchip ISP1 Driver - ISP Subdevice 13 #include <linux/phy/phy-mipi-dphy.h> 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 * | | +--------------------------------------------+ | | [all …]
|