/Linux-v6.6/drivers/soc/bcm/brcmstb/ |
D | common.c | 1 // SPDX-License-Identifier: GPL-2.0-only 30 { .compatible = "brcm,bcm7125-sun-top-ctrl", }, 31 { .compatible = "brcm,bcm7346-sun-top-ctrl", }, 32 { .compatible = "brcm,bcm7358-sun-top-ctrl", }, 33 { .compatible = "brcm,bcm7360-sun-top-ctrl", }, 34 { .compatible = "brcm,bcm7362-sun-top-ctrl", }, 35 { .compatible = "brcm,bcm7420-sun-top-ctrl", }, 36 { .compatible = "brcm,bcm7425-sun-top-ctrl", }, 37 { .compatible = "brcm,bcm7429-sun-top-ctrl", }, 38 { .compatible = "brcm,bcm7435-sun-top-ctrl", }, [all …]
|
/Linux-v6.6/drivers/media/i2c/ |
D | mt9m001.c | 1 // SPDX-License-Identifier: GPL-2.0 18 #include <media/v4l2-ctrls.h> 19 #include <media/v4l2-device.h> 20 #include <media/v4l2-event.h> 21 #include <media/v4l2-subdev.h> 83 /* Order important - see above */ 92 /* exposure/auto-exposure cluster */ 106 unsigned short y_skip_top; /* Lines to skip at the top */ 181 dev_dbg(&client->dev, "%s\n", __func__); in mt9m001_init() 191 /* Blanking and start values - default... */ in mt9m001_apply_selection() [all …]
|
D | ov6650.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net> 29 #include <linux/v4l2-mediabus.h> 32 #include <media/v4l2-ctrls.h> 33 #include <media/v4l2-device.h> 36 #define REG_GAIN 0x00 /* range 00 - 3F */ 51 /* [5:0]: Internal Clock Pre-Scaler */ 165 #define W_QCIF (DEF_HSTOP - DEF_HSTRT) 167 #define H_QCIF (DEF_VSTOP - DEF_VSTRT) 254 .addr = client->addr, in ov6650_reg_read() [all …]
|
D | mt9p031.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2011, Javier Martin <javier.martin@vista-silicon.com> 27 #include <media/v4l2-async.h> 28 #include <media/v4l2-ctrls.h> 29 #include <media/v4l2-device.h> 30 #include <media/v4l2-fwnode.h> 31 #include <media/v4l2-subdev.h> 33 #include "aptina-pll.h" 165 struct i2c_client *client = v4l2_get_subdevdata(&mt9p031->subdev); in mt9p031_set_output_control() 166 u16 value = (mt9p031->output_control & ~clear) | set; in mt9p031_set_output_control() [all …]
|
/Linux-v6.6/drivers/media/platform/renesas/vsp1/ |
D | vsp1_rwpf.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * vsp1_rwpf.c -- R-Car VSP1 Read and Write Pixel Formatters 5 * Copyright (C) 2013-2014 Renesas Electronics Corporation 10 #include <media/v4l2-subdev.h> 22 return v4l2_subdev_get_try_crop(&rwpf->entity.subdev, sd_state, in vsp1_rwpf_get_crop() 26 /* ----------------------------------------------------------------------------- 40 if (code->index >= ARRAY_SIZE(codes)) in vsp1_rwpf_enum_mbus_code() 41 return -EINVAL; in vsp1_rwpf_enum_mbus_code() 43 code->code = codes[code->index]; in vsp1_rwpf_enum_mbus_code() 56 RWPF_MIN_HEIGHT, rwpf->max_width, in vsp1_rwpf_enum_frame_size() [all …]
|
D | vsp1_brx.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * vsp1_brx.c -- R-Car VSP1 Blend ROP Unit (BRU and BRS) 13 #include <media/v4l2-subdev.h> 25 /* ----------------------------------------------------------------------------- 32 vsp1_dl_body_write(dlb, brx->base + reg, data); in vsp1_brx_write() 35 /* ----------------------------------------------------------------------------- 39 static int brx_s_ctrl(struct v4l2_ctrl *ctrl) in brx_s_ctrl() argument 42 container_of(ctrl->handler, struct vsp1_brx, ctrls); in brx_s_ctrl() 44 switch (ctrl->id) { in brx_s_ctrl() 46 brx->bgcolor = ctrl->val; in brx_s_ctrl() [all …]
|
/Linux-v6.6/drivers/soc/aspeed/ |
D | aspeed-lpc-ctrl.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 17 #include <linux/aspeed-lpc-ctrl.h> 19 #define DEVICE_NAME "aspeed-lpc-ctrl" 45 return container_of(file->private_data, struct aspeed_lpc_ctrl, in file_aspeed_lpc_ctrl() 52 unsigned long vsize = vma->vm_end - vma->vm_start; in aspeed_lpc_ctrl_mmap() 53 pgprot_t prot = vma->vm_page_prot; in aspeed_lpc_ctrl_mmap() 55 if (vma->vm_pgoff + vma_pages(vma) > lpc_ctrl->mem_size >> PAGE_SHIFT) in aspeed_lpc_ctrl_mmap() 56 return -EINVAL; in aspeed_lpc_ctrl_mmap() 61 if (remap_pfn_range(vma, vma->vm_start, in aspeed_lpc_ctrl_mmap() 62 (lpc_ctrl->mem_base >> PAGE_SHIFT) + vma->vm_pgoff, in aspeed_lpc_ctrl_mmap() [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/arm/bcm/ |
D | brcm,brcmstb.txt | 2 ----------------------------------------------- 3 Boards with Broadcom Brahma15 ARM-based BCMxxxx (generally BCM7xxx variants) 7 - compatible: "brcm,bcm<chip_id>", "brcm,brcmstb" 11 #address-cells = <2>; 12 #size-cells = <2>; 16 Further, syscon nodes that map platform-specific registers used for general 19 - compatible: "brcm,bcm<chip_id>-sun-top-ctrl", "syscon" 20 - compatible: "brcm,bcm<chip_id>-cpu-biu-ctrl", 21 "brcm,brcmstb-cpu-biu-ctrl", 23 - compatible: "brcm,bcm<chip_id>-hif-continuation", "syscon" [all …]
|
/Linux-v6.6/drivers/media/platform/samsung/s3c-camif/ |
D | camif-capture.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Based on drivers/media/platform/s5p-fimc, 9 * Copyright (C) 2010 - 2012 Samsung Electronics Co., Ltd. 30 #include <media/media-device.h> 31 #include <media/v4l2-ctrls.h> 32 #include <media/v4l2-event.h> 33 #include <media/v4l2-ioctl.h> 34 #include <media/videobuf2-v4l2.h> 35 #include <media/videobuf2-dma-contig.h> 37 #include "camif-core.h" [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/ata/ |
D | brcm,sata-brcm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/ata/brcm,sata-brcm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 SATA nodes are defined to describe on-chip Serial ATA controllers. 14 - Florian Fainelli <f.fainelli@gmail.com> 17 - $ref: ahci-common.yaml# 22 - items: 23 - enum: 24 - brcm,bcm7216-ahci [all …]
|
/Linux-v6.6/Documentation/devicetree/bindings/soc/imx/ |
D | fsl,imx8mq-vpu-blk-ctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mq-vpu-blk-ctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX8MQ VPU blk-ctrl 10 - Lucas Stach <l.stach@pengutronix.de> 13 The i.MX8MQ VPU blk-ctrl is a top-level peripheral providing access to 20 - const: fsl,imx8mq-vpu-blk-ctrl 25 '#power-domain-cells': 28 power-domains: [all …]
|
D | fsl,imx8mp-hdmi-blk-ctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mp-hdmi-blk-ctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX8MP HDMI blk-ctrl 10 - Lucas Stach <l.stach@pengutronix.de> 13 The i.MX8MP HDMMI blk-ctrl is a top-level peripheral providing access to 20 - const: fsl,imx8mp-hdmi-blk-ctrl 21 - const: syscon 26 '#power-domain-cells': [all …]
|
D | fsl,imx8mp-hsio-blk-ctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mp-hsio-blk-ctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX8MP HSIO blk-ctrl 10 - Lucas Stach <l.stach@pengutronix.de> 13 The i.MX8MP HSIO blk-ctrl is a top-level peripheral providing access to 14 the NoC and ensuring proper power sequencing of the high-speed IO 20 - const: fsl,imx8mp-hsio-blk-ctrl 21 - const: syscon [all …]
|
D | fsl,imx8mm-disp-blk-ctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mm-disp-blk-ctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX8MM DISP blk-ctrl 10 - Lucas Stach <l.stach@pengutronix.de> 13 The i.MX8MM DISP blk-ctrl is a top-level peripheral providing access to 20 - const: fsl,imx8mm-disp-blk-ctrl 21 - const: syscon 26 '#power-domain-cells': [all …]
|
D | fsl,imx8mn-disp-blk-ctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX8MN DISP blk-ctrl 10 - Lucas Stach <l.stach@pengutronix.de> 13 The i.MX8MN DISP blk-ctrl is a top-level peripheral providing access to 20 - const: fsl,imx8mn-disp-blk-ctrl 21 - const: syscon 26 '#power-domain-cells': [all …]
|
D | fsl,imx93-media-blk-ctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx93-media-blk-ctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX93 Media blk-ctrl 10 - Peng Fan <peng.fan@nxp.com> 15 clocking, reset, and miscellaneous top-level controls for peripherals 21 - const: fsl,imx93-media-blk-ctrl 22 - const: syscon 27 '#power-domain-cells': [all …]
|
D | fsl,imx8mm-vpu-blk-ctrl.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mm-vpu-blk-ctrl.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: NXP i.MX8MM VPU blk-ctrl 10 - Lucas Stach <l.stach@pengutronix.de> 13 The i.MX8MM VPU blk-ctrl is a top-level peripheral providing access to 20 - const: fsl,imx8mm-vpu-blk-ctrl 21 - const: syscon 26 '#power-domain-cells': [all …]
|
/Linux-v6.6/drivers/media/platform/amphion/ |
D | venc.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright 2020-2021 NXP 17 #include <media/v4l2-device.h> 18 #include <media/v4l2-event.h> 19 #include <media/v4l2-mem2mem.h> 20 #include <media/v4l2-ioctl.h> 21 #include <media/videobuf2-v4l2.h> 22 #include <media/videobuf2-dma-contig.h> 23 #include <media/videobuf2-vmalloc.h> 96 strscpy(cap->driver, "amphion-vpu", sizeof(cap->driver)); in venc_querycap() [all …]
|
/Linux-v6.6/drivers/media/platform/nxp/dw100/ |
D | dw100.c | 1 // SPDX-License-Identifier: GPL-2.0+ 20 #include <media/v4l2-ctrls.h> 21 #include <media/v4l2-device.h> 22 #include <media/v4l2-event.h> 23 #include <media/v4l2-ioctl.h> 24 #include <media/v4l2-mem2mem.h> 25 #include <media/videobuf2-dma-contig.h> 190 if (fmt->fourcc == pixel_format && fmt->types & fmt_type) in dw100_find_pixel_format() 199 return dw100_find_pixel_format(f->fmt.pix_mp.pixelformat, in dw100_find_format() 200 to_dw100_fmt_type(f->type)); in dw100_find_format() [all …]
|
/Linux-v6.6/drivers/media/platform/amlogic/meson-ge2d/ |
D | ge2d.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 #include <media/v4l2-device.h> 21 #include <media/v4l2-event.h> 22 #include <media/v4l2-ioctl.h> 23 #include <media/v4l2-mem2mem.h> 24 #include <media/v4l2-ctrls.h> 25 #include <media/videobuf2-v4l2.h> 26 #include <media/videobuf2-dma-contig.h> 28 #include "ge2d-regs.h" 30 #define GE2D_NAME "meson-ge2d" [all …]
|
/Linux-v6.6/drivers/usb/gadget/udc/aspeed-vhub/ |
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget 5 * core.c - Top level support 25 #include <linux/dma-mapping.h> 32 bool internal = req->internal; in ast_vhub_done() 33 struct ast_vhub *vhub = ep->vhub; in ast_vhub_done() 37 list_del_init(&req->queue); in ast_vhub_done() 39 if ((req->req.status == -EINPROGRESS) || (status == -EOVERFLOW)) in ast_vhub_done() 40 req->req.status = status; in ast_vhub_done() 42 if (req->req.dma) { in ast_vhub_done() [all …]
|
/Linux-v6.6/drivers/media/platform/rockchip/rkisp1/ |
D | rkisp1-resizer.c | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 * Rockchip ISP1 Driver - V4l resizer device 11 #include "rkisp1-common.h" 63 u32 ctrl; member 81 .ctrl = RKISP1_CIF_DUAL_CROP_CTRL, 99 .ctrl = RKISP1_CIF_DUAL_CROP_CTRL, 111 return rkisp1_read(rsz->rkisp1, rsz->regs_base + offset); in rkisp1_rsz_read() 117 rkisp1_write(rsz->rkisp1, rsz->regs_base + offset, value); in rkisp1_rsz_write() 126 .pads = rsz->pad_cfg, in rkisp1_rsz_get_pad_fmt() 129 return v4l2_subdev_get_try_format(&rsz->sd, sd_state, pad); in rkisp1_rsz_get_pad_fmt() [all …]
|
/Linux-v6.6/drivers/media/platform/st/sti/bdisp/ |
D | bdisp-v4l2.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include <media/v4l2-event.h> 16 #include <media/v4l2-ioctl.h> 73 /* NV12. YUV420SP - 1 plane for Y + 1 plane for (CbCr) */ 91 /* YU12. YUV420P - 1 plane for Y + 1 plane for Cb + 1 plane for Cr 124 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_set() 125 ctx->state |= state; in bdisp_ctx_state_lock_set() 126 spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_set() 133 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags); in bdisp_ctx_state_lock_clear() 134 ctx->state &= ~state; in bdisp_ctx_state_lock_clear() [all …]
|
/Linux-v6.6/drivers/media/platform/samsung/s5p-mfc/ |
D | s5p_mfc_dec.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * linux/drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.c 19 #include <media/v4l2-ctrls.h> 20 #include <media/v4l2-event.h> 21 #include <media/videobuf2-v4l2.h> 171 if (formats[i].fourcc == f->fmt.pix_mp.pixelformat && in find_format() 248 if (ctx->src_queue_cnt >= 1 && ctx->state == MFCINST_GOT_INST) in s5p_mfc_ctx_ready() 251 if (ctx->src_queue_cnt >= 1 && in s5p_mfc_ctx_ready() 252 ctx->state == MFCINST_RUNNING && in s5p_mfc_ctx_ready() 253 ctx->dst_queue_cnt >= ctx->pb_count) in s5p_mfc_ctx_ready() [all …]
|
/Linux-v6.6/drivers/media/pci/saa7134/ |
D | saa7134-video.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * (c) 2001-03 Gerd Knorr <kraxel@bytesex.org> [SuSE Labs] 11 #include "saa7134-reg.h" 20 #include <media/v4l2-common.h> 21 #include <media/v4l2-event.h> 24 /* ------------------------------------------------------------------ */ 31 static char secam[] = "--"; 35 MODULE_PARM_DESC(gbuffers,"number of capture buffers, range 2-32"); 47 /* ------------------------------------------------------------------ */ 55 /* ------------------------------------------------------------------ */ [all …]
|