Home
last modified time | relevance | path

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

12345678910>>...14

/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.c69 struct amdgpu_isp *isp = container_of(genpd, struct amdgpu_isp, ispgpd); in isp_poweroff() local
70 struct amdgpu_device *adev = isp->adev; in isp_poweroff()
77 struct amdgpu_isp *isp = container_of(genpd, struct amdgpu_isp, ispgpd); in isp_poweron() local
78 struct amdgpu_device *adev = isp->adev; in isp_poweron()
86 struct amdgpu_isp *isp = container_of(genpd, struct amdgpu_isp, ispgpd); in isp_set_performance_state() local
87 struct amdgpu_device *adev = isp->adev; in isp_set_performance_state()
97 /* isp runs at default lowest clock-rate on power-on, do nothing */ in isp_set_performance_state()
124 struct amdgpu_isp *isp = container_of(gpd, struct amdgpu_isp, ispgpd); in isp_genpd_add_device() local
125 struct amdgpu_device *adev = isp->adev; in isp_genpd_add_device()
137 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/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 …]
H A Dfimc-isp.h97 /* ISP image effect */
150 * struct fimc_isp - FIMC-IS ISP data structure
152 * @subdev: ISP v4l2_subdev
153 * @subdev_pads: the ISP subdev media pads
163 * @video_capture: the ISP block video capture device
190 int fimc_isp_subdev_create(struct fimc_isp *isp);
191 void fimc_isp_subdev_destroy(struct fimc_isp *isp);
193 int fimc_is_create_controls(struct fimc_isp *isp);
194 int fimc_is_delete_controls(struct fimc_isp *isp);
/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/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/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
16 - nvidia,tegra20-isp
17 - nvidia,tegra30-isp
18 - nvidia,tegra210-isp
36 - const: isp
60 isp@54100000 {
61 compatible = "nvidia,tegra20-isp";
66 reset-names = "isp";
/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/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";
/linux/security/smack/
H A Dsmack_lsm.c181 struct inode_smack *isp = smack_inode(inode); in smk_bu_inode() local
184 if (isp->smk_flags & SMK_INODE_IMPURE) in smk_bu_inode()
194 isp->smk_flags |= SMK_INODE_IMPURE; in smk_bu_inode()
199 tsp->smk_task->smk_known, isp->smk_inode->smk_known, acc, in smk_bu_inode()
213 struct inode_smack *isp = smack_inode(inode); in smk_bu_file() local
216 if (isp->smk_flags & SMK_INODE_IMPURE) in smk_bu_file()
243 struct inode_smack *isp = smack_inode(inode); in smk_bu_credfile() local
246 if (isp->smk_flags & SMK_INODE_IMPURE) in smk_bu_credfile()
310 struct inode_smack *isp = smack_inode(inode); in init_inode_smack() local
312 isp->smk_inode = skp; in init_inode_smack()
[all …]

12345678910>>...14