/openbmc/linux/scripts/ |
H A D | cc-version.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # Print the C compiler name and its version in a 5 or 6-digit form. 5 # Also, perform the minimum version check. 7 set -e 9 # Print the C compiler name and some version components. 12 cat <<- EOF | "$@" -E -P -x c - 2>/dev/null 23 # Convert the version string x.y.z to a canonical 5 or 6-digit form. 27 set -- $1 33 set -- $(get_c_compiler_info "$@") 35 name=$1 [all …]
|
H A D | as-version.sh | 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Print the assembler name and its version in a 5 or 6-digit form. 5 # Also, perform the minimum version check. 6 # (If it is the integrated assembler, return 0 as the version, and 7 # skip the version check.) 9 set -e 11 # Convert the version string x.y.z to a canonical 5 or 6-digit form. 15 set -- $1 21 echo $((10000 * $1 + 100 * ${2:-0} + ${3:-0})) 24 # Clang fails to handle -Wa,--version unless -fno-integrated-as is given. [all …]
|
H A D | Kconfig.include | 1 # SPDX-License-Identifier: GPL-2.0-only 14 # $(if-success,<command>,<then>,<else>) 16 if-success = $(shell,{ $(1); } >/dev/null 2>&1 && echo "$(2)" || echo "$(3)") 20 success = $(if-success,$(1),y,n) 24 failure = $(if-success,$(1),n,y) 26 # $(cc-option,<flag>) 28 cc-option = $(success,trap "rm -rf .tmp_$$" EXIT; mkdir .tmp_$$; $(CC) -Werror $(CLANG_FLAGS) $(1) … 30 # $(ld-option,<flag>) 32 ld-option = $(success,$(LD) -v $(1)) 34 # $(as-instr,<instr>) [all …]
|
/openbmc/linux/tools/verification/rv/ |
H A D | Makefile | 1 NAME := rv macro 2 # Follow the kernel version 3 VERSION := $(shell cat VERSION 2> /dev/null || make -sC ../../.. kernelversion | grep -v make) macro 11 define allow-override 18 $(call allow-override,CC,$(CROSS_COMPILE)gcc) 19 $(call allow-override,AR,$(CROSS_COMPILE)ar) 20 $(call allow-override,STRIP,$(CROSS_COMPILE)strip) 21 $(call allow-override,PKG_CONFIG,pkg-config) 22 $(call allow-override,LD_SO_CONF_PATH,/etc/ld.so.conf.d/) 23 $(call allow-override,LDCONFIG,ldconfig) [all …]
|
/openbmc/linux/drivers/mtd/parsers/ |
H A D | qcomsmempart.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2020, Linaro Ltd. 28 * struct smem_flash_pentry - SMEM Flash partition entry 29 * @name: Name of the partition 35 char name[SMEM_FLASH_PTABLE_NAME_SIZE]; member 42 * struct smem_flash_ptable - SMEM Flash partition table 45 * @version: Partition table version 52 __le32 version; member 66 char *name, *c; in parse_qcomsmem_part() local 69 && mtd->type == MTD_NORFLASH) { in parse_qcomsmem_part() [all …]
|
/openbmc/linux/tools/tracing/rtla/ |
H A D | Makefile | 1 NAME := rtla macro 2 # Follow the kernel version 3 VERSION := $(shell cat VERSION 2> /dev/null || make -sC ../../.. kernelversion | grep -v make) macro 11 define allow-override 18 $(call allow-override,CC,$(CROSS_COMPILE)gcc) 19 $(call allow-override,AR,$(CROSS_COMPILE)ar) 20 $(call allow-override,STRIP,$(CROSS_COMPILE)strip) 21 $(call allow-override,PKG_CONFIG,pkg-config) 22 $(call allow-override,LD_SO_CONF_PATH,/etc/ld.so.conf.d/) 23 $(call allow-override,LDCONFIG,ldconfig) [all …]
|
/openbmc/linux/fs/unicode/ |
H A D | utf8-core.c | 1 /* SPDX-License-Identifier: GPL-2.0 */ 14 if (utf8nlen(um, UTF8_NFDI, str->name, str->len) < 0) in utf8_validate() 15 return -1; in utf8_validate() 26 if (utf8ncursor(&cur1, um, UTF8_NFDI, s1->name, s1->len) < 0) in utf8_strncmp() 27 return -EINVAL; in utf8_strncmp() 29 if (utf8ncursor(&cur2, um, UTF8_NFDI, s2->name, s2->len) < 0) in utf8_strncmp() 30 return -EINVAL; in utf8_strncmp() 37 return -EINVAL; in utf8_strncmp() 52 if (utf8ncursor(&cur1, um, UTF8_NFDICF, s1->name, s1->len) < 0) in utf8_strncasecmp() 53 return -EINVAL; in utf8_strncasecmp() [all …]
|
/openbmc/linux/tools/testing/selftests/vDSO/ |
H A D | vdso_test_gettimeofday.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * vdso_test_gettimeofday.c: Sample code to test parse_vdso.c and 5 * Copyright (c) 2014 Andy Lutomirski 8 * gcc -std=gnu99 vdso_test_gettimeofday.c parse_vdso_gettimeofday.c 10 * Tested on x86, 32-bit and 64-bit. It may work on other architectures, too. 24 * name and version from other architectures, so we need to handle it as 28 const char *version = "LINUX_2.6.39"; variable 29 const char *name = "__kernel_gettimeofday"; variable 31 const char *version = "LINUX_4.15"; variable 32 const char *name = "__vdso_gettimeofday"; variable [all …]
|
H A D | vdso_test_abi.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * vdso_full_test.c: Sample code to test all the timers. 4 * Copyright (c) 2019 Arm Ltd. 7 * gcc -std=gnu99 vdso_full_test.c parse_vdso.c 24 extern void *vdso_sym(const char *version, const char *name); 28 static const char *version; variable 29 static const char **name; variable 44 (vdso_gettimeofday_t)vdso_sym(version, name[0]); in vdso_test_gettimeofday() 47 ksft_test_result_skip(VDSO_TEST_SKIP_MSG(name[0])); in vdso_test_gettimeofday() 59 ksft_test_result_fail(VDSO_TEST_FAIL_MSG(name[0])); in vdso_test_gettimeofday() [all …]
|
/openbmc/openbmc/poky/meta/lib/oe/ |
H A D | npm_registry.py | 4 # SPDX-License-Identifier: MIT 14 '_.-~()') 21 # hex-chars but urllib generates uppercase ones 25 for c in s: 26 if c in _ALWAYS_SAFE or c in safe_set: 27 res += c 29 res += '%%%02x' % ord(c) 37 def name(self): member in PackageJson 38 return self.__spec['name'] 41 def version(self): member in PackageJson [all …]
|
/openbmc/linux/fs/jffs2/ |
H A D | summary.h | 2 * JFFS2 -- Journalling Flash File System, Version 2. 4 * Copyright © 2004 Ferenc Havasi <havasi@inf.u-szeged.hu>, 5 * Zoltan Sogor <weth@inf.u-szeged.hu>, 6 * Patrik Kluba <pajko@halom.u-szeged.hu>, 49 jint32_t version; /* inode version */ member 60 jint32_t version; /* dirent version */ member 62 uint8_t nsize; /* dirent name size */ 64 uint8_t name[]; /* dirent name */ member 71 jint32_t version; /* version number */ member 104 jint32_t version; /* inode version */ member [all …]
|
H A D | summary.c | 2 * JFFS2 -- Journalling Flash File System, Version 2. 4 * Copyright © 2004 Ferenc Havasi <havasi@inf.u-szeged.hu>, 5 * Zoltan Sogor <weth@inf.u-szeged.hu>, 6 * Patrik Kluba <pajko@halom.u-szeged.hu>, 26 int jffs2_sum_init(struct jffs2_sb_info *c) in jffs2_sum_init() argument 28 uint32_t sum_size = min_t(uint32_t, c->sector_size, MAX_SUMMARY_SIZE); in jffs2_sum_init() 30 c->summary = kzalloc(sizeof(struct jffs2_summary), GFP_KERNEL); in jffs2_sum_init() 32 if (!c->summary) { in jffs2_sum_init() 34 return -ENOMEM; in jffs2_sum_init() 37 c->summary->sum_buf = kmalloc(sum_size, GFP_KERNEL); in jffs2_sum_init() [all …]
|
H A D | write.c | 2 * JFFS2 -- Journalling Flash File System, Version 2. 4 * Copyright © 2001-2007 Red Hat, Inc. 23 int jffs2_do_new_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, in jffs2_do_new_inode() argument 30 return -ENOMEM; in jffs2_do_new_inode() 35 f->inocache = ic; in jffs2_do_new_inode() 36 f->inocache->pino_nlink = 1; /* Will be overwritten shortly for directories */ in jffs2_do_new_inode() 37 f->inocache->nodes = (struct jffs2_raw_node_ref *)f->inocache; in jffs2_do_new_inode() 38 f->inocache->state = INO_STATE_PRESENT; in jffs2_do_new_inode() 40 jffs2_add_ino_cache(c, f->inocache); in jffs2_do_new_inode() 41 jffs2_dbg(1, "%s(): Assigned ino# %d\n", __func__, f->inocache->ino); in jffs2_do_new_inode() [all …]
|
/openbmc/u-boot/fs/jffs2/ |
H A D | jffs2_nand_1pass.c | 43 static char spinner[] = { '|', '/', '-', '\\' }; 55 while (list->listMemBase != NULL) { in free_nodes() 56 struct mem_block *next = list->listMemBase->next; in free_nodes() 57 free(list->listMemBase); in free_nodes() 58 list->listMemBase = next; in free_nodes() 69 memBase = list->listMemBase; in add_node() 71 index = memBase->index; in add_node() 80 memBase->next = list->listMemBase; in add_node() 84 b = (struct b_node *)&memBase->nodes[size * index]; in add_node() 87 memBase->index = index; in add_node() [all …]
|
/openbmc/phosphor-bmc-code-mgmt/bmc/ |
H A D | obmc-flash-bmc | 2 set -eo pipefail 10 if [ -z "${m}" ]; then 27 m="$(grep -xl "$1" /sys/class/mtd/*/name)" 28 m="${m%/name}" 42 u="$(grep -xl "$1" /sys/class/ubi/ubi?/subsystem/ubi*/name)" 43 u="${u%/name}" 50 u="$(grep -xl "$1" /sys/class/ubi/ubi"$2"/subsystem/ubi"$2"*/name)" 51 u="${u%/name}" 58 u="$(grep -h "$1" /sys/class/ubi/ubi"$2"/subsystem/ubi"$2"*/name)" 59 u="${u%/name}" [all …]
|
/openbmc/u-boot/tools/env/ |
H A D | fw_env_main.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * (C) Copyright 2000-2008 8 * Command line user interface to firmware (=U-Boot) environment. 11 * fw_printenv [ -a key ] [[ -n name ] | [ name ... ]] 12 * - prints the value of a single environment variable 13 * "name", the ``name=value'' pairs of one or more 14 * environment variables "name", or the whole 16 * fw_setenv [ -a key ] name [ value ... ] 17 * - If a name without any values is given, the variable 18 * with this name is deleted from the environment; [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/fetch2/ |
H A D | crate.py | 2 # -*- tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- 7 # Copyright (C) 2016 Doug Goldstein 9 # SPDX-License-Identifier: GPL-2.0-only 53 # URL syntax is: crate://NAME/VERSION 57 raise bb.fetch2.ParameterError("Invalid URL: Must be crate://HOST/NAME/VERSION", ud.url) 59 # version is expected to be the last token 62 version = parts[-1].split(";")[0] 63 # second to last field is name 64 name = parts[-2] 66 host = '/'.join(parts[2:-2]) [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata/ |
H A D | OFL.txt | 1 Copyright (c) <dates>, <Copyright Holder> (<URL|email>), 2 with Reserved Font Name <Reserved Font Name>. 3 Copyright (c) <dates>, <additional Copyright Holder> (<URL|email>), 4 with Reserved Font Name <additional Reserved Font Name>. 5 Copyright (c) <dates>, <additional Copyright Holder> (<URL|email>). 7 This Font Software is licensed under the SIL Open Font License, Version 1.1. 12 ----------------------------------------------------------- 13 SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 14 ----------------------------------------------------------- 37 "Reserved Font Name" refers to any names specified as such after the [all …]
|
/openbmc/u-boot/board/LaCie/common/ |
H A D | common.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2011 Simon Guinot <sguinot@lacie.com> 20 void mv_phy_88e1116_init(const char *name, u16 phyaddr) in mv_phy_88e1116_init() argument 24 if (miiphy_set_current_dev(name)) in mv_phy_88e1116_init() 31 miiphy_write(name, phyaddr, MII_MARVELL_PHY_PAGE, 2); in mv_phy_88e1116_init() 32 miiphy_read(name, phyaddr, MV88E1116_MAC_CTRL_REG, ®); in mv_phy_88e1116_init() 34 miiphy_write(name, phyaddr, MV88E1116_MAC_CTRL_REG, reg); in mv_phy_88e1116_init() 35 miiphy_write(name, phyaddr, MII_MARVELL_PHY_PAGE, 0); in mv_phy_88e1116_init() 37 if (miiphy_reset(name, phyaddr) == 0) in mv_phy_88e1116_init() 38 printf("88E1116 Initialized on %s\n", name); in mv_phy_88e1116_init() [all …]
|
/openbmc/qemu/hw/9pfs/ |
H A D | trace-events | 3 # 9p.c 6 v9fs_version(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d version… 7 …on_return(uint16_t tag, uint8_t id, int32_t msize, char* version) "tag %d id %d msize %d version %… 9 …(uint16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path) "tag %u id %u type %u ve… 17 … tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path, int iounit) "tag %u id %u qid={ty… 19 …ag, uint8_t id, uint8_t type, uint32_t version, uint64_t path, int32_t iounit) "tag %u id %u qid={… 28 …e(uint16_t tag, uint8_t id, int32_t fid, char* name, int32_t perm, int8_t mode) "tag %d id %d fid … 29 … tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path, int iounit) "tag %u id %u qid={ty… 30 …uint16_t tag, uint8_t id, int32_t fid, char* name, char* symname, uint32_t gid) "tag %d id %d fid… 31 …nt16_t tag, uint8_t id, uint8_t type, uint32_t version, uint64_t path) "tag %u id %u qid={type %u … [all …]
|
/openbmc/linux/Documentation/userspace-api/netlink/ |
H A D | c-code-gen.rst | 1 .. SPDX-License-Identifier: BSD-3-Clause 4 Netlink spec C code generation 8 C code (uAPI, policies etc.). It also defines the additional properties 9 allowed in older families by the ``genetlink-c`` protocol level, 12 For brevity this document refers to ``name`` properties of various 14 of ``name`` in an attribute, and ``$family`` is the name of the 15 family (the global ``name`` property). 17 The upper case is used to denote literal values, e.g. ``$family-CMD`` 22 and with dashes (``-``) replaced by underscores (``_``). 24 If the constructed name is a C keyword, an extra underscore is [all …]
|
/openbmc/u-boot/Documentation/sphinx/ |
H A D | cdomain.py | 1 # -*- coding: utf-8; mode: python -*- 7 Replacement for the sphinx c-domain. 9 :copyright: Copyright (C) 2016 Markus Heiser 10 :license: GPL Version 2, June 1991 see Linux/COPYING for details. 14 * Moved the *duplicate C object description* warnings for function 18 * Add option 'name' to the "c:function:" directive. With option 'name' the 19 ref-name of a function can be modified. E.g.:: 21 .. c:function:: int ioctl( int fd, int request ) 22 :name: VIDIOC_LOG_STATUS 24 The func-name (e.g. ioctl) remains in the output but the ref-name changed [all …]
|
/openbmc/linux/Documentation/userspace-api/media/mediactl/ |
H A D | media-ioc-device-info.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 2 .. c:namespace:: MC 10 Name chapter 13 MEDIA_IOC_DEVICE_INFO - Query device information 18 .. c:macro:: MEDIA_IOC_DEVICE_INFO 26 File descriptor returned by :c:func:`open()`. 29 Pointer to struct :c:type:`media_device_info`. 36 a struct :c:type:`media_device_info`. The driver 40 .. c:type:: media_device_info 44 .. flat-table:: struct media_device_info [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-connectivity/smstools3/smstools3/ |
H A D | 0001-Make-extern-declarations-to-avoid-duplicate-var-defi.patch | 3 Date: Thu, 13 Aug 2020 16:56:22 -0700 6 gcc-10+ defaults to -fno-common which flags these errors about mulitple 11 Upstream-Status: Pending 12 Signed-off-by: Khem Raj <raj.khem@gmail.com> 13 --- 14 src/blacklist.c | 2 +- 15 src/blacklist.h | 2 +- 16 src/charset.c | 2 +- 17 src/charshift.c | 2 +- 18 src/logging.c | 2 +- [all …]
|
/openbmc/linux/drivers/rpmsg/ |
H A D | qcom_glink_ssr.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2014-2017, The Linux Foundation. All rights reserved. 4 * Copyright (c) 2017, Linaro Ltd. 15 * struct do_cleanup_msg - The data structure for an SSR do_cleanup message 16 * @version: The G-Link SSR protocol version 17 * @command: The G-Link SSR command - do_cleanup 19 * @name_len: Length of the name of the subsystem being restarted 20 * @name: G-Link edge name of the subsystem being restarted 23 __le32 version; member 27 char name[32]; member [all …]
|