Home
last modified time | relevance | path

Searched +full:isp +full:- +full:0 (Results 1 – 25 of 712) sorted by relevance

12345678910>>...29

/openbmc/linux/drivers/media/platform/ti/omap3isp/
H A Disp.c1 // 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 Disp.h1 /* 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 Dispcsi2.c1 // 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 Dispccp2.c1 // 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 Disphist.c1 // 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 Disppreview.c1 // 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 Dispcsiphy.c1 // 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, &reg); 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 Dispccdc.c1 // 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 Dispstat.c1 // 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 …]
/openbmc/linux/drivers/staging/media/atomisp/
H A DMakefile1 # 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 += \
52 pci/isp/kernels/aa/aa_2/ia_css_aa2.host.o \
53 pci/isp/kernels/anr/anr_1.0/ia_css_anr.host.o \
54 pci/isp/kernels/anr/anr_2/ia_css_anr2.host.o \
[all …]
/openbmc/linux/drivers/media/platform/renesas/
H A Drcar-isp.c1 // SPDX-License-Identifier: GPL-2.0
5 * Driver for Renesas R-Car ISP Channel Selector
7 * The ISP hardware is capable of more than just channel selection, features
20 #include <media/mipi-csi2.h>
21 #include <media/v4l2-subdev.h>
23 #define ISPINPUTSEL0_REG 0x0008
26 #define ISPSTART_REG 0x0014
27 #define ISPSTART_START 0xffff
28 #define ISPSTART_STOP 0x0000
30 #define ISPPROCMODE_DT_REG(n) (0x1100 + (0x4 * (n)))
[all …]
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-is-param.c1 // 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 Dfimc-isp-video.c1 // 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 …]
H A Dfimc-isp.c1 // 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 …]
/openbmc/linux/drivers/power/supply/
H A Disp1704_charger.c1 // 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 …]
/openbmc/linux/drivers/staging/media/atomisp/pci/
H A Datomisp_v4l2.c1 // 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.
30 #include <media/v4l2-fwnode.h>
41 #include "atomisp-regs.h"
55 /* G-Min addition: pull this in from intel_mid_pm.h */
65 MODULE_PARM_DESC(dbg_level, "debug message level (default:0)");
78 module_param_string(firmware_name, firmware_name, sizeof(firmware_name), 0);
86 output res, and isp output res. however since we do not have this yet,
90 MODULE_PARM_DESC(pad_w, "extra data for ISP processing");
[all …]
H A Datomisp_compat_css20.c1 // 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"
47 #define NO_LINK -1
70 struct atomisp_device *isp = dev_get_drvdata(atomisp_dev); in atomisp_css2_hw_store_8() local
74 writeb(data, isp->base + (addr & 0x003FFFFF)); in atomisp_css2_hw_store_8()
80 struct atomisp_device *isp = dev_get_drvdata(atomisp_dev); in atomisp_css2_hw_store_16() local
[all …]
H A Datomisp_ioctl.c1 // 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>
32 #include "atomisp-regs.h"
42 static const char *CARD = "ATOM ISP"; /* max size 31 */
45 * FIXME: ISP should not know beforehand all CIDs supported by sensor.
53 .minimum = 0,
56 .default_value = 0,
62 .minimum = 0x00,
[all …]
H A Dia_css_types.h1 /* 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 …]
H A Datomisp_cmd.c1 // SPDX-License-Identifier: GPL-2.0
3 * Support for Medifield PNW Camera Imaging ISP subsystem.
32 #include <media/v4l2-event.h>
42 #include "atomisp-regs.h"
83 * get sensor:dis71430/ov2720 related info from v4l2_subdev->priv data field.
84 * subdev->priv is set in mrst.c
102 struct v4l2_subdev_frame_interval fi = { 0 }; in atomisp_get_sensor_fps()
103 struct atomisp_device *isp = asd->isp; in atomisp_get_sensor_fps() local
105 unsigned short fps = 0; in atomisp_get_sensor_fps()
108 ret = v4l2_subdev_call(isp->inputs[asd->input_curr].camera, in atomisp_get_sensor_fps()
[all …]
H A Dia_css_isp_configs.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Support for Intel Camera Imaging ISP subsystem.
17 #include "isp/kernels/crop/crop_1.0/ia_css_crop.host.h"
18 #include "isp/kernels/dvs/dvs_1.0/ia_css_dvs.host.h"
19 #include "isp/kernels/fpn/fpn_1.0/ia_css_fpn.host.h"
20 #include "isp/kernels/ob/ob_1.0/ia_css_ob.host.h"
21 #include "isp/kernels/output/output_1.0/ia_css_output.host.h"
22 #include "isp/kernels/qplane/qplane_2/ia_css_qplane.host.h"
23 #include "isp/kernels/raw/raw_1.0/ia_css_raw.host.h"
24 #include "isp/kernels/ref/ref_1.0/ia_css_ref.host.h"
[all …]
/openbmc/linux/drivers/usb/phy/
H A Dphy-isp1301.c1 // 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 …]
/openbmc/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-isp.c1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Rockchip ISP1 Driver - ISP Subdevice
16 #include <media/v4l2-event.h>
18 #include "rkisp1-common.h"
27 * This is because ISP Subdev describes not only ISP submodule (input size,
37 * Cropping regions of ISP
39 * +---------------------------------------------------------+
41 * | +---------------------------------------------------+ |
44 * | | +--------------------------------------------+ | |
47 * | | | +---------------------------------+ | | |
[all …]
/openbmc/linux/drivers/staging/media/ipu3/
H A Dipu3-css-fw.c1 // 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 …]
/openbmc/phosphor-power/tools/power-utils/
H A Daei_updater.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
27 #include <phosphor-logging/lg2.hpp>
35 constexpr uint8_t MAX_RETRIES = 0x02; // Constants for retry limits
37 constexpr int ISP_STATUS_DELAY = 1200; // Delay for ISP status check (1.2s)
43 constexpr uint8_t I2C_SMBUS_BLOCK_MAX = 0x20; // Max Read bytes from PSU
44 constexpr uint8_t FW_READ_BLOCK_SIZE = 0x20; // Read bytes from FW file
45 constexpr uint8_t BLOCK_WRITE_SIZE = 0x25; // I2C block write size
47 constexpr uint8_t START_SEQUENCE_INDEX = 0x1; // Starting sequence index
48 constexpr uint8_t STATUS_CML_INDEX = 0x4; // Status CML read index
49 constexpr uint8_t EXPECTED_MEM_READ_REPLY = 0x
[all...]

12345678910>>...29