Home
last modified time | relevance | path

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

123456789

/linux-6.14.4/rust/kernel/
Dfaux.rs1 // SPDX-License-Identifier: GPL-2.0-only
5 //! This module provides bindings for working with faux devices in kernel modules.
19 /// `self.0` always holds a valid pointer to an initialized and registered [`struct faux_device`].
27 pub fn new(name: &CStr) -> Result<Self> { in new() argument
29 // - `name` is copied by this function into its own storage in new()
30 // - `faux_ops` is safe to leave NULL according to the C API in new()
36 Ok(Self(NonNull::new(dev).ok_or(ENODEV)?)) in new()
39 fn as_raw(&self) -> *mut bindings::faux_device { in as_raw()
40 self.0.as_ptr() in as_raw()
45 fn as_ref(&self) -> &device::Device { in as_ref()
[all …]
/linux-6.14.4/Documentation/networking/device_drivers/ethernet/ti/
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 …]
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-6.14.4/rust/kernel/sync/
Dpoll.rs1 // SPDX-License-Identifier: GPL-2.0
5 //! Utilities for working with `struct poll_table`.
16 /// Creates a [`PollCondVar`] initialiser with the given name and a newly-created lock class.
51 pub unsafe fn from_ptr<'a>(ptr: *mut bindings::poll_table) -> &'a mut PollTable { in from_ptr()
57 fn get_qproc(&self) -> bindings::poll_queue_proc { in get_qproc()
58 let ptr = self.0.get(); in get_qproc()
66 pub fn register_wait(&mut self, file: &File, cv: &PollCondVar) { in register_wait() argument
67 if let Some(qproc) = self.get_qproc() { in register_wait()
68 // SAFETY: The pointers to `file` and `self` need to be valid for the duration of this in register_wait()
76 unsafe { qproc(file.as_ptr() as _, cv.wait_queue_head.get(), self.0.get()) }; in register_wait()
[all …]
/linux-6.14.4/scripts/gdb/linux/
Dsymbols.py6 # Copyright (c) Siemens AG, 2011-2013
24 def __init__(self, spec, gdb_command): argument
25 super(LoadModuleBreakpoint, self).__init__(spec, internal=True)
26 self.silent = True
27 self.gdb_command = gdb_command
29 def stop(self): argument
32 cmd = self.gdb_command
37 # Disable pagination while reporting symbol (re-)loading.
58 """(Re-)load symbols of Linux kernel and currently loaded modules.
60 The kernel (vmlinux) is taken from the current working directly. Modules (.ko)
[all …]
/linux-6.14.4/Documentation/mm/
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-6.14.4/tools/testing/selftests/net/
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-6.14.4/Documentation/devicetree/bindings/mfd/
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 <[email protected]>
13 - if:
18 - x-powers,axp152
19 - x-powers,axp202
20 - x-powers,axp209
[all …]
/linux-6.14.4/tools/testing/selftests/hid/
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 …]
/linux-6.14.4/scripts/kconfig/tests/
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-6.14.4/tools/perf/tests/shell/base_report/
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" "OVE…
30 …ound.pl "input" "verbose" "show-nr-samples" "show-cpu-utilization" "threads" "comms" "pid" "tid" "…
32 …all_patterns_found.pl "hide-unresolved" "sort" "fields" "parent" "exclude-other" "column-widths" "…
34 …../common/check_all_patterns_found.pl "call-graph" "max-stack" "inverted" "ignore-callees" "pretty…
36 …ound.pl "force" "symfs" "cpu" "disassembler-style" "source" "asm-raw" "show-total-period" "show-in…
38 …rns_found.pl "branch-history" "objdump" "demangle" "percent-limit" "percentage" "header" "itrace" …
52 # test that perf report is even working
[all …]
/linux-6.14.4/Documentation/admin-guide/
Dverify-bugs-and-bisect-regressions.rst1 .. SPDX-License-Identifier: (GPL-2.0+ OR CC-BY-4.0)
9 currently supported by developers -- to then explain how to locate the change
22 read and navigate this document -- especially when you want to look something
26 https://docs.kernel.org/admin-guide/verify-bugs-and-bisect-regressions.html
32 over to the* ':ref:`step-by-step guide <introguide_bissbs>`' *below. It utilizes
40 consider the newest Linux kernel you regularly use to be the 'working' kernel.
45 *segment 2*. Then you can submit a preliminary report -- or continue with
47 full-fledged regression report. In the following example 6.0.13 is assumed to be
48 the 'working' kernel and 6.1.5 to be the first 'broken', which is why 6.0
55 # * Ensure Secure Boot permits booting self-compiled Linux kernels.
[all …]
/linux-6.14.4/Documentation/trace/coresight/
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 …]
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-6.14.4/tools/testing/selftests/hid/tests/
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-6.14.4/Documentation/networking/device_drivers/ethernet/cirrus/
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-6.14.4/tools/testing/selftests/ftrace/test.d/ftrace/
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 …]
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-6.14.4/Documentation/devicetree/bindings/memory-controllers/
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 <[email protected]>
15 - rockchip,rk3399-dmc
17 devfreq-events:
26 clock-names:
28 - const: dmc_clk
30 operating-points-v2: true
[all …]
/linux-6.14.4/arch/alpha/kernel/
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-6.14.4/Documentation/filesystems/iomap/
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-6.14.4/drivers/usb/host/
Dohci-q.c1 // SPDX-License-Identifier: GPL-1.0+
6 * (C) Copyright 2000-2002 David Brownell <[email protected]>
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 …]
Dehci-mv.c1 // SPDX-License-Identifier: GPL-2.0+
27 #define hcd_to_ehci_hcd_mv(h) ((struct ehci_hcd_mv *)hcd_to_ehci(h)->priv)
49 retval = clk_prepare_enable(ehci_mv->clk); in mv_ehci_enable()
53 retval = phy_init(ehci_mv->phy); in mv_ehci_enable()
55 clk_disable_unprepare(ehci_mv->clk); in mv_ehci_enable()
62 phy_exit(ehci_mv->phy); in mv_ehci_disable()
63 clk_disable_unprepare(ehci_mv->clk); in mv_ehci_disable()
68 struct device *dev = hcd->self.controller; in mv_ehci_reset()
76 return -ENODEV; in mv_ehci_reset()
79 hcd->has_tt = 1; in mv_ehci_reset()
[all …]
/linux-6.14.4/arch/arm64/boot/dts/allwinner/
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-6.14.4/arch/hexagon/kernel/
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 …]

123456789