| /OK3568_Linux_fs/u-boot/include/dm/ |
| H A D | uclass.h | 7 * SPDX-License-Identifier: GPL-2.0+ 14 #include <dm/uclass-id.h> 19 * struct uclass - a U-Boot drive class, collecting together similar drivers 25 * There may be drivers for on-chip SoC GPIO banks, I2C GPIO expanders and 52 * struct uclass_driver - Driver for the uclass 65 * @init: Called to set up the uclass 67 * @priv_auto_alloc_size: If non-zero this is the size of the private data 68 * to be allocated in the uclass's ->priv pointer. If zero, then the uclass 72 * value is non-zero. 74 * owned by the uclass as 'dev->uclass_platdata'. If the value is non-zero, [all …]
|
| H A D | read.h | 7 * SPDX-License-Identifier: GPL-2.0+ 22 return ofnode_to_np(dev->node); in dev_np() 32 * dev_ofnode() - get the DT node reference associated with a udevice 39 return dev->node; in dev_ofnode() 49 * dev_read_u32_default() - read a 32-bit integer from a device's DT property 59 * dev_read_s32_default() - read a signed 32-bit integer from a device's DT property 69 * dev_read_string() - Read a string from a device's DT property 78 * dev_read_bool() - read a boolean value from a device's DT property 87 * dev_read_subnode() - find a named subnode of a device 97 * dev_read_size() - read the size of a property [all …]
|
| H A D | uclass-internal.h | 7 * SPDX-License-Identifier: GPL-2.0+ 16 * uclass_get_device_tail() - handle the end of a get_device call 21 * @ret: Error to return. If non-zero then the device is not probed 23 * @return ret, if non-zero, else the result of the device_probe() call 28 * uclass_find_device() - Return n-th child of uclass 33 * The device is not prepared for use - this is an internal function. 42 * uclass_find_first_device() - Return the first device in a uclass 46 * The device is not prepared for use - this is an internal function. 49 * @return 0 if OK (found or not found), -1 on error 54 * uclass_find_next_device() - Return the next device in a uclass [all …]
|
| H A D | ofnode.h | 5 * SPDX-License-Identifier: GPL-2.0+ 21 * ofnode - reference to a device tree node 33 * NULL, or an offset of -1. 63 * ofprop - reference to a property of a device tree node 72 * a struct property NULL pointer or an offset of -1. 88 * _ofnode_to_np() - convert an ofnode to a live DT node pointer 105 * ofnode_to_offset() - convert an ofnode to a flat DT offset 110 * @return DT offset (can be -1) 116 return -1; in ofnode_to_offset() 122 * ofnode_valid() - check if an ofnode is valid [all …]
|
| /OK3568_Linux_fs/u-boot/include/ |
| H A D | syscon.h | 5 * SPDX-License-Identifier: GPL-2.0+ 14 * struct syscon_uc_info - Information stored by the syscon UCLASS_UCLASS 26 #define syscon_get_ops(dev) ((struct syscon_ops *)(dev)->driver->ops) 30 * We don't support 64-bit machines. If they are so resource-contrained that 34 * Update: 64-bit is now supported and we have an education crisis. 42 * syscon_get_regmap() - Get access to a register map 46 * @return 0 if OK, -ve on error 51 * syscon_get_regmap_by_driver_data() - Look up a controller by its ID 55 * are in use. This function looks up the controller given this driver data. 57 * @driver_data: Driver data value to look up [all …]
|
| H A D | fdtdec.h | 3 * SPDX-License-Identifier: GPL-2.0+ 12 * drivers and board-specific code within U-Boot. It aims to reduce the 13 * amount of FDT munging required within U-Boot itself, so that driver code 27 #define FDT_ADDR_T_NONE (-1ULL) 32 #define FDT_ADDR_T_NONE (-1U) 57 * be equal to: end - start + 1. 91 * t: is 1 if the address is aliased (for non-relocatable I/O) below 1MB 94 * bbbbbbbb: is the 8-bit Bus Number 95 * ddddd: is the 5-bit Device Number 96 * fff: is the 3-bit Function Number [all …]
|
| H A D | hash.h | 3 * SPDX-License-Identifier: GPL-2.0+ 42 * @return 0 if ok, -1 on error 55 * @return 0 if ok, -1 on error 68 * @return 0 if ok, -ENOSPC if size of the result buffer is too small 69 * or -1 on other errors 92 * hash_block() - Hash a block according to the requested algorithm 107 * @return 0 if ok, -ve on error: -EPROTONOSUPPORT for an unknown algorithm, 108 * -ENOSPC if the output buffer is not large enough. 116 * hash_lookup_algo() - Look up the hash_algo struct for an algorithm 118 * The function returns the pointer to the struct or -EPROTONOSUPPORT if the [all …]
|
| H A D | common.h | 2 * (C) Copyright 2000-2009 5 * SPDX-License-Identifier: GPL-2.0+ 24 #include <asm-offsets.h> 62 #include <asm/u-boot.h> /* boot information for Linux kernel */ 81 * dram_init_banksize() - Set up DRAM bank sizes 83 * This can be implemented by boards to set up the DRAM bank information in 84 * gd->bd->bi_dram(). It is called just before relocation, after dram_init() 87 * If this is not provided, a default implementation will try to set up a 93 * @return 0 if OK, -ve on error 113 * Note that if 'len' is not -1, then the command does not need to be nul [all …]
|
| /OK3568_Linux_fs/kernel/arch/sparc/include/asm/ |
| H A D | fbio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 43 #define CG14_XLUT 0x3000 /* X Look Up Table -- ??? */ 44 #define CG14_CLUT1 0x4000 /* Color Look Up Table */ 45 #define CG14_CLUT2 0x5000 /* Color Look Up Table */ 46 #define CG14_CLUT3 0x6000 /* Color Look Up Table */
|
| /OK3568_Linux_fs/kernel/Documentation/staging/ |
| H A D | crc32.rst | 5 A CRC is a long-division remainder. You add the CRC to the message, 11 protocols put the end-of-frame flag after the CRC. 15 - We're working in binary, so the digits are only 0 and 1, and 16 - When dividing polynomials, there are no carries. Rather than add and 21 To produce a 32-bit CRC, the divisor is actually a 33-bit CRC polynomial. 24 familiar with the IEEE 754 floating-point format, it's the same idea.) 28 the best error-detecting properties, this should correspond to the 29 order they're actually sent. For example, standard RS-232 serial is 30 little-endian; the most significant bit (sometimes used for parity) 38 back into range. In binary, this is easy - it has to be either 0 or 1, [all …]
|
| /OK3568_Linux_fs/u-boot/env/ |
| H A D | callback.c | 5 * SPDX-License-Identifier: GPL-2.0+ 16 * Look up a callback function pointer by name 27 /* look up the callback in the linker-list */ in find_env_callback() 31 if (strcmp(name, clbkp->name) == 0) in find_env_callback() 42 * Look for a possible callback for a newly added variable 48 const char *var_name = var_entry->key; in env_callback_init() 58 /* look in the ".callbacks" var for a reference to this variable */ in env_callback_init() 62 /* only if not found there, look in the static list */ in env_callback_init() 72 var_entry->callback = clbkp->callback + gd->reloc_off; in env_callback_init() 74 var_entry->callback = clbkp->callback; in env_callback_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/bus/ |
| H A D | arm-cci.c | 17 #include <linux/arm-cci.h> 49 {.compatible = "arm,cci-400", .data = CCI400_PORTS_DATA }, 52 { .compatible = "arm,cci-500", }, 53 { .compatible = "arm,cci-550", }, 59 OF_DEV_AUXDATA("arm,cci-400-pmu", 0, NULL, &cci_ctrl_base), 60 OF_DEV_AUXDATA("arm,cci-400-pmu,r0", 0, NULL, &cci_ctrl_base), 61 OF_DEV_AUXDATA("arm,cci-400-pmu,r1", 0, NULL, &cci_ctrl_base), 62 OF_DEV_AUXDATA("arm,cci-500-pmu,r0", 0, NULL, &cci_ctrl_base), 63 OF_DEV_AUXDATA("arm,cci-550-pmu,r0", 0, NULL, &cci_ctrl_base), 67 #define DRIVER_NAME "ARM-CCI" [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/filesystems/ |
| H A D | files.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 Up until 2.6.12, the file descriptor table has been protected 11 with a lock (files->file_lock) and reference count (files->count). 12 ->file_lock protected accesses to all the file related fields 13 of the table. ->count was used for sharing the file descriptor 19 reference count (->f_count). 21 In the new lock-free model of file descriptor management, 24 elements - the fd sets (open_fds and close_on_exec, the 27 a lock-free reader, all the elements of the file descriptor 28 table are in a separate structure - struct fdtable. [all …]
|
| H A D | path-lookup.txt | 17 thus in every component during path look-up. Since 2.5.10 onwards, fast-walk 23 make dcache look-up lock-free. 26 dentry that was looked up, so that may be used as the basis for walking the 30 are path-walk intensive tend to do path lookups starting from a common dentry 35 (including dcache look-up) completely "store-free" (so, no locks, atomics, or 36 even stores into cachelines of common dentries). This is known as "rcu-walk" 42 A name string specifies a start (root directory, cwd, fd-relative) and a 45 elements are sub-strings, separated by '/'. 49 the path given by the name's starting point (which we know in advance -- eg. 50 current->fs->cwd or current->fs->root) as the first parent of the lookup. Then [all …]
|
| /OK3568_Linux_fs/external/xserver/include/ |
| H A D | glxvndabi.h | 49 * - If a request has one or more GLXContextTag values, then the dispatch stub 51 * request to. Otherwise, if a vendor library tries to look up the private 53 * - Following from the last point, if a request takes a GLXContextTag value, 69 * This version number contains a major number in the high-order 16 bits, and 70 * a minor version number in the low-order 16 bits. 156 * Client-generated XID's (contexts, drawables, etc) must be added to the 165 * Note that adding GLXFBConfig ID's appears to be unnecessary -- every GLX 179 * X window), then libglvnd will try to look it up as a drawable and return 182 * \param id The XID to look up. 194 * Looks up a context tag. [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/include/asm/ |
| H A D | smp_plat.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 30 * - mpidr: MPIDR.Aff* bits to be used for the look-up 32 * Returns the cpu logical index or -EINVAL on look-up error 40 return -EINVAL; in get_logical_index()
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/ |
| H A D | libintl.h | 2 Copyright (C) 1995-2021 Free Software Foundation, Inc. 32 ((major) == 0 ? 1 : -1) 36 /* Look up MSGID in the current default message catalog for the current 42 /* Look up MSGID in the DOMAINNAME message catalog for the current 49 /* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/ |
| H A D | libintl.h | 2 Copyright (C) 1995-2021 Free Software Foundation, Inc. 32 ((major) == 0 ? 1 : -1) 36 /* Look up MSGID in the current default message catalog for the current 42 /* Look up MSGID in the DOMAINNAME message catalog for the current 49 /* Look up MSGID in the DOMAINNAME message catalog for the current CATEGORY
|
| /OK3568_Linux_fs/external/xserver/Xext/ |
| H A D | xselinux_label.c | 21 #include <dix-config.h> 59 return (rec->size > key) ? rec->array[key] : 0; in SELinuxArrayGet() 65 if (key >= rec->size) { in SELinuxArraySet() 67 rec->array = reallocarray(rec->array, key + 1, sizeof(val)); in SELinuxArraySet() 68 if (!rec->array) in SELinuxArraySet() 70 memset(rec->array + rec->size, 0, (key - rec->size + 1) * sizeof(val)); in SELinuxArraySet() 71 rec->size = key + 1; in SELinuxArraySet() 74 rec->array[key] = val; in SELinuxArraySet() 82 unsigned i = rec->size; in SELinuxArrayFree() 85 free(rec->array[--i]); in SELinuxArrayFree() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/networking/ |
| H A D | fib_trie.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 LC-trie implementation notes 8 ---------- 19 ------------------------ 22 child array - the "child index". See Level Compression. 41 children of a full child (see "full_children") up one level, so that 46 in order to avoid ever-increasing child arrays. 61 --------- 64 possible to allow verification and help up reviewing. 76 Looks up a key, deletes it and runs the level compression algorithm. [all …]
|
| /OK3568_Linux_fs/u-boot/include/asm-generic/ |
| H A D | gpio.h | 4 * SPDX-License-Identifier: GPL-2.0+ 15 * Generic GPIO API for U-Boot 17 * -- 20 * - gpio_request_by_name() 21 * - dm_gpio_get_value() etc. 24 * -- 26 * GPIOs are numbered from 0 to GPIO_COUNT-1 which value is defined 38 * an error value of -1. 51 * @return 0 if ok, -1 on error 60 * @return 0 if ok, -1 on error [all …]
|
| /OK3568_Linux_fs/kernel/fs/afs/ |
| H A D | volume.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 25 write_seqlock(&cell->volume_lock); in afs_insert_volume_into_cell() 27 pp = &cell->volumes.rb_node; in afs_insert_volume_into_cell() 31 if (p->vid < volume->vid) { in afs_insert_volume_into_cell() 32 pp = &(*pp)->rb_left; in afs_insert_volume_into_cell() 33 } else if (p->vid > volume->vid) { in afs_insert_volume_into_cell() 34 pp = &(*pp)->rb_right; in afs_insert_volume_into_cell() 41 rb_link_node_rcu(&volume->cell_node, parent, pp); in afs_insert_volume_into_cell() 42 rb_insert_color(&volume->cell_node, &cell->volumes); in afs_insert_volume_into_cell() 43 hlist_add_head_rcu(&volume->proc_link, &cell->proc_volumes); in afs_insert_volume_into_cell() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/char/ |
| H A D | dtlk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* -*- linux-c -*- 3 * dtlk.c - DoubleTalk PC driver for Linux 8 * 2000-03-18 Jim Van Zandt: Fix polling. 20 The DoubleTalk PC contains four voice synthesizers: text-to-speech 40 This driver was written for use with the text-to-speech 57 #include <linux/errno.h> /* for -EBUSY */ 134 /* printk("DoubleTalk PC - dtlk_read()\n"); */ in dtlk_read() 137 return -EINVAL; in dtlk_read() 144 return -EFAULT; in dtlk_read() [all …]
|
| /OK3568_Linux_fs/kernel/arch/m68k/include/asm/ |
| H A D | fbio.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 12 #define FBTYPE_NOTYPE -1 83 int emu_type; /* -1 if none */ 258 #define CG14_XLUT 0x3000 /* X Look Up Table -- ??? */ 259 #define CG14_CLUT1 0x4000 /* Color Look Up Table */ 260 #define CG14_CLUT2 0x5000 /* Color Look Up Table */ 261 #define CG14_CLUT3 0x6000 /* Color Look Up Table */
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/ |
| H A D | renesas,cmm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Renesas R-Car Color Management Module (CMM) 10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com> 11 - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> 12 - Jacopo Mondi <jacopo+renesas@jmondi.org> 15 Renesas R-Car color management module connected to R-Car DU video channels. 16 It provides image enhancement functions such as 1-D look-up tables (LUT), 17 3-D look-up tables (CLU), 1D-histogram generation (HGO), and color [all …]
|