/Linux-v5.10/drivers/media/platform/qcom/camss/ |
D | camss-vfe.c | 158 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 …]
|
D | camss-vfe-4-7.c | 242 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 …]
|
D | camss-vfe-4-1.c | 211 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 …]
|
D | camss-vfe.h | 81 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 …]
|
D | camss-ispif.c | 397 u8 vfe, u8 enable) in ispif_select_clk_mux() argument 404 val &= ~(0xf << (vfe * 8)); in ispif_select_clk_mux() 406 val |= (csid << (vfe * 8)); in ispif_select_clk_mux() 412 val &= ~(0xf << (vfe * 12)); in ispif_select_clk_mux() 414 val |= (csid << (vfe * 12)); in ispif_select_clk_mux() 420 val &= ~(0xf << (4 + (vfe * 8))); in ispif_select_clk_mux() 422 val |= (csid << (4 + (vfe * 8))); in ispif_select_clk_mux() 428 val &= ~(0xf << (4 + (vfe * 12))); in ispif_select_clk_mux() 430 val |= (csid << (4 + (vfe * 12))); in ispif_select_clk_mux() 436 val &= ~(0xf << (8 + (vfe * 12))); in ispif_select_clk_mux() [all …]
|
D | Makefile | 11 camss-vfe-4-1.o \ 12 camss-vfe-4-7.o \ 13 camss-vfe.o \
|
D | camss.c | 570 ret = msm_vfe_subdev_init(camss, &camss->vfe[i], in camss_init_subdevices() 623 ret = msm_vfe_register_entities(&camss->vfe[i], in camss_register_entities() 673 for (j = 0; j < ARRAY_SIZE(camss->vfe[k].line); j++) { in camss_register_entities() 677 &camss->vfe[k].line[j].subdev.entity, in camss_register_entities() 684 camss->vfe[k].line[j].subdev.entity.name, in camss_register_entities() 696 msm_vfe_unregister_entities(&camss->vfe[i]); in camss_register_entities() 733 msm_vfe_unregister_entities(&camss->vfe[i]); in camss_unregister_entities() 855 camss->vfe = devm_kcalloc(dev, camss->vfe_num, sizeof(*camss->vfe), in camss_probe() 857 if (!camss->vfe) { in camss_probe()
|
D | camss.h | 82 struct vfe_device *vfe; member
|
/Linux-v5.10/drivers/staging/media/zoran/ |
D | zoran_device.c | 651 if (zr->vfe) in jpeg_start() 652 zr36016_write(zr->vfe, 0, 1); in jpeg_start() 720 if (zr->vfe) { in zr36057_enable_jpg() 721 zr->vfe->control(zr->vfe, CODEC_S_JPEG_TDS_BYTE, in zr36057_enable_jpg() 723 zr->vfe->set_video(zr->vfe, zr->timing, &cap, in zr36057_enable_jpg() 725 zr->vfe->set_mode(zr->vfe, CODEC_DO_COMPRESSION); in zr36057_enable_jpg() 747 if (zr->vfe) { in zr36057_enable_jpg() 748 zr->vfe->set_video(zr->vfe, zr->timing, &cap, in zr36057_enable_jpg() 750 zr->vfe->set_mode(zr->vfe, CODEC_DO_EXPANSION); in zr36057_enable_jpg()
|
D | zoran_card.c | 952 if (zr->vfe) in zoran_remove() 953 videocodec_detach(zr->vfe); in zoran_remove() 1235 zr->vfe = videocodec_attach(master_vfe); in zoran_probe() 1236 if (!zr->vfe) { in zoran_probe() 1240 if (zr->vfe->type != zr->card.video_vfe) { in zoran_probe() 1258 videocodec_detach(zr->vfe); in zoran_probe()
|
D | zoran.h | 220 struct videocodec *vfe; /* video front end */ member
|
/Linux-v5.10/drivers/pinctrl/qcom/ |
D | pinctrl-msm8660.c | 774 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.10/drivers/media/pci/cx23885/ |
D | cx23885-video.c | 1013 struct vb2_dvb_frontend *vfe; in cx23885_set_freq_via_ops() local 1037 vfe = vb2_dvb_get_frontend(&dev->ts2.frontends, 1); in cx23885_set_freq_via_ops() 1038 if (!vfe) { in cx23885_set_freq_via_ops() 1042 fe = vfe->dvb.frontend; in cx23885_set_freq_via_ops()
|
/Linux-v5.10/Documentation/devicetree/bindings/pinctrl/ |
D | qcom,msm8660-pinctrl.txt | 60 usb_fs1_oe_n, usb_fs2, usb_fs2_oe_n, vfe, vsens_alarm, ebi2, ebi2cs
|
/Linux-v5.10/arch/arm64/boot/dts/qcom/ |
D | msm8916.dtsi | 1185 // vfe:
|