/linux/Documentation/devicetree/bindings/iio/accel/ |
H A D | adi,adxl313.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Analog Devices ADXL312, ADXL313, and ADXL314 3-Axis Digital Accelerometers 10 - Lucas Stankus <lucas.p.stankus@gmail.com> 13 Analog Devices ADXL312, ADXL313, and ADXL314 3-Axis Digital Accelerometer that 22 - adi,adxl312 23 - adi,adxl313 24 - adi,adxl314 29 spi-3wire: true [all …]
|
/linux/Documentation/admin-guide/pm/ |
H A D | intel_pstate.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 Documentation/admin-guide/pm/cpufreq.rst if you have not done that yet.] 24 For the processors supported by ``intel_pstate``, the P-state concept is broader 27 information about that). For this reason, the representation of P-states used 32 ``intel_pstate`` maps its internal representation of P-states to frequencies too 34 practical for ``intel_pstate`` to supply the ``CPUFreq`` core with a table of 38 Since the hardware P-state selection interface used by ``intel_pstate`` is 43 time the corresponding CPU is taken offline and need to be re-initialized when 47 only way to pass early-configuration-time parameters to it is via the kernel 66 ----------- [all …]
|
H A D | amd-pstate.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 ``amd-pstate`` CPU Performance Scaling Driver 16 ``amd-pstate`` is the AMD CPU performance scaling driver that introduces a 20 than legacy ACPI hardware P-States. Current AMD CPU/APU platforms are using 21 the ACPI P-states driver to manage CPU frequency and clocks with switching 22 only in 3 P-states. CPPC replaces the ACPI P-states controls and allows a 23 flexible, low-latency interface for the Linux kernel to directly 26 ``amd-pstate`` leverages the Linux kernel governors such as ``schedutil``, 30 Volume 2: System Programming [1]_). Currently, ``amd-pstate`` supports basic 40 continuous, abstract, and unit-less performance value in a scale that is [all …]
|
/linux/drivers/net/vxlan/ |
H A D | vxlan_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2012-2013 Vyatta Inc. 68 static inline bool vxlan_collect_metadata(struct vxlan_sock *vs) in vxlan_collect_metadata() argument 70 return vs->flags & VXLAN_F_COLLECT_METADATA || in vxlan_collect_metadata() 76 * non-default VRF). 81 struct vxlan_sock *vs; in vxlan_find_sock() local 85 hlist_for_each_entry_rcu(vs, vs_head(net, port), hlist) { in vxlan_find_sock() 86 if (inet_sk(vs->sock->sk)->inet_sport == port && in vxlan_find_sock() 87 vxlan_get_sk_family(vs) == family && in vxlan_find_sock() 88 vs->flags == flags && in vxlan_find_sock() [all …]
|
/linux/drivers/gpu/drm/bridge/ |
H A D | samsung-dsim.c | 1 // SPDX-License-Identifier: GPL-2.0-only 18 #include <linux/media-bus-format.h> 25 #include <drm/bridge/samsung-dsim.h> 112 #define DSIM_MAIN_VRESOL(x, num_bits) (((x) & ((1 << (num_bits)) - 1)) << 16) 113 #define DSIM_MAIN_HRESOL(x, num_bits) (((x) & ((1 << (num_bits)) - 1)) << 0) 501 * downstream driver - drivers/gpu/drm/bridge/sec-dsim.c 536 writel(val, dsi->reg_base + dsi->driver_data->reg_ofs[idx]); in samsung_dsim_write() 541 return readl(dsi->reg_base + dsi->driver_data->reg_ofs[idx]); in samsung_dsim_read() 546 if (wait_for_completion_timeout(&dsi->completed, msecs_to_jiffies(300))) in samsung_dsim_wait_for_reset() 549 dev_err(dsi->dev, "timeout waiting for reset\n"); in samsung_dsim_wait_for_reset() [all …]
|
/linux/drivers/infiniband/hw/cxgb4/ |
H A D | cq.c | 2 * Copyright (c) 2009-2010 Chelsio, Inc. All rights reserved. 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 49 res_wr->op_nres = cpu_to_be32( in destroy_cq() 53 res_wr->len16_pkd = cpu_to_be32(DIV_ROUND_UP(wr_len, 16)); in destroy_cq() 54 res_wr->cookie = (uintptr_t)wr_waitp; in destroy_cq() 55 res = res_wr->res; in destroy_cq() 56 res->u.cq.restype = FW_RI_RES_TYPE_CQ; in destroy_cq() 57 res->u.cq.op = FW_RI_RES_OP_RESET; in destroy_cq() 58 res->u.cq.iqid = cpu_to_be32(cq->cqid); in destroy_cq() [all …]
|
/linux/drivers/iio/accel/ |
H A D | bmc150-accel-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * 3-axis accelerometer driver supporting many Bosch-Sensortec chips 26 #include "bmc150-accel.h" 212 struct device *dev = regmap_get_device(data->regmap); in bmc150_accel_set_mode() 216 int dur_val = -1; in bmc150_accel_set_mode() 231 return -EINVAL; in bmc150_accel_set_mode() 238 ret = regmap_write(data->regmap, BMC150_ACCEL_REG_PMU_LPW, lpw_bits); in bmc150_accel_set_mode() 256 ret = regmap_write(data->regmap, in bmc150_accel_set_bw() 262 data->bw_bits = in bmc150_accel_set_bw() 268 return -EINVAL; in bmc150_accel_set_bw() [all …]
|
/linux/Documentation/driver-api/ |
H A D | pin-control.rst | 9 - Enumerating and naming controllable pins 11 - Multiplexing of pins, pads, fingers (etc) see below for details 13 - Configuration of pins, pads, fingers (etc), such as software-controlled 14 biasing and driving mode specific pins, such as pull-up, pull-down, open drain, 17 Top-level interface 22 - A PIN CONTROLLER is a piece of hardware, usually a set of registers, that 26 - PINS are equal to pads, fingers, balls or whatever packaging input or 30 be sparse - i.e. there may be gaps in the space with numbers where no 60 .. code-block:: c 97 See ``arch/arm/mach-ux500/Kconfig`` for an example. [all …]
|
/linux/tools/lib/bpf/ |
H A D | libbpf.c | 1 // SPDX-License-Identifier: (LGPL-2.1 OR BSD-2-Clause) 6 * Copyright (C) 2013-2015 Alexei Starovoitov <ast@kernel.org> 70 #pragma GCC diagnostic ignored "-Wformat-nonliteral" 298 if (err != -EPERM || geteuid() != 0) in pr_perm_msg() 315 pr_warn("permission error while running as root; try raising 'ulimit -l'? current value: %s\n", in pr_perm_msg() 331 fd = -1; \ 342 /* as of v1.0 libbpf_set_strict_mode() is a no-op */ in libbpf_set_strict_mode() 388 /* stored as sec_def->cookie for all libbpf-supported SEC()s */ 407 /* BPF program support non-linear XDP buffer */ 445 * program. For the entry-point (main) BPF program, this is always [all …]
|
/linux/sound/pci/ |
H A D | azt3328.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* azt3328.c - driver for Aztech AZF3328 based soundcards (e.g. PCI168). 3 * Copyright (C) 2002, 2005 - 2011 by Andreas Mohr <andi AT lisas.de> 7 * found in a Fujitsu-Siemens PC ("Cordant", aluminum case). 13 * Keywords: Windows XP Vista 168nt4-125.zip 168win95-125.zip PCI 168 download 17 * despite the high level of Internet ignorance - as usual :-P - 18 * about very good support for this card - on Linux!) 25 * in the first place >:-P}), 34 * for compatibility reasons) from Azfin (joint-venture of Aztech and Fincitec, 36 * Fincitec-related company ARSmikro) has the following features: [all …]
|
/linux/Documentation/filesystems/xfs/ |
H A D | xfs-delayed-logging-design.rst | 1 .. SPDX-License-Identifier: GPL-2.0 33 details logged are made up of the changes to in-core structures rather than 34 on-disk structures. Other objects - typically buffers - have their physical 64 place. This means that permanent transactions can be used for one-shot 65 modifications, but one-shot reservations cannot be used for permanent 68 In the code, a one-shot transaction pattern looks somewhat like this:: 97 While this might look similar to a one-shot transaction, there is an important 123 the on-disk journal. 165 transaction, we have to reserve enough space to record a full leaf-to-root split 183 For one-shot transactions, a single unit space reservation is all that is [all …]
|
/linux/ |
H A D | CREDITS | 1 This is at least a partial credits-file of people that have 4 scripts. The fields are: name (N), email (E), web-address 5 (W), PGP key ID and fingerprint (P), description (D), and 6 snail-mail address (S). 10 ---------- 51 D: in-kernel DRM Maintainer 76 E: tim_alpaerts@toyota-motor-europe.com 80 S: B-2610 Wilrijk-Antwerpen 85 W: http://www-stu.christs.cam.ac.uk/~aia21/ 94 P: 1024/85AD9EED AD C0 49 08 91 67 DF D7 FA 04 1A EE 09 E8 44 B0 [all …]
|
H A D | MAINTAINERS | 5 --------------------------------------------------- 21 W: *Web-page* with status/info 23 B: URI for where to file *bugs*. A web-page with detailed bug 27 P: *Subsystem Profile* document for more details submitting 28 patches to the given subsystem. This is either an in-tree file, 29 or a URI. See Documentation/maintainer/maintainer-entry-profile.rst 46 N: [^a-z]tegra all files whose path contains tegra 64 ---------------- 83 3WARE SAS/SATA-RAID SCSI DRIVERS (3W-XXXX, 3W-9XXX, 3W-SAS) 85 L: linux-scsi@vger.kernel.org [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_core/ |
H A D | dml2_core_dcn4_calcs.c | 1 // SPDX-License-Identifier: MIT 50 *remainder = ((dividend / divisor) - (int)(dividend / divisor) > 0); in dml2_core_div_rem() 58 if (!fail_only || support->ScaleRatioAndTapsSupport == 0) in dml2_print_mode_support_info() 59 dml2_printf("DML: support: ScaleRatioAndTapsSupport = %d\n", support->ScaleRatioAndTapsSupport); in dml2_print_mode_support_info() 60 if (!fail_only || support->SourceFormatPixelAndScanSupport == 0) in dml2_print_mode_support_info() 61 …dml2_printf("DML: support: SourceFormatPixelAndScanSupport = %d\n", support->SourceFormatPixelAndS… in dml2_print_mode_support_info() 62 if (!fail_only || support->ViewportSizeSupport == 0) in dml2_print_mode_support_info() 63 dml2_printf("DML: support: ViewportSizeSupport = %d\n", support->ViewportSizeSupport); in dml2_print_mode_support_info() 64 if (!fail_only || support->LinkRateDoesNotMatchDPVersion == 1) in dml2_print_mode_support_info() 65 …dml2_printf("DML: support: LinkRateDoesNotMatchDPVersion = %d\n", support->LinkRateDoesNotMatchDPV… in dml2_print_mode_support_info() [all …]
|
/linux/Documentation/security/keys/ |
H A D | core.rst | 5 This service allows cryptographic keys, authentication tokens, cross-domain 30 - A serial number. 31 - A type. 32 - A description (for matching a key in a search). 33 - Access control information. 34 - An expiry time. 35 - A payload. 36 - State. 40 the lifetime of that key. All serial numbers are positive non-zero 32-bit 69 the keyring links; in the case of a user-defined key, it's an arbitrary [all …]
|
/linux/net/core/ |
H A D | skbuff.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Florian La Roche <rzsfl@rz.uni-sb.de> 19 * Ray VanTassle : Fixed --skb->lock in free 106 * vs system slabs by looking at their size (skb_end_offset()). 153 * drop_reasons_register_subsys - register another drop reason subsystem 172 * drop_reasons_unregister_subsys - unregister a drop reason subsystem 191 * skb_panic - private function for out-of-line support 197 * Out-of-line support for skb_put() and skb_push(). 206 msg, addr, skb->len, sz, skb->head, skb->data, in skb_panic() 207 (unsigned long)skb->tail, (unsigned long)skb->end, in skb_panic() [all …]
|
/linux/arch/m68k/fpsp040/ |
H A D | res_func.S | 10 | For packed move out (fmove.p fpm,<ea>) the operation is 115 st CU_ONLY(%a6) |set cu-only inst flag 383 st CU_ONLY(%a6) |set cu-only inst flag 403 | ;wrap-around case 414 | cu_dnrm handles all cu-only instructions (fmove, fabs, fneg, and 536 | These routines write +/- zero in double format. The routines 568 | These routines write +/- zero in single format. The routines 601 | This code checks for 16-bit overflow conditions on dyadic 602 | operations which are not restorable into the floating-point 614 | The wrap-around condition occurs for add, sub, div, and cmp [all …]
|
/linux/mm/ |
H A D | vmscan.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #include <linux/backing-dev.h> 45 #include <linux/memory-tiers.h> 189 if ((_folio)->lru.prev != _base) { \ 192 prev = lru_to_folio(&(_folio->lru)); \ 193 prefetchw(&prev->_field); \ 210 return sc->target_mem_cgroup; in cgroup_reclaim() 219 return !sc->target_mem_cgroup || mem_cgroup_is_root(sc->target_mem_cgroup); in root_reclaim() 223 * writeback_throttling_sane - is the usual dirty throttling mechanism available? 248 if (sc->proactive && sc->proactive_swappiness) in sc_swappiness() [all …]
|
/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|
/linux/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_els.c | 4 * Copyright (C) 2017-2024 Broadcom. All Rights Reserved. The term * 6 * Copyright (C) 2004-2016 Emulex. All rights reserved. * 9 * Portions Copyright (C) 2004-2005 Christoph Hellwig * 17 * FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE * 23 /* See Fibre Channel protocol T11 FC-LS for details */ 72 * lpfc_els_chk_latt - Check host link attention event for a vport 90 * 0 - no host link attention event happened 91 * 1 - host link attention event happened 96 struct lpfc_hba *phba = vport->phba; in lpfc_els_chk_latt() 99 if (vport->port_state >= LPFC_VPORT_READY || in lpfc_els_chk_latt() [all …]
|