Home
last modified time | relevance | path

Searched +full:vpu +full:- +full:side (Results 1 – 25 of 29) sorted by relevance

12

/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/encoder/venc/
Dvenc_h264_if.c1 // SPDX-License-Identifier: GPL-2.0
27 * enum venc_h264_frame_type - h264 encoder output bitstream frame type
37 * enum venc_h264_vpu_work_buf - h264 encoder buffer index
53 * enum venc_h264_bs_mode - for bs_mode argument in h264_enc_vpu_encode
62 * struct venc_h264_vpu_config - Structure for h264 encoder configuration
63 * AP-W/R : AP is writer/reader on this item
64 * VPU-W/R: VPU is write/reader on this item
97 * struct venc_h264_vpu_buf - Structure for buffer information
98 * AP-W/R : AP is writer/reader on this item
99 * VPU-W/R: VPU is write/reader on this item
[all …]
Dvenc_vp8_if.c1 // SPDX-License-Identifier: GPL-2.0
27 * enum venc_vp8_vpu_work_buf - vp8 encoder buffer index
47 * struct venc_vp8_vpu_config - Structure for vp8 encoder configuration
48 * AP-W/R : AP is writer/reader on this item
49 * VPU-W/R: VPU is write/reader on this item
62 * support three temporal layers - 0: 7.5fps 1: 7.5fps 2: 15fps.
77 * struct venc_vp8_vpu_buf - Structure for buffer information
78 * AP-W/R : AP is writer/reader on this item
79 * VPU-W/R: VPU is write/reader on this item
81 * @vpua: VPU side memory addr which is used by RC_CODE
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/venc/
Dvenc_h264_if.c1 // SPDX-License-Identifier: GPL-2.0
28 * enum venc_h264_frame_type - h264 encoder output bitstream frame type
38 * enum venc_h264_vpu_work_buf - h264 encoder buffer index
54 * enum venc_h264_bs_mode - for bs_mode argument in h264_enc_vpu_encode
63 * struct venc_h264_vpu_config - Structure for h264 encoder configuration
64 * AP-W/R : AP is writer/reader on this item
65 * VPU-W/R: VPU is write/reader on this item
98 * struct venc_h264_vpu_buf - Structure for buffer information
99 * AP-W/R : AP is writer/reader on this item
100 * VPU-W/R: VPU is write/reader on this item
[all …]
Dvenc_vp8_if.c1 // SPDX-License-Identifier: GPL-2.0
28 * enum venc_vp8_vpu_work_buf - vp8 encoder buffer index
48 * struct venc_vp8_vpu_config - Structure for vp8 encoder configuration
49 * AP-W/R : AP is writer/reader on this item
50 * VPU-W/R: VPU is write/reader on this item
63 * support three temporal layers - 0: 7.5fps 1: 7.5fps 2: 15fps.
78 * struct venc_vp8_vpu_buf - Structure for buffer information
79 * AP-W/R : AP is writer/reader on this item
80 * VPU-W/R: VPU is write/reader on this item
82 * @vpua: VPU side memory addr which is used by RC_CODE
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
Dvdec_vpu_if.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 * struct vdec_vpu_inst - VPU instance for video codec
17 * @vsi : driver structure allocated by VPU side and shared to AP side
19 * @failure : VPU execution result status, 0: success, others: fail
20 * @inst_addr : VPU decoder instance address
21 * @signaled : 1 - Host has received ack message from VPU, 0 - not received
23 * @dev : platform device of VPU
24 * @wq : wait queue to wait VPU message ack
39 * vpu_dec_init - init decoder instance and allocate required resource in VPU.
41 * @vpu: instance for vdec_vpu_inst
[all …]
Dvenc_vpu_if.h1 /* SPDX-License-Identifier: GPL-2.0 */
14 * struct venc_vpu_inst - encoder VPU driver instance
15 * @wq_hd: wait queue used for vpu cmd trigger then wait vpu interrupt done
16 * @signaled: flag used for checking vpu interrupt done
17 * @failure: flag to show vpu cmd succeeds or not
21 * @inst_addr: VPU instance addr
22 * @vsi: driver structure allocated by VPU side and shared to AP side for
24 * @id: the id of inter-processor interrupt
41 int vpu_enc_init(struct venc_vpu_inst *vpu);
42 int vpu_enc_set_param(struct venc_vpu_inst *vpu,
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/encoder/
Dvenc_vpu_if.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 * struct venc_vpu_inst - encoder VPU driver instance
14 * @wq_hd: wait queue used for vpu cmd trigger then wait vpu interrupt done
15 * @signaled: flag used for checking vpu interrupt done
16 * @failure: flag to show vpu cmd succeeds or not
20 * @inst_addr: VPU instance addr
21 * @vsi: driver structure allocated by VPU side and shared to AP side for
23 * @id: the id of inter-processor interrupt
40 int vpu_enc_init(struct venc_vpu_inst *vpu);
41 int vpu_enc_set_param(struct venc_vpu_inst *vpu,
[all …]
/kernel/linux/linux-6.6/include/uapi/drm/
Divpu_accel.h1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
3 * Copyright (C) 2020-2023 Intel Corporation
46 * VPU contexts have private virtual address space, job queues and priority.
76 * struct drm_ivpu_param - Get/Set VPU parameters
85 * PCI Device ID of the VPU device (read-only)
88 * VPU device revision (read-only)
92 * platform type when executing on a simulator or emulator (read-only)
95 * Current PLL frequency (read-only)
98 * Maximum number of simultaneously existing contexts (read-only)
101 * Lowest VPU virtual address available in the current context (read-only)
[all …]
Dradeon_drm.h1 /* radeon_drm.h -- Public header for the radeon driver -*- linux-c -*-
66 #define RADEON_UPLOAD_CLIPRECTS 0x00008000 /* handled client-side */
72 /* New style per-packet identifiers for use in cmd_buffer ioctl with
183 #define RADEON_CMD_WAIT 8 /* emit hw wait commands -- note:
234 /* these two defines are DOING IT WRONG - however
261 } vpu; member
332 * a 1K-byte boundary.
336 #define RADEON_OFFSET_MASK (RADEON_OFFSET_ALIGN - 1)
450 /* Counters for client-side throttling of rendering clients.
640 /* v1.2 - obsoletes drm_radeon_vertex and drm_radeon_indices
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/decoder/
Dvdec_vpu_if.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 * struct vdec_vpu_inst - VPU instance for video codec
16 * @vsi : driver structure allocated by VPU side and shared to AP side
18 * @failure : VPU execution result status, 0: success, others: fail
19 * @inst_addr : VPU decoder instance address
23 * @signaled : 1 - Host has received ack message from VPU, 0 - not received
25 * @dev : platform device of VPU
26 * @wq : wait queue to wait VPU message ack
50 * vpu_dec_init - init decoder instance and allocate required resource in VPU.
52 * @vpu: instance for vdec_vpu_inst
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/soc/bcm/
Dbrcm,bcm2835-vchiq.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/bcm/brcm,bcm2835-vchiq.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Nicolas Saenz Julienne <nsaenz@kernel.org>
14 to communicate with the VPU-side OS services.
19 - description: BCM2835 based boards
21 - enum:
22 - brcm,bcm2835-vchiq
24 - description: BCM2836/BCM2837 based boards
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/hantro/
Dhantro_v4l2.c1 // SPDX-License-Identifier: GPL-2.0
3 * Hantro VPU codec driver
7 * Alpha Lin <Alpha.Lin@rock-chips.com>
8 * Jeffy Chen <jeffy.chen@rock-chips.com>
13 * Based on s5p-mfc driver by Samsung Electronics Co., Ltd.
14 * Copyright (C) 2010-2011 Samsung Electronics Co., Ltd.
23 #include <media/v4l2-ctrls.h>
24 #include <media/v4l2-event.h>
25 #include <media/v4l2-mem2mem.h>
26 #include <media/videobuf2-core.h>
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/verisilicon/
Dhantro_v4l2.c1 // SPDX-License-Identifier: GPL-2.0
3 * Hantro VPU codec driver
7 * Alpha Lin <Alpha.Lin@rock-chips.com>
8 * Jeffy Chen <jeffy.chen@rock-chips.com>
13 * Based on s5p-mfc driver by Samsung Electronics Co., Ltd.
14 * Copyright (C) 2010-2011 Samsung Electronics Co., Ltd.
23 #include <media/v4l2-ctrls.h>
24 #include <media/v4l2-event.h>
25 #include <media/v4l2-mem2mem.h>
49 if (ctx->is_encoder) { in hantro_get_formats()
[all …]
/kernel/linux/linux-5.10/drivers/soc/dove/
Dpmu.c1 // SPDX-License-Identifier: GPL-2.0
14 #include <linux/reset-controller.h>
54 spin_lock_irqsave(&pmu->lock, flags); in pmu_reset_reset()
55 val = readl_relaxed(pmu->pmc_base + PMC_SW_RST); in pmu_reset_reset()
56 writel_relaxed(val & ~BIT(id), pmu->pmc_base + PMC_SW_RST); in pmu_reset_reset()
57 writel_relaxed(val | BIT(id), pmu->pmc_base + PMC_SW_RST); in pmu_reset_reset()
58 spin_unlock_irqrestore(&pmu->lock, flags); in pmu_reset_reset()
69 spin_lock_irqsave(&pmu->lock, flags); in pmu_reset_assert()
70 val &= readl_relaxed(pmu->pmc_base + PMC_SW_RST); in pmu_reset_assert()
71 writel_relaxed(val, pmu->pmc_base + PMC_SW_RST); in pmu_reset_assert()
[all …]
/kernel/linux/linux-6.6/drivers/soc/dove/
Dpmu.c1 // SPDX-License-Identifier: GPL-2.0
14 #include <linux/reset-controller.h>
54 spin_lock_irqsave(&pmu->lock, flags); in pmu_reset_reset()
55 val = readl_relaxed(pmu->pmc_base + PMC_SW_RST); in pmu_reset_reset()
56 writel_relaxed(val & ~BIT(id), pmu->pmc_base + PMC_SW_RST); in pmu_reset_reset()
57 writel_relaxed(val | BIT(id), pmu->pmc_base + PMC_SW_RST); in pmu_reset_reset()
58 spin_unlock_irqrestore(&pmu->lock, flags); in pmu_reset_reset()
69 spin_lock_irqsave(&pmu->lock, flags); in pmu_reset_assert()
70 val &= readl_relaxed(pmu->pmc_base + PMC_SW_RST); in pmu_reset_assert()
71 writel_relaxed(val, pmu->pmc_base + PMC_SW_RST); in pmu_reset_assert()
[all …]
/kernel/linux/linux-5.10/drivers/staging/media/sunxi/cedrus/
Dcedrus_h265.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Cedrus VPU driver
13 #include <media/videobuf2-dma-contig.h>
20 * These are the sizes for side buffers required by the hardware for storing
22 * implementations, that were initially exposed in libvdpau-sunxi.
46 struct cedrus_dev *dev = ctx->dev; in cedrus_h265_irq_status()
61 struct cedrus_dev *dev = ctx->dev; in cedrus_h265_irq_clear()
68 struct cedrus_dev *dev = ctx->dev; in cedrus_h265_irq_disable()
88 size -= sizeof(u32); in cedrus_h265_sram_write_data()
96 return ctx->codec.h265.mv_col_buf_addr + index * in cedrus_h265_frame_info_mv_col_buf_addr()
[all …]
/kernel/linux/linux-5.10/include/uapi/drm/
Dradeon_drm.h1 /* radeon_drm.h -- Public header for the radeon driver -*- linux-c -*-
66 #define RADEON_UPLOAD_CLIPRECTS 0x00008000 /* handled client-side */
72 /* New style per-packet identifiers for use in cmd_buffer ioctl with
183 #define RADEON_CMD_WAIT 8 /* emit hw wait commands -- note:
234 /* these two defines are DOING IT WRONG - however
261 } vpu; member
332 * a 1K-byte boundary.
336 #define RADEON_OFFSET_MASK (RADEON_OFFSET_ALIGN - 1)
450 /* Counters for client-side throttling of rendering clients.
640 /* v1.2 - obsoletes drm_radeon_vertex and drm_radeon_indices
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/
Dimx8-apalis-v1.1.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 #include <dt-bindings/pwm/pwm.h>
10 stdout-path = &lpuart1;
15 compatible = "pwm-backlight";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_gpio_bkl_on>;
18 brightness-levels = <0 45 63 88 119 158 203 255>;
19 default-brightness-level = <4>;
20 enable-gpios = <&lsio_gpio1 4 GPIO_ACTIVE_HIGH>; /* Apalis BKL1_ON */
21 /* TODO: hook-up to Apalis BKL1_PWM */
[all …]
/kernel/linux/linux-6.6/drivers/staging/media/sunxi/cedrus/
Dcedrus_h265.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Cedrus VPU driver
13 #include <media/videobuf2-dma-contig.h>
20 * These are the sizes for side buffers required by the hardware for storing
22 * implementations, that were initially exposed in libvdpau-sunxi.
59 struct cedrus_dev *dev = ctx->dev; in cedrus_h265_irq_status()
74 struct cedrus_dev *dev = ctx->dev; in cedrus_h265_irq_clear()
81 struct cedrus_dev *dev = ctx->dev; in cedrus_h265_irq_disable()
101 size -= sizeof(u32); in cedrus_h265_sram_write_data()
111 return cedrus_buf->codec.h265.mv_col_buf_dma + in cedrus_h265_frame_info_mv_col_buf_addr()
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0018_linux_drivers_firmware.patch7 Change-Id: I36b7f7c1c8a25ed6657505008ad1251ef7273f99
9 diff --git a/drivers/firmware/arm_scmi/common.h b/drivers/firmware/arm_scmi/common.h
11 --- a/drivers/firmware/arm_scmi/common.h
13 @@ -169,6 +169,7 @@ DECLARE_SCMI_REGISTER_UNREGISTER(perf);
21 diff --git a/drivers/firmware/arm_scmi/smc.c b/drivers/firmware/arm_scmi/smc.c
23 --- a/drivers/firmware/arm_scmi/smc.c
25 @@ -9,9 +9,11 @@
26 #include <linux/arm-smccc.h>
37 @@ -23,6 +25,8 @@
46 @@ -30,8 +34,19 @@ struct scmi_smc {
[all …]
D0033_linux_drivers_soc_scsi_spi_tee_thermal.patch7 Change-Id: I1ba947d26a24ae6708961a663867e136c1171c8d
9 diff --git a/drivers/scsi/scsi_error.c b/drivers/scsi/scsi_error.c
11 --- a/drivers/scsi/scsi_error.c
13 @@ -63,6 +63,13 @@ static int scsi_eh_try_stu(struct scsi_cmnd *scmd);
23 +/* called with shost->host_lock held */
26 lockdep_assert_held(shost->host_lock);
27 @@ -72,6 +79,11 @@ void scsi_eh_wakeup(struct Scsi_Host *shost)
28 wake_up_process(shost->ehandler);
31 + } else if ((shost->host_failed > 0) || (sg_io_buffer_hack != NULL)) {
33 + wake_up_process(shost->ehandler);
[all …]
/kernel/linux/linux-6.6/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <media/v4l2-common.h>
16 #include "pvrusb2-std.h"
17 #include "pvrusb2-util.h"
18 #include "pvrusb2-hdw.h"
19 #include "pvrusb2-i2c-core.h"
20 #include "pvrusb2-eeprom.h"
21 #include "pvrusb2-hdw-internal.h"
22 #include "pvrusb2-encoder.h"
23 #include "pvrusb2-debug.h"
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c1 // SPDX-License-Identifier: GPL-2.0-only
13 #include <media/v4l2-common.h>
16 #include "pvrusb2-std.h"
17 #include "pvrusb2-util.h"
18 #include "pvrusb2-hdw.h"
19 #include "pvrusb2-i2c-core.h"
20 #include "pvrusb2-eeprom.h"
21 #include "pvrusb2-hdw-internal.h"
22 #include "pvrusb2-encoder.h"
23 #include "pvrusb2-debug.h"
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/chips-media/
Dcoda-bit.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Coda multi-standard codec IP - BIT processor functions
6 * Javier Martin, <javier.martin@vista-silicon.com>
8 * Copyright (C) 2012-2014 Philipp Zabel, Pengutronix
21 #include <media/v4l2-common.h>
22 #include <media/v4l2-ctrls.h>
23 #include <media/v4l2-fh.h>
24 #include <media/v4l2-mem2mem.h>
25 #include <media/videobuf2-v4l2.h>
26 #include <media/videobuf2-dma-contig.h>
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0001_linux_arch.patch7 Change-Id: I8c7b42f8858212fb4b2d56a871d3f4d5afc73954
9 diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig
11 --- a/arch/arm64/Kconfig
13 @@ -183,7 +183,6 @@ config ARM64
17 - select HOLES_IN_ZONE
21 @@ -1023,6 +1022,9 @@ config NEED_PER_CPU_EMBED_FIRST_CHUNK
31 @@ -1148,7 +1150,7 @@ config XEN
35 - int
40 @@ -1182,15 +1184,6 @@ config UNMAP_KERNEL_AT_EL0
44 -config MITIGATE_SPECTRE_BRANCH_HISTORY
[all …]

12