/Linux-v6.1/drivers/media/platform/st/sti/hva/ |
D | hva-h264.c | 1 // 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 …]
|
D | hva-debugfs.c | 1 // 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 …]
|
/Linux-v6.1/drivers/media/platform/mediatek/mdp3/ |
D | mtk-mdp3-regs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Author: Ping-Hsun Wu <ping-hsun.wu@mediatek.com> 7 #include <media/v4l2-common.h> 8 #include <media/videobuf2-v4l2.h> 9 #include <media/videobuf2-dma-contig.h> 10 #include "mtk-mdp3-core.h" 11 #include "mtk-mdp3-regs.h" 12 #include "mtk-mdp3-m2m.h" 15 * All 10-bit related formats are not added in the basic format list, 292 struct v4l2_pix_format_mplane *pix_mp = &f->fmt.pix_mp; in mdp_map_ycbcr_prof_mplane() [all …]
|
/Linux-v6.1/drivers/media/platform/samsung/exynos-gsc/ |
D | gsc-core.h | 1 /* 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 …]
|
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb.c | 1 // 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 …]
|
/Linux-v6.1/drivers/media/platform/samsung/s5p-mfc/ |
D | regs-mfc.h | 1 /* 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 …]
|
/Linux-v6.1/drivers/media/v4l2-core/ |
D | v4l2-ctrls-defs.c | 1 // 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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/net/ |
D | socionext-netsec.txt | 4 - 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 …]
|
D | samsung-sxgbe.txt | 4 - 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 …]
|
D | ibm,emac.txt | 8 correct clock-frequency property. 13 - device_type : "network" 15 - compatible : compatible list, contains 2 entries, first is 16 "ibm,emac-CHIP" where CHIP is the host ASIC (440gx, 18 "ibm,emac4". For Axon, thus, we have: "ibm,emac-axon", 20 - interrupts : <interrupt mapping for EMAC IRQ and WOL IRQ> 21 - reg : <registers mapping> 22 - local-mac-address : 6 bytes, MAC address 23 - mal-device : phandle of the associated McMAL node 24 - mal-tx-channel : 1 cell, index of the tx channel on McMAL associated [all …]
|
/Linux-v6.1/Documentation/networking/ |
D | packet_mmap.rst | 1 .. 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 …]
|
/Linux-v6.1/arch/arm64/boot/dts/freescale/ |
D | fsl-ls1012a-qds.dts | 1 // 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 …]
|
/Linux-v6.1/drivers/crypto/caam/ |
D | error.c | 1 // 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 …]
|
/Linux-v6.1/sound/usb/ |
D | card.h | 1 /* 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 …]
|
/Linux-v6.1/drivers/net/ethernet/freescale/ |
D | ucc_geth.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright (C) Freescale Semicondutor, Inc. 2006-2009. All rights reserved. 12 * - Rearrange code and style fixes 40 u8 res0[0x100 - sizeof(struct ucc_fast)]; 45 u32 hafdup; /* half-duplex reg. */ 56 u8 res3[0x180 - 0x15A]; 104 u8 res5[0x200 - 0x1c4]; 118 #define TEMODER_NUM_OF_QUEUES_SHIFT (15-15) /* Number of queues << 127 #define REMODER_VLAN_OPERATION_TAGGED_SHIFT (31-9 ) /* vlan operation 129 #define REMODER_VLAN_OPERATION_NON_TAGGED_SHIFT (31-10) /* vlan operation non [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | params.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 20 u8 req_page_shift = xsk ? order_base_2(xsk->chunk_size) : PAGE_SHIFT; in mlx5e_mpwrq_page_shift() 23 /* Regular RQ uses order-0 pages, the NIC must be able to map them. */ in mlx5e_mpwrq_page_shift() 27 return max(req_page_shift, min_page_shift); in mlx5e_mpwrq_page_shift() 34 * user-mode memory. The stricter guarantees we have, the faster in mlx5e_mpwrq_umr_mode() 36 * 1. MTT - direct mapping in page granularity. in mlx5e_mpwrq_umr_mode() 37 * 2. KSM - indirect mapping to another MKey to arbitrary addresses, but in mlx5e_mpwrq_umr_mode() 38 * all mappings have the same size. in mlx5e_mpwrq_umr_mode() 39 * 3. KLM - indirect mapping to another MKey to arbitrary addresses, and in mlx5e_mpwrq_umr_mode() 43 bool unaligned = xsk ? xsk->unaligned : false; in mlx5e_mpwrq_umr_mode() [all …]
|
/Linux-v6.1/drivers/media/usb/uvc/ |
D | uvc_v4l2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * uvc_v4l2.c -- USB Video Class driver - V4L2 API 5 * Copyright (C) 2005-2010 21 #include <media/v4l2-common.h> 22 #include <media/v4l2-ctrls.h> 23 #include <media/v4l2-event.h> 24 #include <media/v4l2-ioctl.h> 28 /* ------------------------------------------------------------------------ 35 unsigned int size; in uvc_ioctl_ctrl_map() local 40 return -ENOMEM; in uvc_ioctl_ctrl_map() [all …]
|
/Linux-v6.1/drivers/media/usb/stk1160/ |
D | stk1160.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 6 * <elezegarcia--a.t--gmail.com> 10 * <rmthomas--a.t--sciolus.org> 16 #include <media/videobuf2-v4l2.h> 17 #include <media/v4l2-device.h> 18 #include <media/v4l2-ctrls.h> 36 /* Max and min video buffers */ 71 /* Buffer for one video frame */ 73 /* common v4l buffer stuff -- must be first */ 83 * Since we interlace two fields per frame, [all …]
|
/Linux-v6.1/drivers/media/platform/samsung/exynos4-is/ |
D | fimc-core.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (C) 2010 - 2012 Samsung Electronics Co., Ltd. 21 #include <media/media-entity.h> 22 #include <media/videobuf2-v4l2.h> 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-device.h> 25 #include <media/v4l2-mem2mem.h> 26 #include <media/v4l2-mediabus.h> 27 #include <media/drv-intf/exynos-fimc.h> 32 /* Time to wait for next frame VSYNC interrupt while stopping operation. */ [all …]
|
/Linux-v6.1/drivers/net/ethernet/apple/ |
D | bmac.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * mace.h - definitions for the registers in the "Big Mac" 17 #define XIFC 0x000 /* low-level interface control */ 19 # define XIFLoopback 0x0002 /* Loopback-mode XIF enable */ 20 # define MIILoopback 0x0004 /* Loopback-mode MII enable */ 48 #define STATUS 0x200 /* status--reading this clears it */ 51 # define FrameReceived 0x00000001 /* Received a frame */ 52 # define RxFrameCntExp 0x00000002 /* Receive frame counter expired */ 53 # define RxAlignCntExp 0x00000004 /* Align-error counter expired */ 54 # define RxCRCCntExp 0x00000008 /* CRC-error counter expired */ [all …]
|
/Linux-v6.1/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00queue.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 Copyright (C) 2004 - 2010 Ivo van Doorn <IvDoorn@gmail.com> 19 * DOC: Entry frame size 21 * Ralink PCI devices demand the Frame size to be a multiple of 128 bytes, 24 * size according to the ieee802.11 specs. 25 * The aggregation size depends on support from the driver, but should 64 * @SKBDESC_IV_STRIPPED: Frame contained a IV/EIV provided by 66 * @SKBDESC_NOT_MAC80211: Frame didn't originate from mac80211, 83 * this structure should not exceed the size of that array (40 bytes). 85 * @flags: Frame flags, see &enum skb_frame_desc_flags. [all …]
|
/Linux-v6.1/drivers/net/ethernet/sun/ |
D | sunbmac.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 #define GLOB_PSIZE 0x08UL /* Packet Size */ 15 #define GLOB_MSIZE 0x0cUL /* Local-mem size (64K) */ 16 #define GLOB_RSIZE 0x10UL /* Receive partition size */ 17 #define GLOB_TSIZE 0x14UL /* Transmit partition size */ 34 #define GLOB_PSIZE_2048 0x00 /* 2k packet size */ 35 #define GLOB_PSIZE_4096 0x01 /* 4k packet size */ 36 #define GLOB_PSIZE_6144 0x10 /* 6k packet size */ 37 #define GLOB_PSIZE_8192 0x11 /* 8k packet size */ 87 /* 0x004-->0x0fc, reserved */ [all …]
|
/Linux-v6.1/include/linux/ |
D | zstd.h | 1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 6 * This source code is licensed under both the BSD-style license (found in the 10 * above-listed licenses. 17 * This is a kernel-style API that wraps the upstream zstd API, which cannot be 30 * zstd_compress_bound() - maximum compressed size in worst case scenario 31 * @src_size: The size of the data to compress. 33 * Return: The maximum compressed size in the worst case scenario. 38 * zstd_is_error() - tells if a size_t function result is an error code 41 * Return: Non-zero iff the code is an error. 46 * enum zstd_error_code - zstd error codes [all …]
|
D | bpf_verifier.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 14 * ensures that umax_value + (int)off + (int)size cannot overflow a u64. 17 /* Maximum variable size permitted for ARG_CONST_SIZE[_OR_ZERO]. This ensures 21 /* size of type_str_buf in bpf_verifier. */ 24 /* Liveness marks, used for registers and spilled-regs (in stack slots). 29 * straight-line code that reached this state (from its parent) wrote this reg" 40 REG_LIVE_READ64 = 0x2, /* likewise, but full 64-bit content matters */ 61 * the map_uid is non-zero for registers 87 /* Max size from any of the above. */ [all …]
|
/Linux-v6.1/net/atm/ |
D | lec.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 61 * but not padding required to meet the minimum data frame length, 69 /* Hash table size */ 109 * given frame's LAN Destination more than maximum retry count times, 114 * Max time the client will maintain an entry in its arp cache in 119 * Max time the client will maintain an entry in cache when 125 * Max time the client expects an LE_ARP_REQUEST/LE_ARP_RESPONSE 134 /* The time since sending a frame to the bus after which the 135 * LE Client may assume that the frame has been either discarded or 141 u32 sizeoftlvs; /* The size of the tlv array in bytes */ [all …]
|