Home
last modified time | relevance | path

Searched +full:early +full:- +full:to +full:- +full:mid (Results 1 – 25 of 88) sorted by relevance

1234

/linux-6.14.4/arch/x86/pci/
Dintel_mid_pci.c1 // SPDX-License-Identifier: GPL-2.0
3 * Intel MID PCI support
8 * - configuration space is memory mapped (as defined by MCFG)
9 * - Lincroft devices also have a real, type 1 configuration space
10 * - Early Lincroft silicon has a type 1 access bug that will cause
11 * a hang if non-existent devices are accessed
12 * - some devices have the "fixed BAR" capability, which means
17 * Lincroft writes to type 1 space. But only read/write if the device
36 #include <asm/intel-family.h>
37 #include <asm/intel-mid.h>
[all …]
/linux-6.14.4/arch/sparc/kernel/
Dsmp_32.c1 // SPDX-License-Identifier: GPL-2.0
52 * compared to the Alpha and the Intel no? Most Sparcs have 'swap'
59 int mid; in smp_store_cpu_info() local
65 "clock-frequency", 0); in smp_store_cpu_info()
67 mid = cpu_get_hwmid(cpu_node); in smp_store_cpu_info()
69 if (mid < 0) { in smp_store_cpu_info()
70 printk(KERN_NOTICE "No MID found for CPU%d at node 0x%08x", id, cpu_node); in smp_store_cpu_info()
71 mid = 0; in smp_store_cpu_info()
73 cpu_data(id).mid = mid; in smp_store_cpu_info()
127 * a single CPU. The trap handler needs only to do trap entry/return in arch_smp_send_reschedule()
[all …]
/linux-6.14.4/arch/x86/platform/intel-mid/
Dintel-mid.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Intel MID platform setup code
27 #include <asm/intel-mid.h>
69 * Intel MID platforms are using explicitly defined regulators. in intel_mid_arch_setup()
79 * Moorestown does not have external NMI source nor port 0x61 to report
90 * Moorestown specific x86_init function overrides and early setup
/linux-6.14.4/arch/sparc/include/asm/
Doplib_32.h1 /* SPDX-License-Identifier: GPL-2.0 */
19 /* Enumeration to describe the prom major version we have detected. */
22 PROM_V2, /* sun4c and early sun4m V2 prom */
23 PROM_V3, /* sun4m and later, up to sun4d/sun4e machines V3 */
36 /* Pointer to prom structure containing the device tree traversal
37 * and usage utility functions. Only prom-lib should use these,
45 * preferably as early as possible. Pass it the romvec pointer.
65 /* Enter the prom, with no chance of continuation for the stand-alone
70 /* Set the PROM 'sync' callback function to the passed function pointer.
74 * XXX The arguments are different on V0 vs. V2->higher proms, grrr! XXX
[all …]
/linux-6.14.4/drivers/net/wireless/ath/wil6210/
Drx_reorder.c1 // SPDX-License-Identifier: ISC
3 * Copyright (c) 2014-2017 Qualcomm Atheros, Inc.
4 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved.
15 return ((sq1 - sq2) & SEQ_MASK) > (SEQ_MODULO >> 1); in seq_less()
25 return (sq1 - sq2) & SEQ_MASK; in seq_sub()
30 return seq_sub(seq, r->ssn) % r->buf_size; in reorder_index()
37 struct sk_buff *skb = r->reorder_buf[index]; in wil_release_reorder_frame()
43 r->stored_mpdu_num--; in wil_release_reorder_frame()
44 r->reorder_buf[index] = NULL; in wil_release_reorder_frame()
48 r->head_seq_num = seq_inc(r->head_seq_num); in wil_release_reorder_frame()
[all …]
/linux-6.14.4/Documentation/scsi/
Dscsi_mid_low_api.rst1 .. SPDX-License-Identifier: GPL-2.0
4 SCSI mid_level - lower_level driver interface
9 This document outlines the interface between the Linux SCSI mid level and
14 (SCSI terminology, see SAM-3 at http://www.t10.org) sends SCSI commands
15 to "target" SCSI ports (e.g. disks). There can be many LLDs in a running
21 SCSI subsystem LLD is a software bridge to the other driver subsystem.
22 Examples are the usb-storage driver (found in the drivers/usb/storage
30 HBAs. These HBAs might be either on PCI daughter-boards or built into
33 has its own PCI device address. [The one-to-one correspondence between
37 The SCSI mid level isolates an LLD from other layers such as the SCSI
[all …]
/linux-6.14.4/arch/parisc/kernel/
Dunwind.c1 // SPDX-License-Identifier: GPL-2.0
5 * (c) 2002-2004 Randolph Chung <[email protected]>
7 * Derived partially from the IA64 implementation. The PA-RISC
8 * Runtime Architecture Document is also a useful reference to
21 #include <asm/asm-offsets.h>
44 * we can call unwind_init as early in the bootup process as
54 unsigned long lo, hi, mid; in find_unwind_entry_in_table() local
57 hi = table->length - 1; in find_unwind_entry_in_table()
60 mid = (hi - lo) / 2 + lo; in find_unwind_entry_in_table()
61 e = &table->table[mid]; in find_unwind_entry_in_table()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/net/dsa/
Dvitesse,vsc73xx.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Linus Walleij <[email protected]>
13 The Vitesse DSA Switches were produced in the early-to-mid 2000s.
19 Vitesse VSC7385 SparX-G5 5+1-port Integrated Gigabit Ethernet Switch
20 Vitesse VSC7388 SparX-G8 8-port Integrated Gigabit Ethernet Switch
21 Vitesse VSC7395 SparX-G5e 5+1-port Integrated Gigabit Ethernet Switch
22 Vitesse VSC7398 SparX-G8e 8-port Integrated Gigabit Ethernet Switch
27 reside inside a SPI bus device tree node, see spi/spi-bus.txt
[all …]
/linux-6.14.4/arch/x86/xen/
Dp2m.c1 // SPDX-License-Identifier: GPL-2.0
4 * Xen leaves the responsibility for maintaining p2m mappings to the
8 * The logical flat p2m table is mapped to a linear kernel memory area.
9 * For accesses by Xen a three-level tree linked via mfns only is set up to
10 * allow the address space to be sparse.
22 * The p2m_top_mfn level is limited to 1 page, so the maximum representable
23 * pseudo-physical address space is:
27 * unsigned long (8 bytes on 64-bit, 4 bytes on 32), leading to
40 * We also have the possibility of setting 1-1 mappings on certain regions, so
44 * The benefit of this is, that we can assume for non-RAM regions (think
[all …]
/linux-6.14.4/arch/x86/kernel/
Dunwind_orc.c1 // SPDX-License-Identifier: GPL-2.0-only
20 if (state->task == current && !state->error) { \
59 state->stack_info.type, state->stack_info.next_sp, in unwind_dump()
60 state->stack_mask, state->graph_idx); in unwind_dump()
64 if (get_stack_info(sp, state->task, &stack_info, &visit_mask)) in unwind_dump()
87 int *last = ip_table + num_entries - 1; in __orc_find()
88 int *mid, *found = first; in __orc_find() local
94 * Do a binary range search to find the rightmost duplicate of a given in __orc_find()
100 mid = first + ((last - first) / 2); in __orc_find()
102 if (orc_ip(mid) <= ip) { in __orc_find()
[all …]
/linux-6.14.4/mm/
Dmemblock.c1 // SPDX-License-Identifier: GPL-2.0-or-later
39 * Memblock is a method of managing memory regions during the early
46 * * ``memory`` - describes the physical memory available to the
50 * * ``reserved`` - describes the regions that were allocated
51 * * ``physmem`` - describes the actual physical memory available during
61 * initialized at build time. The region arrays are initially sized to
64 * for "physmem" is initially sized to %INIT_PHYSMEM_REGIONS.
70 * The early architecture setup should tell memblock what the physical
72 * functions. The first function does not assign the region to a NUMA
73 * node and it is appropriate for UMA systems. Yet, it is possible to
[all …]
/linux-6.14.4/tools/perf/pmu-events/
Djevents.py2 # SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause)
3 """Convert directories of JSON events to C code."""
26 # Map from an event name to an architecture standard
30 # Events to write out when the table is closed
32 # Name of events table to be written out
34 # Metrics to write out when the table is closed
36 # Name of metrics table to be written out
40 # Map from the name of a metric group to a description of the group.
46 # Seems useful, put it early.
63 def removesuffix(s: str, suffix: str) -> str:
[all …]
/linux-6.14.4/drivers/tty/serial/
Dpmac_zilog.c1 // SPDX-License-Identifier: GPL-2.0+
13 * merging back those though. The DMA code still has to get in
14 * and once done, I expect that driver to remain fairly stable in
17 * 2004-08-06 Harald Welte <[email protected]>
18 * - Enable BREAK interrupt
19 * - Add support for sysreq
21 * TODO: - Add DMA support
22 * - Defer port shutdown to a few seconds after close
23 * - maybe put something right into uap->clk_divisor
80 #define pmz_debug(fmt, arg...) pr_debug("ttyPZ%d: " fmt, uap->port.line, ## arg)
[all …]
/linux-6.14.4/drivers/net/wireless/ath/ath5k/
Dani.c4 * Permission to use, copy, modify, and/or distribute this software for any
9 * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
33 * - "noise immunity"
35 * - "spur immunity"
37 * - "firstep level"
39 * - "OFDM weak signal detection"
41 * - "CCK weak signal detection"
61 * ath5k_ani_set_noise_immunity_level() - Set noise immunity level
69 * ANI documents suggest the following five levels to use, but the HAL in ath5k_ani_set_noise_immunity_level()
75 static const s8 lo[] = { -52, -56, -60, -64, -70 }; in ath5k_ani_set_noise_immunity_level()
[all …]
/linux-6.14.4/Documentation/usb/
Dehci.rst5 27-Dec-2002
7 The EHCI driver is used to talk to high speed USB 2.0 devices using
8 USB 2.0-capable host controller hardware. The USB 2.0 standard is
11 - "High Speed" 480 Mbit/sec (60 MByte/sec)
12 - "Full Speed" 12 Mbit/sec (1.5 MByte/sec)
13 - "Low Speed" 1.5 Mbit/sec
16 can be used on USB 1.1 systems, but they slow down to USB 1.1 speeds.
19 into an EHCI controller, they are given to a USB 1.1 "companion"
26 At this writing, this driver has been seen to work with implementations
29 you should expect this driver to work with them too.
[all …]
/linux-6.14.4/include/drm/
Ddrm_encoder.h4 * Permission to use, copy, modify, distribute, and sell this software and its
9 * publicity pertaining to distribution of the software without specific,
14 * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
36 * struct drm_encoder_funcs - encoder controls
44 * Reset encoder hardware and software state to off. This function isn't
62 * This optional hook can be used to register additional userspace
63 * interfaces attached to the encoder.
77 * This optional hook should be used to unregister the additional
78 * userspace interfaces attached to the encoder from
80 * early in the driver unload sequence to disable userspace access
[all …]
/linux-6.14.4/sound/firewire/dice/
Ddice-interface.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 * block read transactions with at least quadlet-aligned offset and length.
12 * Writes are not allowed except where noted; quadlet-sized registers must be
15 * All values are in big endian. The DICE firmware runs on a little-endian CPU
16 * and just byte-swaps _all_ quadlets on the bus, so values without endianness
17 * (e.g. strings) get scrambled and must be byte-swapped again by the driver.
28 * separately to allow them to be extended individually. Whether a register is
31 * The section offset values are relative to DICE_PRIVATE_SPACE; the offset/
32 * size values are measured in quadlets. Read-only.
50 * Stores the full 64-bit address (node ID and offset in the node's address
[all …]
/linux-6.14.4/kernel/cgroup/
Dcgroup-v1.c1 // SPDX-License-Identifier: GPL-2.0-only
2 #include "cgroup-internal.h"
36 * pidlist destructions need to be flushed on cgroup destruction. Use a
41 /* protects cgroup_subsys->release_agent_path */
51 /* Check also dfl_cftypes for file-less controllers, i.e. perf_event */ in cgroup1_subsys_absent()
52 return ss->legacy_cftypes == NULL && ss->dfl_cftypes; in cgroup1_subsys_absent()
56 * cgroup_attach_task_all - attach task 'tsk' to all cgroups of task 'from'
57 * @from: attach to all cgroups of a given task
58 * @tsk: the task to be attached
88 * cgroup_transfer_tasks - move tasks from one cgroup to another
[all …]
/linux-6.14.4/drivers/tty/serial/8250/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
13 This selects whether you want to include the driver for the standard
17 serial mouse and don't intend to use their machine's standard serial
20 To compile this driver as a module, choose M here: the
23 non-standard serial ports, since the configuration information will
30 BTW2: If you intend to use a software modem (also called Winmodem)
35 modems and similar devices connecting to the standard serial ports.
42 In 3.7 we renamed 8250 to 8250_core by mistake, so now we have to
44 8250.nr_uarts=4. We now renamed the module back to 8250, but if
45 anybody noticed in 3.7 and changed their userspace we still have to
[all …]
/linux-6.14.4/drivers/staging/gpib/agilent_82350b/
Dagilent_82350b.c1 // SPDX-License-Identifier: GPL-2.0
27 struct agilent_82350b_priv *a_priv = board->private_data; in agilent_82350b_accel_read()
28 struct tms9914_priv *tms_priv = &a_priv->tms9914_priv; in agilent_82350b_accel_read()
32 //hardware doesn't support checking for end-of-string character when using fifo in agilent_82350b_accel_read()
33 if (tms_priv->eos_flags & REOS) in agilent_82350b_accel_read()
36 clear_bit(DEV_CLEAR_BN, &tms_priv->state); in agilent_82350b_accel_read()
44 writeb(DIRECTION_GPIB_TO_HOST, a_priv->gpib_base + SRAM_ACCESS_CONTROL_REG); in agilent_82350b_accel_read()
45 // handle corner case of board not in holdoff and one byte might slip in early in agilent_82350b_accel_read()
46 if (tms_priv->holdoff_active == 0 && length > 1) { in agilent_82350b_accel_read()
52 dev_err(board->gpib_dev, "%s: tms9914_read failed retval=%i\n", in agilent_82350b_accel_read()
[all …]
/linux-6.14.4/drivers/infiniband/hw/hfi1/
Dpio_copy.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
8 /* additive distance between non-SOP and SOP space */
10 #define PIO_BLOCK_MASK (PIO_BLOCK_SIZE - 1)
15 * pio_copy - copy data block to MMIO space
18 * @pbc: PBC to send
20 * @count: number of DWORD (32-bit) quantities to copy from source
22 * Copy data from source to PIO Send Buffer memory, 8 bytes at a time.
24 * be written to the corresponding SOP=1 address.
27 * o pbuf->start always starts on a block boundary
33 void __iomem *dest = pbuf->start + SOP_DISTANCE; in pio_copy()
[all …]
/linux-6.14.4/drivers/ufs/host/
Dufs-mediatek.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/arm-smccc.h>
24 #include "ufshcd-pltfrm.h"
28 #include "ufs-mediatek.h"
29 #include "ufs-mediatek-sip.h"
34 #include "ufs-mediatek-trace.h"
52 { .compatible = "mediatek,mt8183-ufshci" },
99 return !!(host->caps & UFS_MTK_CAP_BOOST_CRYPT_ENGINE); in ufs_mtk_is_boost_crypt_enabled()
106 return !!(host->caps & UFS_MTK_CAP_VA09_PWR_CTRL); in ufs_mtk_is_va09_supported()
113 return !!(host->caps & UFS_MTK_CAP_BROKEN_VCC); in ufs_mtk_is_broken_vcc()
[all …]
/linux-6.14.4/arch/powerpc/kernel/
Dpci_of_scan.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Helper routines to scan the device tree for PCI devices and busses
17 #include <asm/pci-bridge.h>
20 * get_int_prop - Decode a u32 from a device tree property
34 * pci_parse_of_flags - Parse the flags cell of a device tree PCI address
38 * PCI Bus Binding to IEEE Std 1275-1994
43 * phys.mid cell: hhhhhhhh hhhhhhhh hhhhhhhh hhhhhhhh
49 * t is 1 if the address is aliased (for non-relocatable I/O),
54 * 10 denotes 32-bit-address Memory Space
55 * 11 denotes 64-bit-address Memory Space
[all …]
/linux-6.14.4/drivers/md/persistent-data/
Ddm-btree.c1 // SPDX-License-Identifier: GPL-2.0-only
8 #include "dm-btree-internal.h"
9 #include "dm-space-map.h"
10 #include "dm-transaction-manager.h"
13 #include <linux/device-mapper.h>
18 *--------------------------------------------------------------
20 *--------------------------------------------------------------
36 (nr_elts - index) * elt_size); in array_insert()
41 /*----------------------------------------------------------------*/
46 int lo = -1, hi = le32_to_cpu(n->header.nr_entries); in bsearch()
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/gt/
Dintel_workarounds.c1 // SPDX-License-Identifier: MIT
3 * Copyright © 2014-2018 Intel Corporation
25 * Hardware workarounds are register programming documented to be executed in
30 * - Context workarounds: workarounds that touch registers that are
31 * saved/restored to/from the HW context image. The list is emitted (via Load
34 * creation to have a "primed golden context", i.e. a context image that
35 * already contains the changes needed to all the registers.
38 * variants respective to the targeted platforms.
40 * - Engine workarounds: the list of these WAs is applied whenever the specific
44 * them need to keeep the workaround programming: the approach taken in the
[all …]

1234