Home
last modified time | relevance | path

Searched +full:reg +full:- +full:names (Results 3851 – 3875 of 4002) sorted by relevance

1...<<151152153154155156157158159160161

/linux-5.10/arch/arm/mach-davinci/
Dboard-da850-evm.c2 * TI DA850/OMAP-L138 EVM board
4 * Copyright (C) 2009 Texas Instruments Incorporated - https://www.ti.com/
6 * Derived from: arch/arm/mach-davinci/board-da830-evm.c
25 #include <linux/input/tps6507x-ts.h>
30 #include <linux/nvmem-provider.h>
33 #include <linux/platform_data/gpio-davinci.h>
34 #include <linux/platform_data/mtd-davinci.h>
35 #include <linux/platform_data/mtd-davinci-aemif.h>
36 #include <linux/platform_data/ti-aemif.h>
37 #include <linux/platform_data/spi-davinci.h>
[all …]
/linux-5.10/sound/soc/codecs/
Drt5682.c1 // SPDX-License-Identifier: GPL-2.0-only
3 // rt5682.c -- RT5682 ALSA SoC audio component driver
26 #include <sound/soc-dapm.h>
53 ret = regmap_multi_reg_write(rt5682->regmap, patch_list, in rt5682_apply_patch_list()
382 bool rt5682_volatile_register(struct device *dev, unsigned int reg) in rt5682_volatile_register() argument
384 switch (reg) { in rt5682_volatile_register()
411 bool rt5682_readable_register(struct device *dev, unsigned int reg) in rt5682_readable_register() argument
413 switch (reg) { in rt5682_readable_register()
742 static const DECLARE_TLV_DB_SCALE(dac_vol_tlv, -6525, 75, 0);
743 static const DECLARE_TLV_DB_SCALE(adc_vol_tlv, -1725, 75, 0);
[all …]
Dwm8994.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8994.c -- WM8994 ALSA SoC Audio driver
5 * Copyright 2009-12 Wolfson Microelectronics plc
47 unsigned int reg; member
114 struct wm8994 *control = wm8994->wm8994; in wm8958_micd_set_rate()
120 idle = !wm8994->jack_mic; in wm8958_micd_set_rate()
124 sysclk = wm8994->aifclk[1]; in wm8958_micd_set_rate()
126 sysclk = wm8994->aifclk[0]; in wm8958_micd_set_rate()
128 if (control->pdata.micd_rates) { in wm8958_micd_set_rate()
129 rates = control->pdata.micd_rates; in wm8958_micd_set_rate()
[all …]
Dwm8904.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * wm8904.c -- WM8904 ALSA SoC Audio driver
5 * Copyright 2009-12 Wolfson Microelectronics plc
84 /* DC servo configuration - cached offset values */
89 { 4, 0x0018 }, /* R4 - Bias Control 0 */
90 { 5, 0x0000 }, /* R5 - VMID Control 0 */
91 { 6, 0x0000 }, /* R6 - Mic Bias Control 0 */
92 { 7, 0x0000 }, /* R7 - Mic Bias Control 1 */
93 { 8, 0x0001 }, /* R8 - Analogue DAC 0 */
94 { 9, 0x9696 }, /* R9 - mic Filter Control */
[all …]
/linux-5.10/drivers/media/i2c/
Ds5k5baf.c1 // SPDX-License-Identifier: GPL-2.0-only
25 #include <media/media-entity.h>
26 #include <media/v4l2-ctrls.h>
27 #include <media/v4l2-device.h>
28 #include <media/v4l2-subdev.h>
29 #include <media/v4l2-mediabus.h>
30 #include <media/v4l2-fwnode.h>
39 #define S5K5BAF_FW_FILENAME "s5k5baf-cfg.bin"
51 /* Default number of MIPI CSI-2 data lanes used */
200 /* Auto-algorithms enable mask */
[all …]
/linux-5.10/drivers/power/supply/
Dbq27xxx_battery.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) 2010-2011 Lars-Peter Clausen <lars@metafoo.de>
19 * https://www.ti.com/product/bq27510-g1
20 * https://www.ti.com/product/bq27510-g2
21 * https://www.ti.com/product/bq27510-g3
22 * https://www.ti.com/product/bq27520-g1
23 * https://www.ti.com/product/bq27520-g2
24 * https://www.ti.com/product/bq27520-g3
25 * https://www.ti.com/product/bq27520-g4
26 * https://www.ti.com/product/bq27530-g1
[all …]
/linux-5.10/drivers/net/wireless/intel/iwlwifi/
Diwl-csr.h8 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
9 * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH
11 * Copyright(c) 2018 - 2019 Intel Corporation
27 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
31 * Copyright(c) 2005 - 2014 Intel Corporation. All rights reserved.
32 * Copyright(c) 2013 - 2014 Intel Mobile Communications GmbH
33 * Copyright(c) 2018 - 2019 Intel Corporation
46 * * Neither the name Intel Corporation nor the names of its
70 * low power states due to driver-invoked device resets
71 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes.
[all …]
Diwl-prph.h8 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
10 * Copyright(c) 2005 - 2014, 2018 - 2020 Intel Corporation
26 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
30 * Copyright(c) 2013 - 2015 Intel Mobile Communications GmbH
32 * Copyright(c) 2005 - 2014, 2018 - 2020 Intel Corporation
45 * * Neither the name Intel Corporation nor the names of its
166 * (cf. iwl5000_default_queue_to_tx_fifo in iwl-5000.c):
168 * 0 -- EDCA BK (background) frames, lowest priority
169 * 1 -- EDCA BE (best effort) frames, normal priority
170 * 2 -- EDCA VI (video) frames, higher priority
[all …]
/linux-5.10/drivers/rtc/
Drtc-rv3028.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/clk-provider.h>
105 struct rv3028_data *rv3028 = dev_get_drvdata(dev->parent); in timestamp0_store()
107 regmap_update_bits(rv3028->regmap, RV3028_EVT_CTRL, RV3028_EVT_CTRL_TSR, in timestamp0_store()
116 struct rv3028_data *rv3028 = dev_get_drvdata(dev->parent); in timestamp0_show()
121 ret = regmap_read(rv3028->regmap, RV3028_TS_COUNT, &count); in timestamp0_show()
128 ret = regmap_bulk_read(rv3028->regmap, RV3028_TS_SEC, date, in timestamp0_show()
137 tm.tm_mon = bcd2bin(date[4]) - 1; in timestamp0_show()
153 struct rv3028_data *rv3028 = dev_get_drvdata(dev->parent); in timestamp0_count_show()
156 ret = regmap_read(rv3028->regmap, RV3028_TS_COUNT, &count); in timestamp0_count_show()
[all …]
Drtc-rv3032.c1 // SPDX-License-Identifier: GPL-2.0
12 #include <linux/clk-provider.h>
122 return regmap_update_bits(rv3032->regmap, RV3032_CTRL1, RV3032_CTRL1_EERD, 0); in rv3032_exit_eerd()
130 ret = regmap_read(rv3032->regmap, RV3032_CTRL1, &ctrl1); in rv3032_enter_eerd()
138 ret = regmap_update_bits(rv3032->regmap, RV3032_CTRL1, in rv3032_enter_eerd()
143 ret = regmap_read_poll_timeout(rv3032->regmap, RV3032_TLSB, status, in rv3032_enter_eerd()
155 static int rv3032_update_cfg(struct rv3032_data *rv3032, unsigned int reg, in rv3032_update_cfg() argument
165 ret = regmap_update_bits(rv3032->regmap, reg, mask, val); in rv3032_update_cfg()
169 ret = regmap_write(rv3032->regmap, RV3032_EEPROM_CMD, RV3032_EEPROM_CMD_UPDATE); in rv3032_update_cfg()
175 ret = regmap_read_poll_timeout(rv3032->regmap, RV3032_TLSB, status, in rv3032_update_cfg()
[all …]
/linux-5.10/drivers/clk/sunxi-ng/
Dccu-sun8i-h3.c1 // SPDX-License-Identifier: GPL-2.0-only
6 #include <linux/clk-provider.h>
24 #include "ccu-sun8i-h3.h"
26 static SUNXI_CCU_NKMP_WITH_GATE_LOCK(pll_cpux_clk, "pll-cpux",
41 * With sigma-delta modulation for fractional-N on the audio PLL,
46 * match the clock names.
55 static SUNXI_CCU_NM_WITH_SDM_GATE_LOCK(pll_audio_base_clk, "pll-audio-base",
65 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK_MIN_MAX(pll_video_clk, "pll-video",
79 static SUNXI_CCU_NM_WITH_FRAC_GATE_LOCK(pll_ve_clk, "pll-ve",
91 static SUNXI_CCU_NKM_WITH_GATE_LOCK(pll_ddr_clk, "pll-ddr",
[all …]
/linux-5.10/drivers/media/dvb-frontends/
Ddrxd_hard.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drxd_hard.c: DVB-T Demodulator Micronas DRX3975D-A2,DRX397xD-B1
5 * Copyright (C) 2003-2007 Micronas
21 #define DRX_FW_FILENAME_A2 "drxd-a2-1.1.fw"
22 #define DRX_FW_FILENAME_B1 "drxd-b1-1.1.fw"
194 return -1; in i2c_write()
211 return -1; in i2c_read()
225 static int Read16(struct drxd_state *state, u32 reg, u16 *data, u8 flags) in Read16() argument
227 u8 adr = state->config.demod_address; in Read16()
228 u8 mm1[4] = { reg & 0xff, (reg >> 16) & 0xff, in Read16()
[all …]
/linux-5.10/drivers/gpu/drm/radeon/
Dr100.c53 /* Firmware Names */
110 * r100_wait_for_vblank - vblank wait asic callback.
115 * Wait for vblank on the requested crtc (r1xx-r4xx).
121 if (crtc >= rdev->num_crtc) in r100_wait_for_vblank()
151 * r100_page_flip - pageflip callback.
157 * Does the actual pageflip (r1xx-r4xx).
164 struct radeon_crtc *radeon_crtc = rdev->mode_info.crtcs[crtc_id]; in r100_page_flip()
170 WREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset, tmp); in r100_page_flip()
173 for (i = 0; i < rdev->usec_timeout; i++) { in r100_page_flip()
174 if (RREG32(RADEON_CRTC_OFFSET + radeon_crtc->crtc_offset) & RADEON_CRTC_OFFSET__GUI_TRIG_OFFSET) in r100_page_flip()
[all …]
Dradeon_uvd.c15 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
43 /* Firmware Names */
72 INIT_DELAYED_WORK(&rdev->uvd.idle_work, radeon_uvd_idle_work_handler); in radeon_uvd_init()
74 switch (rdev->family) { in radeon_uvd_init()
134 return -EINVAL; in radeon_uvd_init()
137 rdev->uvd.fw_header_present = false; in radeon_uvd_init()
138 rdev->uvd.max_handles = RADEON_DEFAULT_UVD_HANDLES; in radeon_uvd_init()
141 r = request_firmware(&rdev->uvd_fw, fw_name, rdev->dev); in radeon_uvd_init()
143 dev_err(rdev->dev, "radeon_uvd: Can't load firmware \"%s\"\n", in radeon_uvd_init()
146 struct common_firmware_header *hdr = (void *)rdev->uvd_fw->data; in radeon_uvd_init()
[all …]
/linux-5.10/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-hw.c5 * This program is dual-licensed; you may select either version 2 of
14 * Synopsys is a registered trademark of Synopsys, Inc. Other names included
26 #include "dwc-xlgmac.h"
27 #include "dwc-xlgmac-reg.h"
31 return !XLGMAC_GET_REG_BITS_LE(dma_desc->desc3, in xlgmac_tx_complete()
40 regval = readl(pdata->mac_regs + MAC_RCR); in xlgmac_disable_rx_csum()
43 writel(regval, pdata->mac_regs + MAC_RCR); in xlgmac_disable_rx_csum()
52 regval = readl(pdata->mac_regs + MAC_RCR); in xlgmac_enable_rx_csum()
55 writel(regval, pdata->mac_regs + MAC_RCR); in xlgmac_enable_rx_csum()
68 writel(mac_addr_hi, pdata->mac_regs + MAC_MACA0HR); in xlgmac_set_mac_address()
[all …]
/linux-5.10/drivers/net/ethernet/realtek/
D8139too.c3 8139too.c: A RealTek RTL-8139 Fast Ethernet driver for Linux.
6 Copyright 2000-2002 Jeff Garzik
12 -----<snip>-----
14 Written 1997-2001 by Donald Becker.
33 Twister-tuning table provided by Kinston
36 -----<snip>-----
43 Donald Becker - he wrote the original driver, kudos to him!
44 (but please don't e-mail him for support, this isn't his driver)
46 Tigran Aivazian - bug fixes, skbuff free cleanup
48 Martin Mares - suggestions for PCI cleanup
[all …]
/linux-5.10/arch/powerpc/platforms/powermac/
Dfeature.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright (C) 1996-2001 Paul Mackerras (paulus@cs.anu.edu.au)
8 * - Replace mdelay with some schedule loop if possible
9 * - Shorten some obfuscated delays on some routines (like modem
11 * - Refcount some clocks (see darwin)
12 * - Split split split...
38 #include <asm/pci-bridge.h>
80 child = child->parent; in macio_find()
137 int reg, u32 mask, int value) in simple_feature_tweak() argument
144 return -ENODEV; in simple_feature_tweak()
[all …]
/linux-5.10/drivers/media/platform/marvell-ccic/
Dmcam-core.c1 // SPDX-License-Identifier: GPL-2.0
4 * so it needs platform-specific support outside of the core.
20 #include <linux/dma-mapping.h>
25 #include <linux/clk-provider.h>
28 #include <media/v4l2-device.h>
29 #include <media/v4l2-ioctl.h>
30 #include <media/v4l2-ctrls.h>
31 #include <media/v4l2-event.h>
32 #include <media/videobuf2-vmalloc.h>
33 #include <media/videobuf2-dma-contig.h>
[all …]
/linux-5.10/drivers/net/ethernet/amd/xgbe/
Dxgbe-dev.c9 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc.
59 * Copyright (c) 2014-2016 Advanced Micro Devices, Inc.
70 * names of its contributors may be used to endorse or promote products
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()
[all …]
/linux-5.10/drivers/net/ethernet/freescale/fman/
Dfman.c2 * Copyright 2008-2015 Freescale Semiconductor Inc.
13 * names of its contributors may be used to endorse or promote products
348 u32 fmfp_fcev[4]; /* FPM FMan-Controller Event 1-4 0x20-0x2f */
349 u32 res0030[4]; /* res 0x30 - 0x3f */
350 u32 fmfp_cee[4]; /* PM FMan-Controller Event 1-4 0x40-0x4f */
351 u32 res0050[4]; /* res 0x50-0x5f */
360 u32 fmfp_drd[16]; /* FPM Data_Ram Data 0-15 0x80 - 0xbf */
369 u32 fmfp_cev[4]; /* FPM CPU Event 1-4 0xe0-0xef */
370 u32 res00f0[4]; /* res 0xf0-0xff */
371 u32 fmfp_ps[50]; /* FPM Port Status 0x100-0x1c7 */
[all …]
Dfman_dtsec.c2 * Copyright 2008-2015 Freescale Semiconductor Inc.
12 * names of its contributors may be used to endorse or promote products
54 #define TBICON_AN_SENSE 0x0100 /* Auto-negotiation sense enable */
192 u32 tmr_ctrl; /* 0x020 Time-stamp Control register */
193 u32 tmr_pevent; /* 0x024 Time-stamp event register */
200 u32 igaddr[8]; /* 0x080-0x09C Individual/group address */
201 u32 gaddr[8]; /* 0x0A0-0x0BC Group address registers 0-7 */
206 u32 hafdup; /* 0x10C Half-duplex */
213 u32 exact_match1; /* octets 1-4 */
214 u32 exact_match2; /* octets 5-6 */
[all …]
/linux-5.10/kernel/bpf/
Dverifier.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com
22 #include <linux/error-injection.h>
43 * The first pass is depth-first-search to check that the program is a DAG.
45 * - larger than BPF_MAXINSNS insns
46 * - if loop is present (detected via back-edge)
47 * - unreachable insns exist (shouldn't be a forest. program = one function)
48 * - out of bounds or malformed jumps
60 * All registers are 64-bit.
61 * R0 - return register
[all …]
/linux-5.10/drivers/net/ethernet/sfc/
Def10.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright 2012-2013 Solarflare Communications Inc.
47 efx_dword_t reg; in efx_ef10_get_warm_boot_count() local
49 efx_readd(efx, &reg, ER_DZ_BIU_MC_SFT_STATUS); in efx_ef10_get_warm_boot_count()
50 return EFX_DWORD_FIELD(reg, EFX_WORD_1) == 0xb007 ? in efx_ef10_get_warm_boot_count()
51 EFX_DWORD_FIELD(reg, EFX_WORD_0) : -EIO; in efx_ef10_get_warm_boot_count()
60 switch (efx->pci_dev->device) { in efx_ef10_pf_mem_bar()
78 bar = efx->type->mem_bar(efx); in efx_ef10_mem_map_size()
79 return resource_size(&efx->pci_dev->resource[bar]); in efx_ef10_mem_map_size()
84 return efx->type->is_vf; in efx_ef10_is_vf()
[all …]
/linux-5.10/drivers/parisc/
Diosapic.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 ** I/O Sapic Driver - PCI interrupt line support
6 ** (c) Copyright 1999 Hewlett-Packard Company
14 ** --------
28 ** -------------------------------------
34 ** MSIs (e.g. GSC or HP-PB) or convert line based interrupts into MSIs
49 ** -----------
50 ** PA-RISC platforms have two fundamentally different types of firmware.
58 ** The IRT maps each PCI slot's INTA-D "output" line to an I/O SAPIC
68 ** --------------------
[all …]
/linux-5.10/drivers/usb/gadget/udc/
Dsnps_udc_core.c1 // SPDX-License-Identifier: GPL-2.0+
3 * amd5536.c -- AMD 5536 UDC high/full speed USB device controller
5 * Copyright (C) 2005-2007 AMD (https://www.amd.com)
77 /* set_rde -- Is used to control enabling of RX DMA. Problem is
86 * set_rde -1 == not used, means it is alloed to be set to 0 or 1
91 static int set_rde = -1;
101 /* endpoint names used for print */
115 EP_INFO("ep1in-int",
117 EP_INFO("ep2in-bulk",
119 EP_INFO("ep3in-bulk",
[all …]

1...<<151152153154155156157158159160161