Home
last modified time | relevance | path

Searched +full:self +full:- +full:working (Results 1 – 25 of 161) sorted by relevance

1234567

/linux/Documentation/networking/device_drivers/ethernet/ti/
H A Dcpsw_switchdev.rst1 .. SPDX-License-Identifier: GPL-2.0
17 ip -d link show dev sw0p1 | grep switchid
26 - The new (cpsw_new.c) driver is operating in dual-emac mode by default, thus
27 working as 2 individual network interfaces. Main differences from legacy CPSW
30 - optimized promiscuous mode: The P0_UNI_FLOOD (both ports) is enabled in
36 - learning disabled on ports as it make not too much sense for
37 segregated ports - no forwarding in HW.
38 - enabled basic support for devlink.
47 name switch_mode type driver-specific
50 name ale_bypass type driver-specific
[all …]
H A Dam65_nuss_cpsw_switchdev.rst1 .. SPDX-License-Identifier: GPL-2.0
14 ip -d link show dev sw0p1 | grep switchid
23 - The driver is operating in multi-mac mode by default, thus
24 working as N individual network interfaces.
29 See Documentation/networking/devlink/am65-nuss-cpsw-switch.rst
40 This can be done regardless of the state of Port's netdev devices - UP/DOWN, but
45 When the both interfaces joined the bridge - CPSW switch driver will enable
65 [*] bridge vlan add dev br0 vid 1 pvid untagged self
84 bridge vlan add dev br0 vid 1 pvid untagged self <---- add cpu port to VLAN 1
95 bridge vlan add dev br0 vid 100 pvid untagged self <---- Add cpu port to VLAN100
[all …]
/linux/scripts/gdb/linux/
H A Dsymbols.py6 # Copyright (c) Siemens AG, 2011-2013
23 def __init__(self, spec, gdb_command): argument
24 super(LoadModuleBreakpoint, self).__init__(spec, internal=True)
25 self.silent = True
26 self.gdb_command = gdb_command
28 def stop(self): argument
31 cmd = self.gdb_command
36 # Disable pagination while reporting symbol (re-)loading.
57 """(Re-)load symbols of Linux kernel and currently loaded modules.
59 The kernel (vmlinux) is taken from the current working directly. Modules (.ko)
[all …]
/linux/Documentation/mm/
H A Dmultigen_lru.rst1 .. SPDX-License-Identifier: GPL-2.0
4 Multi-Gen LRU
6 The multi-gen LRU is an alternative LRU implementation that optimizes
14 ----------
20 * Simple self-correcting heuristics
23 implementations. In the multi-gen LRU, each generation represents a
25 (time-based) common frame of reference and therefore help make better
41 choices; thus self-correction is necessary.
43 The benefits of simple self-correcting heuristics are self-evident.
51 -----------
[all …]
/linux/Documentation/devicetree/bindings/mfd/
H A Dx-powers,axp152.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mfd/x-powers,axp152.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: X-Powers AXP PMIC
10 - Chen-Yu Tsai <wens@csie.org>
13 - if:
18 - x-powers,axp152
19 - x-powers,axp202
20 - x-powers,axp209
[all …]
/linux/tools/testing/selftests/net/
H A Dso_incoming_cpu.c1 // SPDX-License-Identifier: GPL-2.0
62 ASSERT_NE(fd, -1); in write_sysctl()
78 #define NR_PORT (60001 - 10000 - 1)
96 self->servers = malloc(sizeof(int) * nr_server); in FIXTURE_SETUP()
97 ASSERT_NE(self->servers, NULL); in FIXTURE_SETUP()
99 self->in_addr.sin_family = AF_INET; in FIXTURE_SETUP()
100 self->in_addr.sin_addr.s_addr = htonl(INADDR_LOOPBACK); in FIXTURE_SETUP()
101 self->in_addr.sin_port = htons(0); in FIXTURE_SETUP()
102 self->addrlen = sizeof(struct sockaddr_in); in FIXTURE_SETUP()
110 close(self->servers[i]); in FIXTURE_TEARDOWN()
[all …]
/linux/tools/testing/selftests/hid/
H A Dhidraw.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2022-2024 Red Hat */
15 static void close_hidraw(FIXTURE_DATA(hidraw) * self) in close_hidraw() argument
17 if (self->hidraw_fd) in close_hidraw()
18 close(self->hidraw_fd); in close_hidraw()
19 self->hidraw_fd = 0; in close_hidraw()
25 uhid_destroy(_metadata, &self->hid); in FIXTURE_TEARDOWN()
27 close_hidraw(self); in FIXTURE_TEARDOWN()
28 pthread_join(self->hid.tid, &uhid_err); in FIXTURE_TEARDOWN()
32 hidraw_teardown(_metadata, self, variant); \
[all …]
H A Dhid_bpf.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2022-2024 Red Hat */
22 static void detach_bpf(FIXTURE_DATA(hid_bpf) * self) in detach_bpf() argument
26 if (self->hidraw_fd) in detach_bpf()
27 close(self->hidraw_fd); in detach_bpf()
28 self->hidraw_fd = 0; in detach_bpf()
30 if (!self->skel) in detach_bpf()
33 hid__detach(self->skel); in detach_bpf()
35 for (i = 0; i < ARRAY_SIZE(self->hid_links); i++) { in detach_bpf()
36 if (self->hid_links[i]) in detach_bpf()
[all …]
/linux/scripts/kconfig/tests/
H A Dconftest.py1 # SPDX-License-Identifier: GPL-2.0
24 This class provides methods to run text-based interface of Kconfig
30 def __init__(self, request): argument
36 self._test_dir = os.path.dirname(str(request.fspath))
39 def _run_conf(self, mode, dot_config=None, out_file='.config', argument
41 """Run text-based Kconfig executable and save the result.
43 mode: input mode option (--oldaskconfig, --defconfig=<file> etc.)
54 extra_env['srctree'] = self._test_dir
64 # if .config is given, copy it to the working directory
66 shutil.copyfile(os.path.join(self._test_dir, dot_config),
[all …]
/linux/tools/perf/tests/shell/base_report/
H A Dtest_basic.sh3 # SPDX-License-Identifier: GPL-2.0
15 # include working environment
25 $CMD_PERF report --help > $LOGS_DIR/basic_helpmsg.log 2> $LOGS_DIR/basic_helpmsg.err
28 ../common/check_all_patterns_found.pl "PERF-REPORT" "NAME" "SYNOPSIS" "DESCRIPTION" "OPTIONS" "OVERHEAD\s+CALCULATION" "SEE ALSO" < $LOGS_DIR/basic_helpmsg.log
30 ../common/check_all_patterns_found.pl "input" "verbose" "show-nr-samples" "show-cp
[all...]
/linux/tools/testing/selftests/hid/tests/
H A Dbase_device.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
44 def __init__(self, path): argument
45 self.path = path
47 def __set_value(self, value): argument
48 with open(self.path, "w") as f:
51 def __get_value(self): argument
52 with open(self.path) as f:
56 def int_value(self) -> int: argument
57 return int(self.__get_value())
[all …]
/linux/Documentation/trace/coresight/
H A Dcoresight-perf.rst1 .. SPDX-License-Identifier: GPL-2.0
4 CoreSight - Perf
15 perf record -e cs_etm//u testbinary
19 is working correctly. You can dump the content of this file as
22 perf report --stdio --dump -i perf.data
26 …ERF_RECORD_AUXTRACE size: 0x11dd0 offset: 0 ref: 0x1b614fc1061b0ad1 idx: 0 tid: 531230 cpu: -1
48 for the support such as libopencsd and libopencsd-dev or download it
60 ------------------------
81 Perf test - Verify kernel and userspace perf CoreSight work
82 -----------------------------------------------------------
[all …]
H A Dcoresight-cpu-debug.rst9 ------------
11 Coresight CPU debug module is defined in ARMv8-a architecture reference manual
13 debug module and it is mainly used for two modes: self-hosted debug and
16 explore debugging method which rely on self-hosted debug mode, this document
19 The debug module provides sample-based profiling extension, which can be used
21 every CPU has one dedicated debug module to be connected. Based on self-hosted
29 --------------
31 - During driver registration, it uses EDDEVID and EDDEVID1 - two device ID
32 registers to decide if sample-based profiling is implemented or not. On some
36 - At the time this documentation was written, the debug driver mainly relies on
[all …]
/linux/Documentation/networking/device_drivers/ethernet/cirrus/
H A Dcs89x0.rst1 .. SPDX-License-Identifier: GPL-2.0
33 2.1 CS8900-based Adapter Configuration
34 2.2 CS8920-based Adapter Configuration
46 5.2.1 Diagnostic Self-Test
66 The CS8900-based ISA Ethernet Adapters from Cirrus Logic follow
67 IEEE 802.3 standards and support half or full-duplex operation in ISA bus
69 in 16-bit ISA or EISA bus expansion slots and are available in
70 10BaseT-only or 3-media configurations (10BaseT, 10Base2, and AUI for 10Base-5
73 CS8920-based adapters are similar to the CS8900-based adapter with additional
85 or loaded at run-time as a device driver module.
[all …]
/linux/Documentation/devicetree/bindings/memory-controllers/
H A Drockchip,rk3399-dmc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controllers/rockchip,rk3399-dmc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Brian Norris <briannorris@chromium.org>
15 - rockchip,rk3399-dmc
17 devfreq-events:
26 clock-names:
28 - const: dmc_clk
30 operating-points-v2: true
[all …]
/linux/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc-filter-notrace-pid.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: ftrace - function pid notrace filters
11 if [ ! -f options/function-fork ]; then
13 echo "no option for function-fork found. Option will not be tested."
16 read PID _ < /proc/self/stat
18 if [ $do_function_fork -eq 1 ]; then
19 # default value of function-fork option
20 orig_value=`grep function-fork trace_options`
24 if [ $do_function_fork -eq 0 ]; then
47 if [ $do_function_fork -eq 1 ]; then
[all …]
H A Dfunc-filter-pid.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: ftrace - function pid filters
13 if [ ! -f options/function-fork ]; then
15 echo "no option for function-fork found. Option will not be tested."
18 if [ ! -f options/funcgraph-proc ]; then
20 echo "no option for function-fork found. Option will not be tested."
23 read PID _ < /proc/self/stat
25 if [ $do_function_fork -eq 1 ]; then
26 # default value of function-fork option
27 orig_value=`grep function-fork trace_options`
[all …]
/linux/arch/alpha/kernel/
H A Dsys_eiger.c1 // SPDX-License-Identifier: GPL-2.0
39 static unsigned long cached_irq_mask[2] = { -1, -1 };
46 mask = (irq >= 64 ? mask << 16 : mask >> ((irq - 16) & 0x30)); in eiger_update_irq_hw()
47 regaddr = 0x510 + (((irq - 16) >> 2) & 0x0c); in eiger_update_irq_hw()
54 unsigned int irq = d->irq; in eiger_enable_irq()
63 unsigned int irq = d->irq; in eiger_disable_irq()
90 * OTOH, the accelerator thing doesn't seem to be working in eiger_device_interrupt()
116 int irq = (vector - 0x800) >> 4; in eiger_srm_device_interrupt()
134 eiger_update_irq_hw(i, -1); in eiger_init_irq()
154 so we subtract 80 because it is (90 - allocated ISA IRQ's). */ in eiger_map_irq()
[all …]
/linux/Documentation/filesystems/iomap/
H A Dporting.rst1 .. SPDX-License-Identifier: GPL-2.0
27 This worked well enough for direct/indirect-mapped filesystems such
28 as ext2, but is very inefficient for extent-based filesystems such
34 3. Direct access to storage on memory-like devices (fsdax) is only
40 No ->write_begin(), ->write_end() or direct_IO
49 Build the kernel, run fstests with the ``-g all`` option across a wide
53 The recommended approach is first to implement ``->iomap_begin`` (and
54 ``->iomap_end`` if necessary) to allow iomap to obtain a read-only
57 ``get_block()`` function for read-only mappings.
62 other read-only mapping operations will do the right thing.
[all …]
/linux/drivers/usb/host/
H A Dohci-q.c1 // SPDX-License-Identifier: GPL-1.0+
6 * (C) Copyright 2000-2002 David Brownell <dbrownell@users.sourceforge.net>
16 int last = urb_priv->length - 1; in urb_free_priv()
23 td = urb_priv->td [i]; in urb_free_priv()
29 list_del (&urb_priv->pending); in urb_free_priv()
33 /*-------------------------------------------------------------------------*/
42 __releases(ohci->lock) in finish_urb()
43 __acquires(ohci->lock) in finish_urb()
45 struct device *dev = ohci_to_hcd(ohci)->self.controller; in finish_urb()
46 struct usb_host_endpoint *ep = urb->ep; in finish_urb()
[all …]
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h616-orangepi-zero2.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "sun50i-h616-orangepi-zero.dtsi"
9 #include "sun50i-h616-cpu-opp.dtsi"
13 compatible = "xunlong,orangepi-zero2", "allwinner,sun50i-h616";
17 cpu-supply = <&reg_dcdca>;
21 allwinner,rx-delay-ps = <3100>;
22 allwinner,tx-delay-ps = <700>;
23 phy-mode = "rgmii";
24 phy-supply = <&reg_dcdce>;
[all …]
/linux/arch/hexagon/kernel/
H A Dkgdb.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/hexagon/kernel/kgdb.c - Hexagon KGDB Support
5 * Copyright (c) 2011-2012, The Linux Foundation. All rights reserved.
18 * Keep these at three letters to pretty-print. */
92 return -EINVAL; in dbg_set_reg()
106 /* Not yet working */
120 gdb_regs[0] = thread_regs->r00; in sleeping_thread_to_gdb_regs()
124 * kgdb_arch_handle_exception - Handle architecture specific GDB packets.
135 * they are handled here. The code should return -1 if it wants to
139 * Not yet working.
[all …]
/linux/Documentation/process/
H A D1.Intro.rst7 -----------------
15 Linux kernel must be made available under a GPL-compatible license.
24 :ref:`development_early_stage` covers early-stage project planning, with an
39 job is far from done at that point. Working with reviewers is a crucial part
51 ---------------------------
56 kernel has evolved into a best-of-breed operating system component which
57 runs on pocket-sized digital music players, desktop PCs, the largest
66 capable and well-suited to the task at hand as possible. Distributors and
77 free software projects. A typical three-month kernel development cycle can
78 involve over 1000 developers working for more than 100 different companies
[all …]
/linux/drivers/net/phy/
H A Dax88796b_rust.rs1 // SPDX-License-Identifier: GPL-2.0
9 net::phy::{self, reg::C22, DeviceId, Driver},
33 // such as used on the Individual Computers' X-Surf 100 Zorro card.
34 fn asix_soft_reset(dev: &mut phy::Device) -> Result { in asix_soft_reset()
47 // AX88772A is not working properly with some old switches (NETGEAR EN 108TP):
50 fn read_status(dev: &mut phy::Device) -> Result<u16> { in read_status()
81 fn suspend(dev: &mut phy::Device) -> Result { in suspend()
85 fn resume(dev: &mut phy::Device) -> Result { in resume()
89 fn soft_reset(dev: &mut phy::Device) -> Result { in soft_reset()
111 fn suspend(dev: &mut phy::Device) -> Result { in suspend()
[all …]
/linux/arch/x86/realmode/rm/
H A Dreboot.S1 /* SPDX-License-Identifier: GPL-2.0 */
6 #include <asm/processor-flags.h>
7 #include <asm/msr-index.h>
16 * to stop this code working; hence the copious comments.
58 * Load the data segment registers with 16-bit compatible values
70 * This is 16-bit protected mode code to disable paging and the cache,
80 * (protected-mode enable) and TS (task switch for coprocessor state
105 testl $0x60000000, %edx /* If no cache bits -> no wbinvd */
133 .word 0xffff /* Length - real mode default value */
134 .long 0 /* Base - real mode default value */
[all …]

1234567