Home
last modified time | relevance | path

Searched +full:lock +full:- +full:detect +full:- +full:function +full:- +full:integer +full:- +full:n +full:- +full:enable (Results 1 – 25 of 57) sorted by relevance

123

/linux/Documentation/devicetree/bindings/iio/frequency/
H A Dadi,adf4350.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Michael Hennerich <michael.hennerich@analog.com>
15 - adi,adf4350
16 - adi,adf4351
21 spi-max-frequency:
28 clock-names:
31 '#clock-cells':
34 clock-output-names:
[all …]
/linux/lib/
H A DKconfig.debug1 # SPDX-License-Identifier: GPL-2.0-only
19 parameter printk.time=1. See Documentation/admin-guide/kernel-parameters.rst
35 no option to enable/disable at the kernel command line parameter or
47 kernel module where the function is located.
50 int "Default console loglevel (1-15)"
60 Note: This does not affect the log level of un-prefixed printk()
65 int "quiet console loglevel (1-15)"
76 int "Default message log level (1-7)"
82 This was hard-coded to KERN_WARNING since at least 2.6.10 but folks
91 bool "Delay each boot printk message by N milliseconds"
[all …]
/linux/sound/isa/
H A Dsscape.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Low-level ALSA driver for the ENSONIQ SoundScape
71 MODULE_PARM_DESC(joystick, "Enable gameport.");
125 MEDIA_FX, /* Sequoia S-1000 */
126 SSCAPE, /* Sequoia S-2000 */
132 spinlock_t lock; member
[all...]
/linux/sound/soc/codecs/
H A Dda7218.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * da7218.c - DA7218 ALSA SoC Codec Driver
22 #include <sound/soc-dapm.h>
37 static const DECLARE_TLV_DB_SCALE(da7218_mic_gain_tlv, -600, 600, 0);
38 static const DECLARE_TLV_DB_SCALE(da7218_mixin_gain_tlv, -450, 150, 0);
39 static const DECLARE_TLV_DB_SCALE(da7218_in_dig_gain_tlv, -8325, 75, 0);
40 static const DECLARE_TLV_DB_SCALE(da7218_ags_trigger_tlv, -9000, 600, 0);
42 static const DECLARE_TLV_DB_SCALE(da7218_alc_threshold_tlv, -9450, 150, 0);
47 static const DECLARE_TLV_DB_SCALE(da7218_dmix_gain_tlv, -4200, 150, 0);
50 static const DECLARE_TLV_DB_SCALE(da7218_dgs_trigger_tlv, -9450, 150, 0);
[all …]
H A Dwm8903.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8903.c -- WM8903 ALSA SoC Audio driver
5 * Copyright 2008-12 Wolfson Microelectronics
6 * Copyright 2011-2012 NVIDIA, Inc.
11 * - TDM mode configuration.
41 { 4, 0x0018 }, /* R4 - Bias Control 0 */
42 { 5, 0x0000 }, /* R5 - VMID Control 0 */
43 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */
44 { 8, 0x0001 }, /* R8 - Analogue DAC 0 */
45 { 10, 0x0001 }, /* R10 - Analogue ADC 0 */
[all …]
H A Dcs42l42.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * cs42l42.c -- CS42L42 ALSA SoC audio driver
29 #include <sound/soc-dapm.h>
32 #include <dt-bindings/sound/cs42l42.h>
400 static DECLARE_TLV_DB_SCALE(adc_tlv, -9700, 100, true);
401 static DECLARE_TLV_DB_SCALE(mixer_tlv, -6300, 100, true);
410 switch (ucontrol->value.integer.value[0]) { in cs42l42_slow_start_put()
418 return -EINVAL; in cs42l42_slow_start_put()
452 SOC_SINGLE_S8_TLV("ADC Volume", CS42L42_ADC_VOLUME, -97, 12, adc_tlv),
479 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs42l42_hp_adc_ev()
[all …]
/linux/sound/pci/
H A Dazt3328.c1 // 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-12
234 static bool enable[SNDRV_CARDS] = SNDRV_DEFAULT_ENABLE_PNP; /* Enable this card */ global() variable
252 spinlock_t *lock; /* TODO: convert to our own per-codec lock member */ global() member
1287 snd_azf3328_ctrl_reg_6AH_update(struct snd_azf3328 * chip,unsigned bitmask,bool enable) snd_azf3328_ctrl_reg_6AH_update() argument
1302 snd_azf3328_ctrl_enable_codecs(struct snd_azf3328 * chip,bool enable) snd_azf3328_ctrl_enable_codecs() argument
1315 snd_azf3328_ctrl_codec_activity(struct snd_azf3328 * chip,enum snd_azf3328_codec_type codec_type,bool enable) snd_azf3328_ctrl_codec_activity() argument
1623 snd_azf3328_gameport_irq_enable(struct snd_azf3328 * chip,bool enable) snd_azf3328_gameport_irq_enable() argument
1635 snd_azf3328_gameport_legacy_address_enable(struct snd_azf3328 * chip,bool enable) snd_azf3328_gameport_legacy_address_enable() argument
1663 snd_azf3328_gameport_axis_circuit_enable(struct snd_azf3328 * chip,bool enable) snd_azf3328_gameport_axis_circuit_enable() argument
[all...]
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt16 force -- enable ACPI if default was off
17 on -- enable ACPI but allow fallback to DT [arm64,riscv64]
18 off -- disable ACPI if default was on
19 noirq -- do not use ACPI for IRQ routing
20 strict -- Be less tolerant of platforms that are not
22 rsdt -- prefer RSDT over (default) XSDT
23 copy_dsdt -- copy DSDT to memory
24 nocmcff -- Disable firmware first mode for corrected
28 nospcr -- disable console in ACPI SPCR table as
45 If set to vendor, prefer vendor-specific driver
[all …]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_debugfs.c1 // SPDX-License-Identifier: MIT
29 #include <media/cec-notifier.h>
68 /* parse_write_buffer_into_params - Helper function to parse debugfs write buffer into an array
70 * Function takes in attributes passed to debugfs write entry
85 const char delimiter[3] = {' ', '\n', '\0'}; in parse_write_buffer_into_params()
94 DRM_DEBUG_DRIVER("user data could not be read successfully\n"); in parse_write_buffer_into_params()
95 return -EFAULT; in parse_write_buffer_into_params()
98 /* check number of parameters. isspace could not differ space and \n */ in parse_write_buffer_into_params()
109 /* skip non-space*/ in parse_write_buffer_into_params()
139 DRM_DEBUG_DRIVER("string to int convert error code: %d\n", r); in parse_write_buffer_into_params()
[all …]
/linux/drivers/scsi/lpfc/
H A Dlpfc_attr.c4 * Copyright (C) 2017-2025 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 *
61 #define LPFC_INFO_MORE_STR "\nCould be more info...\n"
72 " trunk - link was \"low\" speed",
74 " existing trunk - link was \"middle\" speed",
76 " trunk - link was \"high\" speed",
77 "Attached to non-trunking port - F_Port",
78 "Attached to non-trunking port - N_Port",
[all …]
/linux/arch/x86/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
4 bool "64-bit kernel" if "$(ARCH)" = "x86"
7 Say yes to build a 64-bit kernel - formerly known as x86_64
8 Say no to build a 32-bit kernel - formerly known as i386
13 # Options that are inherently 32-bit kernel only:
26 # Options that are inherently 64-bit kernel only:
47 We keep the static function tracing (!DYNAMIC_FTRACE) around
48 in order to test the non static function tracing in the
56 # ported to 32-bit as well. )
158 # Word-size accesses may read uninitialized data past the trailing \0
[all …]
/linux/Documentation/sound/kernel-api/
H A Dwriting-an-alsa-driver.rst11 Architecture) <http://www.alsa-project.org/>`__ driver. The document
19 low-level driver implementation details. It only describes the standard
26 -------
56 --------------
60 sub-directories contain different modules and are dependent upon the
74 This directory and its sub-directories are for the ALSA sequencer. This
76 as snd-seq-midi, snd-seq-virmidi, etc. They are compiled only when
85 -----------------
88 to be exported to user-space, or included by several files in different
94 -----------------
[all …]
/linux/drivers/platform/surface/aggregator/
H A Dcontroller.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (C) 2019-2022 Maximilian Luz <luzmaximilian@gmail.com>
38 /* -- Safe counters. -------------------------------------------------------- */
41 * ssh_seq_reset() - Reset/initialize sequence ID counter.
46 WRITE_ONCE(c->value, 0); in ssh_seq_reset()
50 * ssh_seq_next() - Get next sequence ID.
57 u8 old = READ_ONCE(c->value); in ssh_seq_next()
61 while (unlikely((ret = cmpxchg(&c->value, old, new)) != old)) { in ssh_seq_next()
70 * ssh_rqid_reset() - Reset/initialize request ID counter.
75 WRITE_ONCE(c->value, 0); in ssh_rqid_reset()
[all …]
/linux/kernel/
H A Dwatchdog.c1 // SPDX-License-Identifier: GPL-2.0
3 * Detect hard and soft lockups on a system
9 * Some chunks also taken from the old x86-specific nmi watchdog code, thanks
63 * Should we panic when a soft-lockup or hard-lockup occurs:
75 return sysfs_emit(page, "%u\n", hardlockup_count); in hardlockup_count_show()
91 * We may not want to enable hard lockup detection by default in all cases,
93 * cases this function can be called to disable hard lockup detection. This
94 * function should only be executed once by the boot processor before the
205 * Prevent multiple hard-lockup reports if one cpu is already in watchdog_hardlockup_check()
217 * other CPU somehow locked up while holding the lock associated in watchdog_hardlockup_check()
[all …]
/linux/sound/firewire/
H A Damdtp-stream.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Audio and Music Data Transmission Protocol (IEC 61883-6) streams
4 * with Common Isochronous Packet (IEC 61883-1) headers
12 #include <linux/firewire-constants.h>
17 #include "amdtp-stream.h"
27 #include "amdtp-stream-trac
[all...]
/linux/drivers/gpu/drm/bridge/analogix/
H A Danx7625.c1 // SPDX-License-Identifier: GPL-2.0-only
35 #include <media/v4l2-fwnode.h>
36 #include <sound/hdmi-codec.h>
50 struct device *dev = &client->dev; in i2c_access_workaround()
53 if (client == ctx->last_client) in i2c_access_workaround()
56 ctx->last_client = client; in i2c_access_workaround()
58 if (client == ctx->i2c.tcpc_client) in i2c_access_workaround()
60 else if (client == ctx->i2c.tx_p0_client) in i2c_access_workaround()
62 else if (client == ctx->i2c.tx_p1_client) in i2c_access_workaround()
64 else if (client == ctx->i2c.rx_p0_client) in i2c_access_workaround()
[all …]
/linux/Documentation/input/devices/
H A Datarikbd.rst12 provides a convenient connection point for a mouse and switch-type joysticks.
13 The ikbd processor also maintains a time-of-day clock with one second
18 The ikbd communicates with the main processor over a high speed bi-directional
19 serial interface. It can function in a variety of modes to facilitate
41 0xF8-0xFB relative mouse position records (lsbs determined by
43 0xFC time-of-day
67 ---------------------------
86 X ; delta x as twos complement integer
87 Y ; delta y as twos complement integer
92 +127...-128 range, the motion is broken into multiple packets.
[all …]
/linux/sound/usb/
H A Dendpoint.c1 // SPDX-License-Identifier: GPL-2.0-or-later
99 if (u->urb && u->buffer_size) in release_urb_ctx()
100 usb_free_coherent(u->ep->chip->dev, u->buffer_size, in release_urb_ctx()
101 u->urb->transfer_buffer, in release_urb_ctx()
102 u->urb->transfer_dma); in release_urb_ctx()
103 usb_free_urb(u->urb); in release_urb_ctx()
104 u->urb = NULL; in release_urb_ctx()
105 u->buffer_size = 0; in release_urb_ctx()
111 case -ENODEV: in usb_error_string()
113 case -ENOENT: in usb_error_string()
[all …]
/linux/kernel/rcu/
H A Dtree.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Read-Copy Update mechanism for mutual exclusion (tree-based version)
14 * For detailed explanation of Read-Copy Update mechanism see -
67 #include "../time/tick-internal.h"
88 return READ_ONCE(rdp->gpwrap_count); in rcu_get_gpwrap_count()
95 .gp_seq = (0UL - 300UL) << RCU_SEQ_CTR_SHIFT,
119 /* Control rcu_node-tree auto-balancing at boot time. */
137 * to detect real grace periods. This variable is also used to suppress
138 * boot-time false positives from lockdep-RCU error checking. Finally, it
172 * real-time priority(enabling/disabling) is controlled by
[all …]
/linux/sound/pci/ac97/
H A Dac97_codec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
33 MODULE_PARM_DESC(enable_loopback, "Enable AC97 ADC/DAC Loopback Control");
38 MODULE_PARM_DESC(power_save, "Automatic power-saving timeout "
62 * currently used by the AC97 emulation of the almost-AC97 PCI168 card.
65 { 0x434d4900, 0xffffff00, "C-Media Electronics", NULL, NULL },
139 { 0x43585430, 0xffffffff, "Cx20468-3
[all...]
/linux/drivers/acpi/
H A Dscan.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * scan.c - support for transforming the ACPI namespace into individual objects
20 #include <linux/dma-map-ops.h>
24 #include <linux/dma-direct.h>
48 * special-casing. Everything else is covered by ACPI namespace paths in STAO
80 hp->notify = notify; in acpi_initialize_hp_context()
81 hp->uevent = uevent; in acpi_initialize_hp_context()
90 return -EINVAL; in acpi_scan_add_handler()
92 list_add_tail(&handler->list_node, &acpi_scan_handlers_list); in acpi_scan_add_handler()
105 acpi_sysfs_add_hotplug_profile(&handler->hotplug, hotplug_profile_name); in acpi_scan_add_handler_with_hotplug()
[all …]
/linux/drivers/platform/x86/lenovo/
H A Dthinkpad_acpi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * thinkpad_acpi.c - ThinkPad ACPI Extras
5 * Copyright (C) 2004-2005 Borislav Deianov <borislav@users.sf.net>
6 * Copyright (C) 2006-2009 Henrique de Moraes Holschuh <hmh@hmh.eng.br>
16 * 2007-10-20 changelog trimmed down
18 * 2007-03-27 0.14 renamed to thinkpad_acpi and moved to
21 * 2006-11-22 0.13 new maintainer
23 * not be updated further in-file.
25 * 2005-03-17 0.11 support for 600e, 770x
28 * 2005-01-16 0.9 use MODULE_VERSION
[all …]
/linux/drivers/gpu/drm/i915/
H A Di915_perf.c2 * Copyright © 2015-2016 Intel Corporation
44 * without special privileges. Access to system-wide metrics requires root
58 * might sample sets of tightly-coupled counters, depending on the
70 * interleaved with event-type specific members.
76 * would be acceptable to expose them to unprivileged applications - to hide
96 * side-band OA data captured via MI_REPORT_PERF_COUNT commands; we're
102 * For posterity, in case we might re-visit trying to adapt core perf to be
106 * - The perf based OA PMU driver broke some significant design assumptions:
110 * implications, the need to fake cpu-related data (such as user/kernel
112 * as a way to forward device-specific status records.
[all …]
/linux/drivers/net/ethernet/intel/ice/
H A Dice_common.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright (c) 2018-2023, Intel Corporation. */
90 * ice_dump_phy_type - helper function to dump phy_type
99 ice_debug(hw, ICE_DBG_PHY, "%s: phy_type_low: 0x%016llx\n", prefix, low); in ice_dump_phy_type()
103 ice_debug(hw, ICE_DBG_PHY, "%s: bit(%d): %s\n", in ice_dump_phy_type()
107 ice_debug(hw, ICE_DBG_PHY, "%s: phy_type_high: 0x%016llx\n", prefix, high); in ice_dump_phy_type()
111 ice_debug(hw, ICE_DBG_PHY, "%s: bit(%d): %s\n", in ice_dump_phy_type()
117 * ice_set_mac_type - Sets MAC type
120 * This function sets the MAC type of the adapter based on the
125 if (hw->vendor_id != PCI_VENDOR_ID_INTEL) in ice_set_mac_type()
[all …]
/linux/include/uapi/linux/
H A Dbpf.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com
21 #define BPF_DW 0x18 /* double word (64-bit) */
23 #define BPF_ATOMIC 0xc0 /* atomic memory ops - op type in immediate */
24 #define BPF_XADD 0xc0 /* exclusive add - legacy name */
32 #define BPF_TO_LE 0x00 /* convert to little-endian */
33 #define BPF_TO_BE 0x08 /* convert to big-endian */
46 #define BPF_CALL 0x80 /* function call */
47 #define BPF_EXIT 0x90 /* function return */
52 #define BPF_CMPXCHG (0xf0 | BPF_FETCH) /* atomic compare-and-write */
[all …]

123