| /linux/include/linux/regulator/ |
| H A D | da9121.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * DA9121 Single-channel dual-phase 10A buck converter 4 * DA9130 Single-channel dual-phase 10A buck converter (Automotive) 5 * DA9217 Single-channel dual-phase 6A buck converter 6 * DA9122 Dual-channel single-phase 5A buck converter 7 * DA9131 Dual-channel single-phase 5A buck converter (Automotive) 8 * DA9220 Dual-channel single-phase 3A buck converter 9 * DA9132 Dual-channel single-phase 3A buck converter (Automotive)
|
| /linux/Documentation/devicetree/bindings/regulator/ |
| H A D | dlg,da9121.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Adam Ward <Adam.Ward.opensource@diasemi.com> 13 Dialog Semiconductor DA9121 Single-channel 10A double-phase buck converter 14 Dialog Semiconductor DA9122 Double-channel 5A single-phase buck converter 15 Dialog Semiconductor DA9220 Double-channel 3A single-phase buck converter 16 Dialog Semiconductor DA9217 Single-channel 6A double-phase buck converter 17 Dialog Semiconductor DA9130 Single-channel 10A double-phase buck converter 18 Dialog Semiconductor DA9131 Double-channel 5A single-phase buck converter [all …]
|
| H A D | nxp,pf8x00-regulator.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/regulator/nxp,pf8x00-regulator.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jagan Teki <jagan@amarulasolutions.com> 11 - Troy Kisky <troy.kisky@boundarydevices.com> 16 linear and one vsnvs regulators. It has built-in one time programmable 22 - nxp,pf8100 23 - nxp,pf8121a 24 - nxp,pf8200 [all …]
|
| /linux/drivers/regulator/ |
| H A D | da9121-regulator.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * DA9121 Single-channel dual-phase 10A buck converter 4 * DA9130 Single-channel dual-phase 10A buck converter (Automotive) 5 * DA9217 Single-channel dual-phase 6A buck converter 6 * DA9122 Dual-channel single-phase 5A buck converter 7 * DA9131 Dual-channel single-phase 5A buck converter (Automotive) 8 * DA9220 Dual-channel single-phase 3A buck converter 9 * DA9132 Dual-channel single-phase 3A buck converter (Automotive) 23 #include <dt-bindings/regulator/dlg,da9121-regulator.h>
|
| H A D | da9121-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // DA9121 Single-channel dual-phase 10A buck converter 7 // DA9130 Single-channel dual-phase 10A buck converter (Automotive) 8 // DA9217 Single-channel dual-phase 6A buck converter 9 // DA9122 Dual-channel single-phase 5A buck converter 10 // DA9131 Dual-channel single-phase 5A buck converter (Automotive) 11 // DA9220 Dual-channel single-phase 3A buck converter 12 // DA9132 Dual-channel single-phase 3A buck converter (Automotive) 29 #include "da9121-regulator.h" 135 int buck_id; /* 0=core, 1/2-buck */ [all …]
|
| /linux/Documentation/netlink/specs/ |
| H A D | dpll.yaml | 1 # SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-3-Clause) 2 --- 8 - 16 - 20 - 23 render-max: true 24 - 26 name: lock-status 31 - 37 - [all …]
|
| /linux/lib/zstd/compress/ |
| H A D | zstd_cwksp.h | 1 /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ 6 * This source code is licensed under both the BSD-style license (found in the 9 * You may select, at your option, one of the above-listed licenses. 15 /*-************************************* 23 /*-************************************* 42 /*-************************************* 55 * expect a well-formed caller to free this. 63 * Zstd fits all its internal datastructures into a single continuous buffer, 64 * so that it only needs to perform a single OS allocation (or so that a buffer 71 * - These different internal datastructures have different setup requirements: [all …]
|
| /linux/drivers/hwmon/pmbus/ |
| H A D | pli1209bc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 26 int phase, int reg) in pli1209bc_read_word_data() argument 33 data = pmbus_read_word_data(client, page, phase, reg); in pli1209bc_read_word_data() 37 return clamp_val(data, -32768, 32767) & 0xffff; in pli1209bc_read_word_data() 45 data = pmbus_read_word_data(client, page, phase, in pli1209bc_read_word_data() 51 return pmbus_read_word_data(client, page, phase, reg); in pli1209bc_read_word_data() 53 return -ENODATA; in pli1209bc_read_word_data() 97 * The pli1209 digital supervisor only contains a single BCM, making 115 client->dev.platform_data = &pli1209bc_plat_data; in pli1209bc_probe()
|
| H A D | ucd9200.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 82 if (!i2c_check_functionality(client->adapter, in ucd9200_probe() 85 return -ENODEV; in ucd9200_probe() 90 dev_err(&client->dev, "Failed to read device ID\n"); in ucd9200_probe() 94 dev_info(&client->dev, "Device ID %s\n", block_buffer); in ucd9200_probe() 96 for (mid = ucd9200_id; mid->name[0]; mid++) { in ucd9200_probe() 97 if (!strncasecmp(mid->name, block_buffer, strlen(mid->name))) in ucd9200_probe() 100 if (!mid->name[0]) { in ucd9200_probe() 101 dev_err(&client->dev, "Unsupported device\n"); in ucd9200_probe() 102 return -ENODEV; in ucd9200_probe() [all …]
|
| H A D | max16601.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * information for the VSA rail in a single instance of the driver. 19 * The chip supports reading per-phase temperatures and per-phase input/output 22 * register values and reports per-phase information in PMBus page 0. 65 return i2c_smbus_read_byte_data(data->vsa, reg); in max16601_read_byte() 66 return -EOPNOTSUPP; in max16601_read_byte() 68 return -ENODATA; in max16601_read_byte() 71 static int max16601_read_word(struct i2c_client *client, int page, int phase, in max16601_read_word() argument 81 if (phase == 0xff) in max16601_read_word() 82 return -ENODATA; in max16601_read_word() [all …]
|
| /linux/drivers/base/power/ |
| H A D | common.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/base/power/common.c - Common device power management code. 19 * dev_pm_get_subsys_data - Create or refcount power.subsys_data for device. 32 return -ENOMEM; in dev_pm_get_subsys_data() 34 spin_lock_irq(&dev->power.lock); in dev_pm_get_subsys_data() 36 if (dev->power.subsys_data) { in dev_pm_get_subsys_data() 37 dev->power.subsys_data->refcount++; in dev_pm_get_subsys_data() 39 spin_lock_init(&psd->lock); in dev_pm_get_subsys_data() 40 psd->refcount = 1; in dev_pm_get_subsys_data() 41 dev->power.subsys_data = psd; in dev_pm_get_subsys_data() [all …]
|
| /linux/drivers/gpu/drm/i915/selftests/ |
| H A D | i915_syncmap.c | 41 for (d = 0; d < depth - 1; d++) { in __sync_print() 42 if (last & BIT(depth - d - 1)) in __sync_print() 47 *sz -= len; in __sync_print() 49 len = scnprintf(buf, *sz, "%x-> ", idx); in __sync_print() 51 *sz -= len; in __sync_print() 55 len = scnprintf(buf, *sz, "0x%016llx", p->prefix << p->height << SHIFT); in __sync_print() 57 *sz -= len; in __sync_print() 58 X = (p->height + SHIFT) / 4; in __sync_print() 59 scnprintf(buf - X, *sz + X, "%*s", X, "XXXXXXXXXXXXXXXXX"); in __sync_print() 61 if (!p->height) { in __sync_print() [all …]
|
| /linux/sound/firewire/bebob/ |
| H A D | bebob_yamaha_terratec.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * bebob_yamaha.c - a part of driver for BeBoB based devices 5 * Copyright (c) 2013-2014 Takashi Sakamoto 12 * Yamaha GO44 is not designed to be used as stand-alone mixer. So any streams 16 * way to recover this state. GO46 is better for stand-alone mixer. 19 * At 192.0kHz, the device reports 4 PCM-in, 1 MIDI-in, 6 PCM-out, 1 MIDI-out. 20 * But Yamaha's driver reduce 2 PCM-in, 1 MIDI-in, 2 PCM-out, 1 MIDI-out to use 21 * 'Extended Stream Format Information Command - Single Request' in 'Additional 25 * Unfortunately current 'ffado-mixer' generated many asynchronous transaction 27 * recommend users to close ffado-mixer at 192.0kHz if mixer is needless. [all …]
|
| /linux/Documentation/bpf/libbpf/ |
| H A D | libbpf_overview.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 libbpf is a C-based library containing a BPF loader that takes compiled BPF 13 The following are the high-level features supported by libbpf: 15 * Provides high-level and low-level APIs for user space programs to interact 16 with BPF programs. The low-level APIs wrap all the bpf system call 17 functionality, which is useful when users need more fine-grained control 22 * Provides BPF-side APIS, including BPF helper definitions, BPF maps support, 24 * Supports BPF CO-RE mechanism, enabling BPF developers to write portable 42 The following section provides a brief overview of each phase in the BPF life 45 * **Open phase**: In this phase, libbpf parses the BPF [all …]
|
| /linux/Documentation/networking/ |
| H A D | can.rst | 2 SocketCAN - Controller Area Network 20 .. _socketcan-motivation: 29 functionality. Usually, there is only a hardware-specific device 32 Queueing of frames and higher-level transport protocols like ISO-TP 34 character-device implementations support only one single process to 47 protocol family module and also vice-versa. Also, the protocol family 57 communicate using a specific transport protocol, e.g. ISO-TP, just 60 CAN-IDs, frames, etc. 62 Similar functionality visible from user-space could be provided by a 74 * **Abstraction:** In most existing character-device implementations, the [all …]
|
| /linux/include/linux/iio/frequency/ |
| H A D | ad9523.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 38 * struct ad9523_channel_spec - Output channel configuration 42 * @sync_ignore_en: Ignore chip-level SYNC signal. 47 * @divider_phase: Divider initial phase after a SYNC. Range 0..63 49 * @channel_divider: 10-bit channel divider. 106 * struct ad9523_platform_data - platform specific information 109 * @refa_diff_rcv_en: REFA differential/single-ended input selection. 110 * @refb_diff_rcv_en: REFB differential/single-ended input selection. 111 * @zd_in_diff_en: Zero Delay differential/single-ended input selection. 112 * @osc_in_diff_en: OSC differential/ single-ended input selection. [all …]
|
| /linux/drivers/scsi/ |
| H A D | dc395x.c | 6 * (SCSI chip set used Tekram ASIC TRM-S1040) 11 * (C) Copyright 1995-1999 Tekram Technology Co., Ltd. 14 * (C) 1999-2000 Kurt Garloff 72 #define DC395X_BANNER "Tekram DC395(U/UW/F), DC315(U) - ASIC TRM-S1040" 75 /*--------------------------------------------------------------------------- 77 ---------------------------------------------------------------------------*/ 94 #define DC395x_LOCK_IO(dev,flags) spin_lock_irqsave(((struct Scsi_Host *)dev)->host_lock, flags) 95 #define DC395x_UNLOCK_IO(dev,flags) spin_unlock_irqrestore(((struct Scsi_Host *)dev)->host_lock, f… 97 #define DC395x_read8(acb,address) (u8)(inb(acb->io_port_base + (address))) 98 #define DC395x_read16(acb,address) (u16)(inw(acb->io_port_base + (address))) [all …]
|
| /linux/arch/microblaze/include/asm/ |
| H A D | hash.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 * multiply using shifts and adds. GCC can find a 9-step solution, but 12 * this 6-step solution was found by Yevgen Voronenko's implementation 15 * That software is really not designed for a single multiplier this large, 17 * 6-shift, 6-add sequences for computing x * 0x61C88647. They are all 21 * return (a<<11) + (b<<6) + (c<<3) - b; 37 /* Phase 1: Compute three intermediate values */ in __hash_32() 43 /* Phase 2: Compute (a << 11) + (b << 6) + (c << 3) - b */ in __hash_32() 49 return a - b; /* (a << 11) + (b << 6) + (c << 3) - b */ in __hash_32() 56 * addition-subtraction chain. This one is not known to be in __hash_32() [all …]
|
| /linux/drivers/iio/adc/ |
| H A D | ad7944.c | 1 // SPDX-License-Identifier: GPL-2.0-only 26 #include <linux/iio/buffer-dmaengine.h> 40 /* datasheet calls this "4-wire mode" */ 42 /* datasheet calls this "3-wire mode" (not related to SPI_3WIRE!) */ 48 /* maps adi,spi-mode property value to enum */ 51 [AD7944_SPI_MODE_SINGLE] = "single", 67 /* Chip-specific timing specifications. */ 73 /* Indicates TURBO is hard-wired to be always enabled. */ 118 * AD7944_DEFINE_CHIP_INFO - Define a chip info structure for a specific chip 170 * - There is no soft timestamp since everything is done in hardware. [all …]
|
| /linux/Documentation/devicetree/bindings/iio/frequency/ |
| H A D | adi,admv1013.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Antoniu Miclaus <antoniu.miclaus@analog.com> 21 - adi,admv1013 26 spi-max-frequency: 34 clock-names: 36 - const: lo_in 38 vcm-supply: 42 vcc-drv-supply: [all …]
|
| H A D | adi,admv1014.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Antoniu Miclaus <antoniu.miclaus@analog.com> 21 - adi,admv1014 26 spi-max-frequency: 32 clock-names: 34 - const: lo_in 38 vcm-supply: 40 Common-mode voltage regulator. [all …]
|
| /linux/drivers/scsi/sym53c8xx_2/ |
| H A D | sym_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 9 * Copyright (C) 1998-2000 Gerard Roudier 12 * a port of the FreeBSD ncr driver to Linux-1.2.13. 16 * Stefan Esser <se@mi.Uni-Koeln.de> 24 *----------------------------------------------------------------------------- 31 #define SYM_DRIVER_NAME "sym-" SYM_VERSION 40 u_char burst_max; /* log-base-2 of max burst */ 48 #define FE_ULTRA2 (1<<3) /* Ultra 2 - 40 Mtrans/sec */ [all …]
|
| /linux/tools/power/pm-graph/ |
| H A D | sleepgraph.py | 2 # SPDX-License-Identifier: GPL-2.0-only 21 # https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/overview.html 23 # git@github.com:intel/pm-graph 32 # time in suspend/resume. The output is a single html file which can be 51 # ----------------- LIBRARIES -------------------- 74 print('[%09.3f] %s' % (time.time()-mystarttime, msg)) 82 # ----------------- CLASSES -------------------- 86 # A global, single-instance container used to 108 cgtest = -1 183 tmstart = 'SUSPEND START %Y%m%d-%H:%M:%S.%f' [all …]
|
| /linux/include/linux/ |
| H A D | ww_mutex.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 35 #define ww_mutex_base_is_locked(b) rt_mutex_base_is_locked(&(b)->rtmutex) 98 * ww_mutex_init - initialize the w/w mutex 111 ww_mutex_base_init(&lock->base, ww_class->mutex_name, &ww_class->mutex_key); in ww_mutex_init() 112 lock->ctx = NULL; in ww_mutex_init() 114 lock->ww_class = ww_class; in ww_mutex_init() 119 * ww_acquire_init - initialize a w/w acquire context 125 * Context-based w/w mutex acquiring can be done in any order whatsoever within 129 * Mixing of context-based w/w mutex acquiring and single w/w mutex locking can 145 ctx->task = current; in ww_acquire_init() [all …]
|
| /linux/sound/soc/tegra/ |
| H A D | tegra20_spdif.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * tegra20_spdif.h - Definitions for Tegra20 SPDIF driver 6 * Copyright (C) 2011 - NVIDIA, Inc. 9 * Copyright (c) 2008-2009, NVIDIA Corporation 92 * 0 = Single data (16 bit needs to be padded to match the 94 * 1 = Packeted left/right channel data into a single word. 169 /* B-preamble detection status: 0=not detected, 1=B-preamble detected */ 210 * bi-phase period. 215 /* Data strobe mode: 0=Auto-locked 1=Manual locked */ 219 * Manual data strobe time within the bi-phase clock period (in terms of [all …]
|