/Linux-v6.1/drivers/clk/sprd/ |
D | ums512-clk.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <linux/clk-provider.h> 17 #include <dt-bindings/clock/sprd,ums512-clk.h> 33 static CLK_FIXED_FACTOR_FW_NAME(clk_26m_aud, "clk-26m-aud", "ext-26m", 1, 1, 0); 34 static CLK_FIXED_FACTOR_FW_NAME(clk_13m, "clk-13m", "ext-26m", 2, 1, 0); 35 static CLK_FIXED_FACTOR_FW_NAME(clk_6m5, "clk-6m5", "ext-26m", 4, 1, 0); 36 static CLK_FIXED_FACTOR_FW_NAME(clk_4m3, "clk-4m3", "ext-26m", 6, 1, 0); 37 static CLK_FIXED_FACTOR_FW_NAME(clk_2m, "clk-2m", "ext-26m", 13, 1, 0); 38 static CLK_FIXED_FACTOR_FW_NAME(clk_1m, "clk-1m", "ext-26m", 26, 1, 0); 39 static CLK_FIXED_FACTOR_FW_NAME(clk_250k, "clk-250k", "ext-26m", 104, 1, 0); [all …]
|
D | sc9863a-clk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 #include <linux/clk-provider.h> 16 #include <dt-bindings/clock/sprd,sc9863a-clk.h> 26 static SPRD_PLL_SC_GATE_CLK_FW_NAME(mpll0_gate, "mpll0-gate", "ext-26m", 0x94, 28 static SPRD_PLL_SC_GATE_CLK_FW_NAME(dpll0_gate, "dpll0-gate", "ext-26m", 0x98, 30 static SPRD_PLL_SC_GATE_CLK_FW_NAME(lpll_gate, "lpll-gate", "ext-26m", 0x9c, 32 static SPRD_PLL_SC_GATE_CLK_FW_NAME(gpll_gate, "gpll-gate", "ext-26m", 0xa8, 34 static SPRD_PLL_SC_GATE_CLK_FW_NAME(dpll1_gate, "dpll1-gate", "ext-26m", 0x1dc, 36 static SPRD_PLL_SC_GATE_CLK_FW_NAME(mpll1_gate, "mpll1-gate", "ext-26m", 0x1e0, 38 static SPRD_PLL_SC_GATE_CLK_FW_NAME(mpll2_gate, "mpll2-gate", "ext-26m", 0x1e4, [all …]
|
D | sc9860-clk.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/clk-provider.h> 16 #include <dt-bindings/clock/sprd,sc9860-clk.h> 25 static CLK_FIXED_FACTOR(fac_4m, "fac-4m", "ext-26m", 27 static CLK_FIXED_FACTOR(fac_2m, "fac-2m", "ext-26m", 29 static CLK_FIXED_FACTOR(fac_1m, "fac-1m", "ext-26m", 30 26, 1, 0); 31 static CLK_FIXED_FACTOR(fac_250k, "fac-250k", "ext-26m", 33 static CLK_FIXED_FACTOR(fac_rpll0_26m, "rpll0-26m", "ext-26m", 35 static CLK_FIXED_FACTOR(fac_rpll1_26m, "rpll1-26m", "ext-26m", [all …]
|
/Linux-v6.1/arch/arm64/boot/dts/sprd/ |
D | sharkl3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 9 interrupt-parent = <&gic>; 10 #address-cells = <2>; 11 #size-cells = <2>; 14 compatible = "simple-bus"; 15 #address-cells = <2>; 16 #size-cells = <2>; 20 compatible = "sprd,sc9863a-glbregs", "syscon", 21 "simple-mfd"; 23 #address-cells = <1>; [all …]
|
D | sc9863a.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <dt-bindings/clock/sprd,sc9863a-clk.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 #address-cells = <2>; 15 #size-cells = <0>; 17 cpu-map { 48 compatible = "arm,cortex-a55"; 50 enable-method = "psci"; 51 cpu-idle-states = <&CORE_PD>; 56 compatible = "arm,cortex-a55"; [all …]
|
D | whale2.dtsi | 6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include <dt-bindings/clock/sprd,sc9860-clk.h> 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 17 compatible = "simple-bus"; 18 #address-cells = <2>; 19 #size-cells = <2>; 67 ap-apb { 68 compatible = "simple-bus"; [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/clock/ |
D | sprd,ums512-clk.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: "http://devicetree.org/schemas/clock/sprd,ums512-clk.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Orson Zhai <orsonzhai@gmail.com> 12 - Baolin Wang <baolin.wang7@gmail.com> 13 - Chunyan Zhang <zhang.lyra@gmail.com> 18 - sprd,ums512-apahb-gate 19 - sprd,ums512-ap-clk 20 - sprd,ums512-aonapb-clk [all …]
|
D | sprd,sc9863a-clk.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: "http://devicetree.org/schemas/clock/sprd,sc9863a-clk.yaml#" 6 $schema: "http://devicetree.org/meta-schemas/core.yaml#" 11 - Orson Zhai <orsonzhai@gmail.com> 12 - Baolin Wang <baolin.wang7@gmail.com> 13 - Chunyan Zhang <zhang.lyra@gmail.com> 16 "#clock-cells": 21 - sprd,sc9863a-ap-clk 22 - sprd,sc9863a-aon-clk [all …]
|
/Linux-v6.1/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_ctl.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 13 (((lm) == LM_5) ? (0x024) : (((lm) - LM_0) * 0x004)) 15 (0x40 + (((lm) - LM_0) * 0x004)) 17 (0x70 + (((lm) - LM_0) * 0x004)) 19 (0xA0 + (((lm) - LM_0) * 0x004)) 53 const struct dpu_mdss_cfg *m, in _ctl_offset() argument 59 for (i = 0; i < m->ctl_count; i++) { in _ctl_offset() 60 if (ctl == m->ctl[i].id) { in _ctl_offset() 61 b->blk_addr = addr + m->ctl[i].base; in _ctl_offset() [all …]
|
/Linux-v6.1/arch/riscv/include/asm/ |
D | hwcap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 29 #define RISCV_ISA_EXT_a ('a' - 'a') 30 #define RISCV_ISA_EXT_c ('c' - 'a') 31 #define RISCV_ISA_EXT_d ('d' - 'a') 32 #define RISCV_ISA_EXT_f ('f' - 'a') 33 #define RISCV_ISA_EXT_h ('h' - 'a') 34 #define RISCV_ISA_EXT_i ('i' - 'a') 35 #define RISCV_ISA_EXT_m ('m' - 'a') 36 #define RISCV_ISA_EXT_s ('s' - 'a') 37 #define RISCV_ISA_EXT_u ('u' - 'a') [all …]
|
/Linux-v6.1/drivers/clk/ingenic/ |
D | jz4760-cgu.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/clk-provider.h> 15 #include <dt-bindings/clock/ingenic,jz4760-cgu.h> 45 0x0, 0x1, -1, 0x2, -1, -1, -1, 0x3, 61 unsigned int m, n, od, m_max = (1 << pll_info->m_bits) - 2; in jz4760_cgu_calc_m_n_od() local 67 n = clamp_val(n, 2, 1 << pll_info->n_bits); in jz4760_cgu_calc_m_n_od() 70 od = (unsigned int)-1; in jz4760_cgu_calc_m_n_od() 73 m = (rate / MHZ) * (1 << ++od) * n / (parent_rate / MHZ); in jz4760_cgu_calc_m_n_od() 74 } while ((m > m_max || m & 1) && (od < 4)); in jz4760_cgu_calc_m_n_od() 76 if (od < 4 && m >= 4 && m <= m_max) in jz4760_cgu_calc_m_n_od() [all …]
|
/Linux-v6.1/drivers/media/i2c/ |
D | mt9t112.c | 1 // SPDX-License-Identifier: GPL-2.0 14 * Copyright 2006-7 Jonathan Corbet <corbet@lwn.net> 20 * v4l-utils compliance tools will report errors. 30 #include <linux/v4l2-mediabus.h> 34 #include <media/v4l2-common.h> 35 #include <media/v4l2-image-sizes.h> 36 #include <media/v4l2-subdev.h> 158 msg[0].addr = client->addr; in __mt9t112_reg_read() 163 msg[1].addr = client->addr; in __mt9t112_reg_read() 172 ret = i2c_transfer(client->adapter, msg, 2); in __mt9t112_reg_read() [all …]
|
/Linux-v6.1/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. 61 const u32 __mask = (__size < 32 ? 1 << __size : 0) - 1; \ 62 const int __off = 3 - ((start) / 32); \ 68 __res |= resp[__off-1] << ((32 - __shft) % 32); \ 85 u32 *resp = card->raw_cid; in mmc_decode_cid() 91 add_device_randomness(&card->raw_cid, sizeof(card->raw_cid)); in mmc_decode_cid() 97 card->cid.manfid = UNSTUFF_BITS(resp, 120, 8); in mmc_decode_cid() 98 card->cid.oemid = UNSTUFF_BITS(resp, 104, 16); in mmc_decode_cid() [all …]
|
/Linux-v6.1/drivers/net/wireless/intersil/orinoco/ |
D | wext.c | 13 #include <net/cfg80211-wext.h> 34 kfree_sensitive(priv->keys[index].key); in orinoco_set_key() 35 kfree_sensitive(priv->keys[index].seq); in orinoco_set_key() 38 priv->keys[index].key = kzalloc(key_len, GFP_ATOMIC); in orinoco_set_key() 39 if (!priv->keys[index].key) in orinoco_set_key() 42 priv->keys[index].key = NULL; in orinoco_set_key() 45 priv->keys[index].seq = kzalloc(seq_len, GFP_ATOMIC); in orinoco_set_key() 46 if (!priv->keys[index].seq) in orinoco_set_key() 49 priv->keys[index].seq = NULL; in orinoco_set_key() 51 priv->keys[index].key_len = key_len; in orinoco_set_key() [all …]
|
/Linux-v6.1/arch/m68k/include/asm/ |
D | math-emu.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 27 /* quotient byte, assumes big-endian, of course */ 33 #define FPSR_CC_Z 26 124 __count--; \ 128 #define FPDATA ((struct fp_data *)current->thread.fp) 231 old_gas=-1 236 .irp m b,w,l 237 .macro getuser.\m src,dest,label,addr 238 getuser .\m,\src,\dest,\label,\addr 240 .macro putuser.\m src,dest,label,addr [all …]
|
/Linux-v6.1/net/netfilter/ |
D | nft_set_pipapo_avx2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2019-2020 Red Hat GmbH 29 /* Load from memory into YMM register with non-temporal hint ("stream load"), 33 * - loading buckets from lookup tables, as they are not going to be used 36 * - loading the result bitmap from the previous field, as it's never used 40 asm volatile("vmovntdqa %0, %%ymm" #reg : : "m" (loc)) 68 asm volatile("vmovdqa %%ymm" #reg ", %0" : "=m" (loc)) 78 * nft_pipapo_avx2_prepare() - Prepare before main algorithm body 89 * nft_pipapo_avx2_fill() - Fill a bitmap region with ones 116 *data |= GENMASK(len - 1 + offset, offset); in nft_pipapo_avx2_fill() [all …]
|
D | nf_log_syslog.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* (C) 1999-2001 Paul `Rusty' Russell 3 * (C) 2002-2004 Netfilter Core Team <coreteam@netfilter.org> 49 static void nf_log_dump_vlan(struct nf_log_buf *m, const struct sk_buff *skb) in nf_log_dump_vlan() argument 57 nf_log_buf_add(m, "VPROTO=%04x VID=%u ", ntohs(skb->vlan_proto), vid); in nf_log_dump_vlan() 60 dump_arp_packet(struct nf_log_buf *m, in dump_arp_packet() argument 72 nf_log_buf_add(m, "TRUNCATED"); in dump_arp_packet() 76 if (info->type == NF_LOG_TYPE_LOG) in dump_arp_packet() 77 logflags = info->u.log.logflags; in dump_arp_packet() 82 nf_log_buf_add(m, "MACSRC=%pM MACDST=%pM ", in dump_arp_packet() [all …]
|
/Linux-v6.1/drivers/media/tuners/ |
D | r820t.c | 1 // SPDX-License-Identifier: GPL-2.0 7 // that it is part of rtl-sdr git tree, released under GPLv2: 8 // https://groups.google.com/forum/#!topic/ultra-cheap-sdr/Y3rBEOFtHug 9 // https://github.com/n1gp/gr-baz 30 #include "tuner-i2c.h" 355 int r = reg - REG_SHADOW_START; in shadow_store() 363 if (len > NUM_REGS - r) in shadow_store() 364 len = NUM_REGS - r; in shadow_store() 369 memcpy(&priv->regs[r], val, len); in shadow_store() 381 if (len > priv->cfg->max_i2c_msg_len - 1) in r820t_write() [all …]
|
/Linux-v6.1/drivers/net/ethernet/brocade/bna/ |
D | bfi_enet.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Linux network driver for QLogic BR-series Converged Network Adapter. 6 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc. 7 * Copyright (c) 2014-2015 QLogic Corporation 21 * HDS-off request is dynamic 22 * keep structures as multiple of 32-bit fields for alignment. 23 * All values must be written in big-endian. 46 #define BFI_ENET_RSS_KEY_LEN 10 /* 32-bit words */ 50 u32 addr_hi; /* Most Significant 32-bits */ 51 u32 addr_lo; /* Least Significant 32-Bits */ [all …]
|
/Linux-v6.1/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * Copyright(c) 2008 - 2009 Atheros Corporation. All rights reserved. 6 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 44 int atl1c_read_phy_core(struct atl1c_hw *hw, bool ext, u8 dev, 46 int atl1c_write_phy_core(struct atl1c_hw *hw, bool ext, u8 dev, 56 /* hw-ids */ 152 * ->L0s not L1 */ 200 * serdes, not sw to 25M */ 308 * un-repairable because 311 * stuck-to-x failure */ [all …]
|
/Linux-v6.1/drivers/net/wireless/atmel/ |
D | atmel.c | 1 /*** -*- linux-c -*- ********************************************************** 5 Copyright 2000-2001 ATMEL Corporation. 6 Copyright 2003-2004 Simon Kelley. 80 over-rides any automatic selection */ 100 MODULE_FIRMWARE("atmel_at76c502-wpa.bin"); 102 MODULE_FIRMWARE("atmel_at76c502d-wpa.bin"); 104 MODULE_FIRMWARE("atmel_at76c502e-wpa.bin"); 106 MODULE_FIRMWARE("atmel_at76c502_3com-wpa.bin"); 108 MODULE_FIRMWARE("atmel_at76c504-wpa.bin"); 110 MODULE_FIRMWARE("atmel_at76c504_2958-wpa.bin"); [all …]
|
/Linux-v6.1/arch/mips/pci/ |
D | pci-ar2315.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 * Read/write operation in the region 0x80000000-0xBFFFFFFF causes 23 * We know (and support) only one board that uses the PCI interface - 34 #include <linux/dma-direct.h> 54 #define AR2315_PCIMISC_GIG_MASK 0x0000000C /* bits 31-30 for pci req */ 102 #define AR2315_PCI_INT_TXEOL 0x00000008 /* Desc In End-of-List */ 107 #define AR2315_PCI_INT_TXOOD 0x00000200 /* Desc In Out-of-Desc */ 133 #define AR2315_PCI_IRQ_ABORT 26 143 * We need some arbitrary non-zero value to be programmed to the BAR1 register 181 return dma_addr - ar2315_dev_offset(dev); in dma_to_phys() [all …]
|
/Linux-v6.1/net/mac80211/ |
D | debugfs_sta.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright 2003-2005 Devicescape Software, Inc. 6 * Copyright 2013-2014 Intel Mobile Communications GmbH 8 * Copyright (C) 2018 - 2021 Intel Corporation 17 #include "driver-ops.h" 26 struct sta_info *sta = file->private_data; \ 28 format_string, sta->field); \ 90 char *end = buf + sizeof(buf) - 1; in sta_flags_read() 91 struct sta_info *sta = file->private_data; in sta_flags_read() 98 pos += scnprintf(pos, end - pos, "%s\n", in sta_flags_read() [all …]
|
/Linux-v6.1/drivers/staging/rtl8723bs/include/ |
D | hal_pwr_seq.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 Check document WM-20130815-JackieLau-RTL8723B_Power_Architecture v08.vsd 10 0: POFF--Power Off 11 1: PDN--Power Down 12 2: CARDEMU--Card Emulation 13 3: ACT--Active Mode 14 4: LPS--Low Power State 15 5: SUS--Suspend 28 #define RTL8723B_TRANS_CARDEMU_TO_ACT_STEPS 26 106 …_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, BIT0, 1}, /*0x48[16] = 1 to enable GPIO9 as EXT WAKEUP*/ \ [all …]
|
/Linux-v6.1/drivers/net/ethernet/marvell/ |
D | sky2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 /* Yukon-2 */ 32 PCI_Y2_PIG_ENA = 1<<31, /* Enable Plug-in-Go (YUKON-2) */ 33 PCI_Y2_DLL_DIS = 1<<30, /* Disable PCI DLL (YUKON-2) */ 34 PCI_SW_PWR_ON_RST= 1<<30, /* SW Power on Reset (Yukon-EX) */ 35 PCI_Y2_PHY2_COMA = 1<<29, /* Set PHY 2 to Coma Mode (YUKON-2) */ 36 PCI_Y2_PHY1_COMA = 1<<28, /* Set PHY 1 to Coma Mode (YUKON-2) */ 37 PCI_Y2_PHY2_POWD = 1<<27, /* Set PHY 2 to Power Down (YUKON-2) */ 38 PCI_Y2_PHY1_POWD = 1<<26, /* Set PHY 1 to Power Down (YUKON-2) */ 52 PCI_PATCH_DIR = 0xfL<<8, /* Bit 11.. 8: Ext Patches dir 3..0 */ [all …]
|