| /drivers/media/platform/qcom/camss/ |
| A D | camss-vfe-680.c | 23 #define VFE_TOP_IRQ_CMD(vfe) (vfe_is_lite(vfe) ? 0x38 : 0x30) argument 141 writel(0u, vfe->base + VFE_TOP_IRQn_MASK(vfe, 0)); in vfe_disable_irq() 142 writel(0u, vfe->base + VFE_TOP_IRQn_MASK(vfe, 1)); in vfe_disable_irq() 143 writel(0u, vfe->base + VFE_BUS_IRQn_MASK(vfe, 0)); in vfe_disable_irq() 144 writel(0u, vfe->base + VFE_BUS_IRQn_MASK(vfe, 1)); in vfe_disable_irq() 152 writel(addr, vfe->base + VFE_BUS_IMAGE_ADDR(vfe, wm)); in vfe_wm_update() 166 writel(cfg, vfe->base + VFE_BUS_IMAGE_CFG0(vfe, wm)); in vfe_wm_start() 167 writel(0, vfe->base + VFE_BUS_IMAGE_CFG1(vfe, wm)); in vfe_wm_start() 169 writel(0, vfe->base + VFE_BUS_PACKER_CFG(vfe, wm)); in vfe_wm_start() 173 vfe->base + VFE_BUS_FRAME_INCR(vfe, wm)); in vfe_wm_start() [all …]
|
| A D | camss-vfe-gen1.c | 24 vfe->ops_gen1->halt_request(vfe); in vfe_gen1_halt() 81 vfe->ops_gen1->set_module_cfg(vfe, 0); in vfe_disable_output() 84 vfe->ops_gen1->set_camif_cmd(vfe, 0); in vfe_disable_output() 88 vfe->ops_gen1->camif_wait_for_stop(vfe, vfe->camss->dev); in vfe_disable_output() 111 vfe->ops_gen1->bus_enable_wr_if(vfe, 0); in vfe_gen1_disable() 263 vfe->ops_gen1->set_module_cfg(vfe, 1); in vfe_enable_output() 270 vfe->ops_gen1->set_clamp_cfg(vfe); in vfe_enable_output() 271 vfe->ops_gen1->set_camif_cmd(vfe, 1); in vfe_enable_output() 348 vfe->ops_gen1->set_qos(vfe); in vfe_gen1_enable() 349 vfe->ops_gen1->set_ds(vfe); in vfe_gen1_enable() [all …]
|
| A D | camss-vfe-480.c | 145 vfe->reg_update |= REG_UPDATE_RDI(vfe, line_id); in vfe_reg_update() 146 writel_relaxed(vfe->reg_update, vfe->base + VFE_REG_UPDATE_CMD); in vfe_reg_update() 152 vfe->reg_update &= ~REG_UPDATE_RDI(vfe, line_id); in vfe_reg_update_clear() 160 if (!vfe->stream_count) in vfe_enable_irq() 188 struct vfe_device *vfe = dev; in vfe_isr() local 197 vfe_isr_reset_ack(vfe); in vfe_isr() 208 vfe_isr_reg_update(vfe, i); in vfe_isr() 211 vfe_buf_done(vfe, i); in vfe_isr() 241 vfe_reg_update_clear(vfe, line_id); in vfe_isr_reg_update() 243 output = &vfe->line[line_id].output; in vfe_isr_reg_update() [all …]
|
| A D | camss-vfe-17x.c | 274 writel_relaxed(vfe->reg_update, vfe->base + VFE_REG_UPDATE_CMD); in vfe_reg_update() 352 vfe->isr_ops.reset_ack(vfe); in vfe_isr() 356 vfe->isr_ops.reg_update(vfe, i); in vfe_isr() 360 vfe->isr_ops.sof(vfe, i); in vfe_isr() 364 vfe->isr_ops.comp_done(vfe, i); in vfe_isr() 369 vfe->isr_ops.wm_done(vfe, wm); in vfe_isr() 441 vfe->stream_count++; in vfe_enable() 463 vfe->stream_count--; in vfe_enable() 491 vfe->res->hw_ops->reg_update_clear(vfe, line_id); in vfe_isr_reg_update() 510 struct vfe_line *line = &vfe->line[vfe->wm_output_map[wm]]; in vfe_isr_wm_done() [all …]
|
| A D | camss-vfe-4-1.c | 499 vfe_reg_set(vfe, in vfe_set_xbar_cfg() 527 writel_relaxed(vfe->reg_update, vfe->base + VFE_0_REG_UPDATE); in vfe_reg_update() 886 vfe->res->hw_ops->isr_read(vfe, &value0, &value1); in vfe_isr() 892 vfe->isr_ops.reset_ack(vfe); in vfe_isr() 895 vfe->res->hw_ops->violation_read(vfe); in vfe_isr() 898 vfe->isr_ops.halt_ack(vfe); in vfe_isr() 902 vfe->isr_ops.reg_update(vfe, i); in vfe_isr() 905 vfe->isr_ops.sof(vfe, VFE_LINE_PIX); in vfe_isr() 909 vfe->isr_ops.sof(vfe, i); in vfe_isr() 913 vfe->isr_ops.comp_done(vfe, i); in vfe_isr() [all …]
|
| A D | camss-vfe-4-7.c | 531 vfe->base + in vfe_wm_set_subsample() 677 writel_relaxed(vfe->reg_update, vfe->base + VFE_0_REG_UPDATE); in vfe_reg_update() 1042 vfe->res->hw_ops->isr_read(vfe, &value0, &value1); in vfe_isr() 1048 vfe->isr_ops.reset_ack(vfe); in vfe_isr() 1051 vfe->res->hw_ops->violation_read(vfe); in vfe_isr() 1054 vfe->isr_ops.halt_ack(vfe); in vfe_isr() 1058 vfe->isr_ops.reg_update(vfe, i); in vfe_isr() 1061 vfe->isr_ops.sof(vfe, VFE_LINE_PIX); in vfe_isr() 1065 vfe->isr_ops.sof(vfe, i); in vfe_isr() 1069 vfe->isr_ops.comp_done(vfe, i); in vfe_isr() [all …]
|
| A D | camss-vfe-4-8.c | 555 vfe_reg_set(vfe, in vfe_set_xbar_cfg() 649 writel_relaxed(vfe->reg_update, vfe->base + VFE_0_REG_UPDATE); in vfe_reg_update() 972 vfe->res->hw_ops->isr_read(vfe, &value0, &value1); in vfe_isr() 978 vfe->isr_ops.reset_ack(vfe); in vfe_isr() 981 vfe->res->hw_ops->violation_read(vfe); in vfe_isr() 984 vfe->isr_ops.halt_ack(vfe); in vfe_isr() 988 vfe->isr_ops.reg_update(vfe, i); in vfe_isr() 991 vfe->isr_ops.sof(vfe, VFE_LINE_PIX); in vfe_isr() 995 vfe->isr_ops.sof(vfe, i); in vfe_isr() 999 vfe->isr_ops.comp_done(vfe, i); in vfe_isr() [all …]
|
| A D | camss-vfe.c | 688 vfe->res->hw_ops->global_reset(vfe); in vfe_reset() 858 vfe->isr_ops.wm_done(vfe, i); in vfe_isr_comp_done() 1092 vfe->res->hw_ops->hw_version(vfe); in vfe_get() 1110 vfe->res->hw_ops->pm_domain_off(vfe); in vfe_get() 1132 vfe->res->hw_ops->vfe_halt(vfe); in vfe_put() 1136 vfe->res->hw_ops->pm_domain_off(vfe); in vfe_put() 1771 vfe->res = &res->vfe; in msm_vfe_subdev_init() 1772 vfe->res->hw_ops->subdev_init(dev, vfe); in msm_vfe_subdev_init() 1785 if (!vfe->genpd && res->vfe.has_pd) { in msm_vfe_subdev_init() 1832 vfe->clock = devm_kcalloc(dev, vfe->nclocks, sizeof(*vfe->clock), in msm_vfe_subdev_init() [all …]
|
| A D | camss-vfe-gen1.h | 23 void (*bus_enable_wr_if)(struct vfe_device *vfe, u8 enable); 24 void (*bus_reload_wm)(struct vfe_device *vfe, u8 wm); 26 void (*enable_irq_common)(struct vfe_device *vfe); 32 void (*halt_clear)(struct vfe_device *vfe); 33 void (*halt_request)(struct vfe_device *vfe); 35 void (*set_camif_cmd)(struct vfe_device *vfe, u8 enable); 37 void (*set_clamp_cfg)(struct vfe_device *vfe); 40 void (*set_ds)(struct vfe_device *vfe); 45 void (*set_qos)(struct vfe_device *vfe); 51 void (*wm_set_subsample)(struct vfe_device *vfe, u8 wm); [all …]
|
| A D | camss-vfe-780.c | 63 writel(0x0, vfe->base + VFE_BUS_WM_TEST_BUS_CTRL); in vfe_wm_start() 66 vfe->base + VFE_BUS_WM_FRAME_INCR(wm)); in vfe_wm_start() 68 vfe->base + VFE_BUS_WM_IMAGE_CFG_0(wm)); in vfe_wm_start() 70 vfe->base + VFE_BUS_WM_IMAGE_CFG_2(wm)); in vfe_wm_start() 71 writel(0, vfe->base + VFE_BUS_WM_PACKER_CFG(wm)); in vfe_wm_start() 88 writel(0, vfe->base + VFE_BUS_WM_CFG(wm)); in vfe_wm_stop() 105 camss_reg_update(vfe->camss, vfe->id, port_id, false); in vfe_reg_update() 113 camss_reg_update(vfe->camss, vfe->id, port_id, true); in vfe_reg_update_clear() 123 vfe->video_ops = vfe_video_ops_780; in vfe_subdev_init() 128 vfe_isr_reset_ack(vfe); in vfe_global_reset() [all …]
|
| A D | camss-vfe.h | 102 void (*enable_irq)(struct vfe_device *vfe); 104 u32 (*hw_version)(struct vfe_device *vfe); 108 int (*pm_domain_on)(struct vfe_device *vfe); 115 int (*vfe_halt)(struct vfe_device *vfe); 126 void (*reset_ack)(struct vfe_device *vfe); 127 void (*halt_ack)(struct vfe_device *vfe); 212 int vfe_reset(struct vfe_device *vfe); 249 int vfe_get(struct vfe_device *vfe); 250 void vfe_put(struct vfe_device *vfe); 260 bool vfe_is_lite(struct vfe_device *vfe); [all …]
|
| A 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() 659 u8 vfe, u8 enable) in ispif_config_irq() argument 809 u8 vfe = line->vfe_id; in ispif_set_stream() local 837 intf, cid, vfe, 1); in ispif_set_stream() 839 intf, vfe, vc); in ispif_set_stream() 843 intf, vfe, vc); in ispif_set_stream() 856 intf, cid, vfe, 0); in ispif_set_stream() 1268 struct vfe_device *vfe; in ispif_get_vfe_id() local 1272 vfe = to_vfe(line); in ispif_get_vfe_id() [all …]
|
| A D | Makefile | 16 camss-vfe-4-1.o \ 17 camss-vfe-4-7.o \ 18 camss-vfe-4-8.o \ 19 camss-vfe-17x.o \ 20 camss-vfe-480.o \ 21 camss-vfe-680.o \ 22 camss-vfe-780.o \ 23 camss-vfe-gen1.o \ 24 camss-vfe.o \
|
| A D | camss.c | 148 .vfe = { 256 .vfe = { 282 .vfe = { 2916 struct vfe_device *vfe = &camss->vfe[id]; in camss_pm_domain_on() local 2918 ret = vfe->res->hw_ops->pm_domain_on(vfe); in camss_pm_domain_on() 2927 struct vfe_device *vfe = &camss->vfe[id]; in camss_pm_domain_off() local 2929 vfe->res->hw_ops->pm_domain_off(vfe); in camss_pm_domain_off() 2938 struct vfe_device *vfe = &camss->vfe[id]; in vfe_parent_dev_ops_get() local 2949 struct vfe_device *vfe = &camss->vfe[id]; in vfe_parent_dev_ops_put() local 2961 struct vfe_device *vfe = &camss->vfe[id]; in vfe_parent_dev_ops_get_base_address() local [all …]
|
| A D | camss.h | 55 struct vfe_subdev_resources vfe; member 121 struct vfe_device *vfe; member
|
| /drivers/media/pci/zoran/ |
| A 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()
|
| A 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()
|
| A D | zoran.h | 213 struct videocodec *vfe; /* video front end */ member
|
| /drivers/pinctrl/qcom/ |
| A 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, _, _, _, _),
|
| /drivers/media/pci/cx23885/ |
| A 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()
|