/linux-6.3-rc2/drivers/media/platform/sunxi/sun4i-csi/ |
A D | sun4i_dma.c | 99 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() 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() 423 q->dev = csi->dev; in sun4i_csi_dma_register() 431 ret = v4l2_device_register(csi->dev, &csi->v4l); in sun4i_csi_dma_register() [all …]
|
A D | sun4i_csi.c | 54 if (csi->src_pad < 0) { in sun4i_csi_notify_bound() 57 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() 177 csi->v4l.mdev = &csi->mdev; in sun4i_csi_probe() [all …]
|
A D | sun4i_v4l2.c | 147 csi->fmt = f->fmt.pix_mp; in sun4i_csi_s_fmt_vid_cap() 157 f->fmt.pix_mp = csi->fmt; in sun4i_csi_g_fmt_vid_cap() 217 mutex_unlock(&csi->lock); in sun4i_csi_open() 225 pm_runtime_put(csi->dev); in sun4i_csi_open() 228 mutex_unlock(&csi->lock); in sun4i_csi_open() 237 mutex_lock(&csi->lock); in sun4i_csi_release() 242 pm_runtime_put(csi->dev); in sun4i_csi_release() 244 mutex_unlock(&csi->lock); in sun4i_csi_release() 356 vdev->queue = &csi->queue; in sun4i_csi_v4l2_register() 359 vdev->lock = &csi->lock; in sun4i_csi_v4l2_register() [all …]
|
A D | Makefile | 3 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
|
/linux-6.3-rc2/drivers/media/platform/nxp/ |
A D | imx7-media-csi.c | 463 ret = imx7_csi_alloc_dma_buf(csi, &csi->underrun_buf, in imx7_csi_dma_setup() 483 imx7_csi_free_dma_buf(csi, &csi->underrun_buf); in imx7_csi_dma_cleanup() 723 done = csi->active_vb2_buf[csi->buf_num]; in imx7_csi_vb2_buf_done() 737 csi->active_vb2_buf[csi->buf_num] = next; in imx7_csi_vb2_buf_done() 740 csi->active_vb2_buf[csi->buf_num] = NULL; in imx7_csi_vb2_buf_done() 743 imx7_csi_update_buf(csi, dma_addr, csi->buf_num); in imx7_csi_vb2_buf_done() 2155 csi->mdev.dev = csi->dev; in imx7_csi_media_dev_init() 2157 csi->v4l2_dev.mdev = &csi->mdev; in imx7_csi_media_dev_init() 2191 v4l2_set_subdevdata(&csi->sd, csi); in imx7_csi_media_init() 2195 csi->sd.dev = csi->dev; in imx7_csi_media_init() [all …]
|
/linux-6.3-rc2/drivers/gpu/ipu-v3/ |
A D | ipu-csi.c | 737 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-6.3-rc2/drivers/media/platform/rockchip/rkisp1/ |
A D | rkisp1-csi.c | 39 .pads = csi->pad_cfg in rkisp1_csi_get_pad_fmt() 54 struct rkisp1_csi *csi = &rkisp1->csi; in rkisp1_csi_link_sensor() local 456 struct rkisp1_csi *csi = &rkisp1->csi; in rkisp1_csi_register() local 465 sd = &csi->sd; in rkisp1_csi_register() 473 pads = csi->pads; in rkisp1_csi_register() 499 csi->rkisp1 = NULL; in rkisp1_csi_register() 505 struct rkisp1_csi *csi = &rkisp1->csi; in rkisp1_csi_unregister() local 507 if (!csi->rkisp1) in rkisp1_csi_unregister() 517 struct rkisp1_csi *csi = &rkisp1->csi; in rkisp1_csi_init() local 526 phy_init(csi->dphy); in rkisp1_csi_init() [all …]
|
/linux-6.3-rc2/drivers/staging/media/tegra-video/ |
A D | csi.c | 116 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() 549 struct tegra_csi *csi = chan->csi; in tegra_csi_channel_init() local 602 struct tegra_csi *csi = csi_chan->csi; in tegra_csi_error_recover() local 695 vid->csi = csi; in tegra_csi_init() 740 csi->clks[i].id = csi->soc->clk_names[i]; in tegra_csi_probe() [all …]
|
A D | tegra210.c | 818 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-6.3-rc2/Documentation/devicetree/bindings/soc/imx/ |
A D | fsl,imx8mm-disp-blk-ctrl.yaml | 36 - 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 …]
|
A D | fsl,imx8mn-disp-blk-ctrl.yaml | 39 - const: mipi-csi 56 - const: csi-aclk 57 - const: csi-pclk 81 "mipi-csi"; 95 "dsi-ref", "csi-aclk", "csi-pclk";
|
/linux-6.3-rc2/Documentation/devicetree/bindings/misc/ |
A D | ifm-csi.txt | 4 - 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-6.3-rc2/Documentation/devicetree/bindings/media/ |
A D | nxp,imx7-csi.yaml | 4 $id: http://devicetree.org/schemas/media/nxp,imx7-csi.yaml# 20 - fsl,imx8mq-csi 21 - fsl,imx7-csi 22 - fsl,imx6ul-csi 24 - const: fsl,imx8mm-csi 25 - const: fsl,imx7-csi 62 - fsl,imx8mq-csi 63 - fsl,imx8mm-csi 74 csi: csi@30710000 { 75 compatible = "fsl,imx7-csi";
|
A D | allwinner,sun6i-a31-csi.yaml | 4 $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 108 csi1: csi@1cb4000 { 109 compatible = "allwinner,sun8i-v3s-csi";
|
/linux-6.3-rc2/Documentation/admin-guide/media/ |
A D | imx7.rst | 44 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-6.3-rc2/Documentation/devicetree/bindings/phy/ |
A D | rockchip-inno-csi-dphy.yaml | 4 $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 23 - rockchip,rk3568-csi-dphy 71 compatible = "rockchip,px30-csi-dphy";
|
/linux-6.3-rc2/arch/powerpc/boot/dts/ |
A D | o2d.dtsi | 97 csi@3,0 { 98 compatible = "ifm,o2d-csi"; 100 ifm,csi-clk-handle = <&gpt7>; 107 ifm,csi-addr-bus-width = <24>; 108 ifm,csi-data-bus-width = <8>; 109 ifm,csi-wait-cycles = <0>;
|
/linux-6.3-rc2/include/video/ |
A D | imx-ipu-v3.h | 360 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-6.3-rc2/drivers/media/platform/renesas/rcar-vin/ |
A D | rcar-core.c | 928 if (!vin->group->remotes[route->csi].subdev) in rvin_csi2_setup_links() 1154 { .master = 0, .csi = RVIN_CSI20, .chsel = 0x04 }, 1155 { .master = 0, .csi = RVIN_CSI40, .chsel = 0x03 }, 1156 { .master = 4, .csi = RVIN_CSI20, .chsel = 0x04 }, 1169 { .master = 0, .csi = RVIN_CSI20, .chsel = 0x04 }, 1170 { .master = 0, .csi = RVIN_CSI40, .chsel = 0x03 }, 1171 { .master = 4, .csi = RVIN_CSI20, .chsel = 0x04 }, 1172 { .master = 4, .csi = RVIN_CSI41, .chsel = 0x03 }, 1187 { .master = 0, .csi = RVIN_CSI20, .chsel = 0x04 }, 1188 { .master = 0, .csi = RVIN_CSI21, .chsel = 0x05 }, [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/display/tegra/ |
A D | nvidia,tegra210-csi.yaml | 4 $id: http://devicetree.org/schemas/display/tegra/nvidia,tegra210-csi.yaml# 15 pattern: "^csi@[0-9a-f]+$" 19 - nvidia,tegra210-csi 34 - const: csi
|
A D | nvidia,tegra20-vi.yaml | 73 avdd-dsi-csi-supply: 77 "^csi@[0-9a-f]+$": 139 csi@838 { 140 compatible = "nvidia,tegra210-csi"; 159 clock-names = "csi", "cilab", "cilcd", "cile", "csi_tpg";
|
/linux-6.3-rc2/drivers/media/platform/renesas/rzg2l-cru/ |
A D | rzg2l-core.c | 66 source = &cru->csi.subdev->entity; in rzg2l_cru_group_notify_complete() 76 cru->csi.channel = 0; in rzg2l_cru_group_notify_complete() 77 cru->ip.remote = cru->csi.subdev; in rzg2l_cru_group_notify_complete() 104 if (cru->csi.asd == asd) { in rzg2l_cru_group_notify_unbind() 105 cru->csi.subdev = NULL; in rzg2l_cru_group_notify_unbind() 120 if (cru->csi.asd == asd) { in rzg2l_cru_group_notify_bound() 121 cru->csi.subdev = subdev; in rzg2l_cru_group_notify_bound() 172 cru->csi.asd = asd; in rzg2l_cru_mc_parse_of()
|
/linux-6.3-rc2/drivers/staging/media/imx/ |
A D | Makefile | 9 imx6-media-csi-objs := imx-media-csi.o imx-media-fim.o 14 obj-$(CONFIG_VIDEO_IMX_CSI) += imx6-media-csi.o
|
/linux-6.3-rc2/Documentation/devicetree/bindings/media/xilinx/ |
A D | xlnx,csi2rxss.yaml | 47 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-6.3-rc2/drivers/media/platform/sunxi/sun6i-csi/ |
A D | Makefile | 2 sun6i-csi-y += sun6i_csi.o sun6i_csi_bridge.o sun6i_csi_capture.o 4 obj-$(CONFIG_VIDEO_SUN6I_CSI) += sun6i-csi.o
|