/openbmc/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: 33 description: Lock detect GPIO. 35 adi,channel-spacing: [all …]
|
/openbmc/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 …]
|
/openbmc/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 143 #define INVALID_IRQ ((unsigned)-1) 148 return (struct soundscape *) (c->private_data); in get_card_soundscape() 162 s->chip->card->dev, in get_dmabuf() 165 "%lu bytes for DMA\n", in get_dmabuf() [all …]
|
/openbmc/linux/drivers/iio/frequency/ |
H A D | adf4350.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2012-2013 Analog Devices Inc. 51 * Lock to protect the state of the device from potential concurrent 53 * and this lock is meant to prevent the start of another sequence 56 struct mutex lock; member 77 for (i = ADF4350_REG5; i >= ADF4350_REG0; i--) { in adf4350_sync_config() 78 if ((st->regs_hw[i] != st->regs[i]) || in adf4350_sync_config() 87 st->val = cpu_to_be32(st->regs[i] | i); in adf4350_sync_config() 88 ret = spi_write(st->spi, &st->val, 4); in adf4350_sync_config() 91 st->regs_hw[i] = st->regs[i]; in adf4350_sync_config() [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | kernel-parameters.txt | 5 force -- enable ACPI if default was off 6 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 7 off -- disable ACPI if default was on 8 noirq -- do not use ACPI for IRQ routing 9 strict -- Be less tolerant of platforms that are not 11 rsdt -- prefer RSDT over (default) XSDT 12 copy_dsdt -- copy DSDT to memory 26 If set to vendor, prefer vendor-specific driver 58 Documentation/firmware-guide/acpi/debug.rst for more information about 61 Enable processor driver info messages: [all …]
|
/openbmc/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 32 #include <sound/soc-dapm.h> 35 #include <dt-bindings/sound/cs42l42.h> 403 static DECLARE_TLV_DB_SCALE(adc_tlv, -9700, 100, true); 404 static DECLARE_TLV_DB_SCALE(mixer_tlv, -6300, 100, true); 413 switch (ucontrol->value.integer.value[0]) { in cs42l42_slow_start_put() 421 return -EINVAL; in cs42l42_slow_start_put() 455 SOC_SINGLE_S8_TLV("ADC Volume", CS42L42_ADC_VOLUME, -97, 12, adc_tlv), 482 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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_attr.c | 4 * Copyright (C) 2017-2023 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 …]
|
/openbmc/linux/Documentation/filesystems/ |
H A D | xfs-online-fsck-design.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 Heading 3 uses "----" 25 - To help kernel distributors understand exactly what the XFS online fsck 28 - To help people reading the code to familiarize themselves with the relevant 31 - To help developers maintaining the system by capturing the reasons 47 then present case studies of how each repair function actually works. 59 - Provide a hierarchy of names through which application programs can associate 62 - Virtualize physical storage media across those names, and 64 - Retrieve the named data blobs at any time. 66 - Examine resource usage. [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_debugfs.c | 64 /* parse_write_buffer_into_params - Helper function to parse debugfs write buffer into an array 66 * Function takes in attributes passed to debugfs write entry 81 const char delimiter[3] = {' ', '\n', '\0'}; in parse_write_buffer_into_params() 90 DRM_DEBUG_DRIVER("user data could not be read successfully\n"); in parse_write_buffer_into_params() 91 return -EFAULT; in parse_write_buffer_into_params() 94 /* check number of parameters. isspace could not differ space and \n */ in parse_write_buffer_into_params() 105 /* skip non-space*/ in parse_write_buffer_into_params() 135 DRM_DEBUG_DRIVER("string to int convert error code: %d\n", r); in parse_write_buffer_into_params() 143 /* function description 154 * debugfs is located at /sys/kernel/debug/dri/0/DP-x/link_settings [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp.c | 1 // SPDX-License-Identifier: GPL-2.0 116 return -EINVAL; in ice_ptp_set_sma_config_e810t() 121 return -EINVAL; in ice_ptp_set_sma_config_e810t() 140 /* U.FL 1 TX will always enable SMA 1 RX */ in ice_ptp_set_sma_config_e810t() 183 * @func: Pin function to be set (PTP_PF_NONE, PTP_PF_EXTTS or PTP_PF_PEROUT) 193 struct ice_hw *hw = &pf->hw; in ice_ptp_set_sma_e810t() 197 return -EOPNOTSUPP; in ice_ptp_set_sma_e810t() 203 /* Disable the same function on the other pin sharing the channel */ in ice_ptp_set_sma_e810t() 214 /* Set up new pin function in the temp table */ in ice_ptp_set_sma_e810t() 224 * @func: Assigned function [all …]
|
H A D | ice_common.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright (c) 2018-2023, Intel Corporation. */ 88 * ice_dump_phy_type - helper function to dump phy_type 97 ice_debug(hw, ICE_DBG_PHY, "%s: phy_type_low: 0x%016llx\n", prefix, low); in ice_dump_phy_type() 101 ice_debug(hw, ICE_DBG_PHY, "%s: bit(%d): %s\n", in ice_dump_phy_type() 105 ice_debug(hw, ICE_DBG_PHY, "%s: phy_type_high: 0x%016llx\n", prefix, high); in ice_dump_phy_type() 109 ice_debug(hw, ICE_DBG_PHY, "%s: bit(%d): %s\n", in ice_dump_phy_type() 115 * ice_set_mac_type - Sets MAC type 118 * This function sets the MAC type of the adapter based on the 123 if (hw->vendor_id != PCI_VENDOR_ID_INTEL) in ice_set_mac_type() [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/u-boot/cmd/ |
H A D | Kconfig | 4 bool "Support U-Boot commands" 7 Enable U-Boot's command-line functions. This provides a means 8 to enter commands into U-Boot for a wide variety of purposes. It 12 substantially to the size of U-Boot. 27 bool "Enable command line editing" 31 Enable editing and History functions for interactive command line 35 bool "Enable auto complete using TAB" 39 Enable auto completion of commands using TAB. 42 bool "Enable long help messages" 66 default n [all …]
|
/openbmc/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->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 …]
|
/openbmc/linux/drivers/net/ethernet/via/ |
H A D | via-velocity.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 * Please direct queries about the revamped driver to the linux-kernel 28 * Author: Chuang Liang-Shing, AJ Jiang 41 #include <linux/dma-mapping.h> 74 #include <linux/crc-ccitt.h> 77 #include "via-velocity.h" 88 void *addr = vptr->mac_regs; in velocity_set_power_state() 90 if (vptr->pdev) in velocity_set_power_state() 91 pci_set_power_state(vptr->pdev, state); in velocity_set_power_state() 97 * mac_get_cam_mask - Read a CAM mask [all …]
|
/openbmc/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 …]
|
/openbmc/linux/kernel/rcu/ |
H A D | tree.c | 1 // 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 .gp_seq = (0UL - 300UL) << RCU_SEQ_CTR_SHIFT, 106 /* Control rcu_node-tree auto-balancing at boot time. */ 124 * to detect real grace periods. This variable is also used to suppress 125 * boot-time false positives from lockdep-RCU error checking. Finally, it 161 * real-time priority(enabling/disabling) is controlled by 167 /* Delay in jiffies for grace-period initialization delays, debug only. */ [all …]
|