Home
last modified time | relevance | path

Searched refs:vfe (Results 1 – 14 of 14) sorted by relevance

/Linux-v4.19/drivers/media/platform/qcom/camss/
Dcamss-vfe.c158 struct vfe_device *vfe = to_vfe(line); in vfe_src_pad_code() local
160 if (vfe->camss->version == CAMSS_8x16) in vfe_src_pad_code()
208 else if (vfe->camss->version == CAMSS_8x96) in vfe_src_pad_code()
278 static int vfe_reset(struct vfe_device *vfe) in vfe_reset() argument
282 reinit_completion(&vfe->reset_complete); in vfe_reset()
284 vfe->ops->global_reset(vfe); in vfe_reset()
286 time = wait_for_completion_timeout(&vfe->reset_complete, in vfe_reset()
289 dev_err(vfe->camss->dev, "VFE reset timeout\n"); in vfe_reset()
302 static int vfe_halt(struct vfe_device *vfe) in vfe_halt() argument
306 reinit_completion(&vfe->halt_complete); in vfe_halt()
[all …]
Dcamss-vfe-4-7.c242 static void vfe_hw_version_read(struct vfe_device *vfe, struct device *dev) in vfe_hw_version_read() argument
244 u32 hw_version = readl_relaxed(vfe->base + VFE_0_HW_VERSION); in vfe_hw_version_read()
259 static inline void vfe_reg_clr(struct vfe_device *vfe, u32 reg, u32 clr_bits) in vfe_reg_clr() argument
261 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_clr()
263 writel_relaxed(bits & ~clr_bits, vfe->base + reg); in vfe_reg_clr()
266 static inline void vfe_reg_set(struct vfe_device *vfe, u32 reg, u32 set_bits) in vfe_reg_set() argument
268 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_set()
270 writel_relaxed(bits | set_bits, vfe->base + reg); in vfe_reg_set()
273 static void vfe_global_reset(struct vfe_device *vfe) in vfe_global_reset() argument
286 writel_relaxed(BIT(31), vfe->base + VFE_0_IRQ_MASK_0); in vfe_global_reset()
[all …]
Dcamss-vfe.h81 void (*hw_version_read)(struct vfe_device *vfe, struct device *dev);
83 void (*global_reset)(struct vfe_device *vfe);
84 void (*halt_request)(struct vfe_device *vfe);
85 void (*halt_clear)(struct vfe_device *vfe);
86 void (*wm_enable)(struct vfe_device *vfe, u8 wm, u8 enable);
87 void (*wm_frame_based)(struct vfe_device *vfe, u8 wm, u8 enable);
88 void (*wm_line_based)(struct vfe_device *vfe, u32 wm,
91 void (*wm_set_framedrop_period)(struct vfe_device *vfe, u8 wm, u8 per);
92 void (*wm_set_framedrop_pattern)(struct vfe_device *vfe, u8 wm,
94 void (*wm_set_ub_cfg)(struct vfe_device *vfe, u8 wm, u16 offset,
[all …]
Dcamss-vfe-4-1.c211 static void vfe_hw_version_read(struct vfe_device *vfe, struct device *dev) in vfe_hw_version_read() argument
213 u32 hw_version = readl_relaxed(vfe->base + VFE_0_HW_VERSION); in vfe_hw_version_read()
226 static inline void vfe_reg_clr(struct vfe_device *vfe, u32 reg, u32 clr_bits) in vfe_reg_clr() argument
228 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_clr()
230 writel_relaxed(bits & ~clr_bits, vfe->base + reg); in vfe_reg_clr()
233 static inline void vfe_reg_set(struct vfe_device *vfe, u32 reg, u32 set_bits) in vfe_reg_set() argument
235 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_set()
237 writel_relaxed(bits | set_bits, vfe->base + reg); in vfe_reg_set()
240 static void vfe_global_reset(struct vfe_device *vfe) in vfe_global_reset() argument
252 writel_relaxed(reset_bits, vfe->base + VFE_0_GLOBAL_RESET_CMD); in vfe_global_reset()
[all …]
Dcamss-ispif.c395 u8 vfe, u8 enable) in ispif_select_clk_mux() argument
402 val &= ~(0xf << (vfe * 8)); in ispif_select_clk_mux()
404 val |= (csid << (vfe * 8)); in ispif_select_clk_mux()
410 val &= ~(0xf << (vfe * 12)); in ispif_select_clk_mux()
412 val |= (csid << (vfe * 12)); in ispif_select_clk_mux()
418 val &= ~(0xf << (4 + (vfe * 8))); in ispif_select_clk_mux()
420 val |= (csid << (4 + (vfe * 8))); in ispif_select_clk_mux()
426 val &= ~(0xf << (4 + (vfe * 12))); in ispif_select_clk_mux()
428 val |= (csid << (4 + (vfe * 12))); in ispif_select_clk_mux()
434 val &= ~(0xf << (8 + (vfe * 12))); in ispif_select_clk_mux()
[all …]
DMakefile10 camss-vfe-4-1.o \
11 camss-vfe-4-7.o \
12 camss-vfe.o \
Dcamss.c581 ret = msm_vfe_subdev_init(camss, &camss->vfe[i], in camss_init_subdevices()
634 ret = msm_vfe_register_entities(&camss->vfe[i], in camss_register_entities()
684 for (j = 0; j < ARRAY_SIZE(camss->vfe[k].line); j++) { in camss_register_entities()
688 &camss->vfe[k].line[j].subdev.entity, in camss_register_entities()
695 camss->vfe[k].line[j].subdev.entity.name, in camss_register_entities()
707 msm_vfe_unregister_entities(&camss->vfe[i]); in camss_register_entities()
744 msm_vfe_unregister_entities(&camss->vfe[i]); in camss_unregister_entities()
861 camss->vfe = devm_kcalloc(dev, camss->vfe_num, sizeof(*camss->vfe), in camss_probe()
863 if (!camss->vfe) in camss_probe()
978 msm_vfe_stop_streaming(&camss->vfe[i]); in camss_remove()
Dcamss.h83 struct vfe_device *vfe; member
/Linux-v4.19/drivers/staging/media/zoran/
Dzoran_device.c928 if (zr->vfe) in jpeg_start()
929 zr36016_write(zr->vfe, 0, 1); in jpeg_start()
1001 if (zr->vfe) { in zr36057_enable_jpg()
1002 zr->vfe->control(zr->vfe, CODEC_S_JPEG_TDS_BYTE, in zr36057_enable_jpg()
1004 zr->vfe->set_video(zr->vfe, zr->timing, &cap, in zr36057_enable_jpg()
1006 zr->vfe->set_mode(zr->vfe, CODEC_DO_COMPRESSION); in zr36057_enable_jpg()
1029 if (zr->vfe) { in zr36057_enable_jpg()
1030 zr->vfe->set_video(zr->vfe, zr->timing, &cap, in zr36057_enable_jpg()
1032 zr->vfe->set_mode(zr->vfe, CODEC_DO_EXPANSION); in zr36057_enable_jpg()
Dzoran_card.c1095 if (zr->vfe) { in zoran_remove()
1096 struct videocodec_master *master = zr->vfe->master_data; in zoran_remove()
1098 videocodec_detach(zr->vfe); in zoran_remove()
1402 zr->vfe = videocodec_attach(master_vfe); in zoran_probe()
1403 if (!zr->vfe) { in zoran_probe()
1408 if (zr->vfe->type != zr->card.video_vfe) { in zoran_probe()
1431 videocodec_detach(zr->vfe); in zoran_probe()
Dzoran.h281 struct videocodec *vfe; /* video front end */ member
/Linux-v4.19/drivers/pinctrl/qcom/
Dpinctrl-msm8660.c782 FUNCTION(vfe),
818 PINGROUP(29, vfe, gp_mn, _, _, _, _, _),
819 PINGROUP(30, vfe, gp_clk_0a, _, _, _, _, _),
820 PINGROUP(31, vfe, gp_clk_1a, _, _, _, _, _),
831 PINGROUP(42, gsbi3, vfe, _, _, _, _, _),
835 PINGROUP(46, gsbi4, gsbi3_spi_cs3_n, vfe, _, _, _, _),
894 PINGROUP(105, mi2s, gsbi11, vfe, _, _, _, _),
895 PINGROUP(106, mi2s, gsbi11, vfe, _, _, _, _),
906 PINGROUP(117, i2s, gsbi12, vfe, _, _, _, _),
/Linux-v4.19/drivers/media/pci/cx23885/
Dcx23885-video.c964 struct vb2_dvb_frontend *vfe; in cx23885_set_freq_via_ops() local
988 vfe = vb2_dvb_get_frontend(&dev->ts2.frontends, 1); in cx23885_set_freq_via_ops()
989 if (!vfe) { in cx23885_set_freq_via_ops()
993 fe = vfe->dvb.frontend; in cx23885_set_freq_via_ops()
/Linux-v4.19/Documentation/devicetree/bindings/pinctrl/
Dqcom,msm8660-pinctrl.txt60 usb_fs1_oe_n, usb_fs2, usb_fs2_oe_n, vfe, vsens_alarm, ebi2, ebi2cs