/Linux-v6.1/drivers/media/platform/qcom/camss/ |
D | camss-vfe-gen1.c | 18 int vfe_gen1_halt(struct vfe_device *vfe) in vfe_gen1_halt() argument 22 reinit_completion(&vfe->halt_complete); in vfe_gen1_halt() 24 vfe->ops_gen1->halt_request(vfe); in vfe_gen1_halt() 26 time = wait_for_completion_timeout(&vfe->halt_complete, in vfe_gen1_halt() 29 dev_err(vfe->camss->dev, "VFE halt timeout\n"); in vfe_gen1_halt() 38 struct vfe_device *vfe = to_vfe(line); in vfe_disable_output() local 40 const struct vfe_hw_ops *ops = vfe->ops; in vfe_disable_output() 45 spin_lock_irqsave(&vfe->output_lock, flags); in vfe_disable_output() 48 spin_unlock_irqrestore(&vfe->output_lock, flags); in vfe_disable_output() 52 dev_err(vfe->camss->dev, "VFE sof timeout\n"); in vfe_disable_output() [all …]
|
D | camss-vfe-480.c | 20 #define IS_LITE (vfe->id >= 2 ? 1 : 0) 28 static inline int reg_update_rdi(struct vfe_device *vfe, int n) in reg_update_rdi() argument 51 static inline int bus_irq_mask_0_rdi_rup(struct vfe_device *vfe, int n) in bus_irq_mask_0_rdi_rup() argument 57 static inline int bus_irq_mask_0_comp_done(struct vfe_device *vfe, int n) in bus_irq_mask_0_comp_done() argument 97 static u32 vfe_hw_version(struct vfe_device *vfe) in vfe_hw_version() argument 99 u32 hw_version = readl_relaxed(vfe->base + VFE_HW_VERSION); in vfe_hw_version() 105 dev_dbg(vfe->camss->dev, "VFE HW Version = %u.%u.%u\n", gen, rev, step); in vfe_hw_version() 110 static void vfe_global_reset(struct vfe_device *vfe) in vfe_global_reset() argument 112 writel_relaxed(IRQ_MASK_0_RESET_ACK, vfe->base + VFE_IRQ_MASK(0)); in vfe_global_reset() 113 writel_relaxed(GLOBAL_RESET_HW_AND_REG, vfe->base + VFE_GLOBAL_RESET_CMD); in vfe_global_reset() [all …]
|
D | camss-vfe-170.c | 180 static u32 vfe_hw_version(struct vfe_device *vfe) in vfe_hw_version() argument 182 u32 hw_version = readl_relaxed(vfe->base + VFE_HW_VERSION); in vfe_hw_version() 188 dev_dbg(vfe->camss->dev, "VFE HW Version = %u.%u.%u\n", in vfe_hw_version() 194 static inline void vfe_reg_set(struct vfe_device *vfe, u32 reg, u32 set_bits) in vfe_reg_set() argument 196 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_set() 198 writel_relaxed(bits | set_bits, vfe->base + reg); in vfe_reg_set() 201 static void vfe_global_reset(struct vfe_device *vfe) in vfe_global_reset() argument 215 writel_relaxed(BIT(31), vfe->base + VFE_IRQ_MASK_0); in vfe_global_reset() 220 writel_relaxed(reset_bits, vfe->base + VFE_GLOBAL_RESET_CMD); in vfe_global_reset() 223 static void vfe_wm_start(struct vfe_device *vfe, u8 wm, struct vfe_line *line) in vfe_wm_start() argument [all …]
|
D | camss-vfe-4-7.c | 257 static u32 vfe_hw_version(struct vfe_device *vfe) in vfe_hw_version() argument 259 u32 hw_version = readl_relaxed(vfe->base + VFE_0_HW_VERSION); in vfe_hw_version() 261 dev_dbg(vfe->camss->dev, "VFE HW Version = 0x%08x\n", hw_version); in vfe_hw_version() 276 static inline void vfe_reg_clr(struct vfe_device *vfe, u32 reg, u32 clr_bits) in vfe_reg_clr() argument 278 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_clr() 280 writel_relaxed(bits & ~clr_bits, vfe->base + reg); in vfe_reg_clr() 283 static inline void vfe_reg_set(struct vfe_device *vfe, u32 reg, u32 set_bits) in vfe_reg_set() argument 285 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_set() 287 writel_relaxed(bits | set_bits, vfe->base + reg); in vfe_reg_set() 290 static void vfe_global_reset(struct vfe_device *vfe) in vfe_global_reset() argument [all …]
|
D | camss-vfe-4-8.c | 250 static u32 vfe_hw_version(struct vfe_device *vfe) in vfe_hw_version() argument 252 u32 hw_version = readl_relaxed(vfe->base + VFE_0_HW_VERSION); in vfe_hw_version() 254 dev_dbg(vfe->camss->dev, "VFE HW Version = 0x%08x\n", hw_version); in vfe_hw_version() 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 [all …]
|
D | camss-vfe-4-1.c | 213 static u32 vfe_hw_version(struct vfe_device *vfe) in vfe_hw_version() argument 215 u32 hw_version = readl_relaxed(vfe->base + VFE_0_HW_VERSION); in vfe_hw_version() 217 dev_dbg(vfe->camss->dev, "VFE HW Version = 0x%08x\n", hw_version); in vfe_hw_version() 230 static inline void vfe_reg_clr(struct vfe_device *vfe, u32 reg, u32 clr_bits) in vfe_reg_clr() argument 232 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_clr() 234 writel_relaxed(bits & ~clr_bits, vfe->base + reg); in vfe_reg_clr() 237 static inline void vfe_reg_set(struct vfe_device *vfe, u32 reg, u32 set_bits) in vfe_reg_set() argument 239 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_set() 241 writel_relaxed(bits | set_bits, vfe->base + reg); in vfe_reg_set() 244 static void vfe_global_reset(struct vfe_device *vfe) in vfe_global_reset() argument [all …]
|
D | camss-vfe-gen1.h | 21 void (*bus_connect_wm_to_rdi)(struct vfe_device *vfe, u8 wm, enum vfe_line_id id); 22 void (*bus_disconnect_wm_from_rdi)(struct vfe_device *vfe, u8 wm, enum vfe_line_id id); 23 void (*bus_enable_wr_if)(struct vfe_device *vfe, u8 enable); 24 void (*bus_reload_wm)(struct vfe_device *vfe, u8 wm); 25 int (*camif_wait_for_stop)(struct vfe_device *vfe, struct device *dev); 26 void (*enable_irq_common)(struct vfe_device *vfe); 27 void (*enable_irq_wm_line)(struct vfe_device *vfe, u8 wm, enum vfe_line_id line_id, 29 void (*enable_irq_pix_line)(struct vfe_device *vfe, u8 comp, enum vfe_line_id line_id, 32 void (*halt_clear)(struct vfe_device *vfe); 33 void (*halt_request)(struct vfe_device *vfe); [all …]
|
D | camss-vfe.c | 171 struct vfe_device *vfe = to_vfe(line); in vfe_src_pad_code() local 173 if (vfe->camss->version == CAMSS_8x16) in vfe_src_pad_code() 221 else if (vfe->camss->version == CAMSS_8x96 || in vfe_src_pad_code() 222 vfe->camss->version == CAMSS_660 || in vfe_src_pad_code() 223 vfe->camss->version == CAMSS_845 || in vfe_src_pad_code() 224 vfe->camss->version == CAMSS_8250) in vfe_src_pad_code() 288 int vfe_reset(struct vfe_device *vfe) in vfe_reset() argument 292 reinit_completion(&vfe->reset_complete); in vfe_reset() 294 vfe->ops->global_reset(vfe); in vfe_reset() 296 time = wait_for_completion_timeout(&vfe->reset_complete, in vfe_reset() [all …]
|
D | camss-vfe.h | 104 void (*enable_irq_common)(struct vfe_device *vfe); 105 void (*global_reset)(struct vfe_device *vfe); 106 u32 (*hw_version)(struct vfe_device *vfe); 108 void (*isr_read)(struct vfe_device *vfe, u32 *value0, u32 *value1); 109 void (*pm_domain_off)(struct vfe_device *vfe); 110 int (*pm_domain_on)(struct vfe_device *vfe); 111 void (*reg_update)(struct vfe_device *vfe, enum vfe_line_id line_id); 112 void (*reg_update_clear)(struct vfe_device *vfe, 114 void (*subdev_init)(struct device *dev, struct vfe_device *vfe); 117 int (*vfe_halt)(struct vfe_device *vfe); [all …]
|
D | camss-ispif.c | 424 u8 vfe, u8 enable) in ispif_select_clk_mux() argument 431 val &= ~(0xf << (vfe * 8)); in ispif_select_clk_mux() 433 val |= (csid << (vfe * 8)); in ispif_select_clk_mux() 439 val &= ~(0xf << (vfe * 12)); in ispif_select_clk_mux() 441 val |= (csid << (vfe * 12)); in ispif_select_clk_mux() 447 val &= ~(0xf << (4 + (vfe * 8))); in ispif_select_clk_mux() 449 val |= (csid << (4 + (vfe * 8))); in ispif_select_clk_mux() 455 val &= ~(0xf << (4 + (vfe * 12))); in ispif_select_clk_mux() 457 val |= (csid << (4 + (vfe * 12))); in ispif_select_clk_mux() 463 val &= ~(0xf << (8 + (vfe * 12))); in ispif_select_clk_mux() [all …]
|
D | Makefile | 14 camss-vfe-4-1.o \ 15 camss-vfe-4-7.o \ 16 camss-vfe-4-8.o \ 17 camss-vfe-170.o \ 18 camss-vfe-480.o \ 19 camss-vfe-gen1.o \ 20 camss-vfe.o \
|
D | camss.c | 1008 struct vfe_device *vfe = &camss->vfe[id]; in camss_pm_domain_on() local 1010 ret = vfe->ops->pm_domain_on(vfe); in camss_pm_domain_on() 1019 struct vfe_device *vfe = &camss->vfe[id]; in camss_pm_domain_off() local 1021 vfe->ops->pm_domain_off(vfe); in camss_pm_domain_off() 1174 ret = msm_vfe_subdev_init(camss, &camss->vfe[i], in camss_init_subdevices() 1246 ret = msm_vfe_register_entities(&camss->vfe[i], in camss_register_entities() 1297 for (j = 0; j < camss->vfe[k].line_num; j++) { in camss_register_entities() 1299 struct v4l2_subdev *vfe = &camss->vfe[k].line[j].subdev; in camss_register_entities() local 1303 &vfe->entity, in camss_register_entities() 1310 vfe->entity.name, in camss_register_entities() [all …]
|
D | camss-csid.c | 161 struct vfe_device *vfe = &camss->vfe[csid->id]; in csid_set_power() local 167 ret = vfe_get(vfe); in csid_set_power() 219 vfe_put(vfe); in csid_set_power() 594 csid->base = camss->vfe[id].base + VFE_480_LITE_CSID_OFFSET; in msm_csid_subdev_init() 596 csid->base = camss->vfe[id].base + VFE_480_CSID_OFFSET; in msm_csid_subdev_init()
|
D | camss.h | 100 struct vfe_device *vfe; member
|
/Linux-v6.1/drivers/media/pci/zoran/ |
D | zoran_device.c | 589 if (zr->vfe) in jpeg_start() 590 zr36016_write(zr->vfe, 0, 1); in jpeg_start() 656 if (zr->vfe) { in zr36057_enable_jpg() 657 zr->vfe->control(zr->vfe, CODEC_S_JPEG_TDS_BYTE, in zr36057_enable_jpg() 659 zr->vfe->set_video(zr->vfe, zr->timing, &cap, in zr36057_enable_jpg() 661 zr->vfe->set_mode(zr->vfe, CODEC_DO_COMPRESSION); in zr36057_enable_jpg() 683 if (zr->vfe) { in zr36057_enable_jpg() 684 zr->vfe->set_video(zr->vfe, zr->timing, &cap, in zr36057_enable_jpg() 686 zr->vfe->set_mode(zr->vfe, CODEC_DO_EXPANSION); in zr36057_enable_jpg()
|
D | zoran_card.c | 1083 if (zr->vfe) in zoran_remove() 1084 videocodec_detach(zr->vfe); in zoran_remove() 1387 zr->vfe = videocodec_attach(master_vfe); in zoran_probe() 1388 if (!zr->vfe) { in zoran_probe() 1392 if (zr->vfe->type != zr->card.video_vfe) { in zoran_probe() 1413 videocodec_detach(zr->vfe); in zoran_probe()
|
D | zoran.h | 213 struct videocodec *vfe; /* video front end */ member
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/arch/arm64/boot/dts/qcom/ |
D | msm8916.dtsi | 1267 // vfe:
|
D | sdm630.dtsi | 2040 interconnect-names = "vfe-mem";
|