Home
last modified time | relevance | path

Searched full:isp (Results 1 – 25 of 356) sorted by relevance

12345678910>>...15

/linux/drivers/power/supply/
H A Disp1704_charger.c61 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
68 return usb_phy_io_write(isp->phy, val, reg); in isp1704_write()
71 static void isp1704_charger_set_power(struct isp1704_charger *isp, bool on) in isp1704_charger_set_power() argument
73 gpiod_set_value(isp->enable_gpio, on); in isp1704_charger_set_power()
83 static inline int isp1704_charger_type(struct isp1704_charger *isp) in isp1704_charger_type() argument
90 func_ctrl = isp1704_read(isp, ULPI_FUNC_CTRL); in isp1704_charger_type()
91 otg_ctrl = isp1704_read(isp, ULPI_OTG_CTRL); in isp1704_charger_type()
95 isp1704_write(isp, ULPI_CLR(ULPI_OTG_CTRL), reg); in isp1704_charger_type()
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
H A Disp_v4_1_1.c70 struct amdgpu_isp *isp = container_of(genpd, struct amdgpu_isp, ispgpd); in isp_poweroff() local
71 struct amdgpu_device *adev = isp->adev; in isp_poweroff()
78 struct amdgpu_isp *isp = container_of(genpd, struct amdgpu_isp, ispgpd); in isp_poweron() local
79 struct amdgpu_device *adev = isp->adev; in isp_poweron()
87 struct amdgpu_isp *isp = container_of(genpd, struct amdgpu_isp, ispgpd); in isp_set_performance_state() local
88 struct amdgpu_device *adev = isp->adev; in isp_set_performance_state()
98 /* isp runs at default lowest clock-rate on power-on, do nothing */ in isp_set_performance_state()
125 struct amdgpu_isp *isp = container_of(gpd, struct amdgpu_isp, ispgpd); in isp_genpd_add_device() local
126 struct amdgpu_device *adev = isp->adev; in isp_genpd_add_device()
138 drm_dbg(&adev->ddev, "Invalid isp mfd device %s to add\n", pdev->mfd_cell->name); in isp_genpd_add_device()
[all …]
H A Damdgpu_isp.c39 * isp_hw_init - start and test isp block
47 struct amdgpu_isp *isp = &adev->isp; in isp_hw_init() local
49 if (isp->funcs->hw_init != NULL) in isp_hw_init()
50 return isp->funcs->hw_init(isp); in isp_hw_init()
63 struct amdgpu_isp *isp = &ip_block->adev->isp; in isp_hw_fini() local
65 if (isp->funcs->hw_fini != NULL) in isp_hw_fini()
66 return isp->funcs->hw_fini(isp); in isp_hw_fini()
77 /* get isp fw binary name and path */ in isp_load_fw_by_psp()
81 /* read isp fw */ in isp_load_fw_by_psp()
82 r = amdgpu_ucode_request(adev, &adev->isp.fw, AMDGPU_UCODE_OPTIONAL, in isp_load_fw_by_psp()
[all …]
/linux/drivers/usb/phy/
H A Dphy-isp1301.c41 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()
62 isp1301_clear(isp, ISP1301_I2C_MODE_CONTROL_1, ~MC1_SPEED_REG); in isp1301_phy_init()
63 isp1301_write(isp, ISP1301_I2C_MODE_CONTROL_1, MC1_SPEED_REG); in isp1301_phy_init()
[all …]
/linux/drivers/media/platform/ti/omap3isp/
H A Dispcsi2.c5 * TI OMAP3 ISP - CSI2 module
18 #include "isp.h"
27 static void csi2_if_enable(struct isp_device *isp, in csi2_if_enable() argument
32 isp_reg_clr_set(isp, csi2->regs1, ISPCSI2_CTRL, ISPCSI2_CTRL_IF_EN, in csi2_if_enable()
43 static void csi2_recv_config(struct isp_device *isp, in csi2_recv_config() argument
49 reg = isp_reg_readl(isp, csi2->regs1, ISPCSI2_CTRL); in csi2_recv_config()
74 isp_reg_writel(isp, reg, csi2->regs1, ISPCSI2_CTRL); in csi2_recv_config()
94 * - 2 isp revisions (certain format must be handled differently on OMAP3630)
161 * @csi2: ISP CSI2 device
202 is_3630 = csi2->isp->revision == ISP_REVISION_15_0; in csi2_ctx_map_format()
[all …]
H A Dispccp2.c5 * TI OMAP3 ISP - CCP2 module
22 #include "isp.h"
64 #define CCP2_PRINT_REGISTER(isp, name)\ argument
65 dev_dbg(isp->dev, "###CCP2 " #name "=0x%08x\n", \
66 isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCP2, ISPCCP2_##name))
70 struct isp_device *isp = to_isp_device(ccp2); in ccp2_print_status() local
72 dev_dbg(isp->dev, "-------------CCP2 Register dump-------------\n"); in ccp2_print_status()
74 CCP2_PRINT_REGISTER(isp, SYSCONFIG); in ccp2_print_status()
75 CCP2_PRINT_REGISTER(isp, SYSSTATUS); in ccp2_print_status()
76 CCP2_PRINT_REGISTER(isp, LC01_IRQENABLE); in ccp2_print_status()
[all …]
H A Dispcsiphy.c5 * 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()
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()
108 if (phy->isp->phy_type == ISP_PHY_TYPE_3430) in csiphy_routing_cfg()
118 isp_reg_clr_set(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG, in csiphy_power_autoswitch_enable()
[all …]
H A Disppreview.c5 * TI OMAP3 ISP driver - Preview module
20 #include "isp.h"
152 struct isp_device *isp = to_isp_device(prev); in preview_config_luma_enhancement() local
156 isp_reg_writel(isp, ISPPRV_YENH_TABLE_ADDR, in preview_config_luma_enhancement()
159 isp_reg_writel(isp, yt->table[i], in preview_config_luma_enhancement()
170 struct isp_device *isp = to_isp_device(prev); in preview_enable_luma_enhancement() local
173 isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR, in preview_enable_luma_enhancement()
176 isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR, in preview_enable_luma_enhancement()
185 struct isp_device *isp = to_isp_device(prev); in preview_enable_invalaw() local
188 isp_reg_set(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR, in preview_enable_invalaw()
[all …]
H A Dispresizer.c5 * TI OMAP3 ISP - Resizer module
18 #include "isp.h"
154 struct isp_device *isp = to_isp_device(res); in resizer_set_filters() local
166 isp_reg_writel(isp, tmp_h, OMAP3_ISP_IOMEM_RESZ, startaddr_h); in resizer_set_filters()
167 isp_reg_writel(isp, tmp_v, OMAP3_ISP_IOMEM_RESZ, startaddr_v); in resizer_set_filters()
185 struct isp_device *isp = to_isp_device(res); in resizer_set_bilinear() local
188 isp_reg_set(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT, in resizer_set_bilinear()
191 isp_reg_clr(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT, in resizer_set_bilinear()
202 struct isp_device *isp = to_isp_device(res); in resizer_set_ycpos() local
206 isp_reg_set(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT, in resizer_set_ycpos()
[all …]
/linux/drivers/media/pci/intel/ipu6/
H A Dipu6-cpd.c66 ipu6_cpd_metadata_get_cmpnt(struct ipu6_device *isp, const void *metadata, in ipu6_cpd_metadata_get_cmpnt() argument
72 cmpnt_count = div_u64(cmpnt_count, isp->cpd_metadata_cmpnt_size); in ipu6_cpd_metadata_get_cmpnt()
75 dev_err(&isp->pdev->dev, "Component index out of range (%d)\n", in ipu6_cpd_metadata_get_cmpnt()
80 return metadata + extn_size + idx * isp->cpd_metadata_cmpnt_size; in ipu6_cpd_metadata_get_cmpnt()
83 static u32 ipu6_cpd_metadata_cmpnt_version(struct ipu6_device *isp, in ipu6_cpd_metadata_cmpnt_version() argument
89 cmpnt = ipu6_cpd_metadata_get_cmpnt(isp, metadata, metadata_size, idx); in ipu6_cpd_metadata_cmpnt_version()
96 static int ipu6_cpd_metadata_get_cmpnt_id(struct ipu6_device *isp, in ipu6_cpd_metadata_get_cmpnt_id() argument
102 cmpnt = ipu6_cpd_metadata_get_cmpnt(isp, metadata, metadata_size, idx); in ipu6_cpd_metadata_get_cmpnt_id()
109 static int ipu6_cpd_parse_module_data(struct ipu6_device *isp, in ipu6_cpd_parse_module_data() argument
139 id = ipu6_cpd_metadata_get_cmpnt_id(isp, metadata, in ipu6_cpd_parse_module_data()
[all …]
/linux/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-isp.c25 #include "fimc-isp-video.h"
125 struct fimc_isp *isp = v4l2_get_subdevdata(sd); in fimc_isp_subdev_get_fmt() local
135 mutex_lock(&isp->subdev_lock); in fimc_isp_subdev_get_fmt()
138 /* ISP OTF input image format */ in fimc_isp_subdev_get_fmt()
139 *mf = isp->sink_fmt; in fimc_isp_subdev_get_fmt()
141 /* ISP OTF output image format */ in fimc_isp_subdev_get_fmt()
142 *mf = isp->src_fmt; in fimc_isp_subdev_get_fmt()
150 mutex_unlock(&isp->subdev_lock); in fimc_isp_subdev_get_fmt()
158 static void __isp_subdev_try_format(struct fimc_isp *isp, in __isp_subdev_try_format() argument
178 format = &isp->sink_fmt; in __isp_subdev_try_format()
[all …]
H A Dfimc-is-regs.h61 /* Interrupt Generation Register 1 from ISP CPU to Host IC */
66 /* Interrupt Clear Register 1 from ISP CPU to Host IC */
71 /* Interrupt Mask Register 1 from ISP CPU to Host IC */
76 /* Interrupt Status Register 1 from ISP CPU to Host IC */
78 /* Interrupt Mask Status Register 1 from ISP CPU to Host IC */
81 /* Interrupt Clear Register 2 from ISP BLK's interrupts to Host IC */
86 /* Interrupt Mask Register 2 from ISP BLK's interrupts to Host IC */
91 /* Interrupt Status Register 2 from ISP BLK's interrupts to Host IC */
93 /* Interrupt Mask Status Register 2 from ISP BLK's interrupts to Host IC */
109 /* Shared registers between ISP CPU and the host CPU - ISSRxx */
[all …]
/linux/drivers/staging/media/ipu3/
H A Dipu3-css-fw.c24 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()
27 bi->info.isp.sp.vf_dec.is_variable, in imgu_css_fw_show_binary()
28 bi->info.isp.num_output_pins); in imgu_css_fw_show_binary()
31 bi->info.isp.sp.input.min_width, in imgu_css_fw_show_binary()
32 bi->info.isp.sp.input.min_height, in imgu_css_fw_show_binary()
33 bi->info.isp.sp.input.max_width, in imgu_css_fw_show_binary()
34 bi->info.isp.sp.input.max_height, in imgu_css_fw_show_binary()
35 bi->info.isp.sp.enable.input_yuv ? "yuv420 " : "", in imgu_css_fw_show_binary()
[all …]
/linux/Documentation/admin-guide/media/
H A Domap3isp.rst5 OMAP 3 Image Signal Processor (ISP) driver
19 This file documents the Texas Instruments OMAP 3 Image Signal Processor (ISP)
38 The OMAP 3 ISP is split into V4L2 subdevs, each of the blocks inside the ISP
42 - OMAP3 ISP CCP2
43 - OMAP3 ISP CSI2a
44 - OMAP3 ISP CCDC
45 - OMAP3 ISP preview
46 - OMAP3 ISP resizer
47 - OMAP3 ISP AEWB
48 - OMAP3 ISP AF
[all …]
H A Draspberrypi-pisp-be.rst4 Raspberry Pi PiSP Back End Memory-to-Memory ISP (pisp-be)
10 The PiSP Back End is a memory-to-memory Image Signal Processor (ISP) which reads
15 The ISP registers and programming model are documented in the `Raspberry Pi
18 The PiSP Back End ISP processes images in tiles. The handling of image
35 a subdevice for the ISP that connects the video devices in a single media graph
49 - pispbe-input: output device for images to be submitted to the ISP for
57 - pispbe-config: output device for ISP configuration parameters.
62 Images to be processed by the ISP are queued to the `pispbe-input` output device
63 node. For a list of image formats supported as input to the ISP refer to the
88 The two capture devices write to memory the pixel data as processed by the ISP.
[all …]
/linux/Documentation/translations/zh_CN/video4linux/
H A Domap3isp.txt29 OMAP 3 图像信号处理器 (ISP) 驱动
43 (TI)OMAP 3 图像信号处理器 (ISP) 驱动。原始驱动由德州仪器(TI)
59 OMAP 3 ISP 被拆分为 V4L2 子设备,ISP中的每个模块都由一个子设备
62 OMAP3 ISP CCP2
63 OMAP3 ISP CSI2a
64 OMAP3 ISP CCDC
65 OMAP3 ISP preview
66 OMAP3 ISP resizer
67 OMAP3 ISP AEWB
68 OMAP3 ISP AF
[all …]
/linux/Documentation/devicetree/bindings/display/tegra/
H A Dnvidia,tegra20-isp.yaml4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra20-isp.yaml#
7 title: NVIDIA Tegra ISP processor
17 - nvidia,tegra20-isp
18 - nvidia,tegra30-isp
19 - nvidia,tegra114-isp
20 - nvidia,tegra124-isp
21 - nvidia,tegra210-isp
24 - const: nvidia,tegra132-isp
25 - const: nvidia,tegra124-isp
43 - const: isp
[all …]
/linux/arch/m68k/ifpsp060/
H A Disp.doc32 The file isp.sa contains the 68060 Integer Software Package.
38 isp.sa provides full emulation support for these instructions.
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
89 is NOT INCLUDED in isp.sa (an example "Call-out" section is provided at
91 the ISP routines to reference external functions that must be provided
94 to a function required by the ISP (these functions and their location are
95 listed in "68060ISP call-outs" below). Each field entry should contain
98 isp.sa image in memory.
101 to access the functions within the ISP. Since the isp.sa hex file contains
[all …]
/linux/drivers/usb/isp1760/
H A Disp1760-core.c29 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()
36 if (isp->rst_gpio) { in isp1760_init_core()
37 gpiod_set_value_cansleep(isp->rst_gpio, 1); in isp1760_init_core()
39 gpiod_set_value_cansleep(isp->rst_gpio, 0); in isp1760_init_core()
50 if ((isp->devflags & ISP1760_FLAG_ANALOG_OC) && hcd->is_isp1763) { in isp1760_init_core()
51 dev_err(isp->dev, "isp1763 analog overcurrent not available\n"); in isp1760_init_core()
55 if (isp->devflags & ISP1760_FLAG_BUS_WIDTH_16) in isp1760_init_core()
57 if (isp->devflags & ISP1760_FLAG_BUS_WIDTH_8) in isp1760_init_core()
[all …]
H A Disp1760-udc.c188 dev_dbg(ep->udc->isp->dev, "completing request %p with status %d\n", in isp1760_udc_request_complete()
213 dev_dbg(ep->udc->isp->dev, "%s(ep%02x)\n", __func__, ep->addr); in isp1760_udc_ctrl_send_stall()
245 dev_dbg(udc->isp->dev, "%s: received %u bytes (%u/%u done)\n", in isp1760_udc_receive()
281 dev_dbg(udc->isp->dev, in isp1760_udc_receive()
310 dev_dbg(udc->isp->dev, "%s: transferring %u bytes (%u/%u done)\n", in isp1760_udc_transmit()
346 dev_dbg(udc->isp->dev, "%s: invalid ep0 state %u\n", __func__, in isp1760_ep_rx_ready()
353 dev_dbg(udc->isp->dev, "%s: ep%02x is disabled\n", __func__, in isp1760_ep_rx_ready()
361 dev_dbg(udc->isp->dev, "%s: ep%02x (%p) has no request queued\n", in isp1760_ep_rx_ready()
387 dev_dbg(udc->isp->dev, "TX IRQ: invalid endpoint state %u\n", in isp1760_ep_tx_complete()
405 dev_dbg(udc->isp->dev, "%s: ep%02x has no request queued\n", in isp1760_ep_tx_complete()
[all …]
/linux/Documentation/devicetree/bindings/media/
H A Dti,omap3isp.txt1 OMAP 3 ISP Device Tree bindings
4 The DT definitions can be found in include/dt-bindings/media/omap3-isp.h.
9 compatible : must contain "ti,omap3-isp"
12 ISP. The first set contains the core ISP registers up to
15 interrupts : the ISP interrupt specifier
16 iommus : phandle and IOMMU specifier for the IOMMU that serves the ISP
21 #clock-cells : Must be 1 --- the ISP provides two external clocks,
58 isp@480bc000 {
59 compatible = "ti,omap3-isp";
H A Dallwinner,sun6i-a31-isp.yaml4 $id: http://devicetree.org/schemas/media/allwinner,sun6i-a31-isp.yaml#
7 title: Allwinner A31 Image Signal Processor Driver (ISP)
15 - allwinner,sun6i-a31-isp
16 - allwinner,sun8i-v3s-isp
56 - allwinner,sun8i-v3s-isp
77 isp: isp@1cb8000 {
78 compatible = "allwinner,sun8i-v3s-isp";
/linux/include/uapi/linux/media/amlogic/
H A Dc3-isp-config.h14 #include <linux/media/v4l2-isp.h>
18 * rectangular tile of a frame. The metering blocks within the ISP collect
131 * Contains ISP statistics
144 * enum c3_isp_params_buffer_version - C3 ISP parameters block versioning
146 * @C3_ISP_PARAMS_BUFFER_V0: First version of C3 ISP parameters block
153 * enum c3_isp_params_block_type - Enumeration of C3 ISP parameter blocks
155 * Each block configures a specific processing block of the C3 ISP.
189 * c3_isp_params_block_header - C3 ISP parameter block header
191 * This structure represents the common part of all the ISP configuration
212 * @header: The C3 ISP parameters block header
[all …]
/linux/Documentation/devicetree/bindings/clock/
H A Dstarfive,jh7110-ispcrg.yaml21 - description: ISP Top core
22 - description: ISP Top Axi
23 - description: NOC ISP Bus
35 - description: ISP Top core
36 - description: ISP Top Axi
37 - description: NOC ISP Bus
52 ISP domain power
H A Dsamsung,exynos4412-isp-clock.yaml4 $id: http://devicetree.org/schemas/clock/samsung,exynos4412-isp-clock.yaml#
7 title: Samsung Exynos4412 SoC ISP clock controller
16 Clock controller for Samsung Exynos4412 SoC FIMC-ISP (Camera ISP)
22 const: samsung,exynos4412-isp-clock
57 compatible = "samsung,exynos4412-isp-clock";

12345678910>>...15