/linux-6.12.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->res->hw_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 VFE_GLOBAL_RESET_CMD (vfe_is_lite(vfe) ? 0x0c : 0x1c) 21 #define GLOBAL_RESET_HW_AND_REG (vfe_is_lite(vfe) ? BIT(1) : BIT(0)) 23 #define VFE_REG_UPDATE_CMD (vfe_is_lite(vfe) ? 0x20 : 0x34) 24 static inline int reg_update_rdi(struct vfe_device *vfe, int n) in reg_update_rdi() argument 26 return vfe_is_lite(vfe) ? BIT(n) : BIT(1 + (n)); in reg_update_rdi() 30 #define VFE_IRQ_CMD (vfe_is_lite(vfe) ? 0x24 : 0x38) 33 #define VFE_IRQ_MASK(n) ((vfe_is_lite(vfe) ? 0x28 : 0x3c) + (n) * 4) 34 #define IRQ_MASK_0_RESET_ACK (vfe_is_lite(vfe) ? BIT(17) : BIT(0)) 35 #define IRQ_MASK_0_BUS_TOP_IRQ (vfe_is_lite(vfe) ? BIT(4) : BIT(7)) 36 #define VFE_IRQ_CLEAR(n) ((vfe_is_lite(vfe) ? 0x34 : 0x48) + (n) * 4) [all …]
|
D | camss-vfe-17x.c | 179 static u32 vfe_hw_version(struct vfe_device *vfe) in vfe_hw_version() argument 181 u32 hw_version = readl_relaxed(vfe->base + VFE_HW_VERSION); in vfe_hw_version() 187 dev_dbg(vfe->camss->dev, "VFE HW Version = %u.%u.%u\n", in vfe_hw_version() 193 static inline void vfe_reg_set(struct vfe_device *vfe, u32 reg, u32 set_bits) in vfe_reg_set() argument 195 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_set() 197 writel_relaxed(bits | set_bits, vfe->base + reg); in vfe_reg_set() 200 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-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-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-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.c | 284 struct vfe_device *vfe = to_vfe(line); in vfe_src_pad_code() local 286 switch (vfe->camss->res->version) { in vfe_src_pad_code() 405 int vfe_reset(struct vfe_device *vfe) in vfe_reset() argument 409 reinit_completion(&vfe->reset_complete); in vfe_reset() 411 vfe->res->hw_ops->global_reset(vfe); in vfe_reset() 413 time = wait_for_completion_timeout(&vfe->reset_complete, in vfe_reset() 416 dev_err(vfe->camss->dev, "VFE reset timeout\n"); in vfe_reset() 423 static void vfe_init_outputs(struct vfe_device *vfe) in vfe_init_outputs() argument 427 for (i = 0; i < vfe->res->line_num; i++) { in vfe_init_outputs() 428 struct vfe_output *output = &vfe->line[i].output; in vfe_init_outputs() [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.h | 102 void (*enable_irq_common)(struct vfe_device *vfe); 103 void (*global_reset)(struct vfe_device *vfe); 104 u32 (*hw_version)(struct vfe_device *vfe); 106 void (*isr_read)(struct vfe_device *vfe, u32 *value0, u32 *value1); 107 void (*pm_domain_off)(struct vfe_device *vfe); 108 int (*pm_domain_on)(struct vfe_device *vfe); 109 void (*reg_update)(struct vfe_device *vfe, enum vfe_line_id line_id); 110 void (*reg_update_clear)(struct vfe_device *vfe, 112 void (*subdev_init)(struct device *dev, struct vfe_device *vfe); 115 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-17x.o \ 18 camss-vfe-480.o \ 19 camss-vfe-gen1.o \ 20 camss-vfe.o \
|
D | camss.c | 146 .vfe = { 324 .vfe = { 349 .vfe = { 549 .vfe = { 577 .vfe = { 774 .vfe = { 801 .vfe = { 827 .vfe = { 1007 .vfe = { 1033 .vfe = { [all …]
|
D | camss.h | 55 struct vfe_subdev_resources vfe; member 112 struct vfe_device *vfe; member
|
/linux-6.12.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-6.12.1/drivers/pinctrl/qcom/ |
D | pinctrl-msm8660.c | 766 MSM_PIN_FUNCTION(vfe), 802 PINGROUP(29, vfe, gp_mn, _, _, _, _, _), 803 PINGROUP(30, vfe, gp_clk_0a, _, _, _, _, _), 804 PINGROUP(31, vfe, gp_clk_1a, _, _, _, _, _), 815 PINGROUP(42, gsbi3, vfe, _, _, _, _, _), 819 PINGROUP(46, gsbi4, gsbi3_spi_cs3_n, vfe, _, _, _, _), 878 PINGROUP(105, mi2s, gsbi11, vfe, _, _, _, _), 879 PINGROUP(106, mi2s, gsbi11, vfe, _, _, _, _), 890 PINGROUP(117, i2s, gsbi12, vfe, _, _, _, _),
|
/linux-6.12.1/drivers/media/pci/cx23885/ |
D | cx23885-video.c | 1014 struct vb2_dvb_frontend *vfe; in cx23885_set_freq_via_ops() local 1038 vfe = vb2_dvb_get_frontend(&dev->ts2.frontends, 1); in cx23885_set_freq_via_ops() 1039 if (!vfe) { in cx23885_set_freq_via_ops() 1043 fe = vfe->dvb.frontend; in cx23885_set_freq_via_ops()
|
/linux-6.12.1/arch/arm64/boot/dts/qcom/ |
D | sdm630.dtsi | 2106 interconnect-names = "vfe-mem";
|