Home
last modified time | relevance | path

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

12345678910>>...42

/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-npcm750-runbmc-olympus.dts1 // SPDX-License-Identifier: GPL-2.0
5 /dts-v1/;
6 #include "nuvoton-npcm750.dtsi"
7 #include "nuvoton-npcm750-runbmc-olympus-pincfg.dtsi"
9 #include <dt-bindings/i2c/i2c.h>
10 #include <dt-bindings/gpio/gpio.h>
43 stdout-path = &serial3;
50 iio-hwmon {
51 compatible = "iio-hwmon";
52 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>,
[all …]
/linux/tools/testing/selftests/gpio/
H A Dgpio-aggregator.sh2 # SPDX-License-Identifier: GPL-2.0
7 CONFIGFS_SIM_DIR="/sys/kernel/config/gpio-sim"
8 CONFIGFS_AGG_DIR="/sys/kernel/config/gpio-aggregator"
9 SYSFS_AGG_DIR="/sys/bus/platform/drivers/gpio-aggregator"
10 MODULE="gpio-aggregator"
24 # gpio-sim
38 local NOCHECK=${1:-0}
41 [ -d "$CHIP_DIR" ] || continue
43 find "$CHIP_DIR" -depth -type d -exec rmdir {} \;
45 [ "$NOCHECK" -eq 1 ] && return;
[all …]
H A Dgpio-sim.sh2 # SPDX-License-Identifier: GPL-2.0
6 CONFIGFS_DIR="/sys/kernel/config/gpio-sim"
7 MODULE="gpio-sim"
26 if [ "$BANK" = "live" -o "$BANK" = "dev_name" ]; then
30 LINES=`ls $CONFIGFS_DIR/$CHIP/$BANK/ | grep -E ^line`
32 for LINE in $LINES; do
33 if [ -e $CONFIGFS_DIR/$CHIP/$BANK/$LINE/hog ]; then
34 rmdir $CONFIGFS_DIR/$CHIP/$BANK/$LINE/hog || \
38 rmdir $CONFIGFS_DIR/$CHIP/$BANK/$LINE || \
39 fail "Unable to remove the line"
[all …]
/linux/tools/testing/kunit/
H A Dkunit_parser.py1 # SPDX-License-Identifier: GPL-2.0
4 # results with reader-friendly format. Stores and returns test results in a
29 status : TestStatus - status of the test
30 name : str - name of the test
31 expected_count : int - expected number of subtests (0 if single
33 subtests : List[Test] - lis
[all...]
H A Dkunit_config.py1 # SPDX-License-Identifier: GPL-2.0
18 name: str
21 def __str__(self) -> str:
23 return f'# CONFIG_{self.name} is not set'
24 return f'CONFIG_{self.name}={self.value}'
34 def __init__(self) -> None:
37 def __eq__(self, other: Any) -> bool:
42 def __repr__(self) -> str:
45 def as_entries(self) -> Iterable[KconfigEntry]:
46 for name, value in self._entries.items():
[all …]
/linux/tools/perf/util/
H A Ddrm_pmu.c1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
34 const char *name; member
63 return pmu && pmu->type >= PERF_PMU_TYPE_DRM_START && in perf_pmu__is_drm()
64 pmu->type <= PERF_PMU_TYPE_DRM_END; in perf_pmu__is_drm()
69 return perf_pmu__is_drm(evsel->pmu); in evsel__is_drm()
72 static struct drm_pmu *add_drm_pmu(struct list_head *pmus, char *line, size_t line_len) in add_drm_pmu() argument
76 const char *name; in add_drm_pmu() local
80 if (line[line_len - 1] == '\n') in add_drm_pmu()
81 line[line_len - 1] = '\0'; in add_drm_pmu()
82 while (isspace(line[i])) in add_drm_pmu()
[all …]
H A Ddwarf-aux.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * dwarf-aux.c : libdw auxiliary interfaces
11 #include "dwarf-aux.h"
12 #include "dwarf-regs.h"
17 * cu_find_realpath - Find the realpath of the target file
48 * cu_get_comp_dir - Get the path of compilation directory
63 /* Unlike dwarf_getsrc_die(), cu_getsrc_die() only returns statement line */
68 Dwarf_Line *line; in cu_getsrc_die() local
77 l = 0; u = nlines - 1; in cu_getsrc_die()
79 n = u - (u - l) / 2; in cu_getsrc_die()
[all …]
/linux/usr/
H A Dgen_init_cpio.c1 // SPDX-License-Identifier: GPL-2.0
29 #define padlen(_off, _align) (((_align) - ((_off) & ((_align) - 1))) % (_align))
31 /* zero-padding the filename field for data alignment is limited by PATH_MAX */
43 int (*handler)(const char *line);
46 static int push_buf(const char *name, size_t name_len) in push_buf() argument
50 len = write(outfd, name, name_len); in push_buf()
52 return -1; in push_buf()
68 return -1; in push_pad()
74 static int push_rest(const char *name, size_t name_len) in push_rest() argument
78 len = write(outfd, name, name_len); in push_rest()
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_gen_wa_oob.c1 // SPDX-License-Identifier: MIT
14 "// SPDX-License-Identifier: MIT\n" \
33 fprintf(f, "usage: %s <input-rule-file> <generated-c-source-file> <generated-c-header-file>\n", in print_usage()
37 static void print_parse_error(const char *err_msg, const char *line, in print_parse_error() argument
41 err_msg, lineno, line); in print_parse_error()
44 static char *strip(char *line, size_t linelen) in strip() argument
46 while (isspace(*(line + linelen))) in strip()
47 linelen--; in strip()
49 line[linelen - 1] = '\0'; in strip()
51 return line + strspn(line, " \f\n\r\t\v"); in strip()
[all …]
/linux/include/uapi/linux/
H A Dgpio.h1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
3 * <linux/gpio.h> - userspace ABI for the GPIO character devices
19 * The maximum size of name and label arrays.
21 * Must be a multiple of 8 to ensure 32/64-bit alignment of structs.
26 * struct gpiochip_info - Information about a certain GPIO chip
27 * @name: the Linux kernel name of this GPIO chip
28 * @label: a functional name for this GPIO chip, such as a product
33 char name[GPIO_MAX_NAME_SIZE]; member
41 * Must be no greater than 64, as bitmaps are restricted here to 64-bits
42 * for simplicity, and a multiple of 2 to ensure 32/64-bit alignment of
[all …]
/linux/tools/testing/selftests/mseal_system_mappings/
H A Dsysmap_is_sealed.c1 // SPDX-License-Identifier: GPL-2.0-only
21 bool has_mapping(char *name, FILE *maps) in has_mapping() argument
23 char line[MAX_LINE_LEN]; in has_mapping() local
25 while (fgets(line, sizeof(line), maps)) { in has_mapping()
26 if (strstr(line, name)) in has_mapping()
33 bool mapping_is_sealed(char *name, FILE *maps) in mapping_is_sealed() argument
35 char line[MAX_LINE_LEN]; in mapping_is_sealed() local
37 while (fgets(line, sizeof(line), maps)) { in mapping_is_sealed()
38 if (!strncmp(line, VMFLAGS, strlen(VMFLAGS))) { in mapping_is_sealed()
39 if (strstr(line, MSEAL_FLAGS)) in mapping_is_sealed()
[all …]
/linux/Documentation/arch/arm/samsung/
H A Dclksrc-change-registers.awk1 #!/usr/bin/awk -f
3 # Copyright 2010 Ben Dooks <ben-linux@fluff.org>
8 # ./clksrc-change-registers.awk arch/arm/plat-s5pc1xx/include/plat/regs-clock.h < src > dst
14 return substr(s, eqat+2, (comat-eqat)-2)
19 return substr(b, 2, length(b)-2)
69 while (getline line < ARGV[1] > 0) {
70 if (line ~ /\#define.*_MASK/ &&
71 !(line ~ /USB_SIG_MASK/)) {
72 splitdefine(line, fields)
73 name = fields[0]
[all …]
/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-lenovo-hr630.dts1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2019-present Lenovo
8 /dts-v1/;
10 #include "aspeed-g5.dtsi"
11 #include <dt-bindings/gpio/aspeed-gpio.h>
15 compatible = "lenovo,hr630-bmc", "aspeed,ast2500";
29 stdout-path = &uart5;
38 reserved-memory {
39 #address-cells = <1>;
40 #size-cells = <1>;
[all …]
/linux/Documentation/admin-guide/gpio/
H A Dgpio-sim.rst1 .. SPDX-License-Identifier: GPL-2.0-or-later
6 The configfs GPIO Simulator (gpio-sim) provides a way to create simulated GPIO
12 ------------------------
14 The gpio-sim module registers a configfs subsystem called ``'gpio-sim'``. For
21 **Group:** ``/config/gpio-sim``
23 This is the top directory of the gpio-sim configfs tree.
25 **Group:** ``/config/gpio-sim/gpio-device``
27 **Attribute:** ``/config/gpio-sim/gpio-device/dev_name``
29 **Attribute:** ``/config/gpio-sim/gpio-device/live``
32 attribute is read-only and allows the user-space to read the platform device
[all …]
H A Dgpio-aggregator.rst1 .. SPDX-License-Identifier: GPL-2.0-only
11 -----------------------------
15 system permissions, on an all-or-nothing basis: either a GPIO controller is
26 write-only attribute files in sysfs.
28 /sys/bus/platform/drivers/gpio-aggregator/
35 .. code-block:: none
42 is a GPIO line name,
48 is a comma-separated list of GPIO offsets and/or
52 line 19 of "e6052000.gpio" and GPIO lines 20-21 of
55 .. code-block:: sh
[all …]
/linux/scripts/lib/kdoc/
H A Dkdoc_parser.py2 # SPDX-License-Identifier: GPL-2.0
23 # Regular expressions used to parse kernel-doc markups at KernelDoc class.
43 # @{section-name}:
61 type_param = KernRe(r"@(\w*((\.\w+)|(->\w+))*(\.\.\.)?)", cache=False)
71 r'(\w+)\s*(?:\(\w*\))?\s*' + # name and optional "(...)"
72 r'(?:[-:].*)?$', # description (not captured)
83 (KernRe(r"__attribute__\s*\(\([a-z
70 NAME = 1 # looking for function name global() variable in state
78 name = [ global() variable in state
251 output_declaration(self, dtype, name, **args) global() argument
1167 process_export(function_set, line) global() argument
1187 process_normal(self, ln, line) global() argument
1202 process_name(self, ln, line) global() argument
1300 process_body(self, ln, line) global() argument
1419 process_inline(self, ln, line) global() argument
1531 process_proto_function(self, ln, line) global() argument
1579 process_proto_type(self, ln, line) global() argument
1620 process_proto(self, ln, line) global() argument
1641 process_docblock(self, ln, line) global() argument
[all...]
/linux/scripts/
H A Ddecode_stacktrace.sh2 # SPDX-License-Identifier: GPL-2.0
4 #set -x
8 echo " $0 -r <release>"
10 echo " $0 -h"
14 if type llvm-cxxfilt >/dev/null 2>&1 ; then
15 cppfilt=llvm-cxxfilt
18 cppfilt_opts=-i
22 if [[ -z ${LLVM:-} ]]; then
23 UTIL_PREFIX=${CROSS_COMPILE:-}
25 UTIL_PREFIX=llvm-
[all …]
H A Dbpf_doc.py2 # SPDX-License-Identifier: GPL-2.0-only
4 # Copyright (C) 2018-2019 Netronome Systems, Inc.
25 def __init__(self, line='<line not provided>', reader=None): argument
28 'Error at file offset %d, parsing line: %s' %
29 (reader.tell(), line))
31 BaseException.__init__(self, 'Error parsing line: %s' % line)
69 name, distincts arguments.
78 res['name'] = capture.group(3)
87 'name' : capture.group(6)
109 @filename: name of file to parse, usually include/uapi/linux/bpf.h in the
[all …]
/linux/drivers/gpio/
H A Dgpio-ts5500.c1 // SPDX-License-Identifier: GPL-2.0
3 * Digital I/O driver for Technologic Systems TS-5500
5 * Copyright (c) 2012 Savoir-faire Linux Inc.
10 * In that sense, the support is not limited to the TS-5500 blocks.
13 * TS-5500:
14 * Documentation: https://docs.embeddedts.com/TS-5500
17 * TS-5600:
18 * Documentation: https://docs.embeddedts.com/TS-5600
19 * Blocks: LCD port (identical to TS-5500 LCD).
102 * TS-5500 DIO1 block
[all …]
/linux/tools/usb/usbip/libsrc/
H A Dnames.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * names.c -- USB name database manipulation routines
8 * - names_deinit() is added.
28 char name[1]; member
34 char name[1]; member
40 char name[1]; member
46 char name[1]; member
52 char name[1]; member
58 char name[1]; member
73 return num & (HASHSZ-1); in hashnum()
[all …]
/linux/tools/perf/Documentation/
H A Dperf-probe.txt1 perf-probe(1)
4 NAME
5 ----
6 perf-probe - Define new dynamic tracepoints
9 --------
11 'perf probe' [options] --add='PROBE' [...]
15 'perf probe' [options] --del='[GROUP:]EVENT' [...]
17 'perf probe' --list[=[GROUP:]EVENT]
19 'perf probe' [options] --line='LINE'
21 'perf probe' [options] --vars='PROBEPOINT'
[all …]
/linux/samples/cgroup/
H A Dmemcg_event_listener.c1 // SPDX-License-Identifier: GPL-2.0
3 * memcg_event_listener.c - Simple listener of memcg memory.events
25 (length) -= sizeof(*(event)) + (event)->len; \
52 printf("\tlow: %ld\n", counters->low); in print_memcg_counters()
53 printf("\thigh: %ld\n", counters->high); in print_memcg_counters()
54 printf("\tmax: %ld\n", counters->max); in print_memcg_counters()
55 printf("\toom: %ld\n", counters->oom); in print_memcg_counters()
56 printf("\toom_kill: %ld\n", counters->oom_kill); in print_memcg_counters()
57 printf("\toom_group_kill: %ld\n", counters->oom_group_kill); in print_memcg_counters()
60 static int get_memcg_counter(char *line, const char *name, long *counter) in get_memcg_counter() argument
[all …]
/linux/tools/verification/rvgen/rvgen/
H A Dltl2k.py2 # SPDX-License-Identifier: GPL-2.0-only
10 def line_len(line: str) -> int:
11 tabs = line.count('\t')
12 return tabs * 7 + len(line)
14 def break_long_line(line: str, indent='') -> list[str]:
16 while line_len(line) > COLUMN_LIMIT:
17 i = line[:COLUMN_LIMIT - line_len(line)].rfind(' ')
18 result.append(line[:i])
19 line = indent + line[i + 1:]
20 if line:
[all …]
/linux/Documentation/admin-guide/
H A Ddynamic-debug-howto.rst9 debug-print code to obtain additional kernel information.
22 - source filename
23 - function name
24 - line number (including ranges of line numbers)
25 - module name
26 - format string
27 - class name (as known/declared by each module)
29 NOTE: To actually get the debug-print output on the console, you may
32 Documentation/admin-guide/kernel-parameters.rst.
39 :#> head -n7 /proc/dynamic_debug/control
[all …]
/linux/Documentation/firmware-guide/acpi/
H A Dgpio-properties.rst1 .. SPDX-License-Identifier: GPL-2.0
13 With _DSD we can now query GPIOs using a name instead of an integer
19 Name (_HID, ...)
21 Name (_CRS, ResourceTemplate ()
29 Name (_DSD, Package ()
31 ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
34 Package () { "reset-gpios", Package () { ^BTH, 1, 1, 0 } },
35 Package () { "shutdown-gpios", Package () { ^BTH, 0, 0, 0 } },
42 Package () { "name", Package () { ref, index, pin, active_low }}
52 If 1, the GPIO is marked as active-low.
[all …]

12345678910>>...42