/linux-6.15/drivers/regulator/ |
D | bd96801-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // bd96801-regulator.c ROHM BD96801 regulator driver 11 * regulator safety limits (like limits for the over/under -voltages, over 23 * which implements some of the safety limit configurations - but leaves the 36 #include <linux/mfd/rohm-generic.h> 37 #include <linux/mfd/rohm-bd96801.h> 146 * and the range from 0x10 to 0x1f is bd96801_buck_init_volts - 150mV ... 147 * bd96801_buck_init_volts - 0. But as the members of linear_range 148 * are all unsigned I will apply offset of -150 mV to value in 149 * linear_range - which should increase these ranges with [all …]
|
/linux-6.15/drivers/infiniband/hw/qib/ |
D | qib_iba7220.c | 2 * Copyright (c) 2011 - 2017 Intel Corporation. All rights reserved. 17 * - Redistributions of source code must retain the above 21 * - Redistributions in binary form must reproduce the above 59 * This file contains almost all the chip-specific register information and 60 * access functions for the QLogic QLogic_IB 7220 PCI-Express chip, with the 64 /* Below uses machine-generated qib_chipnum_regs.h file */ 67 /* Use defines to tie machine-generated names to lower-case names */ 132 #define CREG_IDX(regname) ((QIB_7220_##regname##_OFFS - \ 221 * qib_read_ureg32 - read 32-bit virtualized per-context register 227 * Returns -1 on errors (not distinguishable from valid contents at [all …]
|
/linux-6.15/sound/soc/codecs/ |
D | wcd934x.c | 1 // SPDX-License-Identifier: GPL-2.0 6 #include <linux/clk-provider.h> 21 #include <sound/soc-dapm.h> 23 #include "wcd-clsh-v2.h" 24 #include "wcd-mbhc-v2.h" 26 #include <dt-bindings/sound/qcom,wcd934x.h> 433 COMPANDER_5, /* LO3_SE - not used in Tavil */ 434 COMPANDER_6, /* LO4_SE - not used in Tavil */ 505 .name = "WCD9335-IFC-DEV", 571 static const DECLARE_TLV_DB_SCALE(digital_gain, -8400, 100, -8400); [all …]
|
/linux-6.15/drivers/mmc/host/ |
D | vub300.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * based on USB Skeleton driver - 2.2 9 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com) 22 * RANT: this driver was written using a display 128x48 - converting it 25 * and the original meaningful names have been shortened into 64 u8 command_type; /* Bit7 - Rd/Wr */ 79 u8 command_type; /* Bit7 - Rd/Wr */ 135 struct offload_registers_access reg[INTERRUPT_REGISTER_ACCESSES]; member 150 struct offload_registers_access reg[PIGGYBACK_REGISTER_ACCESSES]; member 220 #define FUN(c) (0x000007 & (c->arg>>28)) [all …]
|
/linux-6.15/drivers/gpu/drm/bridge/analogix/ |
D | analogix_dp_core.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 72 * "force-hpd" would indicate whether driver need this. in analogix_dp_detect_hpd() 74 if (!dp->force_hpd) in analogix_dp_detect_hpd() 75 return -ETIMEDOUT; in analogix_dp_detect_hpd() 82 dev_dbg(dp->dev, "failed to get hpd plug status, try to force hpd\n"); in analogix_dp_detect_hpd() 87 dev_err(dp->dev, "failed to get hpd plug in status\n"); in analogix_dp_detect_hpd() 88 return -EINVAL; in analogix_dp_detect_hpd() 91 dev_dbg(dp->dev, "success to get plug in status after force hpd\n"); in analogix_dp_detect_hpd() 101 ret = drm_dp_dpcd_readb(&dp->aux, DP_PSR_SUPPORT, &psr_version); in analogix_dp_detect_sink_psr() 103 dev_err(dp->dev, "failed to get PSR version, disable it\n"); in analogix_dp_detect_sink_psr() [all …]
|
/linux-6.15/drivers/net/dsa/ |
D | vitesse-vsc73xx-core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Vitesse VSC7385 SparX-G5 5+1-port Integrated Gigabit Ethernet Switch 4 * Vitesse VSC7388 SparX-G8 8-port Integrated Gigabit Ethernet Switch 5 * Vitesse VSC7395 SparX-G5e 5+1-port Integrated Gigabit Ethernet Switch 6 * Vitesse VSC7398 SparX-G8e 8-port Integrated Gigabit Ethernet Switch 8 * These switches have a built-in 8051 CPU and can download and execute a 10 * handling the switch in a memory-mapped manner by connecting to that external 34 #include "vitesse-vsc73xx.h" 36 #define VSC73XX_BLOCK_MAC 0x1 /* Subblocks 0-4, 6 (CPU port) */ 40 #define VSC73XX_BLOCK_CAPTURE 0x4 /* Subblocks 0-4, 6, 7 */ [all …]
|
/linux-6.15/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-common.c | 5 * This program is dual-licensed; you may select either version 2 of 14 * Synopsys is a registered trademark of Synopsys, Inc. Other names included 21 #include "dwc-xlgmac.h" 22 #include "dwc-xlgmac-reg.h" 24 static int debug = -1; 34 struct net_device *netdev = pdata->netdev; in xlgmac_read_mac_addr() 37 memcpy(pdata->mac_addr, dev_addr, netdev->addr_len); in xlgmac_read_mac_addr() 42 pdata->tx_osp_mode = DMA_OSP_ENABLE; in xlgmac_default_config() 43 pdata->tx_sf_mode = MTL_TSF_ENABLE; in xlgmac_default_config() 44 pdata->rx_sf_mode = MTL_RSF_DISABLE; in xlgmac_default_config() [all …]
|
/linux-6.15/drivers/net/wireless/ath/wcn36xx/ |
D | main.c | 190 return NL80211_IFTYPE_STATION == vif->type ? in get_sta_index() 191 sta_priv->bss_sta_index : in get_sta_index() 192 sta_priv->sta_index; in get_sta_index() 200 if (wcn36xx_firmware_get_feat_caps(wcn->fw_feat_caps, i)) { in wcn36xx_feat_caps_info() 209 struct wcn36xx *wcn = hw->priv; in wcn36xx_start() 263 INIT_LIST_HEAD(&wcn->vif_list); in wcn36xx_start() 264 spin_lock_init(&wcn->dxe_lock); in wcn36xx_start() 265 spin_lock_init(&wcn->survey_lock); in wcn36xx_start() 283 struct wcn36xx *wcn = hw->priv; in wcn36xx_stop() 287 mutex_lock(&wcn->scan_lock); in wcn36xx_stop() [all …]
|
/linux-6.15/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_gram.y | 20 * 3. Neither the names of the above-listed copyright holders nor the names 225 %left '+' '-' 313 if ($1->type != UNINITIALIZED) { 318 cur_symbol->type = cur_symtype; 328 if (cur_symbol->info.rinfo->valid_bitmask == 0) 329 cur_symbol->info.rinfo->valid_bitmask = 0xFF; 331 if (cur_symbol->info.rinfo->size == 0) 332 cur_symbol->info.rinfo->size = 1; 337 if (cur_symbol->type != REGISTER) { 338 if (cur_symbol->info.rinfo->address == 0) [all …]
|
/linux-6.15/drivers/iio/accel/ |
D | bmc150-accel-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * 3-axis accelerometer driver supporting many Bosch-Sensortec chips 26 #include "bmc150-accel.h" 212 struct device *dev = regmap_get_device(data->regmap); in bmc150_accel_set_mode() 216 int dur_val = -1; in bmc150_accel_set_mode() 231 return -EINVAL; in bmc150_accel_set_mode() 238 ret = regmap_write(data->regmap, BMC150_ACCEL_REG_PMU_LPW, lpw_bits); in bmc150_accel_set_mode() 256 ret = regmap_write(data->regmap, in bmc150_accel_set_bw() 262 data->bw_bits = in bmc150_accel_set_bw() 268 return -EINVAL; in bmc150_accel_set_bw() [all …]
|
/linux-6.15/drivers/leds/rgb/ |
D | leds-qcom-lpg.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2017-2022 Linaro Ltd 4 * Copyright (c) 2010-2012, The Linux Foundation. All rights reserved. 5 * Copyright (c) 2023-2024, Qualcomm Innovation Center, Inc. All rights reserved. 9 #include <linux/led-class-multicolor.h> 11 #include <linux/nvmem-consumer.h> 17 #include <linux/soc/qcom/qcom-pbs.h> 43 #define PWM_DTEST_REG(x) (0xe2 + (x) - 1) 87 * struct lpg - LPG device context 91 * @pwm: PWM-chip object, if operating in PWM mode [all …]
|
/linux-6.15/drivers/gpu/drm/i915/display/ |
D | vlv_dsi.c | 89 struct intel_display *display = to_intel_display(&intel_dsi->base); in vlv_dsi_wait_for_fifo_empty() 97 drm_err(display->drm, "DPI FIFOs are not empty\n"); in vlv_dsi_wait_for_fifo_empty() 101 i915_reg_t reg, in write_data() argument 109 for (j = 0; j < min_t(u32, len - i, 4); j++) in write_data() 112 intel_de_write(display, reg, val); in write_data() 117 i915_reg_t reg, in read_data() argument 123 u32 val = intel_de_read(display, reg); in read_data() 125 for (j = 0; j < min_t(u32, len - i, 4); j++) in read_data() 134 struct intel_dsi *intel_dsi = intel_dsi_host->intel_dsi; in intel_dsi_host_transfer() 135 struct intel_display *display = to_intel_display(&intel_dsi->base); in intel_dsi_host_transfer() [all …]
|
/linux-6.15/drivers/scsi/aic7xxx/ |
D | aic7xxx.reg | 4 * Copyright (c) 1994-2001 Justin T. Gibbs. 5 * Copyright (c) 2000-2001 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 42 VERSION = "$Id: //depot/aic7xxx/aic7xxx/aic7xxx.reg#40 $" 49 * All page numbers refer to the Adaptec AIC-7770 Data Book available from 50 * Adaptec's Technical Documents Department 1-800-934-2766 65 * SCSI Sequence Control (p. 3-11). 82 * SCSI Transfer Control 0 Register (pp. 3-13). 98 * SCSI Transfer Control 1 Register (pp. 3-14,15). 115 * SCSI Control Signal Read Register (p. 3-15). [all …]
|
D | aic79xx.h | 4 * Copyright (c) 1994-2002 Justin T. Gibbs. 5 * Copyright (c) 2000-2002 Adaptec Inc. 19 * 3. Neither the names of the above-listed copyright holders nor the names 78 SCSIID_OUR_ID((scb)->hscb->scsiid) 80 SCSIID_TARGET((ahd), (scb)->hscb->scsiid) 82 SCSIID_CHANNEL(ahd, (scb)->hscb->scsiid) 84 ((scb)->hscb->lun) 92 && (((scb)->flags & SCB_SILENT) != 0)) 95 (((scb)->flags & SCB_SILENT) != 0) 103 (tcl & (AHD_NUM_LUNS - 1)) [all …]
|
/linux-6.15/include/media/ |
D | v4l2-ioctl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 * Some commonly needed functions for drivers (v4l2-common.o module) 23 * struct v4l2_ioctl_ops - describe operations for each V4L2 ioctl 511 /* Stream type-dependent parameter ioctls */ 542 struct v4l2_dbg_register *reg); 544 const struct v4l2_dbg_register *reg); 603 * v4l2_norm_to_name - Ancillary routine to analog TV standard name from its ID. 614 * v4l2_video_std_frame_period - Ancillary routine that fills a 624 * v4l2_video_std_construct - Ancillary routine that fills in the fields of 639 * v4l_video_std_enumstd - Ancillary routine that fills in the fields of [all …]
|
/linux-6.15/drivers/gpu/drm/msm/registers/adreno/ |
D | a4xx.xml | 1 <?xml version="1.0" encoding="UTF-8"?> 3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4 xsi:schemaLocation="https://gitlab.freedesktop.org/freedreno/ rules-fd.xsd"> 70 <!-- hmm, shifted one compared to a3xx?!? --> 88 <!-- beyond here it does not appear to be shifted --> 145 <!-- 0x00 .. 0x02 --> 147 <!-- 8-bit formats --> 154 <!-- 16-bit formats --> 157 <!-- 0x0a --> 160 <!-- 0x0c --> [all …]
|
/linux-6.15/drivers/hid/ |
D | hid-steam.c | 1 // SPDX-License-Identifier: GPL-2.0+ 19 * and re-enable it when the input device is closed, so as not to break user 26 * - it will not send any command to the controller. 27 * - this input device will be removed, to avoid double input of the same 31 * For additional functions, such as changing the right-pad margin or switching 32 * the led, you can use the user-space tool at: 46 #include "hid-ids.h" 70 /* Accelerometer has 16 bit resolution and a range of +/- 2g */ 74 /* Gyroscope has 16 bit resolution and a range of +/- 2000 dps */ 83 * Thanks to Valve and SDL for the names. [all …]
|
/linux-6.15/drivers/mmc/core/ |
D | sd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2003-2004 Russell King, All Rights Reserved. 7 * Copyright (C) 2005-2007 Pierre Ossman, All Rights Reserved. 73 u32 *resp = card->raw_cid; in mmc_decode_cid() 79 add_device_randomness(&card->raw_cid, sizeof(card->raw_cid)); in mmc_decode_cid() 85 card->cid.manfid = unstuff_bits(resp, 120, 8); in mmc_decode_cid() 86 card->cid.oemid = unstuff_bits(resp, 104, 16); in mmc_decode_cid() 87 card->cid.prod_name[0] = unstuff_bits(resp, 96, 8); in mmc_decode_cid() 88 card->cid.prod_name[1] = unstuff_bits(resp, 88, 8); in mmc_decode_cid() 89 card->cid.prod_name[2] = unstuff_bits(resp, 80, 8); in mmc_decode_cid() [all …]
|
/linux-6.15/drivers/media/platform/samsung/exynos4-is/ |
D | media-dev.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2011 - 2013 Samsung Electronics Co., Ltd. 11 #include <linux/clk-provider.h> 26 #include <media/v4l2-async.h> 27 #include <media/v4l2-ctrls.h> 28 #include <media/v4l2-fwnode.h> 29 #include <media/media-device.h> 30 #include <media/drv-intf/exynos-fimc.h> 32 #include "media-dev.h" 33 #include "fimc-core.h" [all …]
|
/linux-6.15/drivers/macintosh/ |
D | via-cuda.c | 1 // SPDX-License-Identifier: GPL-2.0 38 /* VIA registers - spaced 0x200 bytes apart */ 40 #define B 0 /* B-side data */ 41 #define A RS /* A-side data */ 42 #define DIRB (2*RS) /* B-side direction (1=output) */ 43 #define DIRA (3*RS) /* A-side direction (1=output) */ 55 #define ANH (15*RS) /* A-side data, no handshake */ 58 * When the Cuda design replaced the Egret, some signal names and 62 * ----------------+------------------------------------------ 68 * ----------------+------------------------------------------ [all …]
|
/linux-6.15/arch/arm/mach-omap2/ |
D | omap_hwmod.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2009-2011 Nokia Corporation 6 * Copyright (C) 2011-2012 Texas Instruments, Inc. 15 * ------------ 21 * TI's documentation, on-chip devices are referred to as "OMAP 26 * Most of the address and data flow between modules is via OCP-based 32 * OMAP hwmod provides a consistent way to describe the on-chip 42 * ----------- 54 * +-------------------------------+ 57 * +-------------------------------+ [all …]
|
/linux-6.15/drivers/net/wireless/intel/iwlegacy/ |
D | prph.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. 46 * * Neither the name Intel Corporation nor the names of its 106 * processor is sleeping (e.g. for periodic power-saving shutdowns of radio). 119 * The uCode used for open-source drivers includes two programs: 121 * 1) Initialization -- performs hardware calibration and sets up some 128 * 2) Runtime/Protocol -- performs all normal runtime operations. This 170 * Data caching during power-downs: 173 * power-saving modes, or for RFKILL), uCode stores (via PCI busmaster DMA) [all …]
|
/linux-6.15/drivers/net/fddi/skfp/ |
D | pcmplc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 67 #define GO_STATE(x) (mib->fddiPORTPCMState = (x)|AFLAG) 68 #define ACTIONS_DONE() (mib->fddiPORTPCMState &= ~AFLAG) 86 * symbolic state names 94 * symbolic event names 109 * PCL-S control register 110 * this register in the PLC-S controls the scrambling parameters 121 * PCL-S control register 122 * this register in the PLC-S controls the scrambling parameters 152 #define PLC_MS(m) ((int)((0x10000L-(m*100000L/2048)))) [all …]
|
/linux-6.15/drivers/ufs/core/ |
D | ufshcd.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2011-2013 Samsung India Software Operations 5 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved. 17 #include <linux/blk-pm.h> 31 #include "ufshcd-priv.h" 34 #include "ufs-sysfs.h" 35 #include "ufs-debugfs.h" 36 #include "ufs-fault-injection.h" 38 #include "ufshcd-crypto.h" 77 /* maximum number of link-startup retries */ [all …]
|
/linux-6.15/include/sound/ |
D | emu10k1.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 #include <sound/pcm-indirect.h> 25 /* ------------------- DEFINES -------------------- */ 33 /* FIXME? - according to the OSS driver the EMU10K1 needs a 29 bit DMA mask */ 41 // This is used to define hardware bit-fields (sub-registers) by combining 44 // The non-concatenating (_NC) variant should be used directly only for 45 // sub-registers that do not follow the <register>_<field> naming pattern. 46 #define SUB_REG_NC(reg, field, mask) \ argument 49 field = reg | \ 53 #define SUB_REG(reg, field, mask) SUB_REG_NC(reg, reg ## _ ## field, mask) argument [all …]
|