Home
last modified time | relevance | path

Searched +full:max +full:- +full:frame +full:- +full:size (Results 1 – 25 of 1043) sorted by relevance

12345678910>>...42

/kernel/linux/linux-6.6/drivers/media/platform/st/sti/hva/
Dhva-h264.c1 // SPDX-License-Identifier: GPL-2.0
9 #include "hva-hw.h"
15 /* video max size*/
23 /* formula to get temporal or spatial data size */
32 /* source buffer copy in YUV 420 MB-tiled format with size=16*256*3/2 */
37 * for deblocking with size=4*16*MBx*2
41 /* factor for bitrate and cpb buffer size max values if profile >= high */
44 /* factor for bitrate and cpb buffer size max values if profile < high */
152 * @frame_width: width in pixels of the buffer containing the input frame
153 * @frame_height: height in pixels of the buffer containing the input frame
[all …]
Dhva-debugfs.c1 // SPDX-License-Identifier: GPL-2.0
11 #include "hva-hw.h"
15 struct hva_streaminfo *stream = &ctx->streaminfo; in format_ctx()
16 struct hva_frameinfo *frame = &ctx->frameinfo; in format_ctx() local
17 struct hva_controls *ctrls = &ctx->ctrls; in format_ctx()
18 struct hva_ctx_dbg *dbg = &ctx->dbg; in format_ctx()
21 seq_printf(s, "|-%s\n |\n", ctx->name); in format_ctx()
23 seq_printf(s, " |-[%sframe info]\n", in format_ctx()
24 ctx->flags & HVA_FLAG_FRAMEINFO ? "" : "default "); in format_ctx()
25 seq_printf(s, " | |- pixel format=%4.4s\n" in format_ctx()
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/
Dhva-h264.c1 // SPDX-License-Identifier: GPL-2.0
9 #include "hva-hw.h"
15 /* video max size*/
23 /* formula to get temporal or spatial data size */
32 /* source buffer copy in YUV 420 MB-tiled format with size=16*256*3/2 */
37 * for deblocking with size=4*16*MBx*2
41 /* factor for bitrate and cpb buffer size max values if profile >= high */
44 /* factor for bitrate and cpb buffer size max values if profile < high */
152 * @frame_width: width in pixels of the buffer containing the input frame
153 * @frame_height: height in pixels of the buffer containing the input frame
[all …]
Dhva-debugfs.c1 // SPDX-License-Identifier: GPL-2.0
11 #include "hva-hw.h"
15 struct hva_streaminfo *stream = &ctx->streaminfo; in format_ctx()
16 struct hva_frameinfo *frame = &ctx->frameinfo; in format_ctx() local
17 struct hva_controls *ctrls = &ctx->ctrls; in format_ctx()
18 struct hva_ctx_dbg *dbg = &ctx->dbg; in format_ctx()
21 seq_printf(s, "|-%s\n |\n", ctx->name); in format_ctx()
23 seq_printf(s, " |-[%sframe info]\n", in format_ctx()
24 ctx->flags & HVA_FLAG_FRAMEINFO ? "" : "default "); in format_ctx()
25 seq_printf(s, " | |- pixel format=%4.4s\n" in format_ctx()
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-regs.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com>
8 #include <media/v4l2-common.h>
9 #include <media/videobuf2-v4l2.h>
10 #include <media/videobuf2-dma-contig.h>
11 #include "mtk-mdp3-core.h"
12 #include "mtk-mdp3-regs.h"
13 #include "mtk-mdp3-m2m.h"
22 for (i = 0; i < mdp_data->format_len; ++i) { in mdp_find_fmt()
23 if (!(mdp_data->format[i].flags & flag)) in mdp_find_fmt()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_trace.h1 /* SPDX-License-Identifier: GPL-2.0 */
28 __array(u32, frame, 3)
33 struct drm_i915_private *dev_priv = to_i915(crtc->base.dev);
35 for_each_intel_crtc(&dev_priv->drm, it__) {
36 __entry->frame[it__->pipe] = intel_crtc_get_vblank_counter(it__);
37 __entry->scanline[it__->pipe] = intel_get_crtc_scanline(it__);
39 __entry->pipe = crtc->pipe;
42 …TP_printk("pipe %c enable, pipe A: frame=%u, scanline=%u, pipe B: frame=%u, scanline=%u, pipe C: f…
43 pipe_name(__entry->pipe),
44 __entry->frame[PIPE_A], __entry->scanline[PIPE_A],
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/exynos-gsc/
Dgsc-core.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd.
6 * header file for Samsung EXYNOS5 SoC series G-Scaler driver
20 #include <media/videobuf2-v4l2.h>
21 #include <media/v4l2-ctrls.h>
22 #include <media/v4l2-device.h>
23 #include <media/v4l2-mem2mem.h>
24 #include <media/v4l2-mediabus.h>
25 #include <media/videobuf2-dma-contig.h>
27 #include "gsc-regs.h"
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
11 * ixgbe_ieee_credits - This calculates the ieee traffic class
18 * @max: max credits by traffic class
19 * @max_frame: maximum frame size
22 __u16 *max, int max_frame) in ixgbe_ieee_credits() argument
28 min_credit = ((max_frame / 2) + DCB_CREDIT_QUANTUM - 1) / in ixgbe_ieee_credits()
46 max[i] = bw[i] ? (bw[i] * MAX_CREDIT)/100 : min_credit; in ixgbe_ieee_credits()
52 * ixgbe_dcb_calculate_tc_credits - Calculates traffic class credits
55 * @max_frame: Maximum frame size
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
11 * ixgbe_ieee_credits - This calculates the ieee traffic class
18 * @max: max credits by traffic class
19 * @max_frame: maximum frame size
22 __u16 *max, int max_frame) in ixgbe_ieee_credits() argument
28 min_credit = ((max_frame / 2) + DCB_CREDIT_QUANTUM - 1) / in ixgbe_ieee_credits()
46 max[i] = bw[i] ? (bw[i] * MAX_CREDIT)/100 : min_credit; in ixgbe_ieee_credits()
52 * ixgbe_dcb_calculate_tc_credits - Calculates traffic class credits
55 * @max_frame: Maximum frame size
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/samsung/exynos-gsc/
Dgsc-core.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2011 - 2012 Samsung Electronics Co., Ltd.
6 * header file for Samsung EXYNOS5 SoC series G-Scaler driver
20 #include <media/videobuf2-v4l2.h>
21 #include <media/v4l2-ctrls.h>
22 #include <media/v4l2-device.h>
23 #include <media/v4l2-mem2mem.h>
24 #include <media/v4l2-mediabus.h>
25 #include <media/videobuf2-dma-contig.h>
27 #include "gsc-regs.h"
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/
Dsocionext-netsec.txt4 - compatible: Should be "socionext,synquacer-netsec"
5 - reg: Address and length of the control register area, followed by the
8 - interrupts: Should contain ethernet controller interrupt
9 - clocks: phandle to the PHY reference clock
10 - clock-names: Should be "phy_ref_clk"
11 - phy-mode: See ethernet.txt file in the same directory
12 - phy-handle: See ethernet.txt in the same directory.
14 - mdio device tree subnode: When the Netsec has a phy connected to its local
18 - #address-cells: Must be <1>.
19 - #size-cells: Must be <0>.
[all …]
Dsamsung-sxgbe.txt4 - compatible: Should be "samsung,sxgbe-v2.0a"
5 - reg: Address and length of the register set for the device
6 - interrupts: Should contain the SXGBE interrupts
9 index 0 - this is fixed common interrupt of SXGBE and it is always
11 index 1 to 25 - 8 variable trasmit interrupts, variable 16 receive interrupts
13 - phy-mode: String, operation mode of the PHY interface.
15 - samsung,pbl: Integer, Programmable Burst Length.
17 - samsung,burst-map: Integer, Program the possible bursts supported by sxgbe
19 Allowable range is 0x01-0x3F. When this field is set fixed burst is enabled.
24 - max-frame-size: Maximum Transfer Unit (IEEE defined MTU), rather
[all …]
/kernel/linux/linux-6.6/drivers/media/platform/samsung/s5p-mfc/
Dregs-mfc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
15 #define S5P_FIMV_REG_SIZE (S5P_FIMV_END_ADDR - S5P_FIMV_START_ADDR)
16 #define S5P_FIMV_REG_COUNT ((S5P_FIMV_END_ADDR - S5P_FIMV_START_ADDR) / 4)
84 /* VC-1 decoding */
141 #define S5P_FIMV_ENC_HSIZE_PX 0x0818 /* frame width at encoder */
142 #define S5P_FIMV_ENC_VSIZE_PX 0x081c /* frame height at encoder */
150 #define S5P_FIMV_ENC_PIC_STRUCT 0x083c /* picture field/frame flag */
170 decode a frame */
178 #define S5P_FIMV_SI_CH0_SB_FRM_SIZE 0x2048 /* size of stream buf */
180 #define S5P_FIMV_SI_CH0_CPB_SIZE 0x2058 /* max size of coded pic. buf */
[all …]
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
Dregs-mfc.h1 /* SPDX-License-Identifier: GPL-2.0-only */
15 #define S5P_FIMV_REG_SIZE (S5P_FIMV_END_ADDR - S5P_FIMV_START_ADDR)
16 #define S5P_FIMV_REG_COUNT ((S5P_FIMV_END_ADDR - S5P_FIMV_START_ADDR) / 4)
84 /* VC-1 decoding */
141 #define S5P_FIMV_ENC_HSIZE_PX 0x0818 /* frame width at encoder */
142 #define S5P_FIMV_ENC_VSIZE_PX 0x081c /* frame height at encoder */
150 #define S5P_FIMV_ENC_PIC_STRUCT 0x083c /* picture field/frame flag */
170 decode a frame */
178 #define S5P_FIMV_SI_CH0_SB_FRM_SIZE 0x2048 /* size of stream buf */
180 #define S5P_FIMV_SI_CH0_CPB_SIZE 0x2058 /* max size of coded pic. buf */
[all …]
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
Dv4l2-ctrls-defs.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 2010-2021 Hans Verkuil <hverkuil-cisco@xs4all.nl>
9 #include <media/v4l2-ctrls.h>
26 "MPEG-1/2 Layer I", in v4l2_ctrl_get_menu()
27 "MPEG-1/2 Layer II", in v4l2_ctrl_get_menu()
28 "MPEG-1/2 Layer III", in v4l2_ctrl_get_menu()
29 "MPEG-2/4 AAC", in v4l2_ctrl_get_menu()
30 "AC-3", in v4l2_ctrl_get_menu()
128 "16-bit CRC", in v4l2_ctrl_get_menu()
141 "MPEG-1", in v4l2_ctrl_get_menu()
[all …]
/kernel/linux/linux-5.10/drivers/usb/host/
Dimx21-dbg.c1 // SPDX-License-Identifier: GPL-2.0+
6 /* this file is part of imx21-hcd.c */
26 static inline void debug_dmem_allocated(struct imx21 *imx21, int size) {} in debug_dmem_allocated() argument
27 static inline void debug_dmem_freed(struct imx21 *imx21, int size) {} in debug_dmem_freed() argument
29 int frame, struct td *td) {} in debug_isoc_submitted() argument
31 int frame, struct td *td, int cc, int len) {} in debug_isoc_completed() argument
60 return usb_pipeisoc(urb->pipe) ? in stats_for_urb()
61 &imx21->isoc_stats : &imx21->nonisoc_stats; in stats_for_urb()
66 stats_for_urb(imx21, urb)->submitted++; in debug_urb_submitted()
72 stats_for_urb(imx21, urb)->completed_failed++; in debug_urb_completed()
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/freescale/
Dfsl-ls1012a-qds.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "fsl-ls1012a.dtsi"
14 compatible = "fsl,ls1012a-qds", "fsl,ls1012a";
21 sys_mclk: clock-mclk {
22 compatible = "fixed-clock";
23 #clock-cells = <0>;
24 clock-frequency = <24576000>;
27 reg_3p3v: regulator-3p3v {
28 compatible = "regulator-fixed";
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/freescale/
Dfsl-ls1012a-qds.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 /dts-v1/;
10 #include "fsl-ls1012a.dtsi"
14 compatible = "fsl,ls1012a-qds", "fsl,ls1012a";
16 sys_mclk: clock-mclk {
17 compatible = "fixed-clock";
18 #clock-cells = <0>;
19 clock-frequency = <24576000>;
22 reg_3p3v: regulator-3p3v {
23 compatible = "regulator-fixed";
[all …]
/kernel/linux/linux-5.10/Documentation/networking/
Dpacket_mmap.rst1 .. SPDX-License-Identifier: GPL-2.0
22 - Ulisses Alonso Camaró <uaca@i.hate.spam.alumni.uv.es>
23 - Johann Baudy
33 In the other hand PACKET_MMAP is very efficient. PACKET_MMAP provides a size
67 [setup] socket() -------> creation of the capture socket
68 setsockopt() ---> allocation of the circular buffer (ring)
70 mmap() ---------> mapping of the allocated buffer to the
73 [capture] poll() ---------> to wait for incoming packets
75 [shutdown] close() --------> destruction of the capture socket and
88 supported and a link level pseudo-header is provided
[all …]
/kernel/linux/linux-6.6/Documentation/networking/
Dpacket_mmap.rst1 .. SPDX-License-Identifier: GPL-2.0
22 - Ulisses Alonso Camaró <uaca@i.hate.spam.alumni.uv.es>
23 - Johann Baudy
33 On the other hand PACKET_MMAP is very efficient. PACKET_MMAP provides a size
67 [setup] socket() -------> creation of the capture socket
68 setsockopt() ---> allocation of the circular buffer (ring)
70 mmap() ---------> mapping of the allocated buffer to the
73 [capture] poll() ---------> to wait for incoming packets
75 [shutdown] close() --------> destruction of the capture socket and
88 supported and a link level pseudo-header is provided
[all …]
/kernel/linux/linux-5.10/sound/usb/
Dcard.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 unsigned int fmt_type; /* USB audio format type (1-3) */
18 unsigned int frame_size; /* samples per frame for non-audio */
27 unsigned int maxpacksize; /* max. packet size */
29 unsigned int rate_min, rate_max; /* min/max rates */
45 unsigned int buffer_size; /* size of data buffer, if data URB */
50 int packet_size[MAX_PACKS_HS]; /* size of packets for next submission */
96 unsigned int maxpacksize; /* max packet size in bytes */
97 unsigned int maxframesize; /* max packet size in frames */
98 unsigned int max_urb_frames; /* max URB size in frames */
[all …]
/kernel/linux/linux-6.6/drivers/crypto/caam/
Derror.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2009-2011 Freescale Semiconductor, Inc.
36 buf = it_page + it->offset; in caam_dump_sg()
37 len = min_t(size_t, tlen, it->length); in caam_dump_sg()
40 tlen -= len; in caam_dump_sg()
82 …he input or output sequence length below 0. This error may result if a built-in PROTOCOL Command h…
95 …{ 0x1F, "LIODN error. DECO was trying to share from itself or from another DECO but the two Non-SE…
98 …r TLS decap (input frame; block ciphers) and IPsec decap (output frame, when doing the next header…
99 { 0x23, "Read Input Frame error" },
104 { 0x83, "Anti-replay LATE error" },
[all …]
/kernel/linux/linux-5.10/drivers/crypto/caam/
Derror.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2009-2011 Freescale Semiconductor, Inc.
36 buf = it_page + it->offset; in caam_dump_sg()
37 len = min_t(size_t, tlen, it->length); in caam_dump_sg()
40 tlen -= len; in caam_dump_sg()
82 …he input or output sequence length below 0. This error may result if a built-in PROTOCOL Command h…
95 …{ 0x1F, "LIODN error. DECO was trying to share from itself or from another DECO but the two Non-SE…
98 …r TLS decap (input frame; block ciphers) and IPsec decap (output frame, when doing the next header…
99 { 0x23, "Read Input Frame error" },
104 { 0x83, "Anti-replay LATE error" },
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/
Dsamsung-sxgbe.txt4 - compatible: Should be "samsung,sxgbe-v2.0a"
5 - reg: Address and length of the register set for the device
6 - interrupts: Should contain the SXGBE interrupts
9 index 0 - this is fixed common interrupt of SXGBE and it is always
11 index 1 to 25 - 8 variable transmit interrupts, variable 16 receive interrupts
13 - phy-mode: String, operation mode of the PHY interface.
15 - samsung,pbl: Integer, Programmable Burst Length.
17 - samsung,burst-map: Integer, Program the possible bursts supported by sxgbe
19 Allowable range is 0x01-0x3F. When this field is set fixed burst is enabled.
24 - max-frame-size: Maximum Transfer Unit (IEEE defined MTU), rather
[all …]
/kernel/linux/linux-6.6/sound/usb/
Dcard.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 unsigned int fmt_type; /* USB audio format type (1-3) */
18 unsigned int frame_size; /* samples per frame for non-audio */
33 unsigned int maxpacksize; /* max. packet size */
35 unsigned int rate_min, rate_max; /* min/max rates */
53 unsigned int buffer_size; /* size of data buffer, if data URB */
59 int packet_size[MAX_PACKS_HS]; /* size of packets for next submission */
68 int opened; /* open refcount; protect with chip->mutex */
116 unsigned int maxpacksize; /* max packet size in bytes */
117 unsigned int maxframesize; /* max packet size in frames */
[all …]

12345678910>>...42