/linux-6.12.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-6.12.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> 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 …]
|
/linux-6.12.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-6.12.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-6.12.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-6.12.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-6.12.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-6.12.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-6.12.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-6.12.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-6.12.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-6.12.1/Documentation/devicetree/bindings/net/ |
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 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 …]
|
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-6.12.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 22 #include <media/v4l2-common.h> 23 #include <media/v4l2-ctrls.h> 24 #include <media/v4l2-event.h> 25 #include <media/v4l2-ioctl.h> 34 size_t size; in uvc_control_add_xu_mapping() local 41 if (xmap->menu_count == 0 || in uvc_control_add_xu_mapping() 42 xmap->menu_count > UVC_MAX_CONTROL_MENU_ENTRIES) in uvc_control_add_xu_mapping() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | params.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 22 u8 req_page_shift = xsk ? order_base_2(xsk->chunk_size) : PAGE_SHIFT; in mlx5e_mpwrq_page_shift() 25 /* Regular RQ uses order-0 pages, the NIC must be able to map them. */ in mlx5e_mpwrq_page_shift() 29 return max(req_page_shift, min_page_shift); in mlx5e_mpwrq_page_shift() 36 * user-mode memory. The stricter guarantees we have, the faster in mlx5e_mpwrq_umr_mode() 38 * 1. MTT - direct mapping in page granularity. in mlx5e_mpwrq_umr_mode() 39 * 2. KSM - indirect mapping to another MKey to arbitrary addresses, but in mlx5e_mpwrq_umr_mode() 40 * all mappings have the same size. in mlx5e_mpwrq_umr_mode() 41 * 3. KLM - indirect mapping to another MKey to arbitrary addresses, and in mlx5e_mpwrq_umr_mode() 45 bool unaligned = xsk ? xsk->unaligned : false; in mlx5e_mpwrq_umr_mode() [all …]
|
/linux-6.12.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-6.12.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-6.12.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-6.12.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-6.12.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-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/ |
D | mtk_vcodec_dec_stateless.c | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <media/videobuf2-v4l2.h> 4 #include <media/videobuf2-dma-contig.h> 5 #include <media/v4l2-event.h> 6 #include <media/v4l2-mem2mem.h> 14 * struct mtk_stateless_control - CID control type 52 .max = V4L2_MPEG_VIDEO_H264_PROFILE_HIGH, 64 .max = V4L2_MPEG_VIDEO_H264_LEVEL_4_2, 73 .max = V4L2_STATELESS_H264_DECODE_MODE_FRAME_BASED, 82 .max = V4L2_STATELESS_H264_START_CODE_ANNEX_B, [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/usb/ |
D | chipidea,usb2-common.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/usb/chipidea,usb2-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Xu Yang <xu.yang_2@nxp.com> 25 clock-names: 31 power-domains: 37 reset-names: 40 "#reset-cells": 45 itc-setting: [all …]
|
/linux-6.12.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 …]
|
/linux-6.12.1/Documentation/userspace-api/media/v4l/ |
D | vidioc-enum-frameintervals.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 VIDIOC_ENUM_FRAMEINTERVALS - Enumerate frame intervals 30 that contains a pixel format and size and receives a frame interval. 35 This ioctl allows applications to enumerate all frame intervals that the 36 device supports for the given pixel format and frame size. 38 The supported pixel formats and frame sizes can be obtained by using the 43 depend on the type of frame intervals the device supports. Here are the 46 - **Discrete:** The function returns success if the given index value 47 (zero-based) is valid. The application should increase the index by 53 - **Step-wise:** The function returns success if the given index value [all …]
|