| /OK3568_Linux_fs/kernel/drivers/media/platform/sti/hva/ |
| H A 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 …]
|
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/ |
| H A D | i915_trace.h | 1 /* 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/exynos-gsc/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/isp/ |
| H A D | version.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 #include <linux/rk-isp21-config.h> 23 * 2. fix picture of hdr is abnormal in multi-visual isp when run second time 31 * 3. switch hdr frame mode for read back 59 * 4. skip frame when change hdr/normal mode 60 * 5. use ldch share buffer to reduce buffer size 65 * 3. enable LDCH in 2th frame 69 * 2. fix size no update for multi sensor switch 74 * 2. support output isp/ispp reg on each frame 86 * 9. fix frame id error for isp21 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/s5p-mfc/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/host/ |
| H A D | imx21-dbg.c | 1 // 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/networking/ |
| H A 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 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/ |
| H A D | 802.11.h | 6 * Copyright (C) 1999-2017, Broadcom Corporation 27 * <<Broadcom-WL-IPTag/Open:>> 50 /* Generic 802.11 frame constants */ 57 #define DOT11_MAX_ICV_AES_LEN 16 /* d11 MAX ICV/AES length */ 69 #define DOT11_MAX_MPDU_BODY_LEN 2304 /* max MPDU body length */ 76 DOT11_FCS_LEN) /* d11 max MPDU length */ 78 #define DOT11_MAX_SSID_LEN 32 /* d11 max ssid length */ 82 #define DOT11_MAX_RTS_LEN 2347 /* d11 max RTS length */ 86 #define DOT11_MAX_FRAG_LEN 2346 /* Max frag is also limited by aMPDUMaxLength 93 #define DOT11_MAX_BEACON_PERIOD 0xFFFF /* d11 max beacon period */ [all …]
|
| H A D | 802.11ax.h | 7 * Copyright (C) 1999-2017, Broadcom Corporation 28 * <<Broadcom-WL-IPTag/Open:>> 41 /* special STA-IDs (Section 27.11.1) */ 56 /* HE MAC Capabilities Information field (figure 9-589ck) */ 69 #define HE_MAC_MAX_MSDU_AMSDU_FRAGS_IDX 5 /* Max. Fragmented MSDUs/AMSDUs Exponent */ 71 #define HE_MAC_MIN_FRAG_SIZE_IDX 8 /* Min. Fragment Size */ 73 #define HE_MAC_TRG_PAD_DUR_IDX 10 /* Trigger Frame MAC Pad Dur */ 83 #define HE_MAC_A_BSR_IDX 19 /* A-BSR Support */ 87 #define HE_MAC_BA_32BITMAP_SUPPORT_IDX 21 /* 32-bit BA Bitmap Support */ 95 #define HE_MAC_OMI_ACONTROL_SUPPORT_IDX 25 /* OMI A-Control Support */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/ |
| H A D | 802.11.h | 6 * Copyright (C) 1999-2017, Broadcom Corporation 27 * <<Broadcom-WL-IPTag/Open:>> 50 /* Generic 802.11 frame constants */ 57 #define DOT11_MAX_ICV_AES_LEN 16 /* d11 MAX ICV/AES length */ 69 #define DOT11_MAX_MPDU_BODY_LEN 2304 /* max MPDU body length */ 76 DOT11_FCS_LEN) /* d11 max MPDU length */ 78 #define DOT11_MAX_SSID_LEN 32 /* d11 max ssid length */ 82 #define DOT11_MAX_RTS_LEN 2347 /* d11 max RTS length */ 86 #define DOT11_MAX_FRAG_LEN 2346 /* Max frag is also limited by aMPDUMaxLength 93 #define DOT11_MAX_BEACON_PERIOD 0xFFFF /* d11 max beacon period */ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/ |
| H A D | 802.11.h | 6 * Copyright (C) 1999-2017, Broadcom Corporation 27 * <<Broadcom-WL-IPTag/Open:>> 50 /* Generic 802.11 frame constants */ 57 #define DOT11_MAX_ICV_AES_LEN 16 /* d11 MAX ICV/AES length */ 69 #define DOT11_MAX_MPDU_BODY_LEN 2304 /* max MPDU body length */ 76 DOT11_FCS_LEN) /* d11 max MPDU length */ 78 #define DOT11_MAX_SSID_LEN 32 /* d11 max ssid length */ 82 #define DOT11_MAX_RTS_LEN 2347 /* d11 max RTS length */ 86 #define DOT11_MAX_FRAG_LEN 2346 /* Max frag is also limited by aMPDUMaxLength 93 #define DOT11_MAX_BEACON_PERIOD 0xFFFF /* d11 max beacon period */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/caam/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/include/ |
| H A D | 802.11.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 1999-2017, Broadcom Corporation 26 * <<Broadcom-WL-IPTag/Open:>> 28 * $Id: 802.11.h 700693 2017-05-20 20:29:07Z $ 50 /* Generic 802.11 frame constants */ 68 #define DOT11_MAX_MPDU_BODY_LEN 2304 /* max MPDU body length */ 75 DOT11_FCS_LEN) /* d11 max MPDU length */ 77 #define DOT11_MAX_SSID_LEN 32 /* d11 max ssid length */ 81 #define DOT11_MAX_RTS_LEN 2347 /* d11 max RTS length */ 85 #define DOT11_MAX_FRAG_LEN 2346 /* Max frag is also limited by aMPDUMaxLength [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/freescale/ |
| H A 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"; 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 …]
|
| /OK3568_Linux_fs/kernel/sound/usb/ |
| H A D | card.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 18 unsigned int fmt_type; /* USB audio format type (1-3) */ 20 unsigned int frame_size; /* samples per frame for non-audio */ 29 unsigned int maxpacksize; /* max. packet size */ 31 unsigned int rate_min, rate_max; /* min/max rates */ 47 unsigned int buffer_size; /* size of data buffer, if data URB */ 52 int packet_size[MAX_PACKS_HS]; /* size of packets for next submission */ 98 unsigned int maxpacksize; /* max packet size in bytes */ 99 unsigned int maxframesize; /* max packet size in frames */ 100 unsigned int max_urb_frames; /* max URB size in frames */ [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/ |
| H A D | 802.11.h | 21 * <<Broadcom-WL-IPTag/Dual:>> 44 /* Generic 802.11 frame constants */ 51 #define DOT11_MAX_ICV_AES_LEN 16 /* d11 MAX ICV/AES length */ 67 #define DOT11_MAX_MPDU_BODY_LEN 2304 /* max MPDU body length */ 74 DOT11_FCS_LEN) /* d11 max MPDU length */ 76 #define DOT11_MAX_SSID_LEN 32 /* d11 max ssid length */ 80 #define DOT11_MAX_RTS_LEN 2347 /* d11 max RTS length */ 84 #define DOT11_MAX_FRAG_LEN 2346 /* Max frag is also limited by aMPDUMaxLength 91 #define DOT11_MAX_BEACON_PERIOD 0xFFFF /* d11 max beacon period */ 95 #define DOT11_MAX_DTIM_PERIOD 0xFF /* d11 max DTIM period */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/ |
| H A D | 802.11.h | 21 * <<Broadcom-WL-IPTag/Dual:>> 44 /* Generic 802.11 frame constants */ 51 #define DOT11_MAX_ICV_AES_LEN 16 /* d11 MAX ICV/AES length */ 67 #define DOT11_MAX_MPDU_BODY_LEN 2304 /* max MPDU body length */ 74 DOT11_FCS_LEN) /* d11 max MPDU length */ 76 #define DOT11_MAX_SSID_LEN 32 /* d11 max ssid length */ 80 #define DOT11_MAX_RTS_LEN 2347 /* d11 max RTS length */ 84 #define DOT11_MAX_FRAG_LEN 2346 /* Max frag is also limited by aMPDUMaxLength 91 #define DOT11_MAX_BEACON_PERIOD 0xFFFF /* d11 max beacon period */ 95 #define DOT11_MAX_DTIM_PERIOD 0xFF /* d11 max DTIM period */ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/media/usb/uvc/ |
| H A 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/exynos4-is/ |
| H A 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 …]
|
| /OK3568_Linux_fs/external/mpp/mpp/hal/vpu/h264e/ |
| H A D | hal_h264e_vepu_v2.h | 8 * http://www.apache.org/licenses/LICENSE-2.0 71 // original frame Y/Cb/Cr/RGB address 73 // reconstruction frame 82 * 2. nal size table output buffer 83 * 3. recon / refer frame buffer 93 * nal size table buffer 94 * table size must be 64-bit multiple, space for zero at the end of table 102 * recon / refer frame buffer 118 * VEPU MB can have max 10 check points (cp). 135 * mad_qp_change [-8..7] [all …]
|
| /OK3568_Linux_fs/u-boot/doc/device-tree-bindings/net/ |
| H A D | altera_tse.txt | 1 * Altera Triple-Speed Ethernet MAC driver (TSE) 4 - compatible: Should be "altr,tse-1.0" for legacy SGDMA based TSE, and should 5 be "altr,tse-msgdma-1.0" for the preferred MSGDMA based TSE. 6 - reg: Address and length of the register set for the device. It contains 7 the information of registers in the same order as described by reg-names 8 - reg-names: Should contain the reg names 16 - interrupts: Should contain the TSE interrupts and it's mode. 17 - interrupt-names: Should contain the interrupt names 20 - rx-fifo-depth: MAC receive FIFO buffer depth in bytes 21 - tx-fifo-depth: MAC transmit FIFO buffer depth in bytes [all …]
|