Home
last modified time | relevance | path

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

/Linux-v5.4/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 …]
DMakefile11 camss-vfe-4-1.o \
12 camss-vfe-4-7.o \
13 camss-vfe.o \
Dcamss.c571 ret = msm_vfe_subdev_init(camss, &camss->vfe[i], in camss_init_subdevices()
624 ret = msm_vfe_register_entities(&camss->vfe[i], in camss_register_entities()
674 for (j = 0; j < ARRAY_SIZE(camss->vfe[k].line); j++) { in camss_register_entities()
678 &camss->vfe[k].line[j].subdev.entity, in camss_register_entities()
685 camss->vfe[k].line[j].subdev.entity.name, in camss_register_entities()
697 msm_vfe_unregister_entities(&camss->vfe[i]); in camss_register_entities()
734 msm_vfe_unregister_entities(&camss->vfe[i]); in camss_unregister_entities()
851 camss->vfe = devm_kcalloc(dev, camss->vfe_num, sizeof(*camss->vfe), in camss_probe()
853 if (!camss->vfe) in camss_probe()
972 msm_vfe_stop_streaming(&camss->vfe[i]); in camss_remove()
Dcamss.h82 struct vfe_device *vfe; member
/Linux-v5.4/drivers/pinctrl/qcom/
Dpinctrl-msm8660.c774 FUNCTION(vfe),
810 PINGROUP(29, vfe, gp_mn, _, _, _, _, _),
811 PINGROUP(30, vfe, gp_clk_0a, _, _, _, _, _),
812 PINGROUP(31, vfe, gp_clk_1a, _, _, _, _, _),
823 PINGROUP(42, gsbi3, vfe, _, _, _, _, _),
827 PINGROUP(46, gsbi4, gsbi3_spi_cs3_n, vfe, _, _, _, _),
886 PINGROUP(105, mi2s, gsbi11, vfe, _, _, _, _),
887 PINGROUP(106, mi2s, gsbi11, vfe, _, _, _, _),
898 PINGROUP(117, i2s, gsbi12, vfe, _, _, _, _),
/Linux-v5.4/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-v5.4/Documentation/devicetree/bindings/pinctrl/
Dqcom,msm8660-pinctrl.txt60 usb_fs1_oe_n, usb_fs2, usb_fs2_oe_n, vfe, vsens_alarm, ebi2, ebi2cs
/Linux-v5.4/arch/arm64/boot/dts/qcom/
Dmsm8916.dtsi834 // vfe: