/linux-6.12.1/arch/arm/boot/dts/nuvoton/ |
D | nuvoton-npcm750-runbmc-olympus.dts | 1 // 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-6.12.1/tools/testing/kunit/ |
D | kunit_parser.py | 1 # 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] - list of subtests 34 log : List[str] - log of KTAP lines that correspond to the test 35 counts : TestCounts - counts of the test statuses and errors of 39 def __init__(self) -> None: 42 self.name = '' [all …]
|
D | kunit_config.py | 1 # 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-6.12.1/arch/arm/boot/dts/aspeed/ |
D | aspeed-bmc-lenovo-hr855xg2.dts | 1 // 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,hr855xg2-bmc", "aspeed,ast2500"; 29 stdout-path = &uart5; 38 reserved-memory { 39 #address-cells = <1>; 40 #size-cells = <1>; [all …]
|
D | aspeed-bmc-opp-palmetto.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 4 #include "aspeed-g4.dtsi" 5 #include <dt-bindings/gpio/aspeed-gpio.h> 9 compatible = "tyan,palmetto-bmc", "aspeed,ast2400"; 12 stdout-path = &uart5; 20 reserved-memory { 21 #address-cells = <1>; 22 #size-cells = <1>; 26 no-map; [all …]
|
D | aspeed-bmc-lenovo-hr630.dts | 1 // 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-6.12.1/usr/ |
D | gen_init_cpio.c | 1 // SPDX-License-Identifier: GPL-2.0 35 int (*handler)(const char *line); 38 static void push_string(const char *name) in push_string() argument 40 unsigned int name_len = strlen(name) + 1; in push_string() 42 fputs(name, stdout); in push_string() 55 static void push_rest(const char *name) in push_rest() argument 57 unsigned int name_len = strlen(name) + 1; in push_rest() 60 fputs(name, stdout); in push_rest() 81 const char name[] = "TRAILER!!!"; in cpio_trailer() local 97 (unsigned)strlen(name)+1, /* namesize */ in cpio_trailer() [all …]
|
/linux-6.12.1/drivers/gpu/drm/xe/ |
D | xe_gen_wa_oob.c | 1 // 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-6.12.1/include/uapi/linux/ |
D | gpio.h | 1 /* 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-6.12.1/Documentation/arch/arm/samsung/ |
D | clksrc-change-registers.awk | 1 #!/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-6.12.1/arch/arm64/boot/dts/mediatek/ |
D | pumpkin-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <dt-bindings/gpio/gpio.h> 16 stdout-path = "serial0:921600n8"; 21 compatible = "linaro,optee-tz"; 26 gpio-keys { 27 compatible = "gpio-keys"; 28 pinctrl-names = "default"; 29 pinctrl-0 = <&gpio_keys_default>; 31 key-volume-up { 35 wakeup-source; [all …]
|
/linux-6.12.1/tools/testing/selftests/gpio/ |
D | gpio-sim.sh | 2 # 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-6.12.1/scripts/ |
D | decode_stacktrace.sh | 2 # 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 …]
|
D | bpf_doc.py | 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Copyright (C) 2018-2019 Netronome Systems, Inc. 24 def __init__(self, line='<line not provided>', reader=None): argument 27 'Error at file offset %d, parsing line: %s' % 28 (reader.tell(), line)) 30 BaseException.__init__(self, 'Error parsing line: %s' % line) 60 name, distincts arguments. 69 res['name'] = capture.group(3) 78 'name' : capture.group(6) 89 @filename: name of file to parse, usually include/uapi/linux/bpf.h in the [all …]
|
/linux-6.12.1/Documentation/admin-guide/gpio/ |
D | gpio-sim.rst | 1 .. 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 …]
|
/linux-6.12.1/Documentation/sphinx/ |
D | maintainers_include.py | 2 # SPDX-License-Identifier: GPL-2.0 3 # -*- coding: utf-8; mode: python -*- 7 maintainers-include 10 Implementation of the ``maintainers-include`` reST-directive. 15 The ``maintainers-include`` reST-directive performs extensive parsing 32 app.add_directive("maintainers-include", MaintainersInclude) 40 u"""MaintainersInclude (``maintainers-include``) directive""" 44 """Parse all the MAINTAINERS lines into ReST for human-readability""" 55 # Field letter to field name mapping. 63 for line in open(path): [all …]
|
/linux-6.12.1/drivers/gpio/ |
D | gpio-ts5500.c | 1 // 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 …]
|
D | gpio-sim.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 74 guard(mutex)(&chip->lock); in gpio_sim_apply_pull() 76 if (test_bit(offset, chip->request_map) && in gpio_sim_apply_pull() 77 test_bit(offset, chip->direction_map)) { in gpio_sim_apply_pull() 78 if (value == !!test_bit(offset, chip->value_map)) in gpio_sim_apply_pull() 82 * This is fine - it just means, nobody is listening in gpio_sim_apply_pull() 83 * for interrupts on this line, otherwise in gpio_sim_apply_pull() 87 irq = irq_find_mapping(chip->irq_sim, offset); in gpio_sim_apply_pull() 103 /* Change the value unless we're actively driving the line. */ in gpio_sim_apply_pull() 104 if (!test_bit(offset, chip->request_map) || in gpio_sim_apply_pull() [all …]
|
/linux-6.12.1/tools/usb/usbip/libsrc/ |
D | names.c | 1 // 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-6.12.1/samples/cgroup/ |
D | memcg_event_listener.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * memcg_event_listener.c - Simple listener of memcg memory.events 27 (length) -= sizeof(*(event)) + (event)->len; \ 54 printf("\tlow: %ld\n", counters->low); in print_memcg_counters() 55 printf("\thigh: %ld\n", counters->high); in print_memcg_counters() 56 printf("\tmax: %ld\n", counters->max); in print_memcg_counters() 57 printf("\toom: %ld\n", counters->oom); in print_memcg_counters() 58 printf("\toom_kill: %ld\n", counters->oom_kill); in print_memcg_counters() 59 printf("\toom_group_kill: %ld\n", counters->oom_group_kill); in print_memcg_counters() 62 static int get_memcg_counter(char *line, const char *name, long *counter) in get_memcg_counter() argument [all …]
|
/linux-6.12.1/tools/perf/Documentation/ |
D | perf-probe.txt | 1 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-6.12.1/Documentation/admin-guide/ |
D | dynamic-debug-howto.rst | 9 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-6.12.1/tools/perf/util/ |
D | dwarf-aux.c | 1 // 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-6.12.1/arch/um/drivers/ |
D | line.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2001 - 2007 Jeff Dike (jdike@{addtoit,linux.intel}.com) 22 struct line *line = chan->line; in line_interrupt() local 24 if (line) in line_interrupt() 25 chan_interrupt(line, irq); in line_interrupt() 31 * Returns the free space inside the ring buffer of this line. 33 * Should be called while holding line->lock (this does not modify data). 35 static unsigned int write_room(struct line *line) in write_room() argument 39 if (line->buffer == NULL) in write_room() 40 return LINE_BUFSIZE - 1; in write_room() [all …]
|
/linux-6.12.1/Documentation/firmware-guide/acpi/ |
D | gpio-properties.rst | 1 .. 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 }} 61 In our Bluetooth example the "reset-gpios" refers to the second GpioIo() [all …]
|