Home
last modified time | relevance | path

Searched +full:reg +full:- +full:names (Results 5951 – 5975 of 6035) sorted by relevance

1...<<231232233234235236237238239240>>...242

/linux-6.15/drivers/gpu/drm/radeon/
Dr600.c52 /* 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 …]
Datom.c38 #include "atom-names.h"
39 #include "atom-bits.h"
98 while (n--) in debug_print_spaces()
112 struct radeon_device *rdev = ctx->card->dev->dev_private; in atom_iio_execute()
121 temp = ctx->card->ioreg_read(ctx->card, CU16(base + 1)); in atom_iio_execute()
125 if (rdev->family == CHIP_RV515) in atom_iio_execute()
126 (void)ctx->card->ioreg_read(ctx->card, CU16(base + 1)); in atom_iio_execute()
127 ctx->card->ioreg_write(ctx->card, CU16(base + 1), temp); in atom_iio_execute()
132 ~((0xFFFFFFFF >> (32 - CU8(base + 1))) << in atom_iio_execute()
138 (0xFFFFFFFF >> (32 - CU8(base + 1))) << CU8(base + in atom_iio_execute()
[all …]
Dni.c47 u32 tn_smc_rreg(struct radeon_device *rdev, u32 reg) in tn_smc_rreg() argument
52 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in tn_smc_rreg()
53 WREG32(TN_SMC_IND_INDEX_0, (reg)); in tn_smc_rreg()
55 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in tn_smc_rreg()
59 void tn_smc_wreg(struct radeon_device *rdev, u32 reg, u32 v) in tn_smc_wreg() argument
63 spin_lock_irqsave(&rdev->smc_idx_lock, flags); in tn_smc_wreg()
64 WREG32(TN_SMC_IND_INDEX_0, (reg)); in tn_smc_wreg()
66 spin_unlock_irqrestore(&rdev->smc_idx_lock, flags); in tn_smc_wreg()
194 /* Firmware Names */
439 switch (rdev->family) { in ni_init_golden_registers()
[all …]
/linux-6.15/arch/powerpc/platforms/powernv/
Didle.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 #include <asm/text-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.15/drivers/net/ethernet/natsemi/
Dnatsemi.c3 Written/copyright 1999-2001 by Donald Becker.
23 [link no longer provides useful info -jgarzik]
62 /* Updated to recommendations in pci-skeleton v2.03. */
64 /* The user-configurable values.
72 static int debug = -1;
76 /* Maximum number of multicast addresses to filter (vs. rx-all-multicast).
80 /* Set the copy breakpoint for the copy-only-tiny-frames scheme.
101 There are no ill effects from too-large receive rings. */
121 * The nic writes 32-bit values, even if the upper bytes of
122 * a 32-bit value are beyond the end of the buffer.
[all …]
/linux-6.15/net/wireless/
Dcore.c1 // 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-2025 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.15/sound/pci/hda/
Dpatch_cirrus.c1 // SPDX-License-Identifier: GPL-2.0-or-later
66 /* Vendor-specific processing widget */
79 * 1 = digital immediate, analog zero-cross
80 * 2 = digtail & analog soft-ramp
81 * 3 = digital soft-ramp, analog zero-cross
85 #define CS_COEF_ADC_LI_SZC_MODE (3 << 0) /* SZC setup for line-in */
86 /* PGA mode: 0 = differential, 1 = signle-ended */
88 #define CS_COEF_ADC_LI_PGA_MODE (1 << 6) /* PGA setup for line-in */
92 * 1 = zero-cross
93 * 2 = soft-ramp
[all …]
/linux-6.15/drivers/usb/host/
Docteon-hcd.h1 /* SPDX-License-Identifier: GPL-2.0 */
11 * Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights
26 * * Neither the name of Cavium Networks nor the names of
54 #define CVMX_USBCXREG1(reg, bid) \ argument
55 (CVMX_ADD_IO_SEG(CVMX_USBCXBASE | reg) + \
57 #define CVMX_USBCXREG2(reg, bid, off) \ argument
58 (CVMX_ADD_IO_SEG(CVMX_USBCXBASE | reg) + \
89 #define CVMX_USBNXREG1(reg, bid) \ argument
90 (CVMX_ADD_IO_SEG(0x0001180068000000ull | reg) + CVMX_USBNXBID1(bid))
91 #define CVMX_USBNXREG2(reg, bid) \ argument
[all …]
/linux-6.15/sound/soc/samsung/
Di2s.c1 // SPDX-License-Identifier: GPL-2.0
3 // ALSA SoC Audio Layer - Samsung I2S Controller driver
8 #include <dt-bindings/sound/samsung-i2s.h>
12 #include <linux/clk-provider.h>
21 #include <linux/platform_data/asoc-s3c.h>
26 #include "i2s-regs.h"
139 return i2s->drv->id == SAMSUNG_I2S_ID_SECONDARY; in is_secondary()
150 active = readl(i2s->priv->addr + I2SCON); in tx_active()
163 return i2s->pri_dai ? : i2s->sec_dai; in get_other_dai()
188 active = readl(i2s->priv->addr + I2SCON) & CON_RXDMA_ACTIVE; in rx_active()
[all …]
/linux-6.15/drivers/edac/
Di5400_edac.c18 * Intel 5400 Chipset Memory Controller Hub (MCH) - Datasheet
21 * This Memory Controller manages DDR2 FB-DIMMs. It has 2 branches, each with
22 * 2 channels operating in lockstep no-mirror mode. Each channel can have up to
69 #define AMBASE 0x48 /* AMB Mem Mapped Reg Region Base */
84 #define FERR_FAT_FBDCHAN (3<<28) /* channel index where the highest-order error occurred */
89 /* Non-fatal error register */
141 * Error masks are according with Table 5-17 of i5400 datasheet
145 EMASK_M1 = 1<<0, /* Memory Write error on non-redundant retry */
146 EMASK_M2 = 1<<1, /* Memory or FB-DIMM configuration CRC read error */
149 EMASK_M5 = 1<<4, /* Aliased Uncorrectable Non-Mirrored Demand Data ECC */
[all …]
/linux-6.15/drivers/pinctrl/renesas/
Dpinctrl-rzg2l.c1 // SPDX-License-Identifier: GPL-2.0
24 #include <linux/pinctrl/pinconf-generic.h>
29 #include <dt-bindings/pinctrl/renesas,r9a09g047-pinctrl.h>
30 #include <dt-bindings/pinctrl/renesas,r9a09g057-pinctrl.h>
31 #include <dt-bindings/pinctrl/rzg2l-pinctrl.h>
37 #define DRV_NAME "pinctrl-rzg2l"
62 #define PIN_CFG_NOD BIT(15) /* N-ch Open Drain */
63 #define PIN_CFG_SMT BIT(16) /* Schmitt-trigger input control */
107 #define RZG2L_GPIO_PORT_PACK(n, a, f) RZG2L_GPIO_PORT_SPARSE_PACK((1ULL << (n)) - 1, (a), (f))
183 { "renesas,output-impedance", RENESAS_RZV2H_PIN_CONFIG_OUTPUT_IMPEDANCE, 1 },
[all …]
/linux-6.15/drivers/net/ethernet/ti/
Dtlan.c8 * (C) 1997-1998 Caldera, Inc.
10 * (C) 1999-2001 Torben Mathiasen
39 #include <linux/dma-mapping.h>
63 MODULE_PARM_DESC(aui, "ThunderLAN use AUI port(s) (0-1)");
65 "ThunderLAN duplex setting(s) (0-default, 1-half, 2-full)");
85 "10BaseT-HD", "10BaseT-FD", "100baseTx-HD",
86 "100BaseTx-FD", "100BaseT4", NULL
97 { "Compaq Integrated NetFlex-3/P", TLAN_ADAPTER_NONE, 0x83 },
98 { "Compaq NetFlex-3/P",
100 { "Compaq NetFlex-3/P", TLAN_ADAPTER_NONE, 0x83 },
[all …]
/linux-6.15/drivers/i2c/
Di2c-core-base.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 1995-99 Simon G. Vogl
10 * Copyright (C) 2013-2017 Wolfram Sang <wsa@kernel.org>
13 #define pr_fmt(fmt) "i2c-core: " fmt
15 #include <dt-bindings/i2c/i2c.h>
17 #include <linux/clk/clk-conf.h>
25 #include <linux/i2c-smbus.h>
46 #include "i2c-core.h"
111 while (id->name[0]) { in i2c_match_id()
112 if (strcmp(client->name, id->name) == 0) in i2c_match_id()
[all …]
/linux-6.15/drivers/mtd/nand/raw/atmel/
Dnand-controller.c1 // SPDX-License-Identifier: GPL-2.0
6 * Author: Boris Brezillon <boris.brezillon@free-electrons.com>
23 * Derived from Das U-Boot source code
24 * (u-boot-1.1.5/board/atmel/at91sam9263ek/nand.c)
34 * applies to structure and function names.
38 * - atmel_nand_: all generic structures/functions
39 * - atmel_smc_nand_: all structures/functions specific to the SMC interface
41 * - atmel_hsmc_nand_: all structures/functions specific to the HSMC interface
43 * - atmel_nfc_: all structures/functions used to manipulate the NFC sub-block
45 * - <soc>_nand_: all SoC specific structures/functions
[all …]
/linux-6.15/drivers/gpu/drm/msm/registers/adreno/
Da3xx.xml1 <?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">
11 <value name="TILE_4X4" value="1"/> <!-- "normal" case for textures -->
12 <value name="TILE_32X32" value="2"/> <!-- only used in GMEM -->
13 <value name="TILE_4X2" value="3"/> <!-- only used for CrCb -->
60 <!-- seems to be no NORM variants for 32bit.. -->
106 <!--
111 -->
137 <value name="TFMT_A8_UNORM" value="0x2c"/> <!-- GL_ALPHA -->
[all …]
/linux-6.15/drivers/video/fbdev/
Dcirrusfb.c2 * drivers/video/cirrusfb.c - driver for Cirrus Logic chipsets
4 * Copyright 1999-2001 Jeff Garzik <jgarzik@pobox.com>
29 * Format this code with GNU indent '-kr -i8 -pcs' options.
103 * per-board-type information, used for enumerating and abstracting
104 * chip-specific information
108 * is required at runtime. Maybe separate into an init-only and
109 * a run-time table?
114 /* for 1/4bpp, 8bpp 15/16bpp, 24bpp, 32bpp - numbers from xorg code */
262 CHIP(PCI_DEVICE_ID_CIRRUS_5430, BT_ALPINE), /* GD-5440 is same id */
375 /*--- Interface used by the world ------------------------------------------*/
[all …]
/linux-6.15/arch/powerpc/kernel/
Dprom_init.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (C) 1996-2005 Paul Mackerras.
46 #include <asm/asm-prototypes.h>
47 #include <asm/ultravisor-api.h>
72 * On ppc32 we compile with -mrelocatable, which means that references
83 * arguments to call_prom should be 32-bit values.
216 * Error results ... some OF calls will return "-1" on error, some
222 #define PROM_ERROR (-1u)
236 return c1 < c2 ? -1 : 1; in prom_strcmp()
249 return -E2BIG; in prom_strscpy_pad()
[all …]
/linux-6.15/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo.c3 * Copyright © 2006-2007 Intel Corporation
53 #define IS_TV(c) (c->output_flag & SDVO_TV_MASK)
54 #define IS_TMDS(c) (c->output_flag & SDVO_TMDS_MASK)
55 #define IS_LVDS(c) (c->output_flag & SDVO_LVDS_MASK)
56 #define IS_TV_OR_LVDS(c) (c->output_flag & (SDVO_TV_MASK | SDVO_LVDS_MASK))
105 * This is set if we're going to treat the device as TV-out.
108 * to decide this for us, the S-Video output on our HDMI+S-Video card
159 /* add the property for the SDVO-TV */
177 /* add the property for the SDVO-TV/LVDS */
233 struct drm_device *dev = psb_intel_sdvo->base.base.dev; in psb_intel_sdvo_write_sdvox()
[all …]
/linux-6.15/drivers/hwtracing/coresight/
Dcoresight-stm.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2015-2016, The Linux Foundation. All rights reserved.
8 * (C) 2014-2015 Pratik Patel <pratikp@codeaurora.org>
12 * (C) 2015-2016 Mathieu Poirier <mathieu.poirier@linaro.org>
16 * (C) 2015-2016 Chunyan Zhang <zhang.chunyan@linaro.org>
24 #include <linux/coresight-stm.h>
34 #include "coresight-priv.h"
35 #include "coresight-trace-id.h"
87 #define stm_channel_addr(drvdata, ch) (drvdata->chs.base + \
102 * struct channel_space - central management entity for extended ports
[all …]
/linux-6.15/drivers/media/tuners/
Dmxl5005s.c113 /* Initialization Control Names */
155 /* Channel Change Control Names */
201 * MaxLinear source code - Common_MXL.h (?)
237 u16 bit[25]; /* Array of bit pos in Reg Addr for each bit pos */
254 u8 CAPSELECT; /* 0: disable On-Chip pulling cap; 1: enable */
258 /* 0 - Default; 1 - DVB-T; 2 - ATSC; 3 - QAM; 4 - Analog Cable */
262 /* 0 - Default; 1 - Off; 2 - Type C; 3 - Type C-H */
271 u16 Init_Ctrl_Num; /* Number of INIT Control Names */
273 Init_Ctrl[INITCTRL_NUM]; /* INIT Control Names Array Pointer */
275 u16 CH_Ctrl_Num; /* Number of CH Control Names */
[all …]
/linux-6.15/drivers/clk/
Dclk-versaclock7.c1 // SPDX-License-Identifier: GPL-2.0
12 #include <linux/clk-provider.h>
22 * 16-bit register address: the lower 8 bits of the register address come
55 #define VC7_IOD_MAX_DIVISOR 0x1ffffff /* 25-bit */
63 #define VC7_FOD_2ND_INT_MAX 0x1ffff /* 17-bit */
181 unsigned int idx = clkspec->args[0]; in vc7_of_clk_get()
183 if (idx >= vc7->chip_info->num_outputs) in vc7_of_clk_get()
184 return ERR_PTR(-EINVAL); in vc7_of_clk_get()
186 return &vc7->clk_out[idx].hw; in vc7_of_clk_get()
220 * vc7_64_mul_64_to_128() - Multiply two u64 and return an unsigned 128-bit integer
[all …]
/linux-6.15/drivers/gpu/drm/amd/amdgpu/
Datom.c38 #include "atom-names.h"
39 #include "atom-bits.h"
99 while (n--) in debug_print_spaces()
121 temp = ctx->card->reg_read(ctx->card, CU16(base + 1)); in atom_iio_execute()
125 ctx->card->reg_write(ctx->card, CU16(base + 1), temp); in atom_iio_execute()
130 ~((0xFFFFFFFF >> (32 - CU8(base + 1))) << in atom_iio_execute()
136 (0xFFFFFFFF >> (32 - CU8(base + 1))) << CU8(base + in atom_iio_execute()
142 ~((0xFFFFFFFF >> (32 - CU8(base + 1))) << in atom_iio_execute()
146 (0xFFFFFFFF >> (32 - CU8(base + 1)))) << CU8(base + in atom_iio_execute()
152 ~((0xFFFFFFFF >> (32 - CU8(base + 1))) << in atom_iio_execute()
[all …]
/linux-6.15/drivers/tty/serial/8250/
D8250_pci.c1 // SPDX-License-Identifier: GPL-2.0
3 * Probe module for 8250/16550-type PCI serial ports.
98 /* Unknown vendors/cards - this should not be in linux/pci_ids.h */
104 * > 0 - number of ports
105 * = 0 - use board->num_ports
106 * < 0 - error
156 "Please send the output of lspci -vv, this\n" in moan_device()
159 "modem board to <linux-serial@vger.kernel.org>.\n", in moan_device()
160 str, dev->vendor, dev->device, in moan_device()
161 dev->subsystem_vendor, dev->subsystem_device); in moan_device()
[all …]
/linux-6.15/drivers/mailbox/
Dzynqmp-ipi-mailbox.c1 // SPDX-License-Identifier: GPL-2.0
8 #include <linux/arm-smccc.h>
17 #include <linux/mailbox/zynqmp-ipi-message.h>
75 * struct zynqmp_ipi_mchan - Description of a Xilinx ZynqMP IPI mailbox channel
99 * struct zynqmp_ipi_mbox - Description of a ZynqMP IPI mailbox
119 * struct zynqmp_ipi_pdata - Description of z ZynqMP IPI agent platform data.
144 .name = "zynqmp-ipi-mbox",
151 struct zynqmp_ipi_pdata *pdata = ipi_mbox->pdata; in zynqmp_ipi_fw_call()
154 a1 = pdata->local_id; in zynqmp_ipi_fw_call()
155 a2 = ipi_mbox->remote_id; in zynqmp_ipi_fw_call()
[all …]
/linux-6.15/kernel/bpf/
Dbtf.c1 // SPDX-License-Identifier: GPL-2.0
74 * NOTE that we cannot assume any reference-order.
80 * object describing "void *". This type-reference is done
87 * - Each line started with "[?]" is a btf_type object
88 * - [?] is the type_id of the btf_type object.
89 * - CONST/PTR is the BTF_KIND_XXX
90 * - "(anon)" is the name of the type. It just
92 * - type_id=XXX is the 'u32 type' in btf_type
98 * The BTF string section contains the names used by the type section.
116 * an array: "btf->types".
[all …]

1...<<231232233234235236237238239240>>...242