/linux/Documentation/devicetree/bindings/iio/frequency/ |
H A D | adi,adf4350.yaml | 1 # 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 D | Kconfig.debug | 1 # 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 D | sscape.c | 1 // 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 144 #define INVALID_IRQ ((unsigned)-1) 149 return (struct soundscape *) (c->private_data); in get_card_soundscape() 163 s->chip->card->dev, in get_dmabuf() 165 dev_err(s->dev, in get_dmabuf() [all …]
|
/linux/sound/soc/codecs/ |
H A D | da7218.c | 1 // 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 D | cs42l42.c | 1 // 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 …]
|
H A D | wm8903.c | 1 // 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 …]
|
/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 16 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 nospcr -- disable console in ACPI SPCR table as 41 If set to vendor, prefer vendor-specific driver 73 Documentation/firmware-guide/acpi/debug.rst for more information about [all …]
|
/linux/drivers/scsi/lpfc/ |
H A D | lpfc_attr.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 * 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/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/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_debugfs.c | 66 /* parse_write_buffer_into_params - Helper function to parse debugfs write buffer into an array 68 * Function takes in attributes passed to debugfs write entry 83 const char delimiter[3] = {' ', '\n', '\0'}; in parse_write_buffer_into_params() 92 DRM_DEBUG_DRIVER("user data could not be read successfully\n"); in parse_write_buffer_into_params() 93 return -EFAULT; in parse_write_buffer_into_params() 96 /* check number of parameters. isspace could not differ space and \n */ in parse_write_buffer_into_params() 107 /* skip non-space*/ in parse_write_buffer_into_params() 137 DRM_DEBUG_DRIVER("string to int convert error code: %d\n", r); in parse_write_buffer_into_params() 145 /* function description 156 * debugfs is located at /sys/kernel/debug/dri/0/DP-x/link_settings [all …]
|
/linux/Documentation/sound/kernel-api/ |
H A D | writing-an-alsa-driver.rst | 11 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/clk/tegra/ |
H A D | clk-tegra210.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2012-2020 NVIDIA CORPORATION. All rights reserved. 8 #include <linux/clk-provider.h> 17 #include <dt-bindings/clock/tegra210-car.h> 18 #include <dt-bindings/reset/tegra210-car.h> 23 #include "clk-id.h" 264 * SDM fractional divisor is 16-bit 2's complement signed number within 265 * (-2^12 ... 2^12-1) range. Represented in PLL data structure as unsigned 266 * 16-bit value, with "0" divisor mapped to 0xFFFF. Data "0" is used to 275 #define sdin_get_n_eff(cfg) ((cfg)->n * PLL_SDM_COEFF + ((cfg)->sdm_data ? \ [all …]
|
/linux/arch/x86/ |
H A D | Kconfig | 1 # 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: 27 # Options that are inherently 64-bit kernel only: 46 We keep the static function tracing (!DYNAMIC_FTRACE) around 47 in order to test the non static function tracing in the 55 # ported to 32-bit as well. ) 153 # Word-size accesses may read uninitialized data past the trailing \0 [all …]
|
/linux/drivers/power/supply/ |
H A D | ab8500_charger.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2012 36 #include "ab8500-bm.h" 37 #include "ab8500-chargalg.h" 94 /* Lowest charger voltage is 3.39V -> 0x4E */ 112 /* UsbLineStatus register - usb types */ 174 * struct ab8500_charger_interrupts - ab8500 interrupts 176 * @isr function pointer to the isr 218 * struct ab8500_charger - ab8500 Charger device information 252 * @usb_ipt_crnt_lock: Lock to protect VBUS input current setting from mutuals [all …]
|
/linux/drivers/platform/surface/aggregator/ |
H A D | controller.c | 1 // 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/sound/firewire/ |
H A D | amdtp-stream.c | 1 // 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-trace.h" 83 * amdtp_stream_init - initialize an AMDTP stream structure 87 * @flags: the details of the streaming protocol consist of cip_flags enumeration-constants. 99 return -EINVAL; in amdtp_stream_init() 101 s->protocol = kzalloc(protocol_size, GFP_KERNEL); in amdtp_stream_init() [all …]
|
/linux/drivers/gpu/drm/bridge/analogix/ |
H A D | anx7625.c | 1 // 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 D | atarikbd.rst | 12 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 D | endpoint.c | 1 // 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->de in release_urb_ctx() [all...] |
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp_hw.c | 1 // SPDX-License-Identifier: GPL-2.0 25 { "CVL-SDP22", ZL_REF0P, DPLL_PIN_TYPE_INT_OSCILLATOR, 27 { "CVL-SDP20", ZL_REF0N, DPLL_PIN_TYPE_INT_OSCILLATOR, 29 { "C827_0-RCLKA", ZL_REF1P, DPLL_PIN_TYPE_MUX, 0, }, 30 { "C827_0-RCLKB", ZL_REF1N, DPLL_PIN_TYPE_MUX, 0, }, 35 { "GNSS-1PPS", ZL_REF4P, DPLL_PIN_TYPE_GNSS, 40 { "CVL-SDP22", ZL_REF0P, DPLL_PIN_TYPE_INT_OSCILLATOR, 42 { "CVL-SDP20", ZL_REF0N, DPLL_PIN_TYPE_INT_OSCILLATOR, 44 { "C827_0-RCLKA", ZL_REF1P, DPLL_PIN_TYPE_MUX, }, 45 { "C827_0-RCLKB", ZL_REF1N, DPLL_PIN_TYPE_MUX, }, [all …]
|
H A D | ice_common.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2018-2023, Intel Corporation. */ 89 * ice_dump_phy_type - helper function to dump phy_type 98 ice_debug(hw, ICE_DBG_PHY, "%s: phy_type_low: 0x%016llx\n", prefix, low); in ice_dump_phy_type() 102 ice_debug(hw, ICE_DBG_PHY, "%s: bit(%d): %s\n", in ice_dump_phy_type() 106 ice_debug(hw, ICE_DBG_PHY, "%s: phy_type_high: 0x%016llx\n", prefix, high); in ice_dump_phy_type() 110 ice_debug(hw, ICE_DBG_PHY, "%s: bit(%d): %s\n", in ice_dump_phy_type() 116 * ice_set_mac_type - Sets MAC type 119 * This function sets the MAC type of the adapter based on the 124 if (hw->vendor_id != PCI_VENDOR_ID_INTEL) in ice_set_mac_type() [all …]
|
/linux/sound/pci/ac97/ |
H A D | ac97_codec.c | 1 // 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-31", patch_conexant, NULL }, 152 { 0x4e534300, 0xffffffff, "LM4540,43,45,46,48", NULL, NULL }, // only guess --jk 161 { 0x54524123, 0xffffffff, "TR28602", NULL, NULL }, // only guess --jk [TR28023 = eMicro EM28023 (… 197 ((ac97->scaps & AC97_SCAP_POWER_SAVE) && power_save) 203 dev_err((ac97)->bus->card->dev, fmt, ##args) [all …]
|
/linux/drivers/acpi/ |
H A D | scan.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * scan.c - support for transforming the ACPI namespace into individual objects 19 #include <linux/dma-map-ops.h> 23 #include <linux/dma-direct.h> 47 * special-casing. Everything else is covered by ACPI namespace paths in STAO 79 hp->notify = notify; in acpi_initialize_hp_context() 80 hp->uevent = uevent; in acpi_initialize_hp_context() 89 return -EINVAL; in acpi_scan_add_handler() 91 list_add_tail(&handler->list_node, &acpi_scan_handlers_list); in acpi_scan_add_handler() 104 acpi_sysfs_add_hotplug_profile(&handler->hotplug, hotplug_profile_name); in acpi_scan_add_handler_with_hotplug() [all …]
|
/linux/drivers/gpu/drm/i915/ |
H A D | i915_perf.c | 2 * 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/platform/x86/ |
H A D | thinkpad_acpi.c | 1 // 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 …]
|