/linux-6.12.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-6.12.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 | ums512.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/clock/sprd,ums512-clk.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 12 interrupt-parent = <&gic>; 13 #address-cells = <2>; 14 #size-cells = <2>; 17 #address-cells = <2>; 18 #size-cells = <0>; 20 cpu-map { 51 compatible = "arm,cortex-a55"; [all …]
|
D | ums9620.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 interrupt-parent = <&gic>; 12 #address-cells = <2>; 13 #size-cells = <2>; 16 #address-cells = <2>; 17 #size-cells = <0>; 19 cpu-map { 50 compatible = "arm,cortex-a55"; 52 enable-method = "psci"; [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 | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 #include <dt-bindings/clock/sprd,sc9860-clk.h> 11 interrupt-parent = <&gic>; 12 #address-cells = <2>; 13 #size-cells = <2>; 16 compatible = "simple-bus"; 17 #address-cells = <2>; 18 #size-cells = <2>; 66 ap-apb@70000000 { 67 compatible = "simple-bus"; [all …]
|
/linux-6.12.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-6.12.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) - 1; 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() 72 for (m = m_max; m >= m_max && n >= 2; n--) { in jz4760_cgu_calc_m_n_od() 73 m = rate * n / parent_rate; in jz4760_cgu_calc_m_n_od() 74 od = m & 1; in jz4760_cgu_calc_m_n_od() 75 m <<= od; in jz4760_cgu_calc_m_n_od() [all …]
|
D | x1000-cgu.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/clk-provider.h> 13 #include <dt-bindings/clock/ingenic,x1000-cgu.h> 53 #define USBPCR1_REFCLKSEL_SHIFT 26 70 usbpcr1 = readl(cgu->base + CGU_REG_USBPCR1); in x1000_otg_phy_recalc_rate() 119 return -EINVAL; in x1000_otg_phy_set_rate() 122 spin_lock_irqsave(&cgu->lock, flags); in x1000_otg_phy_set_rate() 124 usbpcr1 = readl(cgu->base + CGU_REG_USBPCR1); in x1000_otg_phy_set_rate() 127 writel(usbpcr1, cgu->base + CGU_REG_USBPCR1); in x1000_otg_phy_set_rate() 129 spin_unlock_irqrestore(&cgu->lock, flags); in x1000_otg_phy_set_rate() [all …]
|
/linux-6.12.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-6.12.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. 72 u32 *resp = card->raw_cid; in mmc_decode_cid() 78 add_device_randomness(&card->raw_cid, sizeof(card->raw_cid)); in mmc_decode_cid() 84 card->cid.manfid = unstuff_bits(resp, 120, 8); in mmc_decode_cid() 85 card->cid.oemid = unstuff_bits(resp, 104, 16); in mmc_decode_cid() 86 card->cid.prod_name[0] = unstuff_bits(resp, 96, 8); in mmc_decode_cid() 87 card->cid.prod_name[1] = unstuff_bits(resp, 88, 8); in mmc_decode_cid() 88 card->cid.prod_name[2] = unstuff_bits(resp, 80, 8); in mmc_decode_cid() [all …]
|
/linux-6.12.1/arch/riscv/kernel/ |
D | cpufeature.c | 1 // SPDX-License-Identifier: GPL-2.0-only 29 #define NUM_ALPHA_EXTS ('z' - 'a' + 1) 36 /* Per-cpu ISA extensions. */ 40 * riscv_isa_extension_base() - Get base extension word 56 * __riscv_isa_extension_available() - Check whether given extension 80 pr_err("Zicbom detected in ISA string, disabling as no cbom-block-size found\n"); in riscv_ext_zicbom_validate() 81 return -EINVAL; in riscv_ext_zicbom_validate() 84 pr_err("Zicbom disabled as cbom-block-size present, but is not a power-of-2\n"); in riscv_ext_zicbom_validate() 85 return -EINVAL; in riscv_ext_zicbom_validate() 94 pr_err("Zicboz detected in ISA string, disabling as no cboz-block-size found\n"); in riscv_ext_zicboz_validate() [all …]
|
/linux-6.12.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)) 75 * nft_pipapo_avx2_prepare() - Prepare before main algorithm body 86 * nft_pipapo_avx2_fill() - Fill a bitmap region with ones 113 *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-6.12.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-6.12.1/tools/testing/selftests/kvm/riscv/ |
D | get-reg-list.c | 1 // SPDX-License-Identifier: GPL-2.0 32 * Based on above, we should filter-out all ISA_EXT registers. in filter_reg() 148 * if they were available in the risc-v host. in finalize_vcpu() 158 TEST_ASSERT(!rc || (rc == -1 && errno == ENOENT), "Unexpected error"); in finalize_vcpu() 162 if (!s->feature) in finalize_vcpu() 165 switch (s->feature_type) { in finalize_vcpu() 167 feature = RISCV_ISA_EXT_REG(s->feature); in finalize_vcpu() 170 feature = RISCV_SBI_EXT_REG(s->feature); in finalize_vcpu() 181 "%s not available, skipping tests", s->name); in finalize_vcpu() 232 reg_off - KVM_REG_RISCV_CORE_REG(regs.t0)); in core_id_to_str() [all …]
|
/linux-6.12.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-6.12.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-6.12.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-6.12.1/arch/arm/boot/dts/nxp/imx/ |
D | imx6ull-dhcom-som.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause 6 #include "imx6ull-dhcor-som.dtsi" 10 /delete-property/ spi2; 11 /delete-property/ spi3; 28 stdout-path = "serial0:115200n8"; 31 reg_ext_3v3_ref: regulator-ext-3v3-ref { 32 compatible = "regulator-fixed"; 33 regulator-always-on; 34 regulator-max-microvolt = <3300000>; 35 regulator-min-microvolt = <3300000>; [all …]
|
/linux-6.12.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-6.12.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 104 …_MSK, PWR_BASEADDR_MAC, PWR_CMD_WRITE, BIT0, 1}, /*0x48[16] = 1 to enable GPIO9 as EXT WAKEUP*/ \ [all …]
|