/linux-6.12.1/include/linux/mfd/wm8350/ |
D | audio.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * audio.h -- Audio Driver for Wolfson WM8350 PMIC 73 * R40 (0x28) - Clock Control 1 82 * R41 (0x29) - Clock Control 2 88 * R42 (0x2A) - FLL Control 1 97 * R43 (0x2B) - FLL Control 2 103 * R44 (0x2C) - FLL Control 3 108 * R45 (0x2D) - FLL Control 4 115 * R48 (0x30) - DAC Control 124 * R50 (0x32) - DAC Digital Volume L [all …]
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-riic.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2013 Wolfram Sang <wsa@sang-engineering.com> 13 * 1) The main xfer routine kicks off a transmission by putting the start bit 14 * (or repeated start) on the bus and enabling the transmit interrupt (TIE) 17 * 2) TIE sends target address + RW bit and selects how to continue. 19 * 3a) Write case: We keep utilizing TIE as long as we have data to send. If we 78 #define RIIC_INIT_MSG -1 124 writeb(val, riic->base + riic->info->regs[offset]); in riic_writeb() 129 return readb(riic->base + riic->info->regs[offset]); in riic_readb() 140 struct device *dev = adap->dev.parent; in riic_xfer() [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/sound/ |
D | nuvoton,nau8325.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Seven Lee <WTLI@nuvoton.com> 13 - $ref: dai-common.yaml# 22 nuvoton,vref-impedance-ohms: 25 Tie-Off selection options. Due to the high impedance of the VREF 26 pin, it is important to use a low-leakage capacitor. 30 nuvoton,dac-vref-microvolt: 39 nuvoton,alc-enable: [all …]
|
D | nuvoton,nau8821.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Seven Lee <wtli@nuvoton.com> 13 - $ref: dai-common.yaml# 25 nuvoton,jkdet-enable: 29 nuvoton,jkdet-pull-enable: 30 description: Enable JKDET pin pull. If set - pin pull enabled, 34 nuvoton,jkdet-pull-up: 35 description: Pull-up JKDET pin. If set then JKDET pin is pull up, [all …]
|
/linux-6.12.1/Documentation/driver-api/ |
D | ipmi.rst | 12 standardized database for field-replaceable units (FRUs) and a watchdog 25 ------------- 32 No matter what, you must pick 'IPMI top-level message handler' to use 35 The message handler does not provide any user-level interfaces. 50 these enabled and let the drivers auto-detect what is present. 61 "The SMBus Driver" on how to hand-configure your system. 65 the kernel, then via a kernel command-line option you can have the 73 IPMI systems can often be powered off using IPMI commands. Select 74 'IPMI Poweroff' to do this. The driver will auto-detect if the system 75 can be powered off by IPMI. It is safe to enable this even if your [all …]
|
/linux-6.12.1/kernel/bpf/ |
D | log.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 19 if (!!log->ubuf != !!log->len_total) in bpf_verifier_log_attr_valid() 22 if (log->ubuf && log->level == 0) in bpf_verifier_log_attr_valid() 24 if (log->level & ~BPF_LOG_MASK) in bpf_verifier_log_attr_valid() 26 if (log->len_total > UINT_MAX >> 2) in bpf_verifier_log_attr_valid() 34 log->level = log_level; in bpf_vlog_init() 35 log->ubuf = log_buf; in bpf_vlog_init() 36 log->len_total = log_size; in bpf_vlog_init() 40 return -EINVAL; in bpf_vlog_init() [all …]
|
/linux-6.12.1/Documentation/arch/arm64/ |
D | arm-acpi.rst | 23 industry-standard Arm systems, they also apply to more than one operating 25 ACPI and Linux only, on an Arm system -- that is, what Linux expects of 30 ---------------- 33 exist in Linux for describing non-enumerable hardware, after all. In this 40 - ACPI’s byte code (AML) allows the platform to encode hardware behavior, 45 - ACPI’s OSPM defines a power management model that constrains what the 49 - In the enterprise server environment, ACPI has established bindings (such 55 - Choosing a single interface to describe the abstraction between a platform 61 - The new ACPI governance process works well and Linux is now at the same 87 interfaces -- one for Linux and one for Windows. [all …]
|
/linux-6.12.1/tools/testing/crypto/chacha20-s390/ |
D | test-cipher.c | 1 /* SPDX-License-Identifier: GPL-2.0 42 /* tie all skcipher structures together */ 81 pr_info("lib encryption took: %lld nsec", end - start); in test_lib_chacha() 95 pr_info("lib decryption took: %lld nsec", end - start); in test_lib_chacha() 107 rc = crypto_wait_req(crypto_skcipher_encrypt(sk->req), in test_skcipher_encdec() 108 &sk->wait); in test_skcipher_encdec() 115 rc = crypto_wait_req(crypto_skcipher_decrypt(sk->req), in test_skcipher_encdec() 116 &sk->wait); in test_skcipher_encdec() 133 int ret = -EFAULT; in test_skcipher() 144 ret = -ENOMEM; in test_skcipher() [all …]
|
/linux-6.12.1/include/linux/ |
D | dynamic_debug.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 28 #define _DPRINTK_CLASS_DFLT ((1 << CLS_BITS) - 1) 69 * DD_CLASS_TYPE_LEVEL_NUM: input is numeric level, 0-N. 70 * N turns on just bits N-1 .. 0, so N=0 turns all bits off. 74 * DD_CLASS_TYPE_DISJOINT_NAMES: input is a CSV of [+-]CLASS_NAMES, 79 * DD_CLASS_TYPE_LEVEL_NAMES: input is a CSV of [+-]CLASS_NAMES, 96 * DECLARE_DYNDBG_CLASSMAP - declare classnames known by a module 99 * @_base: offset of 1st class-name. splits .class_id space 100 * @classes: class-names used to control class'd prdbgs 116 /* encapsulate linker provided built-in (or module) dyndbg data */ [all …]
|
/linux-6.12.1/drivers/misc/eeprom/ |
D | at24.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at24.c - handle most I2C EEPROMs 5 * Copyright (C) 2005-2007 David Brownell 20 #include <linux/nvmem-provider.h> 31 /* sysfs-entry will be read-only. */ 33 /* sysfs-entry will be world-readable. */ 37 /* Factory-programmed serial number. */ 39 /* Factory-programmed mac address. */ 41 /* Does not auto-rollover reads to the next slave address. */ 51 * However, misconfiguration can lose data. "Set 16-bit memory address" [all …]
|
/linux-6.12.1/sound/soc/codecs/ |
D | wm8978.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * wm8978.c -- WM8978 ALSA SoC Audio Codec driver 5 * Copyright (C) 2009-2010 Guennadi Liakhovetski <g.liakhovetski@gmx.de> 7 * Copyright 2006-2009 Wolfson Microelectronics PLC. 106 static const char *wm8978_companding[] = {"Off", "NC", "u-law", "A-law"}; 115 static const char *wm8978_alc1[] = {"Off", "Right", "Left", "Both"}; 133 static const DECLARE_TLV_DB_SCALE(digital_tlv, -12750, 50, 1); 134 static const DECLARE_TLV_DB_SCALE(eq_tlv, -1200, 100, 0); 135 static const DECLARE_TLV_DB_SCALE(inpga_tlv, -1200, 75, 0); 136 static const DECLARE_TLV_DB_SCALE(spk_tlv, -5700, 100, 0); [all …]
|
/linux-6.12.1/arch/m68k/fpsp040/ |
D | round.S | 21 | round --- round result according to precision/mode 36 | a0 is preserved and the g-r-s bits in d0 are cleared. 37 | The result is not typed - the tag field is invalid. The 41 | inexact (i.e. if any of the g-r-s bits were set). 51 | ;the appropriate g-r-s bits. 113 | Note that this will round to even in case of a tie. 117 asll #1,%d0 |shift g-bit to c-bit 124 | ext_grs --- extract guard, round and sticky bits 144 moveml %d2/%d3,-(%a7) |make some temp registers 148 bfextu LOCAL_HI(%a0){#24:#2},%d3 |sgl prec. g-r are 2 bits right [all …]
|
/linux-6.12.1/include/linux/mfd/ |
D | twl.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * twl4030.h - header for TWL4030 PM and audio CODEC device 5 * Copyright (C) 2005-2006 Texas Instruments, Inc. 91 * Offset from TWL6030_IRQ_BASE / pdata->irq_base 169 * Read and write several 8-bit registers at once. 175 * Read and write single 8-bit registers 226 return -EIO; in twl6030_mmc_card_detect() 229 /*----------------------------------------------------------------------*/ 235 * a driver-private file, unless some of the registers in a block 244 /*----------------------------------------------------------------------*/ [all …]
|
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-dev.c | 9 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 59 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc. 125 #include "xgbe-common.h" 129 return pdata->netdev->mtu + ETH_HLEN + ETH_FCS_LEN + VLAN_HLEN; in xgbe_get_max_frame() 138 DBGPR("-->xgbe_usec_to_riwt\n"); in xgbe_usec_to_riwt() 140 rate = pdata->sysclk_rate; in xgbe_usec_to_riwt() 150 DBGPR("<--xgbe_usec_to_riwt\n"); in xgbe_usec_to_riwt() 161 DBGPR("-->xgbe_riwt_to_usec\n"); in xgbe_riwt_to_usec() 163 rate = pdata->sysclk_rate; in xgbe_riwt_to_usec() 173 DBGPR("<--xgbe_riwt_to_usec\n"); in xgbe_riwt_to_usec() [all …]
|
/linux-6.12.1/drivers/net/ |
D | veth.c | 1 // SPDX-License-Identifier: GPL-2.0-only 130 cmd->base.speed = SPEED_10000; in veth_get_link_ksettings() 131 cmd->base.duplex = DUPLEX_FULL; in veth_get_link_ksettings() 132 cmd->base.port = PORT_TP; in veth_get_link_ksettings() 133 cmd->base.autoneg = AUTONEG_DISABLE; in veth_get_link_ksettings() 139 strscpy(info->driver, DRV_NAME, sizeof(info->driver)); in veth_get_drvinfo() 140 strscpy(info->version, DRV_VERSION, sizeof(info->version)); in veth_get_drvinfo() 152 for (i = 0; i < dev->real_num_rx_queues; i++) in veth_get_strings() 157 for (i = 0; i < dev->real_num_tx_queues; i++) in veth_get_strings() 172 VETH_RQ_STATS_LEN * dev->real_num_rx_queues + in veth_get_sset_count() [all …]
|
/linux-6.12.1/fs/xfs/ |
D | xfs_dquot.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2003 Silicon Graphics, Inc. 32 * ip->i_lock 33 * qi->qi_tree_lock 34 * dquot->q_qlock (xfs_dqlock() and friends) 35 * dquot->q_flush (xfs_dqflock() and friends) 36 * qi->qi_lru_lock 53 struct xfs_mount *mp = dqp->q_mount; in xfs_dquot_mark_sick() 55 switch (dqp->q_type) { in xfs_dquot_mark_sick() 78 ASSERT(list_empty(&dqp->q_lru)); in xfs_qm_dqdestroy() [all …]
|
/linux-6.12.1/drivers/tty/serial/ |
D | sh-sci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * SuperH on-chip serial module support. (SCI with no FIFO / with FIFO) 5 * Copyright (C) 2002 - 2011 Paul Mundt 9 * based off of the old drivers/char/sh-sci.c by: 26 #include <linux/dma-mapping.h> 58 #include "sh-sci.h" 60 /* Offsets into the sci_port->irqs array */ 74 ((port)->irqs[SCIx_ERI_IRQ] == \ 75 (port)->irqs[SCIx_RXI_IRQ]) || \ 76 ((port)->irqs[SCIx_ERI_IRQ] && \ [all …]
|
/linux-6.12.1/include/net/sctp/ |
D | structs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 12 * lksctp developers <linux-sctp@vger.kernel.org> 36 #include <linux/generic-radix-tree.h> 37 #include <linux/rhashtable-types.h> 51 * We should wean ourselves off this. 260 /* This is our APPLICATION-SPECIFIC state cookie. 287 /* My Tie Tag : Assist in discovering a restarting association. */ 290 /* Peer's Tie Tag: Assist in discovering a restarting association. */ [all …]
|
/linux-6.12.1/net/sctp/ |
D | sm_statefuns.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (c) 1999-2000 Cisco, Inc. 5 * Copyright (c) 1999-2001 Motorola, Inc. 6 * Copyright (c) 2001-2002 Intel Corp. 15 * lksctp developers <linux-sctp@vger.kernel.org> 176 __u16 chunk_length = ntohs(chunk->chunk_hdr->length); in sctp_chunk_length_valid() 179 if (unlikely(chunk->pdiscard)) in sctp_chunk_length_valid() 192 sctp_walk_errors(err, chunk->chunk_hdr); in sctp_err_chunk_valid() 194 return (void *)err == (void *)chunk->chunk_end; in sctp_err_chunk_valid() 206 * that it is in SHUTDOWN-ACK-SENT state, if it is not the chunk should be [all …]
|
/linux-6.12.1/drivers/pcmcia/ |
D | soc_common.c | 4 integrated SOCs like the SA-11x0 and PXA2xx microprocessors. 71 printk(KERN_DEBUG "skt%u: %s: %pV", skt->nr, func, &vaf); in soc_pcmcia_debug() 89 if (!r->reg) in soc_pcmcia_regulator_set() 93 if (r->on == on) in soc_pcmcia_regulator_set() 97 ret = regulator_set_voltage(r->reg, v * 100000, v * 100000); in soc_pcmcia_regulator_set() 99 int vout = regulator_get_voltage(r->reg) / 100000; in soc_pcmcia_regulator_set() 101 dev_warn(&skt->socket.dev, in soc_pcmcia_regulator_set() 103 r == &skt->vcc ? "Vcc" : "Vpp", in soc_pcmcia_regulator_set() 107 ret = regulator_enable(r->reg); in soc_pcmcia_regulator_set() 109 ret = regulator_disable(r->reg); in soc_pcmcia_regulator_set() [all …]
|
D | ti113x.h | 34 /* Register definitions for TI 113X PCI-to-CardBus bridges */ 166 #define ti_sysctl(socket) ((socket)->private[0]) 167 #define ti_cardctl(socket) ((socket)->private[1]) 168 #define ti_devctl(socket) ((socket)->private[2]) 169 #define ti_diag(socket) ((socket)->private[3]) 170 #define ti_mfunc(socket) ((socket)->private[4]) 171 #define ene_test_c9(socket) ((socket)->private[5]) 184 if (socket->dev->vendor == PCI_VENDOR_ID_ENE) in ti_save_state() 196 if (socket->dev->vendor == PCI_VENDOR_ID_ENE) in ti_restore_state() 224 * itself about this - do we need to force func0, if so we need [all …]
|
/linux-6.12.1/drivers/gpu/drm/ |
D | drm_mipi_dsi.c | 4 * Copyright (C) 2012-2013, Samsung Electronics, Co., Ltd. 21 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 60 if (!strcmp(dsi->name, drv->name)) in mipi_dsi_device_match() 72 if (err != -ENODEV) in mipi_dsi_uevent() 76 dsi->name); in mipi_dsi_uevent() 93 .name = "mipi-dsi", 100 * of_find_mipi_dsi_device_by_node() - find the MIPI DSI device matching a 121 of_node_put(dev->of_node); in mipi_dsi_dev_release() 135 return ERR_PTR(-ENOMEM); in mipi_dsi_device_alloc() 137 dsi->host = host; in mipi_dsi_device_alloc() [all …]
|
/linux-6.12.1/drivers/net/ethernet/intel/ice/ |
D | ice_base.c | 1 // SPDX-License-Identifier: GPL-2.0 11 * __ice_vsi_get_qs_contig - Assign a contiguous chunk of queues to VSI 12 * @qs_cfg: gathered variables needed for PF->VSI queues assignment 14 * Return 0 on success and -ENOMEM in case of no left space in PF queue bitmap 20 mutex_lock(qs_cfg->qs_mutex); in __ice_vsi_get_qs_contig() 21 offset = bitmap_find_next_zero_area(qs_cfg->pf_map, qs_cfg->pf_map_size, in __ice_vsi_get_qs_contig() 22 0, qs_cfg->q_count, 0); in __ice_vsi_get_qs_contig() 23 if (offset >= qs_cfg->pf_map_size) { in __ice_vsi_get_qs_contig() 24 mutex_unlock(qs_cfg->qs_mutex); in __ice_vsi_get_qs_contig() 25 return -ENOMEM; in __ice_vsi_get_qs_contig() [all …]
|
/linux-6.12.1/drivers/tty/ |
D | amiserial.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * associated with the registers and bits of 16550 compatible UARTS - 126 * ------------------------------------------------------------ 129 * This routines are called before setting or resetting tty->flow.stopped. 131 * ------------------------------------------------------------ 135 struct serial_state *info = tty->driver_data; in rs_stop() 139 if (info->IER & UART_IER_THRI) { in rs_stop() 140 info->IER &= ~UART_IER_THRI; in rs_stop() 152 struct serial_state *info = tty->driver_data; in rs_start() 156 if (info->xmit.head != info->xmit.tail in rs_start() [all …]
|
/linux-6.12.1/Documentation/networking/ |
D | af_xdp.rst | 1 .. SPDX-License-Identifier: GPL-2.0 20 XDP programs to redirect frames to a memory buffer in a user-space 64 single-consumer / single-producer (for performance reasons), the new 72 user-space application can place an XSK at an arbitrary place in this 99 http://vger.kernel.org/lpc_net2018_talks/lpc18_paper_af_xdp_perf-v2.pdf. Do 106 ---- 109 equal-sized frames. An UMEM is associated to a netdev and a specific 121 The UMEM has two single-producer/single-consumer rings that are used 123 user-space application. 126 ----- [all …]
|