/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-170.c | 179 static void vfe_hw_version_read(struct vfe_device *vfe, struct device *dev) in vfe_hw_version_read() argument 181 u32 hw_version = readl_relaxed(vfe->base + VFE_HW_VERSION); in vfe_hw_version_read() 190 static inline void vfe_reg_clr(struct vfe_device *vfe, u32 reg, u32 clr_bits) in vfe_reg_clr() argument 192 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_clr() 194 writel_relaxed(bits & ~clr_bits, vfe->base + reg); in vfe_reg_clr() 197 static inline void vfe_reg_set(struct vfe_device *vfe, u32 reg, u32 set_bits) in vfe_reg_set() argument 199 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_set() 201 writel_relaxed(bits | set_bits, vfe->base + reg); in vfe_reg_set() 204 static void vfe_global_reset(struct vfe_device *vfe) in vfe_global_reset() argument 218 writel_relaxed(BIT(31), vfe->base + VFE_IRQ_MASK_0); in vfe_global_reset() [all …]
|
D | camss-vfe-4-7.c | 257 static void vfe_hw_version_read(struct vfe_device *vfe, struct device *dev) in vfe_hw_version_read() argument 259 u32 hw_version = readl_relaxed(vfe->base + VFE_0_HW_VERSION); in vfe_hw_version_read() 274 static inline void vfe_reg_clr(struct vfe_device *vfe, u32 reg, u32 clr_bits) in vfe_reg_clr() argument 276 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_clr() 278 writel_relaxed(bits & ~clr_bits, vfe->base + reg); in vfe_reg_clr() 281 static inline void vfe_reg_set(struct vfe_device *vfe, u32 reg, u32 set_bits) in vfe_reg_set() argument 283 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_set() 285 writel_relaxed(bits | set_bits, vfe->base + reg); in vfe_reg_set() 288 static void vfe_global_reset(struct vfe_device *vfe) in vfe_global_reset() argument 301 writel_relaxed(BIT(31), vfe->base + VFE_0_IRQ_MASK_0); in vfe_global_reset() [all …]
|
D | camss-vfe-4-8.c | 250 static void vfe_hw_version_read(struct vfe_device *vfe, struct device *dev) in vfe_hw_version_read() argument 252 u32 hw_version = readl_relaxed(vfe->base + VFE_0_HW_VERSION); in vfe_hw_version_read() 257 static inline void vfe_reg_clr(struct vfe_device *vfe, u32 reg, u32 clr_bits) in vfe_reg_clr() argument 259 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_clr() 261 writel_relaxed(bits & ~clr_bits, vfe->base + reg); in vfe_reg_clr() 264 static inline void vfe_reg_set(struct vfe_device *vfe, u32 reg, u32 set_bits) in vfe_reg_set() argument 266 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_set() 268 writel_relaxed(bits | set_bits, vfe->base + reg); in vfe_reg_set() 271 static void vfe_global_reset(struct vfe_device *vfe) in vfe_global_reset() argument 284 writel_relaxed(BIT(31), vfe->base + VFE_0_IRQ_MASK_0); in vfe_global_reset() [all …]
|
D | camss-vfe-4-1.c | 213 static void vfe_hw_version_read(struct vfe_device *vfe, struct device *dev) in vfe_hw_version_read() argument 215 u32 hw_version = readl_relaxed(vfe->base + VFE_0_HW_VERSION); in vfe_hw_version_read() 228 static inline void vfe_reg_clr(struct vfe_device *vfe, u32 reg, u32 clr_bits) in vfe_reg_clr() argument 230 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_clr() 232 writel_relaxed(bits & ~clr_bits, vfe->base + reg); in vfe_reg_clr() 235 static inline void vfe_reg_set(struct vfe_device *vfe, u32 reg, u32 set_bits) in vfe_reg_set() argument 237 u32 bits = readl_relaxed(vfe->base + reg); in vfe_reg_set() 239 writel_relaxed(bits | set_bits, vfe->base + reg); in vfe_reg_set() 242 static void vfe_global_reset(struct vfe_device *vfe) in vfe_global_reset() argument 254 writel_relaxed(reset_bits, vfe->base + VFE_0_GLOBAL_RESET_CMD); in vfe_global_reset() [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 | 170 struct vfe_device *vfe = to_vfe(line); in vfe_src_pad_code() local 172 if (vfe->camss->version == CAMSS_8x16) in vfe_src_pad_code() 220 else if (vfe->camss->version == CAMSS_8x96 || in vfe_src_pad_code() 221 vfe->camss->version == CAMSS_660 || in vfe_src_pad_code() 222 vfe->camss->version == CAMSS_845) in vfe_src_pad_code() 286 int vfe_reset(struct vfe_device *vfe) in vfe_reset() argument 290 reinit_completion(&vfe->reset_complete); in vfe_reset() 292 vfe->ops->global_reset(vfe); in vfe_reset() 294 time = wait_for_completion_timeout(&vfe->reset_complete, in vfe_reset() 297 dev_err(vfe->camss->dev, "VFE reset timeout\n"); 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 void (*hw_version_read)(struct vfe_device *vfe, struct device *dev); 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-gen1.o \ 19 camss-vfe.o \
|
D | camss.c | 805 struct vfe_device *vfe = &camss->vfe[id]; in camss_pm_domain_on() local 807 ret = vfe->ops->pm_domain_on(vfe); in camss_pm_domain_on() 816 struct vfe_device *vfe = &camss->vfe[id]; in camss_pm_domain_off() local 818 vfe->ops->pm_domain_off(vfe); in camss_pm_domain_off() 982 ret = msm_vfe_subdev_init(camss, &camss->vfe[i], in camss_init_subdevices() 1036 ret = msm_vfe_register_entities(&camss->vfe[i], in camss_register_entities() 1087 for (j = 0; j < camss->vfe[k].line_num; j++) { in camss_register_entities() 1089 struct v4l2_subdev *vfe = &camss->vfe[k].line[j].subdev; in camss_register_entities() local 1093 &vfe->entity, in camss_register_entities() 1100 vfe->entity.name, in camss_register_entities() [all …]
|
D | camss.h | 86 struct vfe_device *vfe; member
|
/drivers/staging/media/zoran/ |
D | zoran_device.c | 586 if (zr->vfe) in jpeg_start() 587 zr36016_write(zr->vfe, 0, 1); in jpeg_start() 655 if (zr->vfe) { in zr36057_enable_jpg() 656 zr->vfe->control(zr->vfe, CODEC_S_JPEG_TDS_BYTE, in zr36057_enable_jpg() 658 zr->vfe->set_video(zr->vfe, zr->timing, &cap, in zr36057_enable_jpg() 660 zr->vfe->set_mode(zr->vfe, CODEC_DO_COMPRESSION); in zr36057_enable_jpg() 682 if (zr->vfe) { in zr36057_enable_jpg() 683 zr->vfe->set_video(zr->vfe, zr->timing, &cap, in zr36057_enable_jpg() 685 zr->vfe->set_mode(zr->vfe, CODEC_DO_EXPANSION); in zr36057_enable_jpg()
|
D | zoran_card.c | 973 if (zr->vfe) in zoran_remove() 974 videocodec_detach(zr->vfe); in zoran_remove() 1258 zr->vfe = videocodec_attach(master_vfe); in zoran_probe() 1259 if (!zr->vfe) { in zoran_probe() 1263 if (zr->vfe->type != zr->card.video_vfe) { in zoran_probe() 1281 videocodec_detach(zr->vfe); in zoran_probe()
|
D | zoran.h | 219 struct videocodec *vfe; /* video front end */ member
|
/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, _, _, _, _),
|
/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()
|