/Linux-v6.1/Documentation/devicetree/bindings/iio/dac/ |
D | adi,ad5421.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lars-Peter Clausen <lars@metafoo.de> 11 - Jonathan Cameron <jic23@kernel.org> 14 AD5421 is designed for us in loop-powered, 4 mA to 20 mA smart transmitter 15 applications. It provides a 16-bit DAC, current amplifier, voltage regulator 16 to drive the loop and a voltage reference. 30 - compatible 31 - reg [all …]
|
/Linux-v6.1/drivers/usb/core/ |
D | generic.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/usb/core/generic.c - generic driver for USB devices (not interfaces) 5 * (C) Copyright 2005 Greg Kroah-Hartman <gregkh@suse.de> 9 * (C) Copyright Johannes Erdfelt 1999-2001 14 * (C) Copyright David Brownell 2000-2004 17 * (C) Copyright Greg Kroah-Hartman 2002-2003 34 return desc->bInterfaceClass == USB_CLASS_COMM in is_rndis() 35 && desc->bInterfaceSubClass == 2 in is_rndis() 36 && desc->bInterfaceProtocol == 0xff; in is_rndis() 41 return desc->bInterfaceClass == USB_CLASS_MISC in is_activesync() [all …]
|
/Linux-v6.1/arch/arm/include/asm/ |
D | mcpm.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Copyright: (C) 2012-2013 Linaro Limited 40 * branch once it is ready to re-enter the kernel using ptr, or NULL if it 41 * should be gated. A gated CPU is held in a WFE loop until its vector 59 * mcpm_is_available - returns whether MCPM is initialized and available 66 * mcpm_cpu_power_up - make given CPU in given cluster runable 71 * The identified CPU is brought out of reset. If the cluster was powered 87 * mcpm_cpu_power_down - power the calling CPU down 89 * The calling CPU is powered down. 92 * then the cluster is prepared for power-down too. [all …]
|
/Linux-v6.1/arch/mips/kernel/ |
D | smp-cps.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 18 #include <asm/mips-cps.h> 21 #include <asm/pm-cps.h> 23 #include <asm/smp-cps.h> 74 for (v = 0; v < min_t(int, core_vpes, NR_CPUS - nvpes); v++) { in cps_smp_setup() 98 /* Core 0 is powered up (we're running on it) */ in cps_smp_setup() 113 /* If we have an FPU, enroll ourselves in the FPU-full mask */ in cps_smp_setup() 127 /* Detect whether the CCA is unsuited to multi-core SMP */ in cps_prepare_cpus() 132 /* The CCA is coherent, multi-core is fine */ in cps_prepare_cpus() 137 /* CCA is not coherent, multi-core is not usable */ in cps_prepare_cpus() [all …]
|
D | pm-cps.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <asm/asm-offsets.h> 17 #include <asm/mips-cps.h> 20 #include <asm/pm-cps.h> 21 #include <asm/smp-cps.h> 25 * cps_nc_entry_fn - type of a generated non-coherent state entry function 27 * @nc_ready_count: pointer to a non-coherent mapping of the core ready_count 29 * The code entering & exiting non-coherent states is generated at runtime 32 * core-specific code particularly for cache routines. If coupled_coherence 33 * is non-zero and this is the entry function for the CPS_PM_NC_WAIT state, [all …]
|
/Linux-v6.1/Documentation/w1/slaves/ |
D | w1_ds28e17.rst | 7 * Maxim DS28E17 1-Wire-to-I2C Master Bridge 19 ----------- 30 SUBSYSTEM=="i2c-dev", KERNEL=="i2c-[0-9]*", ATTRS{name}=="w1-19-*", \ 31 SYMLINK+="i2c-$attr{name}" 33 may be used to create stable /dev/i2c- entries based on the unique id of the 41 it is connected. The power-on default of the DS28E17 is 400kBaud, but 42 chips may come and go on the Onewire bus without being de-powered and 44 reconnected DS28E17 device on the Onewire bus, it will re-apply this 55 needed timeout cannot be pre-calculated correctly. As the w1_ds28e17 56 driver checks the DS28E17's busy flag in a loop after the precalculated [all …]
|
/Linux-v6.1/Documentation/hwmon/ |
D | aquacomputer_d5next.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 3 Kernel driver aquacomputer-d5next 18 ----------- 25 available through debugfs are the serial number, firmware version and power-on 27 temperature curves directly from the pump. If it's not connected, the fan-related 49 and an estimation of the dissipated/absorbed power in the liquid cooling loop. 55 ----------- 61 ------------- 64 temp[1-20]_input Physical/virtual temperature sensors (in millidegrees Celsius) 65 fan[1-8]_input Pump/fan speed (in RPM) / Flow speed (in dL/h) [all …]
|
/Linux-v6.1/kernel/rcu/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # RCU-related configuration options 11 # Dynticks-idle tracking 26 thousands of CPUs, but for which real-time response 37 designed for UP systems from which real-time response 42 bool "Make expert-level adjustments to RCU configuration" 46 expert-level adjustments to RCU configuration. By default, 47 no such adjustments can be made, which has the often-beneficial 48 side-effect of preventing "make oldconfig" from asking you all 52 Say Y if you need to make expert-level adjustments to RCU. [all …]
|
/Linux-v6.1/drivers/phy/renesas/ |
D | phy-rcar-gen3-usb2.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Renesas R-Car Gen3 for USB2.0 PHY driver 5 * Copyright (C) 2015-2017 Renesas Electronics Corporation 7 * This is based on the phy-rcar-gen2 driver: 12 #include <linux/extcon-provider.h> 107 bool powered; member 117 struct mutex lock; /* protects rphys[...].powered */ 137 * ---------------------+---------------++--------------+------------ 148 if (ch->extcon_host) { in rcar_gen3_phy_usb2_work() 149 extcon_set_state_sync(ch->extcon, EXTCON_USB_HOST, true); in rcar_gen3_phy_usb2_work() [all …]
|
/Linux-v6.1/drivers/usb/misc/ |
D | onboard_usb_hub_pdevs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 33 * onboard_hub_create_pdevs -- create platform devices for onboard USB hubs 40 * control whether the hub remains powered during system suspend or not. 53 * platform device for each physical onboard hub, hence for root hubs the loop 69 struct usb_hcd *hcd = bus_to_hcd(parent_hub->bus); in onboard_hub_create_pdevs() 74 if (!parent_hub->dev.of_node) in onboard_hub_create_pdevs() 77 if (!parent_hub->parent && !usb_hcd_is_primary_hcd(hcd)) in onboard_hub_create_pdevs() 80 for (i = 1; i <= parent_hub->maxchild; i++) { in onboard_hub_create_pdevs() 88 npc = of_parse_phandle(np, "peer-hub", 0); in onboard_hub_create_pdevs() 99 put_device(&pdev->dev); in onboard_hub_create_pdevs() [all …]
|
/Linux-v6.1/drivers/net/wireless/intel/iwlegacy/ |
D | csr.h | 8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 70 * low power states due to driver-invoked device resets 71 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes. 77 * The MAC (uCode processor, etc.) does not need to be powered up for accessing 86 #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */ 100 * 31-8: Reserved 101 * 7-4: Type of device: see CSR_HW_REV_TYPE_xxx definitions 102 * 3-2: Revision step: 0 = A, 1 = B, 2 = C, 3 = D [all …]
|
/Linux-v6.1/Documentation/power/ |
D | suspend-and-cpuhotplug.rst | 5 (C) 2011 - 2014 Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> 8 I. Differences between CPU hotplug and Suspend-to-RAM 11 How does the regular CPU hotplug code differ from how the Suspend-to-RAM 14 Well, a picture is worth a thousand words... So ASCII art follows :-) 21 What happens when regular CPU hotplug and Suspend-to-RAM race with each other 24 On a high level, the suspend-resume cycle goes like this:: 26 |Freeze| -> |Disable nonboot| -> |Do suspend| -> |Enable nonboot| -> |Thaw | 33 ----------------- 62 | ---------- 76 frozen_cpus mask ---------- [all …]
|
D | freezing-of-tasks.rst | 11 kernel threads are controlled during hibernation or system-wide suspend (on some 17 There are three per-task flags used for that, PF_NOFREEZE, PF_FROZEN 25 freeze_processes() (defined in kernel/power/process.c) is called. A system-wide 26 variable system_freezing_cnt (as opposed to a per-task flag) is used to indicate 33 it loop until PF_FROZEN is cleared for it. Then, we say that the task is 44 signal-handling code, but the freezable kernel threads need to call it 48 calling try_to_freeze(). The main loop of a freezable kernel thread may look 74 ------------------------------------------------------------------------- 77 - freezes only userspace tasks 80 - freezes all tasks (including kernel threads) because we can't freeze [all …]
|
/Linux-v6.1/drivers/pci/hotplug/ |
D | ibmphp_core.c | 1 // SPDX-License-Identifier: GPL-2.0+ 7 * Copyright (C) 2001,2003 Greg Kroah-Hartman (greg@kroah.com) 8 * Copyright (C) 2001-2003 IBM Corp. 58 debug("options = %x\n", slot_cur->ctrl->options); in get_cur_bus_info() 59 debug("revision = %x\n", slot_cur->ctrl->revision); in get_cur_bus_info() 61 if (READ_BUS_STATUS(slot_cur->ctrl)) in get_cur_bus_info() 67 slot_cur->bus_on->current_speed = CURRENT_BUS_SPEED(slot_cur->busstatus); in get_cur_bus_info() 68 if (READ_BUS_MODE(slot_cur->ctrl)) in get_cur_bus_info() 69 slot_cur->bus_on->current_bus_mode = in get_cur_bus_info() 70 CURRENT_BUS_MODE(slot_cur->busstatus); in get_cur_bus_info() [all …]
|
/Linux-v6.1/sound/soc/atmel/ |
D | tse850-pcm5142.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // TSE-850 audio - ASoC driver for the Axentia TSE-850 with a PCM5142 codec 10 // IN1 +---o +------------+ o---+ OUT1 14 // +--o +--. | 17 // | .---. | 18 // DAC +----------->|Sum|---+ 19 // | '---' | 23 // IN2 +---o--+------------+--o---+ OUT2 26 // The 'loop1' gpio pin controls two relays, which are either in loop 33 // 'loop2' relays are active, short-cutting the TSE-850 from channel 2. [all …]
|
/Linux-v6.1/Documentation/timers/ |
D | no_hz.rst | 2 NO_HZ: Reducing Scheduling-Clock Ticks 7 reduce the number of scheduling-clock interrupts, thereby improving energy 9 some types of computationally intensive high-performance computing (HPC) 10 applications and for real-time applications. 12 There are three main ways of managing scheduling-clock interrupts 13 (also known as "scheduling-clock ticks" or simply "ticks"): 15 1. Never omit scheduling-clock ticks (CONFIG_HZ_PERIODIC=y or 16 CONFIG_NO_HZ=n for older kernels). You normally will -not- 19 2. Omit scheduling-clock ticks on idle CPUs (CONFIG_NO_HZ_IDLE=y or 23 3. Omit scheduling-clock ticks on CPUs that are either idle or that [all …]
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/ |
D | iwl-csr.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2022 Intel Corporation 4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH 14 * low power states due to driver-invoked device resets 15 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes. 21 * The MAC (uCode processor, etc.) does not need to be powered up for accessing 30 #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */ 37 #define CSR_FUNC_SCRATCH (CSR_BASE+0x02c) /* Scratch register - used for FW dbg */ 45 * 31-16: Reserved 46 * 15-4: Type of device: see CSR_HW_REV_TYPE_xxx definitions [all …]
|
/Linux-v6.1/drivers/usb/gadget/udc/ |
D | max3420_udc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * (C) Copyright 2019-2020 Linaro Ltd 191 #define DRIVER_DESC "MAX3420 USB Device-Mode Driver" 192 static const char driver_name[] = "max3420-udc"; 203 struct spi_device *spi = udc->spi; in spi_ack_ctrl() 222 struct spi_device *spi = udc->spi; in spi_rd8_ack() 249 struct spi_device *spi = udc->spi; in spi_wr8_ack() 275 struct spi_device *spi = udc->spi; in spi_rd_buf() 297 struct spi_device *spi = udc->spi; in spi_wr_buf() 318 struct max3420_udc *udc = ep->udc; in spi_max3420_enable() [all …]
|
/Linux-v6.1/drivers/cpuidle/ |
D | coupled.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * coupled.c - helper functions to enter the same idle state on multiple cpus 24 * cpus cannot be independently powered down, either due to 62 * the waiting loop, in the ready loop, or in the coupled idle state. 63 * ready_count tracks the number of cpus that are in the ready loop 88 * struct cpuidle_coupled - data for set of cpus that share a coupled idle state 109 #define WAITING_MASK (MAX_WAITING_CPUS - 1) 112 #define CPUIDLE_COUPLED_NOT_IDLE (-1) 126 * once to minimize entering the ready loop with a poke pending, which would 132 * cpuidle_coupled_parallel_barrier - synchronize all online coupled cpus [all …]
|
/Linux-v6.1/sound/core/ |
D | init.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 47 /* return non-zero if the given index is reserved for the given 56 if (!module || !*module->name || !slots[idx]) in module_slot_match() 59 s1 = module->name; in module_slot_match() 71 if (c1 == '-') in module_slot_match() 73 if (c2 == '-') in module_slot_match() 95 * @mask == -1 == 0xffffffff means: take any free slot up to 32 123 * snd_device_initialize - Initialize struct device for sound devices 131 dev->parent = &card->card_dev; in snd_device_initialize() 132 dev->class = sound_class; in snd_device_initialize() [all …]
|
/Linux-v6.1/drivers/gpu/drm/bridge/ |
D | ti-sn65dsi86.c | 1 // SPDX-License-Identifier: GPL-2.0 134 * struct ti_sn65dsi86 - Platform data for ti-sn65dsi86 driver. 135 * @bridge_aux: AUX-bus sub device for MIPI-to-eDP bridge functionality. 136 * @gpio_aux: AUX-bus sub device for GPIO controller functionality. 137 * @aux_aux: AUX-bus sub device for eDP AUX channel functionality. 138 * @pwm_aux: AUX-bus sub device for PWM controller functionality. 153 * @ln_polrs: Value for the 4-bit LN_POLRS field of SN_ENH_FRAME_REG. 159 * serves double-duty of keeping track of the direction and 165 * each other's read-modify-write. 230 ret = regmap_bulk_read(pdata->regmap, reg, buf, ARRAY_SIZE(buf)); in ti_sn65dsi86_read_u16() [all …]
|
/Linux-v6.1/sound/drivers/ |
D | serial-u16550.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 * Added support for the Midiator MS-124T and for the MS-124W in 17 * More documentation can be found in serial-u16550.txt. 39 #define SNDRV_SERIAL_MS124T 1 /* Midiator MS-124T */ 40 #define SNDRV_SERIAL_MS124W_SA 2 /* Midiator MS-124W in S/A mode */ 41 #define SNDRV_SERIAL_MS124W_MB 3 /* Midiator MS-124W in M/B mode */ 46 "MS-124T", 47 "MS-124W S/A", 48 "MS-124W M/B", 53 #define SNDRV_SERIAL_DROPBUFF 1 /* Non-blocking discard operation */ [all …]
|
/Linux-v6.1/drivers/iio/pressure/ |
D | zpa2326.c | 1 // SPDX-License-Identifier: GPL-2.0-only 34 * - get device out of low power mode, 35 * - setup hardware sampling period, 36 * - at end of period, upon data ready interrupt: pop pressure samples out of 38 * - when no longer needed, stop sampling process by putting device into 70 /* 200 ms should be enough for the longest conversion time in one-shot mode. */ 78 * struct zpa2326_frequency - Hardware sampling frequency descriptor 102 ARRAY_SIZE(zpa2326_sampling_frequencies) - 1]; in zpa2326_highest_frequency() 106 * struct zpa2326_private - Per-device internal private state 116 * @waken: Flag indicating whether or not device has just been powered on. [all …]
|
/Linux-v6.1/drivers/base/power/ |
D | domain.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/base/power/domain.c - Common code related to device power domains. 35 __routine = genpd->dev_ops.callback; \ 54 mutex_lock(&genpd->mlock); in genpd_lock_mtx() 60 mutex_lock_nested(&genpd->mlock, depth); in genpd_lock_nested_mtx() 65 return mutex_lock_interruptible(&genpd->mlock); in genpd_lock_interruptible_mtx() 70 return mutex_unlock(&genpd->mlock); in genpd_unlock_mtx() 81 __acquires(&genpd->slock) in genpd_lock_spin() 85 spin_lock_irqsave(&genpd->slock, flags); in genpd_lock_spin() 86 genpd->lock_flags = flags; in genpd_lock_spin() [all …]
|
/Linux-v6.1/sound/soc/codecs/ |
D | twl4030.c | 1 // SPDX-License-Identifier: GPL-2.0-only 28 #include <linux/mfd/twl4030-audio.h> 67 u8 ctl_cache[TWL4030_REG_PRECKR_CTL - TWL4030_REG_EAR_CTL + 1]; 79 twl4030->ctl_cache[i - TWL4030_REG_EAR_CTL] = byte; in tw4030_init_ctl_cache() 89 return -EIO; in twl4030_read() 98 value = twl4030->ctl_cache[reg - TWL4030_REG_EAR_CTL]; in twl4030_read() 116 if (twl4030->earpiece_enabled) in twl4030_can_write_to_chip() 120 if (twl4030->predrivel_enabled) in twl4030_can_write_to_chip() 124 if (twl4030->predriver_enabled) in twl4030_can_write_to_chip() 128 if (twl4030->carkitl_enabled) in twl4030_can_write_to_chip() [all …]
|