Home
last modified time | relevance | path

Searched +full:entry +full:- +full:name (Results 1 – 25 of 1070) sorted by relevance

12345678910>>...43

/openbmc/u-boot/tools/binman/
H A Dentry.py1 # SPDX-License-Identifier: GPL-2.0+
13 # http://lists.denx.de/pipermail/u-boot/2016-October/269729.html
34 # device-tree properties.
35 EntryArg = namedtuple('EntryArg', ['name', 'datatype'])
38 class Entry(object): class
39 """An Entry in the section
41 An entry corresponds to a single node in the device-tree description
42 of the section. Each entry ends up being a part of the final section.
44 between them. The type of the entry determines the data that is in it.
46 This class is not used by itself. All entry objects are subclasses of
[all …]
H A Dbsection.py1 # SPDX-License-Identifier: GPL-2.0+
30 _pad_before: Number of bytes before the first entry starts. This
31 effectively changes the place where entry offset 0 starts
32 _pad_after: Number of bytes after the last entry ends. The last
33 entry will finish on or before this boundary
34 _pad_byte: Byte to use to pad the section where there is no entry
36 must be in-order in the device tree description
37 _skip_at_start: Number of bytes before the first entry starts. These
39 if _pad_before is 16, then the first entry would start at 16.
40 An entry with offset = 20 would in fact be written at offset 4
[all …]
H A Dentry_test.py1 # SPDX-License-Identifier: GPL-2.0+
5 # Test for the Entry class
16 entry = None variable
30 return dtb.GetNode('/binman/u-boot')
33 """Test that we can import Entry subclassess successfully"""
36 global entry
37 import entry
38 entry.Entry.Create(None, self.GetNode(), 'u-boot')
42 global entry
43 if entry:
[all …]
/openbmc/linux/sound/core/
H A Dinfo.c1 // SPDX-License-Identifier: GPL-2.0-or-later
54 struct snd_info_entry *entry; member
59 static void snd_info_clear_entries(struct snd_info_entry *entry);
73 static int alloc_info_private(struct snd_info_entry *entry, in alloc_info_private() argument
78 if (!entry || !entry->p) in alloc_info_private()
79 return -ENODEV; in alloc_info_private()
80 if (!try_module_get(entry->module)) in alloc_info_private()
81 return -EFAULT; in alloc_info_private()
84 module_put(entry->module); in alloc_info_private()
85 return -ENOMEM; in alloc_info_private()
[all …]
/openbmc/linux/drivers/isdn/mISDN/
H A Ddsp_pipeline.c1 // SPDX-License-Identifier: GPL-2.0-or-later
44 for (i = 0; i < elem->num_args; i++) in attr_show_args()
45 p += sprintf(p, "Name: %s\n%s%s%sDescription: %s\n\n", in attr_show_args()
46 elem->args[i].name, in attr_show_args()
47 elem->args[i].def ? "Default: " : "", in attr_show_args()
48 elem->args[i].def ? elem->args[i].def : "", in attr_show_args()
49 elem->args[i].def ? "\n" : "", in attr_show_args()
50 elem->args[i].desc); in attr_show_args()
52 return p - buf; in attr_show_args()
62 struct dsp_element_entry *entry = in mISDN_dsp_dev_release() local
[all …]
/openbmc/u-boot/drivers/core/
H A Dlists.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <dm/device-internal.h>
20 struct driver *lists_driver_lookup_name(const char *name) in lists_driver_lookup_name() argument
25 struct driver *entry; in lists_driver_lookup_name() local
27 for (entry = drv; entry != drv + n_ents; entry++) { in lists_driver_lookup_name()
28 if (!strcmp(name, entry->name)) in lists_driver_lookup_name()
29 return entry; in lists_driver_lookup_name()
41 struct uclass_driver *entry; in lists_uclass_lookup() local
43 for (entry = uclass; entry != uclass + n_ents; entry++) { in lists_uclass_lookup()
44 if (entry->id == id) in lists_uclass_lookup()
[all …]
/openbmc/linux/fs/nfs/
H A Dnfs42xattr.c1 // SPDX-License-Identifier: GPL-2.0
25 * to a special-cased entry for the listxattr cache.
51 * You can certainly add a lot more - but you get what you ask for
111 INIT_HLIST_HEAD(&cache->buckets[i].hlist); in nfs4_xattr_hash_init()
112 spin_lock_init(&cache->buckets[i].lock); in nfs4_xattr_hash_init()
113 cache->buckets[i].cache = cache; in nfs4_xattr_hash_init()
114 cache->buckets[i].draining = false; in nfs4_xattr_hash_init()
125 * Wrapper functions to add a cache entry to the right LRU.
128 nfs4_xattr_entry_lru_add(struct nfs4_xattr_entry *entry) in nfs4_xattr_entry_lru_add() argument
132 lru = (entry->flags & NFS4_XATTR_ENTRY_EXTVAL) ? in nfs4_xattr_entry_lru_add()
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Logging/
H A DIPMI.interface.yaml6 type followed by type-specific information. The type-specific information
8 adding the SEL record), sensor number, event direction and event-specific
12 events it requires a generator ID (0x20 for BMC), sensor D-Bus path, event
13 direction (assertion or de-assertion), and event specific data. For OEM type
19 - name: IpmiSelAdd
21 Log a system event record type SEL entry.
23 - name: Message
27 - name: Path
30 The object path that is generating the SEL entry.
31 - name: SELData
[all …]
H A DEntry.interface.yaml2 Implement to provide event/error entry attributes. This interface should be
9 - name: Id
12 The error event entry id number.
13 - name: Timestamp
16 Commit timestamp of the error event entry in milliseconds since 1970.
17 - name: Severity
20 The severity of the error event entry.
21 - name: Message
24 The message description of the error event entry.
25 - name: EventId
[all …]
H A DCreate.interface.yaml3 creation of xyz.openbmc_project.Logging.Entry objects directly over D-Bus,
7 - name: Create
9 Create a xyz.openbmc_project.Logging.Entry object.
11 - name: Message
14 The Message property of the event entry.
15 - name: Severity
16 type: enum[xyz.openbmc_project.Logging.Entry.Level]
18 The Severity property of the event entry.
19 - name: AdditionalData
22 The AdditionalData property of the event entry. e.g.:
[all …]
/openbmc/u-boot/env/
H A Dattr.c1 // SPDX-License-Identifier: GPL-2.0+
25 * entry = name[:attributes]
26 * list = entry[,list]
29 int (*callback)(const char *name, const char *attributes, void *priv), in env_attr_walk() argument
32 const char *entry, *entry_end; in env_attr_walk() local
33 char *name, *attributes; in env_attr_walk() local
39 entry = attr_list; in env_attr_walk()
43 entry_end = strchr(entry, ENV_ATTR_LIST_DELIM); in env_attr_walk()
44 /* check if this is the last entry in the list */ in env_attr_walk()
46 int entry_len = strlen(entry); in env_attr_walk()
[all …]
/openbmc/linux/arch/x86/include/asm/
H A Didtentry.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 #include <linux/entry-common.h>
19 * DECLARE_IDTENTRY - Declare functions for simple IDT entry points
22 * @func: Function name of the entry point
25 * - The ASM entry point: asm_##func
26 * - The XEN PV trap entry point: xen_##func (maybe unused)
27 * - The C handler called from the FRED event dispatcher (maybe unused)
28 * - The C handler called from the ASM entry point
30 * Note: This is the C variant of DECLARE_IDTENTRY(). As the name says it
31 * declares the entry points for usage in C code. There is an ASM variant
[all …]
/openbmc/linux/net/atm/
H A Dmpc.c1 // SPDX-License-Identifier: GPL-2.0-only
68 /* mpc_daemon -> kernel */
87 static void purge_egress_shortcut(struct atm_vcc *vcc, eg_cache_entry *entry);
134 if (mpc->dev_num == itf) in find_mpc_by_itfnum()
136 mpc = mpc->next; in find_mpc_by_itfnum()
148 if (mpc->mpoad_vcc == vcc) in find_mpc_by_vcc()
150 mpc = mpc->next; in find_mpc_by_vcc()
162 if (mpc->dev == dev) in find_mpc_by_lec()
164 mpc = mpc->next; in find_mpc_by_lec()
175 * Overwrites the old entry or makes a new one.
[all …]
/openbmc/pldm/libpldmresponder/
H A Dbios_table.hpp46 /** @brief Ctor - set file path to persist BIOS table
48 * @param[in] filePath - file where BIOS table should be persisted
54 * @return bool - true if table exists, false otherwise
60 * @param[in] table - BIOS table
66 * @param[in,out] response - PLDM response message to GetBIOSTable
84 /** @brief Find the string name from the BIOS string table for a string
86 * @param[in] handle - string handle
87 * @return name of the corresponding BIOS string
92 * name
93 * @param[in] name - name of the BIOS string
[all …]
/openbmc/u-boot/include/
H A Dlinker_lists.h1 /* SPDX-License-Identifier: GPL-2.0+ */
5 * Implementation of linker-generated arrays
23 * llsym() - Access a linker-generated array entry
24 * @_type: Data type of the entry
25 * @_name: Name of the entry
26 * @_list: name of the list. Should contain only characters allowed
27 * in a C variable name!
33 * ll_entry_declare() - Declare linker-generated array entry
34 * @_type: Data type of the entry
35 * @_name: Name of the entry
[all …]
/openbmc/phosphor-mrw-tools/
H A Dhwmon.pl4 #for use by the phosphor-hwmon daemon. These configuration files
32 my $g_targetObj = Targets->new;
33 $g_targetObj->loadXML($serverwizFile);
48 my $connections = $g_targetObj->findConnections($bmc, "I2C");
52 for my $i2c (@{$connections->{CONN}}) {
54 my $chip = $i2c->{DEST_PARENT};
56 "unit-hwmon-feature",
66 my %entry;
67 $entry{type} = I2C_TYPE;
68 $entry{name} = lc $g_targetObj->getInstanceName($chip);
[all …]
/openbmc/linux/scripts/mod/
H A Dlist.h1 /* SPDX-License-Identifier: GPL-2.0 */
12 * container_of - cast a member of a structure out to the containing structure
15 * @member: the name of the member within the struct.
20 _Static_assert(__same_type(*(ptr), ((type *)0)->member) || \
23 ((type *)(__mptr - offsetof(type, member))); })
35 * using the generic single-entry routines.
42 #define LIST_HEAD_INIT(name) { &(name), &(name) } argument
44 #define LIST_HEAD(name) \ argument
45 struct list_head name = LIST_HEAD_INIT(name)
48 * INIT_LIST_HEAD - Initialize a list_head structure
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/registry/tools/
H A Dvalidate_registry.py17 'Name' field. There may be a use case for this in the future, but there
24 for entry in registry_json["PELs"]:
25 if entry["Name"] in names:
26 sys.exit("Found multiple uses of error {}".format(entry["Name"]))
28 names.append(entry["Name"])
40 for entry in registry_json["PELs"]:
41 if entry["SRC"]["ReasonCode"] in reasonCodes:
44 entry["SRC"]["ReasonCode"]
48 reasonCodes.append(entry["SRC"]["ReasonCode"])
60 for entry in registry_json["PELs"]:
[all …]
/openbmc/linux/include/sound/
H A Dinfo.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
30 void (*read)(struct snd_info_entry *entry,
32 void (*write)(struct snd_info_entry *entry,
37 int (*open)(struct snd_info_entry *entry,
39 int (*release)(struct snd_info_entry *entry,
41 ssize_t (*read)(struct snd_info_entry *entry, void *file_private_data,
44 ssize_t (*write)(struct snd_info_entry *entry, void *file_private_data,
47 loff_t (*llseek)(struct snd_info_entry *entry,
50 __poll_t (*poll)(struct snd_info_entry *entry,
53 int (*ioctl)(struct snd_info_entry *entry, void *file_private_data,
[all …]
/openbmc/linux/fs/efivarfs/
H A Dsuper.c1 // SPDX-License-Identifier: GPL-2.0-only
52 buf->f_bsize = 1; in efivarfs_statfs()
53 buf->f_namelen = NAME_MAX; in efivarfs_statfs()
54 buf->f_blocks = storage_space; in efivarfs_statfs()
55 buf->f_bfree = remaining_space; in efivarfs_statfs()
56 buf->f_type = dentry->d_sb->s_magic; in efivarfs_statfs()
64 buf->f_bavail = remaining_space - efivar_reserved_space(); in efivarfs_statfs()
66 buf->f_bavail = 0; in efivarfs_statfs()
81 * 1. A case-sensitive variable name
82 * 2. A case-insensitive GUID
[all …]
/openbmc/linux/sound/soc/intel/avs/
H A Dutils.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // Copyright(c) 2021-2022 Intel Corporation. All rights reserved.
15 /* Caller responsible for holding adev->modres_mutex. */
20 for (i = 0; i < adev->mods_info->count; i++) { in avs_module_entry_index()
23 module = &adev->mods_info->entries[i]; in avs_module_entry_index()
24 if (guid_equal(&module->uuid, uuid)) in avs_module_entry_index()
28 return -ENOENT; in avs_module_entry_index()
31 /* Caller responsible for holding adev->modres_mutex. */
36 for (i = 0; i < adev->mods_info->count; i++) { in avs_module_id_entry_index()
39 module = &adev->mods_info->entries[i]; in avs_module_id_entry_index()
[all …]
/openbmc/linux/tools/usb/usbip/libsrc/
H A Dlist.h1 /* SPDX-License-Identifier: GPL-2.0 */
16 * using the generic single-entry routines.
23 #define LIST_HEAD_INIT(name) { &(name), &(name) } argument
25 #define LIST_HEAD(name) \ argument
26 struct list_head name = LIST_HEAD_INIT(name)
30 list->next = list; in INIT_LIST_HEAD()
31 list->prev = list; in INIT_LIST_HEAD()
35 * Insert a new entry between two known consecutive entries.
44 next->prev = new; in __list_add()
45 new->next = next; in __list_add()
[all …]
/openbmc/u-boot/scripts/kconfig/
H A Dlist.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
13 * container_of - cast a member of a structure out to the containing structure
16 * @member: the name of the member within the struct.
20 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
21 (type *)( (char *)__mptr - offsetof(type,member) );})
29 #define LIST_HEAD_INIT(name) { &(name), &(name) } argument
31 #define LIST_HEAD(name) \ argument
32 struct list_head name = LIST_HEAD_INIT(name)
35 * list_entry - get the struct for this entry
[all …]
/openbmc/linux/scripts/kconfig/
H A Dlist.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
13 * container_of - cast a member of a structure out to the containing structure
16 * @member: the name of the member within the struct.
20 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
21 (type *)( (char *)__mptr - offsetof(type,member) );})
29 #define LIST_HEAD_INIT(name) { &(name), &(name) } argument
31 #define LIST_HEAD(name) \ argument
32 struct list_head name = LIST_HEAD_INIT(name)
35 * list_entry - get the struct for this entry
[all …]
/openbmc/linux/security/tomoyo/
H A Ddomain.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2005-2011 NTT DATA CORPORATION
20 * tomoyo_update_policy - Update an entry for exception policy.
25 * @check_duplicate: Callback function to find duplicated entry.
38 int error = param->is_delete ? -ENOENT : -ENOMEM; in tomoyo_update_policy()
39 struct tomoyo_acl_head *entry; in tomoyo_update_policy() local
40 struct list_head *list = param->list; in tomoyo_update_policy()
43 return -ENOMEM; in tomoyo_update_policy()
44 list_for_each_entry_rcu(entry, list, list, in tomoyo_update_policy()
46 if (entry->is_deleted == TOMOYO_GC_IN_PROGRESS) in tomoyo_update_policy()
[all …]

12345678910>>...43