Home
last modified time | relevance | path

Searched refs:isp (Results 1 – 25 of 102) sorted by relevance

12345

/drivers/media/platform/ti/omap3isp/
Disp.c82 static void isp_save_ctx(struct isp_device *isp);
84 static void isp_restore_ctx(struct isp_device *isp);
147 void omap3isp_flush(struct isp_device *isp) in omap3isp_flush() argument
149 isp_reg_writel(isp, 0, OMAP3_ISP_IOMEM_MAIN, ISP_REVISION); in omap3isp_flush()
150 isp_reg_readl(isp, OMAP3_ISP_IOMEM_MAIN, ISP_REVISION); in omap3isp_flush()
163 isp_reg_clr_set(xclk->isp, OMAP3_ISP_IOMEM_MAIN, ISP_TCTRL_CTRL, in isp_xclk_update()
168 isp_reg_clr_set(xclk->isp, OMAP3_ISP_IOMEM_MAIN, ISP_TCTRL_CTRL, in isp_xclk_update()
179 omap3isp_get(xclk->isp); in isp_xclk_prepare()
188 omap3isp_put(xclk->isp); in isp_xclk_unprepare()
267 dev_dbg(xclk->isp->dev, "%s: cam_xclk%c set to %lu Hz (div %u)\n", in isp_xclk_set_rate()
[all …]
Dispcsi2.c27 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()
202 is_3630 = csi2->isp->revision == ISP_REVISION_15_0; in csi2_ctx_map_format()
219 struct isp_device *isp = csi2->isp; in csi2_set_outaddr() local
224 isp_reg_writel(isp, ctx->ping_addr, in csi2_set_outaddr()
226 isp_reg_writel(isp, ctx->pong_addr, in csi2_set_outaddr()
247 static void csi2_ctx_enable(struct isp_device *isp, in csi2_ctx_enable() argument
[all …]
Dispccp2.c64 #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()
77 CCP2_PRINT_REGISTER(isp, LC01_IRQSTATUS); in ccp2_print_status()
78 CCP2_PRINT_REGISTER(isp, LC23_IRQENABLE); in ccp2_print_status()
[all …]
Disphist.c32 struct isp_device *isp = hist->isp; in hist_reset_mem() local
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()
49 isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA); in hist_reset_mem()
50 isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA); in hist_reset_mem()
51 isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA); in hist_reset_mem()
52 isp_reg_readl(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_DATA); in hist_reset_mem()
54 isp_reg_clr(isp, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT, ISPHIST_CNT_CLEAR); in hist_reset_mem()
64 struct isp_device *isp = hist->isp; in hist_setup_regs() local
123 isp_reg_writel(isp, cnt, OMAP3_ISP_IOMEM_HIST, ISPHIST_CNT); in hist_setup_regs()
[all …]
Disppreview.c152 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()
191 isp_reg_clr(isp, OMAP3_ISP_IOMEM_PREV, ISPPRV_PCR, in preview_enable_invalaw()
201 struct isp_device *isp = to_isp_device(prev); in preview_config_hmed() local
[all …]
Dispcsiphy.c30 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()
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()
134 isp_reg_clr_set(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG, in csiphy_set_power()
140 reg = isp_reg_readl(phy->isp, phy->cfg_regs, ISPCSI2_PHY_CFG) & in csiphy_set_power()
149 dev_err(phy->isp->dev, "CSI2 CIO set power failed!\n"); in csiphy_set_power()
[all …]
Disp.h126 struct isp_device *isp; member
242 void omap3isp_hist_dma_done(struct isp_device *isp);
244 void omap3isp_flush(struct isp_device *isp);
255 void omap3isp_configure_bridge(struct isp_device *isp,
260 struct isp_device *omap3isp_get(struct isp_device *isp);
261 void omap3isp_put(struct isp_device *isp);
263 void omap3isp_print_status(struct isp_device *isp);
265 void omap3isp_sbl_enable(struct isp_device *isp, enum isp_sbl_resource res);
266 void omap3isp_sbl_disable(struct isp_device *isp, enum isp_sbl_resource res);
268 void omap3isp_subclk_enable(struct isp_device *isp,
[all …]
Dispccdc.c62 #define CCDC_PRINT_REGISTER(isp, name)\ argument
63 dev_dbg(isp->dev, "###CCDC " #name "=0x%08x\n", \
64 isp_reg_readl(isp, OMAP3_ISP_IOMEM_CCDC, ISPCCDC_##name))
68 struct isp_device *isp = to_isp_device(ccdc); in ccdc_print_status() local
70 dev_dbg(isp->dev, "-------------CCDC Register dump-------------\n"); in ccdc_print_status()
72 CCDC_PRINT_REGISTER(isp, PCR); in ccdc_print_status()
73 CCDC_PRINT_REGISTER(isp, SYN_MODE); in ccdc_print_status()
74 CCDC_PRINT_REGISTER(isp, HD_VD_WID); in ccdc_print_status()
75 CCDC_PRINT_REGISTER(isp, PIX_LINES); in ccdc_print_status()
76 CCDC_PRINT_REGISTER(isp, HORZ_INFO); in ccdc_print_status()
[all …]
Dispresizer.c155 struct isp_device *isp = to_isp_device(res); in resizer_set_filters() local
167 isp_reg_writel(isp, tmp_h, OMAP3_ISP_IOMEM_RESZ, startaddr_h); in resizer_set_filters()
168 isp_reg_writel(isp, tmp_v, OMAP3_ISP_IOMEM_RESZ, startaddr_v); in resizer_set_filters()
186 struct isp_device *isp = to_isp_device(res); in resizer_set_bilinear() local
189 isp_reg_set(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT, in resizer_set_bilinear()
192 isp_reg_clr(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT, in resizer_set_bilinear()
203 struct isp_device *isp = to_isp_device(res); in resizer_set_ycpos() local
207 isp_reg_set(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT, in resizer_set_ycpos()
211 isp_reg_clr(isp, OMAP3_ISP_IOMEM_RESZ, ISPRSZ_CNT, in resizer_set_ycpos()
230 struct isp_device *isp = to_isp_device(res); in resizer_set_phase() local
[all …]
Dispstat.c56 #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()
114 dev_dbg(stat->isp->dev, in isp_stat_buf_check_magic()
124 dev_dbg(stat->isp->dev, in isp_stat_buf_check_magic()
164 dma_sync_sg_for_device(stat->isp->dev, buf->sgt.sgl, in isp_stat_buf_sync_for_device()
174 dma_sync_sg_for_cpu(stat->isp->dev, buf->sgt.sgl, in isp_stat_buf_sync_for_cpu()
242 dev_dbg(stat->isp->dev, "%s: data wasn't properly written.\n", in isp_stat_buf_queue()
259 dev_dbg(stat->isp->dev, in isp_stat_buf_next()
[all …]
/drivers/power/supply/
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 …]
/drivers/staging/media/atomisp/pci/
Datomisp_v4l2.c350 video->vdev.lock = &video->isp->mutex; in atomisp_video_init()
352 video_set_drvdata(&video->vdev, video->isp); in atomisp_video_init()
365 static int atomisp_save_iunit_reg(struct atomisp_device *isp) in atomisp_save_iunit_reg() argument
367 struct pci_dev *pdev = to_pci_dev(isp->dev); in atomisp_save_iunit_reg()
369 dev_dbg(isp->dev, "%s\n", __func__); in atomisp_save_iunit_reg()
371 pci_read_config_word(pdev, PCI_COMMAND, &isp->saved_regs.pcicmdsts); in atomisp_save_iunit_reg()
373 pci_read_config_dword(pdev, PCI_MSI_CAPID, &isp->saved_regs.msicap); in atomisp_save_iunit_reg()
374 pci_read_config_dword(pdev, PCI_MSI_ADDR, &isp->saved_regs.msi_addr); in atomisp_save_iunit_reg()
375 pci_read_config_word(pdev, PCI_MSI_DATA, &isp->saved_regs.msi_data); in atomisp_save_iunit_reg()
376 pci_read_config_byte(pdev, PCI_INTERRUPT_LINE, &isp->saved_regs.intr); in atomisp_save_iunit_reg()
[all …]
Datomisp_compat_css20.c70 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
84 writew(data, isp->base + (addr & 0x003FFFFF)); in atomisp_css2_hw_store_16()
90 struct atomisp_device *isp = dev_get_drvdata(atomisp_dev); in atomisp_css2_hw_store_32() local
94 writel(data, isp->base + (addr & 0x003FFFFF)); in atomisp_css2_hw_store_32()
100 struct atomisp_device *isp = dev_get_drvdata(atomisp_dev); in atomisp_css2_hw_load_8() local
105 ret = readb(isp->base + (addr & 0x003FFFFF)); in atomisp_css2_hw_load_8()
112 struct atomisp_device *isp = dev_get_drvdata(atomisp_dev); in atomisp_css2_hw_load_16() local
117 ret = readw(isp->base + (addr & 0x003FFFFF)); in atomisp_css2_hw_load_16()
[all …]
Datomisp_ioctl.c521 lockdep_assert_held(&pipe->isp->mutex); in atomisp_pipe_check()
523 if (pipe->isp->isp_fatal_error) in atomisp_pipe_check()
527 dev_err(pipe->isp->dev, "Set fmt/input IOCTL while streaming\n"); in atomisp_pipe_check()
542 struct atomisp_device *isp = video_get_drvdata(vdev); in atomisp_querycap() local
546 snprintf(cap->bus_info, sizeof(cap->bus_info), "PCI:%s", dev_name(isp->dev)); in atomisp_querycap()
558 struct atomisp_device *isp = video_get_drvdata(vdev); in atomisp_enum_input() local
562 if (index >= isp->input_cnt) in atomisp_enum_input()
565 if (!isp->inputs[index].camera) in atomisp_enum_input()
569 strscpy(input->name, isp->inputs[index].camera->name, in atomisp_enum_input()
579 motor = isp->inputs[index].motor; in atomisp_enum_input()
[all …]
Datomisp_cmd.c103 struct atomisp_device *isp = asd->isp; in atomisp_get_sensor_fps() local
108 ret = v4l2_subdev_call(isp->inputs[asd->input_curr].camera, in atomisp_get_sensor_fps()
128 static int write_target_freq_to_hw(struct atomisp_device *isp, in write_target_freq_to_hw() argument
135 if (!isp->hpll_freq) { in write_target_freq_to_hw()
136 dev_err(isp->dev, "failed to get hpll_freq. no change to freq\n"); in write_target_freq_to_hw()
142 dev_dbg(isp->dev, "clearing ISPSSPM1 valid bit.\n"); in write_target_freq_to_hw()
147 ratio = (2 * isp->hpll_freq + new_freq / 2) / new_freq - 1; in write_target_freq_to_hw()
148 guar_ratio = (2 * isp->hpll_freq + 200 / 2) / 200 - 1; in write_target_freq_to_hw()
164 dev_dbg(isp->dev, "waiting for ISPSSPM1 valid bit to be 0.\n"); in write_target_freq_to_hw()
174 dev_err(isp->dev, "DFS failed due to HW error.\n"); in write_target_freq_to_hw()
[all …]
Datomisp_fops.c52 mutex_lock(&pipe->asd->isp->mutex); /* for get_css_frame_info() / set_fmt() */ in atomisp_queue_setup()
81 mutex_unlock(&pipe->asd->isp->mutex); in atomisp_queue_setup()
96 dev_err(pipe->asd->isp->dev, "Internal error frame.data_bytes(%u) > vb.length(%lu)\n", in atomisp_buf_init()
126 dev_warn(asd->isp->dev, "%s: No metadata buffers available for type %d!\n", in atomisp_q_one_metadata_buffer()
164 dev_warn(asd->isp->dev, "%s: No s3a buffers available!\n", in atomisp_q_one_s3a_buffer()
182 dev_dbg(asd->isp->dev, "drop one s3a stat with exp_id %d\n", exp_id); in atomisp_q_one_s3a_buffer()
202 dev_warn(asd->isp->dev, "%s: No dis buffers available!\n", in atomisp_q_one_dis_buffer()
243 lockdep_assert_held(&asd->isp->mutex); in atomisp_q_video_buffers_to_css()
316 dev_err(asd->isp->dev, "%s, css q fails: %d\n", in atomisp_q_video_buffers_to_css()
378 mutex_lock(&asd->isp->mutex); in atomisp_buf_queue()
[all …]
/drivers/media/platform/renesas/
Drcar-isp.c140 static void risp_write(struct rcar_isp *isp, u32 offset, u32 value) in risp_write() argument
142 iowrite32(value, isp->base + offset); in risp_write()
145 static u32 risp_read(struct rcar_isp *isp, u32 offset) in risp_read() argument
147 return ioread32(isp->base + offset); in risp_read()
150 static int risp_power_on(struct rcar_isp *isp) in risp_power_on() argument
154 ret = pm_runtime_resume_and_get(isp->dev); in risp_power_on()
158 ret = reset_control_deassert(isp->rstc); in risp_power_on()
160 pm_runtime_put(isp->dev); in risp_power_on()
167 static void risp_power_off(struct rcar_isp *isp) in risp_power_off() argument
169 reset_control_assert(isp->rstc); in risp_power_off()
[all …]
/drivers/media/platform/samsung/exynos4-is/
Dfimc-is-param.c63 __hw_param_copy(&par->isp.control, &cfg->isp.control); in __fimc_is_hw_update_param()
67 __hw_param_copy(&par->isp.otf_input, &cfg->isp.otf_input); in __fimc_is_hw_update_param()
71 __hw_param_copy(&par->isp.dma1_input, &cfg->isp.dma1_input); in __fimc_is_hw_update_param()
75 __hw_param_copy(&par->isp.dma2_input, &cfg->isp.dma2_input); in __fimc_is_hw_update_param()
79 __hw_param_copy(&par->isp.aa, &cfg->isp.aa); in __fimc_is_hw_update_param()
83 __hw_param_copy(&par->isp.flash, &cfg->isp.flash); in __fimc_is_hw_update_param()
87 __hw_param_copy(&par->isp.awb, &cfg->isp.awb); in __fimc_is_hw_update_param()
91 __hw_param_copy(&par->isp.effect, &cfg->isp.effect); in __fimc_is_hw_update_param()
95 __hw_param_copy(&par->isp.iso, &cfg->isp.iso); in __fimc_is_hw_update_param()
99 __hw_param_copy(&par->isp.adjust, &cfg->isp.adjust); in __fimc_is_hw_update_param()
[all …]
Dfimc-isp-video.c42 struct fimc_isp *isp = vb2_get_drv_priv(vq); in isp_video_capture_queue_setup() local
43 struct v4l2_pix_format_mplane *vid_fmt = &isp->video_capture.pixfmt; in isp_video_capture_queue_setup()
44 const struct fimc_fmt *fmt = isp->video_capture.format; in isp_video_capture_queue_setup()
73 return &__get_curr_is_config(is)->isp.dma2_output; in __get_isp_dma2()
79 struct fimc_isp *isp = vb2_get_drv_priv(q); in isp_video_capture_start_streaming() local
80 struct fimc_is *is = fimc_isp_to_is(isp); in isp_video_capture_start_streaming()
82 struct fimc_is_video *video = &isp->video_capture; in isp_video_capture_start_streaming()
85 if (!test_bit(ST_ISP_VID_CAP_BUF_PREP, &isp->state) || in isp_video_capture_start_streaming()
86 test_bit(ST_ISP_VID_CAP_STREAMING, &isp->state)) in isp_video_capture_start_streaming()
115 set_bit(ST_ISP_VID_CAP_STREAMING, &isp->state); in isp_video_capture_start_streaming()
[all …]
Dfimc-isp.c125 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()
139 *mf = isp->sink_fmt; 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
175 format = v4l2_subdev_get_try_format(&isp->subdev, in __isp_subdev_try_format()
179 format = &isp->sink_fmt; in __isp_subdev_try_format()
198 struct fimc_isp *isp = v4l2_get_subdevdata(sd); in fimc_isp_subdev_set_fmt() local
199 struct fimc_is *is = fimc_isp_to_is(isp); in fimc_isp_subdev_set_fmt()
[all …]
/drivers/staging/media/atomisp/
DMakefile52 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 \
55 pci/isp/kernels/anr/anr_2/ia_css_anr2_table.host.o \
56 pci/isp/kernels/bh/bh_2/ia_css_bh.host.o \
57 pci/isp/kernels/bnlm/ia_css_bnlm.host.o \
58 pci/isp/kernels/bnr/bnr_1.0/ia_css_bnr.host.o \
59 pci/isp/kernels/bnr/bnr2_2/ia_css_bnr2_2.host.o \
60 pci/isp/kernels/cnr/cnr_1.0/ia_css_cnr.host.o \
61 pci/isp/kernels/cnr/cnr_2/ia_css_cnr2.host.o \
[all …]
/drivers/usb/phy/
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 …]
/drivers/media/platform/rockchip/rkisp1/
Drkisp1-isp.c61 rkisp1_isp_get_pad_fmt(struct rkisp1_isp *isp, in rkisp1_isp_get_pad_fmt() argument
66 .pads = isp->pad_cfg in rkisp1_isp_get_pad_fmt()
70 return v4l2_subdev_get_try_format(&isp->sd, sd_state, pad); in rkisp1_isp_get_pad_fmt()
72 return v4l2_subdev_get_try_format(&isp->sd, &state, pad); in rkisp1_isp_get_pad_fmt()
76 rkisp1_isp_get_pad_crop(struct rkisp1_isp *isp, in rkisp1_isp_get_pad_crop() argument
81 .pads = isp->pad_cfg in rkisp1_isp_get_pad_crop()
85 return v4l2_subdev_get_try_crop(&isp->sd, sd_state, pad); in rkisp1_isp_get_pad_crop()
87 return v4l2_subdev_get_try_crop(&isp->sd, &state, pad); in rkisp1_isp_get_pad_crop()
99 static void rkisp1_config_ism(struct rkisp1_isp *isp) in rkisp1_config_ism() argument
102 rkisp1_isp_get_pad_crop(isp, NULL, in rkisp1_config_ism()
[all …]
/drivers/staging/media/ipu3/
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 …]
/drivers/usb/isp1760/
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 …]

12345