Home
last modified time | relevance | path

Searched +full:look +full:- +full:up (Results 1 – 25 of 1044) sorted by relevance

12345678910>>...42

/openbmc/u-boot/include/
H A Dsyscon.h1 /* 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 Dfdtdec.h1 /* 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 (-1U)
32 #define FDT_ADDR_T_NONE (-1U)
59 * be equal to: end - start + 1.
93 * t: is 1 if the address is aliased (for non-relocatable I/O) below 1MB
96 * bbbbbbbb: is the 8-bit Bus Number
97 * ddddd: is the 5-bit Device Number
98 * fff: is the 3-bit Function Number
[all …]
H A Dhash.h1 /* SPDX-License-Identifier: GPL-2.0+ */
46 * @return 0 if ok, -1 on error
59 * @return 0 if ok, -1 on error
72 * @return 0 if ok, -ENOSPC if size of the result buffer is too small
73 * or -1 on other errors
96 * hash_block() - Hash a block according to the requested algorithm
111 * @return 0 if ok, -ve on error: -EPROTONOSUPPORT for an unknown algorithm,
112 * -ENOSPC if the output buffer is not large enough.
120 * hash_lookup_algo() - Look up the hash_algo struct for an algorithm
122 * The function returns the pointer to the struct or -EPROTONOSUPPORT if the
[all …]
H A Dlog.h1 /* SPDX-License-Identifier: GPL-2.0+ */
12 #include <dm/uclass-id.h>
17 LOGL_EMERG = 0, /* U-Boot is unstable */
24 LOGL_DEBUG, /* Basic debug-level message */
43 LOGC_ARCH, /* Related to arch-specific code */
44 LOGC_BOARD, /* Related to board-specific code */
45 LOGC_CORE, /* Related to core features (non-driver-model) */
46 LOGC_DM, /* Core driver-model */
47 LOGC_DT, /* Device-tree */
64 * _log() - Internal function to emit a new log record
[all …]
H A Dbinman_sym.h1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Symbol access for symbols set up by binman as part of the build.
14 #define BINMAN_SYM_MISSING (-1UL)
19 * binman_symname() - Internal fnuction to get a binman symbol name
21 * @entry_name: Name of the entry to look for (e.g. 'u_boot_spl')
29 * binman_sym_declare() - Declare a symbol that will be used at run-time
32 * @entry_name: Name of the entry to look for (e.g. 'u_boot_spl')
40 * binman_sym_extern() - Declare a extern symbol that will be used at run-time
43 * @entry_name: Name of the entry to look for (e.g. 'u_boot_spl')
51 * binman_sym_declare_optional() - Declare an optional symbol
[all …]
/openbmc/u-boot/include/dm/
H A Duclass.h1 /* SPDX-License-Identifier: GPL-2.0+ */
13 #include <dm/uclass-id.h>
18 * struct uclass - a U-Boot drive class, collecting together similar drivers
24 * There may be drivers for on-chip SoC GPIO banks, I2C GPIO expanders and
51 * struct uclass_driver - Driver for the uclass
66 * @init: Called to set up the uclass
68 * @priv_auto_alloc_size: If non-zero this is the size of the private data
69 * to be allocated in the uclass's ->priv pointer. If zero, then the uclass
73 * value is non-zero.
75 * owned by the uclass as 'dev->uclass_platdata'. If the value is non-zero,
[all …]
H A Duclass-internal.h1 /* SPDX-License-Identifier: GPL-2.0+ */
15 * uclass_find_next_free_req_seq() - Get the next free req_seq number
28 * uclass_get_device_tail() - handle the end of a get_device call
33 * @ret: Error to return. If non-zero then the device is not probed
35 * @return ret, if non-zero, else the result of the device_probe() call
40 * dev_get_uclass_index() - Get uclass and index of device
41 * @dev: - in - Device that we want the uclass/index of
42 * @ucp: - out - A pointer to the uclass the device belongs to
44 * The device is not prepared for use - this is an internal function.
46 * @return the index of the device in the uclass list or -ENODEV if not found.
[all …]
H A Dofnode.h1 /* SPDX-License-Identifier: GPL-2.0+ */
20 * ofnode - reference to a device tree node
32 * NULL, or an offset of -1.
62 * _ofnode_to_np() - convert an ofnode to a live DT node pointer
79 * ofnode_to_offset() - convert an ofnode to a flat DT offset
84 * @return DT offset (can be -1)
90 return -1; in ofnode_to_offset()
96 * ofnode_valid() - check if an ofnode is valid
105 return node.of_offset != -1; in ofnode_valid()
109 * offset_to_ofnode() - convert a DT offset to an ofnode
[all …]
H A Dread.h1 /* SPDX-License-Identifier: GPL-2.0+ */
21 return ofnode_to_np(dev->node); in dev_np()
31 * dev_ofnode() - get the DT node reference associated with a udevice
38 return dev->node; in dev_ofnode()
48 * dev_read_u32() - read a 32-bit integer from a device's DT property
53 * @return 0 if OK, -ve on error
58 * dev_read_u32_default() - read a 32-bit integer from a device's DT property
68 * dev_read_s32() - read a signed 32-bit integer from a device's DT property
73 * @return 0 if OK, -ve on error
78 * dev_read_s32_default() - read a signed 32-bit int from a device's DT property
[all …]
/openbmc/u-boot/test/dm/
H A Dpci.c1 // SPDX-License-Identifier: GPL-2.0+
66 /* Check that asking for the device 0 automatically fires up PCI */ in dm_test_pci_swapcase()
75 * Now test memory mapping - note we must unmap and remap to cause in dm_test_pci_swapcase()
87 /* Check that asking for the device 1 automatically fires up PCI */ in dm_test_pci_swapcase()
96 * Now test memory mapping - note we must unmap and remap to cause in dm_test_pci_swapcase()
117 /* Check that asking for the device automatically fires up PCI */ in dm_test_pci_drvdata()
121 ut_asserteq(SWAP_CASE_DRV_DATA, swap->driver_data); in dm_test_pci_drvdata()
124 ut_asserteq(SWAP_CASE_DRV_DATA, swap->driver_data); in dm_test_pci_drvdata()
127 ut_asserteq(SWAP_CASE_DRV_DATA, swap->driver_data); in dm_test_pci_drvdata()
157 * Now test memory mapping - note we must unmap and remap to cause in dm_test_pci_mixed()
[all …]
/openbmc/linux/arch/sparc/include/asm/
H A Dfbio.h1 /* 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 */
/openbmc/u-boot/tools/binman/
H A Dstate.py1 # SPDX-License-Identifier: GPL-2.0+
15 # Records the device-tree files known to binman, keyed by filename (e.g.
16 # 'u-boot-spl.dtb')
22 # True to use fake device-tree files for testing (see U_BOOT_DTB_DATA in
36 """Get the Fdt object for a particular device-tree filename
38 Binman keeps track of at least one device-tree file called u-boot.dtb but
39 can also have others (e.g. for SPL). This function looks up the given
43 fname: Filename to look up (e.g. 'u-boot.dtb').
56 fname: Filename to look up (e.g. 'u-boot.dtb').
64 """Looks up the FDT pathname and contents
[all …]
/openbmc/linux/Documentation/staging/
H A Dcrc32.rst5 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 …]
/openbmc/u-boot/env/
H A Dcallback.c1 // SPDX-License-Identifier: GPL-2.0+
15 * Look up a callback function pointer by name
26 /* look up the callback in the linker-list */ in find_env_callback()
30 if (strcmp(name, clbkp->name) == 0) in find_env_callback()
41 * Look for a possible callback for a newly added variable
47 const char *var_name = var_entry->key; in env_callback_init()
57 /* look in the ".callbacks" var for a reference to this variable */ in env_callback_init()
61 /* only if not found there, look in the static list */ in env_callback_init()
71 var_entry->callback = clbkp->callback + gd->reloc_off; in env_callback_init()
73 var_entry->callback = clbkp->callback; in env_callback_init()
[all …]
/openbmc/linux/Documentation/filesystems/
H A Dfiles.rst1 .. 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 Dpath-lookup.txt17 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 …]
H A Didmappings.rst1 .. SPDX-License-Identifier: GPL-2.0
12 ------------
32 u22 -> k10000
33 u23 -> k10001
34 u24 -> k10002
36 From a mathematical viewpoint ``U`` and ``K`` are well-ordered sets and an
38 order isomorphic. In fact, ``U`` and ``K`` are always well-ordered subsets of
45 k10000 -> u22
46 k10001 -> u23
47 k10002 -> u24
[all …]
/openbmc/linux/arch/arm64/include/asm/
H A Dsmp_plat.h1 /* SPDX-License-Identifier: GPL-2.0-only */
31 * - mpidr: MPIDR.Aff* bits to be used for the look-up
33 * Returns the cpu logical index or -EINVAL on look-up error
41 return -EINVAL; in get_logical_index()
/openbmc/linux/drivers/bus/
H A Darm-cci.c17 #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 …]
/openbmc/linux/fs/xfs/scrub/
H A Dparent.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 2017-2023 Oracle. All Rights Reserved.
21 /* Set us up to scrub parents. */
31 /* Look for an entry in a parent pointing to this inode. */
38 /* Look for a single entry in a directory pointing to an inode. */
52 if (!xfs_dir2_namecheck(name->name, name->len)) in xchk_parent_actor()
53 error = -EFSCORRUPTED; in xchk_parent_actor()
57 if (sc->ip->i_ino == ino) in xchk_parent_actor()
58 spc->nlink++; in xchk_parent_actor()
60 if (xchk_should_terminate(spc->sc, &error)) in xchk_parent_actor()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/display/
H A Drenesas,cmm.yaml1 # 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 …]
/openbmc/linux/drivers/gpu/drm/i915/
H A DTODO.txt2 -----------------
4 - For discrete memory manager, merge enough dg1 to be able to refactor it to
5 TTM. Then land pci ids (just in case that turns up an uapi problem). TTM has
8 - Come up with a plan what to do with drm/scheduler and how to get there.
10 - Roll out dma_fence critical section annotations.
12 - There's a lot of complexity added past few years to make relocations faster.
15 1. Land a modern pre-bound uapi like VM_BIND
23 - i915_sw_fence seems to be the main structure for the i915-gem dma_fence model.
24 How-to-dma_fence is core and drivers really shouldn't build their own world
27 removed if dri-devel consensus is that it's not a good idea. Once that's done
[all …]
/openbmc/linux/Documentation/networking/
H A Dfib_trie.rst1 .. 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 …]
/openbmc/estoraged/src/test/
H A Dutil_test.cpp10 #include <gmock/gmock-matchers.h>
107 /* Set up the map of properties. */ in TEST()
132 /* Look for the device file. */ in TEST()
140 EXPECT_EQ("/dev/mmcblk0", result->deviceFile.string()); in TEST()
141 EXPECT_EQ("./mmcblk0/device", result->sysfsDir.string()); in TEST()
142 EXPECT_EQ("luks-mmcblk0", result->luksName); in TEST()
143 EXPECT_EQ("U102020", result->locationCode); in TEST()
144 EXPECT_EQ(ERASE_MAX_GEOMETRY, result->eraseMaxGeometry); in TEST()
145 EXPECT_EQ(ERASE_MIN_GEOMETRY, result->eraseMinGeometry); in TEST()
146 EXPECT_EQ("SSD", result->driveType); in TEST()
[all …]
/openbmc/linux/arch/arm/include/asm/
H A Dsmp_plat.h1 /* SPDX-License-Identifier: GPL-2.0 */
31 * smp_cpuid_part() - return part id for a given cpu
40 return is_smp() ? cpu_info->cpuid & ARM_CPU_PART_MASK : in smp_cpuid_part()
76 * - mpidr: MPIDR[23:0] to be used for the look-up
78 * Returns the cpu logical index or -EINVAL on look-up error
86 return -EINVAL; in get_logical_index()

12345678910>>...42