Home
last modified time | relevance | path

Searched refs:csi (Results 1 – 25 of 120) sorted by relevance

12345

/linux/drivers/media/platform/sunxi/sun4i-csi/
A Dsun4i_dma.c99 dev_dbg(csi->dev, in sun4i_csi_setup_scratch_buffer()
242 csi->sequence = 0; in sun4i_csi_start_streaming()
257 csi->scratch.size += csi->fmt.plane_fmt[i].sizeimage; in sun4i_csi_start_streaming()
259 csi->scratch.vaddr = dma_alloc_coherent(csi->dev, in sun4i_csi_start_streaming()
269 ret = media_pipeline_start(&csi->vdev.entity, &csi->vdev.pipe); in sun4i_csi_start_streaming()
336 dma_free_coherent(csi->dev, csi->scratch.size, csi->scratch.vaddr, in sun4i_csi_start_streaming()
364 dma_free_coherent(csi->dev, csi->scratch.size, csi->scratch.vaddr, in sun4i_csi_stop_streaming()
392 if (sun4i_csi_buffer_flip(csi, csi->sequence++)) { in sun4i_csi_irq()
418 q->drv_priv = csi; in sun4i_csi_dma_register()
431 ret = v4l2_device_register(csi->dev, &csi->v4l); in sun4i_csi_dma_register()
[all …]
A Dsun4i_csi.c57 return csi->src_pad; in sun4i_csi_notify_bound()
60 dev_dbg(csi->dev, "Bound %s pad: %d\n", subdev->name, csi->src_pad); in sun4i_csi_notify_bound()
92 ret = media_create_pad_link(&csi->src_subdev->entity, csi->src_pad, in sun4i_csi_notify_complete()
160 csi = devm_kzalloc(&pdev->dev, sizeof(*csi), GFP_KERNEL); in sun4i_csi_probe()
161 if (!csi) in sun4i_csi_probe()
166 vdev = &csi->vdev; in sun4i_csi_probe()
169 if (!csi->traits) in sun4i_csi_probe()
172 csi->mdev.dev = csi->dev; in sun4i_csi_probe()
176 snprintf(csi->mdev.bus_info, sizeof(csi->mdev.bus_info), "platform:%s", in sun4i_csi_probe()
179 csi->v4l.mdev = &csi->mdev; in sun4i_csi_probe()
[all …]
A Dsun4i_v4l2.c61 dev_name(csi->dev)); in sun4i_csi_querycap()
151 csi->fmt = f->fmt.pix_mp; in sun4i_csi_s_fmt_vid_cap()
161 f->fmt.pix_mp = csi->fmt; in sun4i_csi_g_fmt_vid_cap()
221 mutex_unlock(&csi->lock); in sun4i_csi_open()
229 pm_runtime_put(csi->dev); in sun4i_csi_open()
232 mutex_unlock(&csi->lock); in sun4i_csi_open()
241 mutex_lock(&csi->lock); in sun4i_csi_release()
246 pm_runtime_put(csi->dev); in sun4i_csi_release()
248 mutex_unlock(&csi->lock); in sun4i_csi_release()
363 vdev->lock = &csi->lock; in sun4i_csi_v4l2_register()
[all …]
A DMakefile3 sun4i-csi-y += sun4i_csi.o
4 sun4i-csi-y += sun4i_dma.o
5 sun4i-csi-y += sun4i_v4l2.o
7 obj-$(CONFIG_VIDEO_SUN4I_CSI) += sun4i-csi.o
A D.built-in.a.cmd1csi/built-in.a := echo >/dev/null; rm -f drivers/media/platform/sunxi/sun4i-csi/built-in.a; /usr/b…
/linux/drivers/staging/media/imx/
A Dimx7-media-csi.c374 ret = imx_media_alloc_dma_buf(csi->dev, &csi->underrun_buf, in imx7_csi_dma_setup()
394 imx_media_free_dma_buf(csi->dev, &csi->underrun_buf); in imx7_csi_dma_cleanup()
590 done = csi->active_vb2_buf[csi->buf_num]; in imx7_csi_vb2_buf_done()
604 csi->active_vb2_buf[csi->buf_num] = next; in imx7_csi_vb2_buf_done()
607 csi->active_vb2_buf[csi->buf_num] = NULL; in imx7_csi_vb2_buf_done()
610 imx7_csi_update_buf(csi, phys, csi->buf_num); in imx7_csi_vb2_buf_done()
1016 csi->vdev = imx_media_capture_device_init(csi->sd.dev, &csi->sd, in imx7_csi_registered()
1137 csi = devm_kzalloc(&pdev->dev, sizeof(*csi), GFP_KERNEL); in imx7_csi_probe()
1138 if (!csi) in imx7_csi_probe()
1187 v4l2_set_subdevdata(&csi->sd, csi); in imx7_csi_probe()
[all …]
A DMakefile9 imx6-media-csi-objs := imx-media-csi.o imx-media-fim.o
14 obj-$(CONFIG_VIDEO_IMX_CSI) += imx6-media-csi.o
17 obj-$(CONFIG_VIDEO_IMX7_CSI) += imx7-media-csi.o
/linux/drivers/gpu/ipu-v3/
A Dipu-csi.c737 ipu_module_enable(csi->ipu, csi->module); in ipu_csi_enable()
745 ipu_module_disable(csi->ipu, csi->module); in ipu_csi_disable()
760 ret = csi; in ipu_csi_get()
764 if (csi->inuse) { in ipu_csi_get()
769 csi->inuse = true; in ipu_csi_get()
781 csi->inuse = false; in ipu_csi_put()
794 csi = devm_kzalloc(dev, sizeof(*csi), GFP_KERNEL); in ipu_csi_init()
795 if (!csi) in ipu_csi_init()
802 csi->id = id; in ipu_csi_init()
805 if (!csi->base) in ipu_csi_init()
[all …]
/linux/drivers/staging/media/tegra-video/
A Dcsi.c116 struct tegra_csi *csi = csi_chan->csi; in csi_chan_update_blank_intervals() local
161 struct tegra_csi *csi = csi_chan->csi; in csi_enum_frameintervals() local
260 struct tegra_csi *csi = csi_chan->csi; in tegra_csi_calc_settle_time() local
298 struct tegra_csi *csi = csi_chan->csi; in tegra_csi_enable_stream() local
356 struct tegra_csi *csi = csi_chan->csi; in tegra_csi_disable_stream() local
420 chan->csi = csi; in tegra_csi_channel_alloc()
548 struct tegra_csi *csi = chan->csi; in tegra_csi_channel_init() local
601 struct tegra_csi *csi = csi_chan->csi; in tegra_csi_error_recover() local
693 vid->csi = csi; in tegra_csi_init()
738 csi->clks[i].id = csi->soc->clk_names[i]; in tegra_csi_probe()
[all …]
A Dtegra210.c818 struct tegra_csi *csi = csi_chan->csi; in tegra210_csi_port_recover() local
829 val = cil_read(csi, portno, TEGRA_CSI_CIL_STATUS); in tegra210_csi_port_recover()
880 struct tegra_csi *csi = csi_chan->csi; in tegra210_csi_port_start_streaming() local
899 cil_write(csi, portno, TEGRA_CSI_CIL_PHY_CONTROL, in tegra210_csi_port_start_streaming()
948 pp_write(csi, portno, TEGRA_CSI_PIXEL_STREAM_GAP, in tegra210_csi_port_start_streaming()
960 tpg_write(csi, portno, TEGRA_CSI_PG_BLANK, in tegra210_csi_port_start_streaming()
963 tpg_write(csi, portno, TEGRA_CSI_PG_PHASE, 0x0); in tegra210_csi_port_start_streaming()
964 tpg_write(csi, portno, TEGRA_CSI_PG_RED_FREQ, in tegra210_csi_port_start_streaming()
968 tpg_write(csi, portno, TEGRA_CSI_PG_GREEN_FREQ, in tegra210_csi_port_start_streaming()
972 tpg_write(csi, portno, TEGRA_CSI_PG_BLUE_FREQ, in tegra210_csi_port_start_streaming()
[all …]
/linux/drivers/media/platform/sunxi/sun6i-csi/
A Dsun6i_csi.c33 struct sun6i_csi csi; member
46 return container_of(csi, struct sun6i_csi_dev, csi); in sun6i_csi_to_dev()
376 struct sun6i_csi *csi = &sdev->csi; in sun6i_csi_setup_bus() local
464 struct sun6i_csi *csi = &sdev->csi; in sun6i_csi_set_format() local
579 memcpy(&csi->config, config, sizeof(csi->config)); in sun6i_csi_update_config()
732 csi->media_dev.dev = csi->dev; in sun6i_csi_v4l2_init()
749 csi->v4l2_dev.mdev = &csi->media_dev; in sun6i_csi_v4l2_init()
750 csi->v4l2_dev.ctrl_handler = &csi->ctrl_handler; in sun6i_csi_v4l2_init()
751 ret = v4l2_device_register(csi->dev, &csi->v4l2_dev); in sun6i_csi_v4l2_init()
758 ret = sun6i_video_init(&csi->video, csi, "sun6i-csi"); in sun6i_csi_v4l2_init()
[all …]
A Dsun6i_video.c176 sun6i_csi_set_stream(video->csi, true); in sun6i_video_start_streaming()
208 sun6i_csi_set_stream(video->csi, false); in sun6i_video_start_streaming()
232 sun6i_csi_set_stream(video->csi, false); in sun6i_video_stop_streaming()
324 video->csi->dev->of_node->name); in vidioc_querycap()
560 dev_info(video->csi->dev, in sun6i_video_link_validate()
572 dev_err(video->csi->dev, in sun6i_video_link_validate()
581 dev_err(video->csi->dev, in sun6i_video_link_validate()
605 video->csi = csi; in sun6i_video_init()
640 vidq->dev = csi->dev; in sun6i_video_init()
655 vdev->v4l2_dev = &csi->v4l2_dev; in sun6i_video_init()
[all …]
A Dsun6i_csi.h57 bool sun6i_csi_is_format_supported(struct sun6i_csi *csi, u32 pixformat,
65 int sun6i_csi_set_power(struct sun6i_csi *csi, bool enable);
72 int sun6i_csi_update_config(struct sun6i_csi *csi,
80 void sun6i_csi_update_buf_addr(struct sun6i_csi *csi, dma_addr_t addr);
87 void sun6i_csi_set_stream(struct sun6i_csi *csi, bool enable);
A D.built-in.a.cmd1csi/built-in.a := echo >/dev/null; rm -f drivers/media/platform/sunxi/sun6i-csi/built-in.a; /usr/b…
/linux/drivers/media/platform/rcar-vin/
A Drcar-core.c757 route->csi == csi_id && in rvin_csi2_get_mask()
761 route->vin, route->csi, route->channel); in rvin_csi2_get_mask()
930 if (!vin->group->remotes[route->csi].subdev) in rvin_csi2_setup_links()
933 source = &vin->group->remotes[route->csi].subdev->entity; in rvin_csi2_setup_links()
1162 { .csi = RVIN_CSI40, .channel = 1, .vin = 0, .mask = BIT(2) },
1163 { .csi = RVIN_CSI20, .channel = 0, .vin = 1, .mask = BIT(0) },
1165 { .csi = RVIN_CSI40, .channel = 0, .vin = 1, .mask = BIT(2) },
1166 { .csi = RVIN_CSI20, .channel = 1, .vin = 1, .mask = BIT(4) },
1167 { .csi = RVIN_CSI20, .channel = 1, .vin = 2, .mask = BIT(0) },
1168 { .csi = RVIN_CSI40, .channel = 0, .vin = 2, .mask = BIT(1) },
[all …]
/linux/Documentation/devicetree/bindings/soc/imx/
A Dfsl,imx8mm-disp-blk-ctrl.yaml36 - const: csi-bridge
39 - const: mipi-csi
47 - const: csi-bridge-axi
48 - const: csi-bridge-apb
49 - const: csi-bridge-core
55 - const: csi-aclk
56 - const: csi-pclk
78 power-domain-names = "bus", "csi-bridge", "lcdif",
79 "mipi-dsi", "mipi-csi";
90 clock-names = "csi-bridge-axi", "csi-bridge-apb", "csi-bridge-core",
[all …]
/linux/Documentation/devicetree/bindings/misc/
A Difm-csi.txt4 - compatible: "ifm,o2d-csi"
12 - ifm,csi-addr-bus-width: address bus width (valid values are 16, 24, 25)
13 - ifm,csi-data-bus-width: data bus width (valid values are 8 and 16)
14 - ifm,csi-wait-cycles: sensor bus wait cycles
17 - ifm,csi-byte-swap: if this property is present, the byte swapping on
22 csi@3,0 {
23 compatible = "ifm,o2d-csi";
27 ifm,csi-clk-handle = <&timer7>;
32 ifm,csi-addr-bus-width = <24>;
33 ifm,csi-data-bus-width = <8>;
[all …]
/linux/Documentation/admin-guide/media/
A Dimx7.rst44 csi-mux
51 csi section in i.MX7 Video Capture Driver
85 media-ctl -l "'csi-mux':2 -> 'csi':0[1]"
86 media-ctl -l "'csi':1 -> 'csi capture':0[1]"
105 driver imx7-csi
113 - entity 1: csi (2 pads, 2 links)
127 <- "csi":1 [ENABLED]
139 -> "csi":0 [ENABLED]
169 media-ctl -l "'csi':1 -> 'csi capture':0[1]"
187 driver imx7-csi
[all …]
/linux/Documentation/devicetree/bindings/media/
A Dnxp,imx7-csi.yaml4 $id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml#
20 - fsl,imx7-csi
21 - fsl,imx6ul-csi
23 - const: fsl,imx8mm-csi
24 - const: fsl,imx7-csi
58 csi: csi@30710000 {
59 compatible = "fsl,imx7-csi";
A Dallwinner,sun6i-a31-csi.yaml4 $id: http://devicetree.org/schemas/media/allwinner,sun6i-a31-csi.yaml#
16 - allwinner,sun6i-a31-csi
17 - allwinner,sun8i-a83t-csi
18 - allwinner,sun8i-h3-csi
19 - allwinner,sun8i-v3s-csi
20 - allwinner,sun50i-a64-csi
80 csi1: csi@1cb4000 {
81 compatible = "allwinner,sun8i-v3s-csi";
/linux/include/video/
A Dimx-ipu-v3.h360 int ipu_csi_init_interface(struct ipu_csi *csi,
364 bool ipu_csi_is_interlaced(struct ipu_csi *csi);
365 void ipu_csi_get_window(struct ipu_csi *csi, struct v4l2_rect *w);
368 void ipu_csi_set_test_generator(struct ipu_csi *csi, bool active,
371 int ipu_csi_set_mipi_datatype(struct ipu_csi *csi, u32 vc,
373 int ipu_csi_set_skip_smfc(struct ipu_csi *csi, u32 skip,
376 int ipu_csi_enable(struct ipu_csi *csi);
377 int ipu_csi_disable(struct ipu_csi *csi);
379 void ipu_csi_put(struct ipu_csi *csi);
380 void ipu_csi_dump(struct ipu_csi *csi);
[all …]
/linux/Documentation/devicetree/bindings/phy/
A Drockchip-inno-csi-dphy.yaml4 $id: http://devicetree.org/schemas/phy/rockchip-inno-csi-dphy.yaml#
19 - rockchip,px30-csi-dphy
20 - rockchip,rk1808-csi-dphy
21 - rockchip,rk3326-csi-dphy
22 - rockchip,rk3368-csi-dphy
70 compatible = "rockchip,px30-csi-dphy";
/linux/arch/powerpc/boot/dts/
A Do2d.dtsi103 csi@3,0 {
104 compatible = "ifm,o2d-csi";
106 ifm,csi-clk-handle = <&gpt7>;
113 ifm,csi-addr-bus-width = <24>;
114 ifm,csi-data-bus-width = <8>;
115 ifm,csi-wait-cycles = <0>;
/linux/Documentation/devicetree/bindings/media/xilinx/
A Dxlnx,csi2rxss.yaml47 xlnx,csi-pxl-format:
79 xlnx,en-csi-v2-0:
155 - xlnx,csi-pxl-format
158 xlnx,csi-pxl-format: false
163 - xlnx,en-csi-v2-0
178 xlnx,csi-pxl-format = <0x2a>;
181 xlnx,en-csi-v2-0;
/linux/arch/arm64/boot/dts/allwinner/
A Dsun50i-a100-allwinner-perf1.dts124 regulator-name = "vcc-pe-csi";
130 regulator-name = "ldo-avdd-csi";
136 regulator-name = "avcc-csi";
142 regulator-name = "vcc-pc-lvds-csi-efuse-emmc-nand";
148 regulator-name = "dvdd-csi";

Completed in 45 milliseconds

12345