| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_fourcc.c | 39 * drm_mode_legacy_fb_format - compute drm fourcc code from legacy description 41 * @depth: bit depth per pixel 43 * Computes a drm fourcc pixel format code for the given @bpp/@depth values. 46 uint32_t drm_mode_legacy_fb_format(uint32_t bpp, uint32_t depth) in drm_mode_legacy_fb_format() argument 52 if (depth == 8) in drm_mode_legacy_fb_format() 57 switch (depth) { in drm_mode_legacy_fb_format() 70 if (depth == 24) in drm_mode_legacy_fb_format() 75 switch (depth) { in drm_mode_legacy_fb_format() 99 * drm_driver_legacy_fb_format - compute drm fourcc code from legacy description 102 * @depth: bit depth per pixel [all …]
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | sbitmap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright (C) 2013-2014 Jens Axboe 21 spin_lock_irqsave(&sb->map[index].swap_lock, flags); in sbitmap_deferred_clear() 23 if (!sb->map[index].cleared) in sbitmap_deferred_clear() 29 mask = xchg(&sb->map[index].cleared, 0); in sbitmap_deferred_clear() 35 val = sb->map[index].word; in sbitmap_deferred_clear() 36 } while (cmpxchg(&sb->map[index].word, val, val & ~mask) != val); in sbitmap_deferred_clear() 40 spin_unlock_irqrestore(&sb->map[index].swap_lock, flags); in sbitmap_deferred_clear() 44 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, in sbitmap_init_node() argument 58 if (depth >= 4) { in sbitmap_init_node() [all …]
|
| /OK3568_Linux_fs/buildroot/package/rubix/ |
| H A D | 0002-misc-fixes.patch | 1 diff -Nrup rubix-1.0.5/fillpoly.c rubix-1.0.5-avr32/fillpoly.c 2 --- rubix-1.0.5/fillpoly.c 2003-10-12 15:41:43.000000000 -0400 3 +++ rubix-1.0.5-avr32/fillpoly.c 2008-02-29 12:39:51.000000000 -0500 4 @@ -435,7 +435,7 @@ void fill_lines(device *d, int thecol) 8 - } else if (d->depth==16) { /* here 16bpp */ 9 + } else if ((d->depth==16) | (d->depth==15)) { /* here 16bpp */ 13 diff -Nrup rubix-1.0.5/line.c rubix-1.0.5-avr32/line.c 14 --- rubix-1.0.5/line.c 2003-10-12 14:15:19.000000000 -0400 15 +++ rubix-1.0.5-avr32/line.c 2008-02-29 12:39:51.000000000 -0500 16 @@ -1317,7 +1317,7 @@ void drawline(device *d, line *l) [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/OpenCV-android-sdk/sdk/native/jni/include/opencv2/core/ |
| H A D | traits.hpp | 13 // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 59 @note Deprecated. This is replaced by "single purpose" traits: traits::Type and traits::Depth 64 form CV_\<bit-depth\>{U|S|F}C(\<number_of_channels\>), for example: uchar \~ CV_8UC1, 3-element 65 floating-point tuple \~ CV_32FC3, and so on. A universal OpenCV structure that is able to store a 89 enum { depth = DataDepth<_Tp>::value, channels=2, 90 fmt=(channels-1)*256+DataDepth<_Tp>::fmt, 91 type=CV_MAKETYPE(depth, channels) }; 95 The main purpose of this class is to convert compilation-time type information to an 96 OpenCV-compatible data type identifier, for example: 98 // allocates a 30x40 floating-point matrix [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/ |
| H A D | traits.hpp | 13 // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 59 @note Deprecated. This is replaced by "single purpose" traits: traits::Type and traits::Depth 64 form CV_\<bit-depth\>{U|S|F}C(\<number_of_channels\>), for example: uchar \~ CV_8UC1, 3-element 65 floating-point tuple \~ CV_32FC3, and so on. A universal OpenCV structure that is able to store a 89 enum { depth = DataDepth<_Tp>::value, channels=2, 90 fmt=(channels-1)*256+DataDepth<_Tp>::fmt, 91 type=CV_MAKETYPE(depth, channels) }; 95 The main purpose of this class is to convert compilation-time type information to an 96 OpenCV-compatible data type identifier, for example: 98 // allocates a 30x40 floating-point matrix [all …]
|
| /OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-aarch64/include/opencv2/core/ |
| H A D | traits.hpp | 13 // Copyright (C) 2000-2008, Intel Corporation, all rights reserved. 59 @note Deprecated. This is replaced by "single purpose" traits: traits::Type and traits::Depth 64 form CV_\<bit-depth\>{U|S|F}C(\<number_of_channels\>), for example: uchar \~ CV_8UC1, 3-element 65 floating-point tuple \~ CV_32FC3, and so on. A universal OpenCV structure that is able to store a 89 enum { depth = DataDepth<_Tp>::value, channels=2, 90 fmt=(channels-1)*256+DataDepth<_Tp>::fmt, 91 type=CV_MAKETYPE(depth, channels) }; 95 The main purpose of this class is to convert compilation-time type information to an 96 OpenCV-compatible data type identifier, for example: 98 // allocates a 30x40 floating-point matrix [all …]
|
| /OK3568_Linux_fs/external/xserver/mi/ |
| H A D | micmap.c | 31 #include <dix-config.h> 48 *pmaps = GetInstalledmiColormap(pScreen)->mid; in miListInstalledColormaps() 57 ColormapPtr oldpmap = GetInstalledmiColormap(pmap->pScreen); in miInstallColormap() 63 WalkTree(pmap->pScreen, TellLostMap, (char *) &oldpmap->mid); in miInstallColormap() 65 SetInstalledmiColormap(pmap->pScreen, pmap); in miInstallColormap() 66 WalkTree(pmap->pScreen, TellGainedMap, (char *) &pmap->mid); in miInstallColormap() 74 ColormapPtr curpmap = GetInstalledmiColormap(pmap->pScreen); in miUninstallColormap() 77 if (pmap->mid != pmap->pScreen->defColormap) { in miUninstallColormap() 79 pmap->pScreen->defColormap, in miUninstallColormap() 81 (*pmap->pScreen->InstallColormap) (curpmap); in miUninstallColormap() [all …]
|
| /OK3568_Linux_fs/kernel/fs/ext4/ |
| H A D | extents.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2003-2006, Cluster File Systems, Inc, info@clusterfs.com 15 * - ext4*_error() should be used in some situations 16 * - analyze all BUG()/BUG_ON(), use -EIO where appropriate 17 * - smart tree reduction 30 #include <linux/backing-dev.h> 53 struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb); in ext4_extent_block_csum() 56 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)eh, in ext4_extent_block_csum() 66 if (!ext4_has_metadata_csum(inode->i_sb)) in ext4_extent_block_csum_verify() 70 if (et->et_checksum != ext4_extent_block_csum(inode, eh)) in ext4_extent_block_csum_verify() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/rkflash/ |
| H A D | rk_sftl_arm_v8_clang.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* Copyright (c) 2018-2021 Rockchip Electronics Co. Ltd. 4 * date: 2023-03-21 20 .globl ftl_print_sblk_info // -- Begin function ftl_print_sblk_info 26 stp x29, x30, [sp, #-32]! // 16-byte Folded Spill 31 str x19, [sp, #16] // 8-byte Folded Spill 96 ldr x19, [sp, #16] // 8-byte Folded Reload 97 ldp x29, x30, [sp], #32 // 16-byte Folded Reload 101 .size ftl_print_sblk_info, .Lfunc_end0-ftl_print_sblk_info 102 // -- End function [all …]
|
| /OK3568_Linux_fs/kernel/fs/minix/ |
| H A D | itree_common.c | 1 // SPDX-License-Identifier: GPL-2.0 14 p->key = *(p->p = v); in add_chain() 15 p->bh = bh; in add_chain() 20 while (from <= to && from->key == *from->p) in verify_chain() 27 return (block_t *)((char*)bh->b_data + bh->b_size); in block_end() 31 int depth, in get_branch() argument 33 Indirect chain[DEPTH], in get_branch() argument 36 struct super_block *sb = inode->i_sb; in get_branch() 43 if (!p->key) in get_branch() 45 while (--depth) { in get_branch() [all …]
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | sbitmap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Copyright (C) 2013-2014 Jens Axboe 18 * struct sbitmap_word - Word in a &struct sbitmap. 22 * @depth: Number of bits being used in @word/@cleared 24 unsigned long depth; member 37 * @swap_lock: Held while swapping word <-> cleared 43 * struct sbitmap - Scalable bitmap. 45 * A &struct sbitmap is spread over multiple cachelines to avoid ping-pong. This 50 * @depth: Number of bits used in the whole bitmap. 52 unsigned int depth; member [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/ |
| H A D | pixfmt-inzi.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 3 .. _V4L2-PIX-FMT-INZI: 9 Infrared 10-bit linked with Depth 16-bit images 15 Proprietary multi-planar format used by Intel SR300 Depth cameras, comprise of 16 Infrared image followed by Depth data. The pixel definition is 32-bpp, 17 with the Depth and Infrared Data split into separate continuous planes of 22 The first plane - Infrared data - is stored according to 23 :ref:`V4L2_PIX_FMT_Y10 <V4L2-PIX-FMT-Y10>` greyscale format. 24 Each pixel is 16-bit cell, with actual data stored in the 10 LSBs 29 The second plane provides 16-bit per-pixel Depth data arranged in [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/common/ |
| H A D | xf86Helper.c | 2 * Copyright (c) 1997-2003 by The XFree86 Project, Inc. 38 #include <xorg-config.h> 81 xf86DriverList[xf86NumDrivers - 1] = xnfalloc(sizeof(DriverRec)); in xf86AddDriver() 82 *xf86DriverList[xf86NumDrivers - 1] = *driver; in xf86AddDriver() 83 xf86DriverList[xf86NumDrivers - 1]->module = module; in xf86AddDriver() 84 xf86DriverList[xf86NumDrivers - 1]->refCount = 0; in xf86AddDriver() 92 if (xf86DriverList[drvIndex]->module) in xf86DeleteDriver() 93 UnloadModule(xf86DriverList[drvIndex]->module); in xf86DeleteDriver() 115 xf86InputDriverList[xf86NumInputDrivers - 1] = in xf86AddInputDriver() 117 *xf86InputDriverList[xf86NumInputDrivers - 1] = *driver; in xf86AddInputDriver() [all …]
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/powernv/ |
| H A D | opal-tracepoints.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <asm/asm-prototypes.h> 38 opal_tracepoint_refcount--; in opal_tracepoint_unregfunc() 51 unsigned int *depth; in __trace_opal_entry() local 55 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_entry() 57 if (*depth) in __trace_opal_entry() 60 (*depth)++; in __trace_opal_entry() 63 (*depth)--; in __trace_opal_entry() 72 unsigned int *depth; in __trace_opal_exit() local 76 depth = this_cpu_ptr(&opal_trace_depth); in __trace_opal_exit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/iio/adc/ |
| H A D | max1027.c | 1 // SPDX-License-Identifier: GPL-2.0-only 94 #define MAX1027_V_CHAN(index, depth) \ argument 104 .realbits = depth, \ 106 .shift = (depth == 10) ? 2 : 0, \ 126 #define MAX1X27_CHANNELS(depth) \ argument 128 MAX1027_V_CHAN(0, depth), \ 129 MAX1027_V_CHAN(1, depth), \ 130 MAX1027_V_CHAN(2, depth), \ 131 MAX1027_V_CHAN(3, depth), \ 132 MAX1027_V_CHAN(4, depth), \ [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| H A D | commonring.c | 1 // SPDX-License-Identifier: ISC 22 commonring->cr_ring_bell = cr_ring_bell; in brcmf_commonring_register_cb() 23 commonring->cr_update_rptr = cr_update_rptr; in brcmf_commonring_register_cb() 24 commonring->cr_update_wptr = cr_update_wptr; in brcmf_commonring_register_cb() 25 commonring->cr_write_rptr = cr_write_rptr; in brcmf_commonring_register_cb() 26 commonring->cr_write_wptr = cr_write_wptr; in brcmf_commonring_register_cb() 27 commonring->cr_ctx = ctx; in brcmf_commonring_register_cb() 31 void brcmf_commonring_config(struct brcmf_commonring *commonring, u16 depth, in brcmf_commonring_config() argument 34 commonring->depth = depth; in brcmf_commonring_config() 35 commonring->item_len = item_len; in brcmf_commonring_config() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/platform/ti-vpe/ |
| H A D | vpdma.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/dma-mapping.h> 26 #define VPDMA_FIRMWARE "vpdma-1b8.bin" 32 .depth = 8, 37 .depth = 8, 42 .depth = 8, 47 .depth = 8, 52 .depth = 8, 57 .depth = 4, 62 .depth = 4, [all …]
|
| /OK3568_Linux_fs/kernel/arch/sh/oprofile/ |
| H A D | backtrace.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Author: Dave Peverley <dpeverley@mpc-data.co.uk> 24 unsigned int *depth = data; in backtrace_address() local 26 if ((*depth)--) in backtrace_address() 60 void sh_backtrace(struct pt_regs * const regs, unsigned int depth) in sh_backtrace() argument 65 * Paranoia - clip max depth as we could get lost in the weeds. in sh_backtrace() 67 if (depth > backtrace_limit) in sh_backtrace() 68 depth = backtrace_limit; in sh_backtrace() 72 if (depth) in sh_backtrace() 74 &backtrace_ops, &depth); in sh_backtrace() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/dp/ |
| H A D | dp_link.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. 87 * mdss_dp_test_bit_depth_to_bpp() - convert test bit depth to bpp 88 * @tbd: test bit depth 91 * git bit depth value. This function assumes that bit depth has 98 * 1. Bit depth is per color component in dp_link_bit_depth_to_bpp() 99 * 2. If bit depth is unknown return 0 in dp_link_bit_depth_to_bpp() 116 * dp_test_bit_depth_to_bpc() - convert test bit depth to bpc 117 * @tbd: test bit depth 120 * bit depth value. This function assumes that bit depth has [all …]
|
| /OK3568_Linux_fs/external/xserver/render/ |
| H A D | picture.c | 26 #include <dix-config.h> 59 ScreenPtr pScreen = pWindow->drawable.pScreen; in PictureWindowFormat() 60 return PictureMatchVisual(pScreen, pWindow->drawable.depth, in PictureWindowFormat() 67 ScreenPtr pScreen = pWindow->drawable.pScreen; in PictureDestroyWindow() 73 SetPictureWindow(pWindow, pPicture->pNext); in PictureDestroyWindow() 74 if (pPicture->id) in PictureDestroyWindow() 75 FreeResource(pPicture->id, PictureType); in PictureDestroyWindow() 76 FreePicture((void *) pPicture, pPicture->id); in PictureDestroyWindow() 78 pScreen->DestroyWindow = ps->DestroyWindow; in PictureDestroyWindow() 79 ret = (*pScreen->DestroyWindow) (pWindow); in PictureDestroyWindow() [all …]
|
| /OK3568_Linux_fs/u-boot/fs/reiserfs/ |
| H A D | reiserfs.c | 2 * Copyright 2000-2002 by Hans Reiser, licensing governed by reiserfs/README 4 * GRUB -- GRand Unified Bootloader 7 * (C) Copyright 2003 - 2004 11 * SPDX-License-Identifier: GPL-2.0+ 52 return -1; in substring() 67 printf ("%-10s %4hd %6d %6d %9d %24.24s", in sd_print_item() 74 printf ("%-10s %4d %6d %6d %9d %24.24s", in sd_print_item() 83 return reiserfs_devread ((INFO->journal_block + block) << INFO->blocksize_shift, in journal_read() 94 int transactions = INFO->journal_transactions; in block_read() 95 int desc_block = INFO->journal_first_desc; in block_read() [all …]
|
| /OK3568_Linux_fs/kernel/kernel/trace/ |
| H A D | trace_functions_graph.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2008-2009 Frederic Weisbecker <fweisbec@gmail.com> 24 int depth; member 45 /* Display overruns? (for self-debug purpose) */ 46 { TRACER_OPT(funcgraph-overrun, TRACE_GRAPH_PRINT_OVERRUN) }, 48 { TRACER_OPT(funcgraph-cpu, TRACE_GRAPH_PRINT_CPU) }, 50 { TRACER_OPT(funcgraph-overhead, TRACE_GRAPH_PRINT_OVERHEAD) }, 52 { TRACER_OPT(funcgraph-proc, TRACE_GRAPH_PRINT_PROC) }, 54 { TRACER_OPT(funcgraph-duration, TRACE_GRAPH_PRINT_DURATION) }, 56 { TRACER_OPT(funcgraph-abstime, TRACE_GRAPH_PRINT_ABS_TIME) }, [all …]
|
| /OK3568_Linux_fs/u-boot/scripts/dtc/libfdt/ |
| H A D | fdt.c | 2 * libfdt - Flat Device Tree manipulation 21 * MA 02110-1301 USA 63 return -FDT_ERR_BADVERSION; in fdt_check_header() 65 return -FDT_ERR_BADVERSION; in fdt_check_header() 67 /* Unfinished sequential-write blob */ in fdt_check_header() 69 return -FDT_ERR_BADSTATE; in fdt_check_header() 71 return -FDT_ERR_BADMAGIC; in fdt_check_header() 101 *nextoffset = -FDT_ERR_TRUNCATED; in fdt_next_tag() 108 *nextoffset = -FDT_ERR_BADSTRUCTURE; in fdt_next_tag() 123 /* skip-name offset, length and value */ in fdt_next_tag() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/net/can/ |
| H A D | xilinx_can.txt | 2 --------------------------------------------------------- 5 - compatible : Should be: 6 - "xlnx,zynq-can-1.0" for Zynq CAN controllers 7 - "xlnx,axi-can-1.00.a" for Axi CAN controllers 8 - "xlnx,canfd-1.0" for CAN FD controllers 9 - "xlnx,canfd-2.0" for CAN FD 2.0 controllers 10 - reg : Physical base address and size of the controller 12 - interrupts : Property with a value describing the interrupt 14 - clock-names : List of input clock names 15 - "can_clk", "pclk" (For CANPS), [all …]
|
| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | shm.c | 32 #include <dix-config.h> 61 #include "protocol-versions.h" 64 /* Needed for Solaris cross-zone shared memory extension */ 72 #define SHMPERM_UID(p) p->ipcx_uid 73 #define SHMPERM_CUID(p) p->ipcx_cuid 74 #define SHMPERM_GID(p) p->ipcx_gid 75 #define SHMPERM_CGID(p) p->ipcx_cgid 76 #define SHMPERM_MODE(p) p->ipcx_mode 77 #define SHMPERM_ZONEID(p) p->ipcx_zoneid 84 #define SHMPERM_UID(p) p->uid [all …]
|