Home
last modified time | relevance | path

Searched +full:top +full:- +full:ctrl (Results 1 – 25 of 269) sorted by relevance

1234567891011

/Linux-v6.1/drivers/soc/bcm/brcmstb/
Dcommon.c1 // 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.1/drivers/media/i2c/
Dmt9m001.c1 // 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 …]
Dov6650.c1 // 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 …]
Dmt9p031.c1 // 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 …]
Dmt9t001.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2010-2011, Laurent Pinchart <laurent.pinchart@ideasonboard.com>
19 #include <linux/v4l2-mediabus.h>
22 #include <media/v4l2-ctrls.h>
23 #include <media/v4l2-device.h>
24 #include <media/v4l2-subdev.h>
153 struct i2c_client *client = v4l2_get_subdevdata(&mt9t001->subdev); in mt9t001_set_output_control()
154 u16 value = (mt9t001->output_control & ~clear) | set; in mt9t001_set_output_control()
157 if (value == mt9t001->output_control) in mt9t001_set_output_control()
164 mt9t001->output_control = value; in mt9t001_set_output_control()
[all …]
/Linux-v6.1/drivers/media/platform/renesas/vsp1/
Dvsp1_rwpf.c1 // 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 …]
Dvsp1_brx.c1 // 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.1/drivers/soc/aspeed/
Daspeed-lpc-ctrl.c1 // 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.1/Documentation/devicetree/bindings/arm/bcm/
Dbrcm,brcmstb.txt2 -----------------------------------------------
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.1/drivers/media/platform/samsung/s3c-camif/
Dcamif-capture.c1 // 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.1/Documentation/devicetree/bindings/ata/
Dbrcm,sata-brcm.yaml1 # 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.1/Documentation/devicetree/bindings/soc/imx/
Dfsl,imx8mq-vpu-blk-ctrl.yaml1 # 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 …]
Dfsl,imx8mp-hsio-blk-ctrl.yaml1 # 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 …]
Dfsl,imx8mp-hdmi-blk-ctrl.yaml1 # 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 …]
Dfsl,imx93-media-blk-ctrl.yaml1 # 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 …]
Dfsl,imx8mm-vpu-blk-ctrl.yaml1 # 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 …]
Dfsl,imx8mm-disp-blk-ctrl.yaml1 # 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 …]
/Linux-v6.1/drivers/media/platform/amphion/
Dvenc.c1 // 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>
85 strscpy(cap->driver, "amphion-vpu", sizeof(cap->driver)); in venc_querycap()
[all …]
/Linux-v6.1/drivers/media/platform/nxp/dw100/
Ddw100.c1 // 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.1/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
Dga102.c30 #include <subdev/top.h>
46 } ctrl; member
60 oclass->ctor = nvkm_object_new; in ga102_chan_sclass()
61 oclass->base = (struct nvkm_sclass) { -1, -1, AMPERE_DMA_COPY_B }; in ga102_chan_sclass()
65 return -EINVAL; in ga102_chan_sclass()
73 struct nvkm_device *device = chan->object.engine->subdev.device; in ga102_chan_map()
74 u64 bar2 = nvkm_memory_bar2(chan->user); in ga102_chan_map()
77 return -EFAULT; in ga102_chan_map()
80 *addr = device->func->resource_addr(device, 3) + bar2; in ga102_chan_map()
89 struct nvkm_device *device = chan->object.engine->subdev.device; in ga102_chan_fini()
[all …]
/Linux-v6.1/drivers/media/platform/amlogic/meson-ge2d/
Dge2d.c1 // 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.1/drivers/usb/gadget/udc/aspeed-vhub/
Dcore.c1 // SPDX-License-Identifier: GPL-2.0+
3 * aspeed-vhub -- Driver for Aspeed SoC "vHub" USB gadget
5 * core.c - Top level support
26 #include <linux/dma-mapping.h>
33 bool internal = req->internal; in ast_vhub_done()
34 struct ast_vhub *vhub = ep->vhub; in ast_vhub_done()
38 list_del_init(&req->queue); in ast_vhub_done()
40 if (req->req.status == -EINPROGRESS) in ast_vhub_done()
41 req->req.status = status; in ast_vhub_done()
43 if (req->req.dma) { in ast_vhub_done()
[all …]
/Linux-v6.1/drivers/media/platform/rockchip/rkisp1/
Drkisp1-resizer.c1 // 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.1/drivers/media/platform/st/sti/bdisp/
Dbdisp-v4l2.c1 // 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.1/drivers/media/platform/samsung/s5p-mfc/
Ds5p_mfc_dec.c1 // 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 …]

1234567891011