| /Linux-v5.4/Documentation/devicetree/bindings/ | 
| D | chosen.txt | 2 --------------- 11 kaslr-seed 12 ----------- 22 		kaslr-seed = <0xfeedbeef 0xc0def00d>; 31 stdout-path 32 ----------- 35 with a stdout-path property under /chosen, as described in the Devicetree 40 		stdout-path = "/serial@f00:115200"; 44 		compatible = "vendor,some-uart"; 49 If the character ":" is present in the value, this terminates the path. [all …] 
 | 
| /Linux-v5.4/scripts/kconfig/tests/ | 
| D | conftest.py | 1 # SPDX-License-Identifier: GPL-2.0 18 CONF_PATH = os.path.abspath(os.path.join('scripts', 'kconfig', 'conf')) 24     This class provides methods to run text-based interface of Kconfig 26     stdout, and stderr.  It also provides methods to compare those 36         self._test_dir = os.path.dirname(str(request.fspath)) 41         """Run text-based Kconfig executable and save the result. 43         mode: input mode option (--oldaskconfig, --defconfig=<file> etc.) 62                 shutil.copyfile(os.path.join(self._test_dir, dot_config), 63                                 os.path.join(temp_dir, '.config')) 67                                   stdout=subprocess.PIPE, [all …] 
 | 
| /Linux-v5.4/arch/powerpc/kernel/ | 
| D | legacy_serial.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <asm/pci-bridge.h> 17 #include <asm/ppc-pci.h> 41 	{.type = "tsi-bridge",}, 44 	{.compatible = "simple-bus",}, 45 	{.compatible = "wrs,epld-localbus",}, 50 static int legacy_serial_console = -1; 58 	offset = offset << p->regshift;  in tsi_serial_in() 60 		tmp = readl(p->membase + (UART_IIR & ~3));  in tsi_serial_in() 63 		return readb(p->membase + offset);  in tsi_serial_in() [all …] 
 | 
| /Linux-v5.4/tools/testing/selftests/bpf/ | 
| D | test_progs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 32 	if (sel->name && sel->name[0] && !strstr(name, sel->name))  in should_run() 35 	if (!sel->num_set)  in should_run() 38 	return num < sel->num_set_len && sel->num_set[num];  in should_run() 43 	if (stdout == env.stdout)  in dump_test_log() 46 	fflush(stdout); /* exports env.log_buf & env.log_cnt */  in dump_test_log() 48 	if (env.verbose || test->force_log || failed) {  in dump_test_log() 51 			fprintf(env.stdout, "%s", env.log_buf);  in dump_test_log() 52 			if (env.log_buf[env.log_cnt - 1] != '\n')  in dump_test_log() 53 				fprintf(env.stdout, "\n");  in dump_test_log() [all …] 
 | 
| D | test_offload.py | 7 # June 1991 as shown in the file COPYING in the top-level directory of this 35 bpf_test_dir = os.path.dirname(os.path.realpath(__file__)) 50     log_level -= sub 98     Run a command in subprocess and return tuple of (retval, stdout); 101     proc = subprocess.Popen(cmd, shell=shell, stdout=subprocess.PIPE, 112     stdout, stderr = proc.communicate() 113     stdout = stdout.decode("utf-8") 114     stderr = stderr.decode("utf-8") 115     proc.stdout.close() 119     if stderr[-1] == "\n": [all …] 
 | 
| /Linux-v5.4/arch/powerpc/platforms/powermac/ | 
| D | udbg_scc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5  * Copyright (C) 2001-2005 PPC 64 Team, IBM Corp 40 			return -1;  in udbg_scc_getc_poll() 42 	return -1;  in udbg_scc_getc_poll() 52 	return -1;  in udbg_scc_getc() 69 	struct device_node *stdout = NULL, *escc = NULL, *macio = NULL;  in udbg_scc_init()  local 71 	const char *path;  in udbg_scc_init()  local 80 	path = of_get_property(of_chosen, "linux,stdout-path", NULL);  in udbg_scc_init() 81 	if (path != NULL)  in udbg_scc_init() 82 		stdout = of_find_node_by_path(path);  in udbg_scc_init() [all …] 
 | 
| /Linux-v5.4/Documentation/devicetree/bindings/arm/ | 
| D | secure.txt | 15 can be supported by prefixing the property name with "secure-". So for 16 instance "secure-foo" would override "foo". For property names with 18 "vendor,secure-foo". If there is no "secure-" property then the Secure 20 non-prefixed property. However, only the properties listed below may 21 validly have "secure-" versions; this list will be enlarged on a 22 case-by-case basis. 25 been annotated to indicate the presence of Secure-only devices can 26 still be processed unmodified by existing Non-secure software (and in 32 secure- bindings only need to be used where both the Secure and Normal 36 ----------------------------- [all …] 
 | 
| /Linux-v5.4/arch/sparc/kernel/ | 
| D | prom_32.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6  * Copyright (C) 1996-2005 Paul Mackerras. 67 	regs = rprop->value;  in sparc32_path_component() 70 		regs->which_io, regs->phys_addr);  in sparc32_path_component() 84 	regs = prop->value;  in sbus_path_component() 87 		regs->which_io,  in sbus_path_component() 88 		regs->phys_addr);  in sbus_path_component() 103 	regs = prop->value;  in pci_path_component() 104 	devfn = (regs->phys_hi >> 8) & 0xff;  in pci_path_component() 128 	regs = prop->value;  in ebus_path_component() [all …] 
 | 
| /Linux-v5.4/tools/virtio/virtio-trace/ | 
| D | README | 1 Trace Agent for virtio-trace 6  - splice a page of ring-buffer to read_pipe without memory copying 7  - splice the page from write_pipe to virtio-console without memory copying 8  - write trace data to stdout by using -o option 9  - controlled by start/stop orders from a Host 18  5) The read/write threads start to read trace data from ring-buffers and 19     write the data to virtio-serial. 28 Makefile: Makefile of trace agent for virtio-trace 29 trace-agent.c: includes main function, sets up for operating trace agent 30 trace-agent.h: includes all structures and some macros [all …] 
 | 
| D | trace-agent.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3  * Guest agent for virtio-trace 15 #include "trace-agent.h" 23 #define WRITE_PATH_FMT		"/dev/virtio-ports/trace-path-cpu%d" 24 #define CTL_PATH		"/dev/virtio-ports/agent-ctl-path" 58 	s->pipe_size = PIPE_INIT;  in agent_info_new() 59 	s->use_stdout = false;  in agent_info_new() 60 	s->cpus = get_total_cpus();  in agent_info_new() 61 	s->ctl_fd = -1;  in agent_info_new() 64 	for (i = 0; i < s->cpus; i++)  in agent_info_new() [all …] 
 | 
| D | trace-agent.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11  * agent_info - structure managing total information of guest agent 15  * @ctl_fd:	fd of control path, /dev/virtio-ports/agent-ctl-path 27  * rw_thread_info - structure managing a read/write thread a cpu 29  * @in_fd:	fd of reading trace data path in cpu_num 30  * @out_fd:	fd of writing trace data path in cpu_num 69 #define pr_info(format, ...) fprintf(stdout, format, ## __VA_ARGS__)
  | 
| /Linux-v5.4/scripts/ | 
| D | checkkconfigsymbols.py | 2 # SPDX-License-Identifier: GPL-2.0-only 6 # (c) 2014-2017 Valentin Rothberg <valentinrothberg@gmail.com> 23 SYMBOL = r"(?:\w*[A-Z0-9]\w*){2,}" 31 REGEX_FILE_KCONFIG = re.compile(r".*Kconfig[\.\w+\-]*$") 37 REGEX_KCONFIG_HELP = re.compile(r"^\s+(help|---help---)\s*$") 38 REGEX_FILTER_SYMBOLS = re.compile(r"[A-Za-z0-9]$") 39 REGEX_NUMERIC = re.compile(r"0[xX][0-9a-fA-F]+|[0-9]+") 48             "Please note that specifying commits will 'git reset --hard\' "    \ 54     parser.add_argument('-c', '--commit', dest='commit', action='store', 59     parser.add_argument('-d', '--diff', dest='diff', action='store', [all …] 
 | 
| D | spdxcheck.py | 2 # SPDX-License-Identifier: GPL-2.0 43             if not os.path.isfile(el.path): 47             for l in open(el.path).readlines(): 48                 if l.startswith('Valid-License-Identifier:'): 55                 elif l.startswith('SPDX-Exception-Identifier:'): 59                 elif l.startswith('SPDX-Licenses:'): 65                 elif l.startswith("License-Text:"): 68 …                        raise SPDXException(el, 'Exception %s is missing SPDX-Licenses' %exception) 127         r'[A-Za-z.0-9\-+]+' 177                 if line.find("SPDX-License-Identifier:") < 0: [all …] 
 | 
| /Linux-v5.4/arch/powerpc/boot/ | 
| D | serial.c | 25 	return scdp->open();  in serial_open() 33 		scdp->putc(*buf++);  in serial_write() 48 		if (scdp->tstc()) {  in serial_edit_cmdline() 49 			while (((ch = scdp->getc()) != '\n') && (ch != '\r')) {  in serial_edit_cmdline() 53 						cp--;  in serial_edit_cmdline() 54 						count--;  in serial_edit_cmdline() 60 						cp--;  in serial_edit_cmdline() 61 						count--;  in serial_edit_cmdline() 67 						scdp->putc(ch);  in serial_edit_cmdline() 81 	if (scdp->close)  in serial_close() [all …] 
 | 
| D | planetcore.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 	} while (*(table - 1) || *table != '\n');  in planetcore_prepare_table() 93 		for (j = 5; j >= 0; j--) {  in planetcore_set_mac_addrs() 106 	char *path;  in planetcore_set_stdout_path()  local 114 	node = find_node_by_prop_value_str(NULL, "linux,planetcore-label",  in planetcore_set_stdout_path() 119 	path = get_path(node, prop_buf, MAX_PROP_LEN);  in planetcore_set_stdout_path() 120 	if (!path)  in planetcore_set_stdout_path() 129 	setprop_str(chosen, "linux,stdout-path", path);  in planetcore_set_stdout_path()
  | 
| /Linux-v5.4/tools/perf/ | 
| D | perf.c | 6  * This is the main hub from which the sub-commands (perf stat, 12 #include "util/build-id.h" 16 #include <subcmd/exec-cmd.h> 18 #include <subcmd/run-command.h> 19 #include "util/parse-events.h" 20 #include <subcmd/parse-options.h> 21 #include "util/bpf-loader.h" 26 #include "perf-sys.h" 43 	"perf [--version] [--help] [OPTIONS] COMMAND [ARGS]"; 48 static int use_pager = -1; [all …] 
 | 
| D | builtin-buildid-list.c | 2  * builtin-buildid-list.c 4  * Builtin buildid-list command: list buildids in perf.data, in the running 12 #include "util/build-id.h" 16 #include <subcmd/parse-options.h> 30 		return ret < 0 ? ret : -EINVAL;  in sysfs__fprintf_build_id() 42 		return ret < 0 ? ret : -EINVAL;  in filename__fprintf_build_id() 49 	return with_hits && !dso->hit;  in dso__skip_buildid() 56 		.path  = input_name,  in perf_session__list_build_ids() 65 	if (filename__fprintf_build_id(input_name, stdout) > 0)  in perf_session__list_build_ids() 77 	    perf_header__has_feat(&session->header, HEADER_AUXTRACE))  in perf_session__list_build_ids() [all …] 
 | 
| /Linux-v5.4/tools/cgroup/ | 
| D | iocost_coef_gen.py | 8 Generate linear IO cost model coefficients used by the blk-iocost 11 ./iocost-coef-fio.testfile.  The result can be written directly to 14 On high performance devices, --numjobs > 1 is needed to achieve 17 See Documentation/admin-guide/cgroup-v2.rst and block/blk-iocost.c 34 parser.add_argument('--testdev', metavar='DEV', 35                     help='Raw block device to use for testing, ignores --testfile-size') 36 parser.add_argument('--testfile-size-gb', type=float, metavar='GIGABYTES', default=16, 38 parser.add_argument('--duration', type=int, metavar='SECONDS', default=120, 40 parser.add_argument('--seqio-block-mb', metavar='MEGABYTES', type=int, default=128, 42 parser.add_argument('--seq-depth', type=int, metavar='DEPTH', default=64, [all …] 
 | 
| /Linux-v5.4/arch/mips/generic/ | 
| D | yamon-dt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #define pr_fmt(fmt) "yamon-dt: " fmt 16 #include <asm/yamon-dt.h> 26 	if (chosen_off == -FDT_ERR_NOTFOUND)  in yamon_dt_append_cmdline() 53 	for (mr = regions; mr->size && memsize; ++mr) {  in gen_fdt_mem_array() 61 		size = min_t(unsigned long, memsize, mr->size);  in gen_fdt_mem_array() 62 		memsize -= size;  in gen_fdt_mem_array() 65 		*(mem_array++) = cpu_to_be32(mr->start);  in gen_fdt_mem_array() 69 		/* Discard the next mr->discard bytes */  in gen_fdt_mem_array() 70 		memsize -= min_t(unsigned long, memsize, mr->discard);  in gen_fdt_mem_array() [all …] 
 | 
| /Linux-v5.4/Documentation/devicetree/bindings/display/ | 
| D | simple-framebuffer.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/display/simple-framebuffer.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10   - Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> 11   - Hans de Goede <hdegoede@redhat.com> 14   A simple frame-buffer describes a frame-buffer setup by firmware or 20   sub-nodes of the chosen node (*). Simplefb nodes must be named 32   node contains a display property then the /aliases/display# path 37   interaction, then the chosen node stdout-path property should point [all …] 
 | 
| /Linux-v5.4/Documentation/sphinx/ | 
| D | load_config.py | 1 # -*- coding: utf-8; mode: python -*- 8 # ------------------------------------------------------------------------------ 10 # ------------------------------------------------------------------------------ 21         and os.path.normpath(namespace["__file__"]) != os.path.normpath(config_file) ): 22         config_file = os.path.abspath(config_file) 47         if os.path.isfile(config_file): 48             sys.stdout.write("load additional sphinx-config: %s\n" % config_file)
  | 
| /Linux-v5.4/tools/power/cpupower/bench/ | 
| D | parse.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /*  cpufreq-bench CPUFreq microbenchmark 87 		snprintf(filename, len - 1, "%s/benchmark_%s_%s_%li.log",  in prepare_output() 90 		snprintf(filename, len - 1, "%s/benchmark_%li.log",  in prepare_output() 103 	fprintf(stdout, "Logfile: %s\n", filename);  in prepare_output() 126 	config->sleep = 500000;  in prepare_default_config() 127 	config->load = 500000;  in prepare_default_config() 128 	config->sleep_step = 500000;  in prepare_default_config() 129 	config->load_step = 500000;  in prepare_default_config() 130 	config->cycles = 5;  in prepare_default_config() [all …] 
 | 
| /Linux-v5.4/arch/mips/boot/dts/ralink/ | 
| D | vocore2.dts | 1 /dts-v1/; 6 	compatible = "vocore,vocore2", "ralink,mt7628a-soc"; 16 		stdout-path = &uart2;
  | 
| /Linux-v5.4/arch/arm64/boot/dts/qcom/ | 
| D | msm8996-mtp.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3  * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved. 14 		stdout-path = "serial0";
  | 
| /Linux-v5.4/tools/testing/selftests/tc-testing/ | 
| D | tdc.py | 2 # SPDX-License-Identifier: GPL-2.0 5 tdc.py - Linux tc (Traffic Control) unit test driver 54                     mn = fn[0:-3] 60         pgname = pgname[0:-3] 64         self.plugin_instances[-1].check_args(self.args, None) 89         pgd = ['plugin-lib', 'plugin-lib-custom'] 98                     if os.path.isfile(pgpath): 195         stdout=subprocess.PIPE, 202             foutput = serr.decode("utf-8", errors="ignore") 204             foutput = rawout.decode("utf-8", errors="ignore") [all …] 
 |