/linux-6.8/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.8/sound/soc/codecs/ |
D | wcd934x.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include <linux/clk-provider.h> 20 #include <sound/soc-dapm.h> 22 #include "wcd-clsh-v2.h" 23 #include "wcd-mbhc-v2.h" 429 COMPANDER_5, /* LO3_SE - not used in Tavil */ 430 COMPANDER_6, /* LO4_SE - not used in Tavil */ 519 .name = "WCD9335-IFC-DEV", 588 static const DECLARE_TLV_DB_SCALE(digital_gain, -8400, 100, -8400); 604 "Class H Invalid", "Class-H Hi-Fi", "Class-H Low Power", "Class-AB", [all …]
|
/linux-6.8/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.8/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" 26 static int debug = -1; 36 struct net_device *netdev = pdata->netdev; in xlgmac_read_mac_addr() 39 memcpy(pdata->mac_addr, dev_addr, netdev->addr_len); in xlgmac_read_mac_addr() 44 pdata->tx_osp_mode = DMA_OSP_ENABLE; in xlgmac_default_config() 45 pdata->tx_sf_mode = MTL_TSF_ENABLE; in xlgmac_default_config() 46 pdata->rx_sf_mode = MTL_RSF_DISABLE; in xlgmac_default_config() [all …]
|
/linux-6.8/drivers/mailbox/ |
D | zynqmp-ipi-mailbox.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/arm-smccc.h> 15 #include <linux/mailbox/zynqmp-ipi-message.h> 56 * struct zynqmp_ipi_mchan - Description of a Xilinx ZynqMP IPI mailbox channel 76 * struct zynqmp_ipi_mbox - Description of a ZynqMP IPI mailbox 94 * struct zynqmp_ipi_pdata - Description of z ZynqMP IPI agent platform data. 115 .name = "zynqmp-ipi-mbox", 122 struct zynqmp_ipi_pdata *pdata = ipi_mbox->pdata; in zynqmp_ipi_fw_call() 125 a1 = pdata->local_id; in zynqmp_ipi_fw_call() 126 a2 = ipi_mbox->remote_id; in zynqmp_ipi_fw_call() [all …]
|
/linux-6.8/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.8/drivers/scsi/aic7xxx/aicasm/ |
D | aicasm_gram.y | 20 * 3. Neither the names of the above-listed copyright holders nor the names 224 %left '+' '-' 312 if ($1->type != UNINITIALIZED) { 317 cur_symbol->type = cur_symtype; 327 if (cur_symbol->info.rinfo->valid_bitmask == 0) 328 cur_symbol->info.rinfo->valid_bitmask = 0xFF; 330 if (cur_symbol->info.rinfo->size == 0) 331 cur_symbol->info.rinfo->size = 1; 336 if (cur_symbol->type != REGISTER) { 337 if (cur_symbol->info.rinfo->address == 0) [all …]
|
/linux-6.8/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.8/arch/arm64/include/asm/ |
D | sysreg.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 14 #include <linux/kasan-tags.h> 16 #include <asm/gpr-num.h> 22 * [20-19] : Op0 23 * [18-16] : Op1 24 * [15-12] : CRn 25 * [11-8] : CRm 26 * [7-5] : Op2 83 * As per Arm ARM for v8-A, Section "C.5.1.3 op0 == 0b00, architectural hints, 164 #include "asm/sysreg-defs.h" [all …]
|
/linux-6.8/drivers/gpu/drm/i915/display/ |
D | vlv_dsi.c | 88 struct drm_encoder *encoder = &intel_dsi->base.base; in vlv_dsi_wait_for_fifo_empty() 89 struct drm_device *dev = encoder->dev; in vlv_dsi_wait_for_fifo_empty() 98 drm_err(&dev_priv->drm, "DPI FIFOs are not empty\n"); in vlv_dsi_wait_for_fifo_empty() 102 i915_reg_t reg, in write_data() argument 110 for (j = 0; j < min_t(u32, len - i, 4); j++) in write_data() 113 intel_de_write(dev_priv, reg, val); in write_data() 118 i915_reg_t reg, in read_data() argument 124 u32 val = intel_de_read(dev_priv, reg); in read_data() 126 for (j = 0; j < min_t(u32, len - i, 4); j++) in read_data() 135 struct drm_device *dev = intel_dsi_host->intel_dsi->base.base.dev; in intel_dsi_host_transfer() [all …]
|
/linux-6.8/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.8/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" 74 * Thanks to Valve and SDL for the names. 314 r = steam->hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[0]; in steam_recv_report() 316 hid_err(steam->hdev, "No HID_FEATURE_REPORT submitted - nothing to read\n"); in steam_recv_report() [all …]
|
/linux-6.8/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" 75 /* maximum number of link-startup retries */ [all …]
|
/linux-6.8/net/wireless/ |
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 6 * Copyright 2013-2014 Intel Mobile Communications GmbH 7 * Copyright 2015-2017 Intel Deutschland GmbH 8 * Copyright (C) 2018-2024 Intel Corporation 31 #include "wext-compat.h" 32 #include "rdev-ops.h" 42 /* RCU-protected (and RTNL for writers) */ 64 if (rdev->wiphy_idx == wiphy_idx) { in cfg80211_rdev_by_wiphy_idx() 77 return rdev->wiphy_idx; in get_wiphy_idx() [all …]
|
/linux-6.8/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.8/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.8/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.8/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.8/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.8/drivers/phy/st/ |
D | phy-miphy28lp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 25 #include <dt-bindings/phy/phy.h> 171 * 0: 30MHz crystal clk - 1: 100MHz ext clk routed through MiPHY1 173 * 1: 30MHz crystal clk - 0: 100MHz ext clk routed through MiPHY1 232 u16 reg; member 238 static char *PHY_TYPE_name[] = { "sata-up", "pcie-up", "", "usb3-up" }; 367 void __iomem *base = miphy_phy->base; in miphy28lp_set_reset() 378 /* Bringing the MIPHY-CPU registers out of reset */ in miphy28lp_set_reset() 379 if (miphy_phy->type == PHY_TYPE_PCIE) { in miphy28lp_set_reset() 391 void __iomem *base = miphy_phy->base; in miphy28lp_pll_calibration() [all …]
|
/linux-6.8/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 519 /* Stream type-dependent parameter ioctls */ 550 struct v4l2_dbg_register *reg); 552 const struct v4l2_dbg_register *reg); 611 * v4l2_norm_to_name - Ancillary routine to analog TV standard name from its ID. 622 * v4l2_video_std_frame_period - Ancillary routine that fills a 632 * v4l2_video_std_construct - Ancillary routine that fills in the fields of 647 * v4l_video_std_enumstd - Ancillary routine that fills in the fields of [all …]
|
/linux-6.8/drivers/gpu/drm/radeon/ |
D | r600.c | 51 /* Firmware Names */ 105 AVIVO_D2CRTC_H_TOTAL - AVIVO_D1CRTC_H_TOTAL 120 u32 r600_rcu_rreg(struct radeon_device *rdev, u32 reg) in r600_rcu_rreg() argument 125 spin_lock_irqsave(&rdev->rcu_idx_lock, flags); in r600_rcu_rreg() 126 WREG32(R600_RCU_INDEX, ((reg) & 0x1fff)); in r600_rcu_rreg() 128 spin_unlock_irqrestore(&rdev->rcu_idx_lock, flags); in r600_rcu_rreg() 132 void r600_rcu_wreg(struct radeon_device *rdev, u32 reg, u32 v) in r600_rcu_wreg() argument 136 spin_lock_irqsave(&rdev->rcu_idx_lock, flags); in r600_rcu_wreg() 137 WREG32(R600_RCU_INDEX, ((reg) & 0x1fff)); in r600_rcu_wreg() 139 spin_unlock_irqrestore(&rdev->rcu_idx_lock, flags); in r600_rcu_wreg() [all …]
|
/linux-6.8/arch/powerpc/platforms/powernv/ |
D | idle.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 21 #include <asm/code-patching.h> 29 /* Power ISA 3.0 allows for stop states 0x0 - 0xF */ 71 * all cpus at boot. Get these reg values of current cpu and use the in pnv_save_sprs_for_deep_states() 166 * 0 - Workaround applied/undone at fastsleep entry/exit path (Default) 167 * 1 - Workaround applied once, never undone. 185 return -EINVAL; in store_fastsleep_workaround_applyonce() 193 * the cores. Do this by- in store_fastsleep_workaround_applyonce() 218 return -EIO; in store_fastsleep_workaround_applyonce() 230 unsigned long *state = &paca_ptrs[first]->idle_state; in atomic_start_thread_idle() [all …]
|
/linux-6.8/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 …]
|