| /linux/drivers/clk/sprd/ |
| H A 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 …]
|
| H A 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/arch/arm64/boot/dts/sprd/ |
| H A 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 …]
|
| H A 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 …]
|
| H A 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 …]
|
| H A 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/Documentation/devicetree/bindings/clock/ |
| H A 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 …]
|
| H A 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/drivers/clk/ingenic/ |
| H A 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 …]
|
| H A 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() 90 if (req->rate < 18000000) in x1000_otg_phy_determine_rate() 91 req->rate = 12000000; in x1000_otg_phy_determine_rate() 92 else if (req->rate < 36000000) in x1000_otg_phy_determine_rate() 93 req->rate = 24000000; in x1000_otg_phy_determine_rate() 95 req->rate = 48000000; in x1000_otg_phy_determine_rate() [all …]
|
| /linux/arch/m68k/include/asm/ |
| H A 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/arch/riscv/kernel/ |
| H A D | cpufeature.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 #include <asm/text-patching.h> 32 #define NUM_ALPHA_EXTS ('z' - 'a' + 1) 43 /* Per-cpu ISA extensions. */ 49 * riscv_isa_extension_base() - Get base extension word 63 * __riscv_isa_extension_available() - Check whether given extension 89 return -EPROBE_DEFER; in riscv_ext_f_depends() 96 pr_err("Zicbom detected in ISA string, disabling as no cbom-block-size found\n"); in riscv_ext_zicbom_validate() 97 return -EINVAL; in riscv_ext_zicbom_validate() 100 pr_err("Zicbom disabled as cbom-block-size present, but is not a power-of-2\n"); in riscv_ext_zicbom_validate() [all …]
|
| /linux/net/netfilter/ |
| H A 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 …]
|
| H A 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/tools/testing/selftests/kvm/riscv/ |
| H A D | get-reg-list.c | 1 // SPDX-License-Identifier: GPL-2.0 41 * Based on above, we should filter-out all ISA_EXT registers. in filter_reg() 172 vlenb_reg = vcpu_get_reg(vcpu, s->regs[KVM_RISC_V_REG_OFFSET_VLENB]); in override_vector_reg_size() 175 return -EPERM; in override_vector_reg_size() 183 s->regs[KVM_RISC_V_REG_OFFSET_MAX + i] = reg; in override_vector_reg_size() 204 * if they were available in the risc-v host. in finalize_vcpu() 214 TEST_ASSERT(!rc || (rc == -1 && errno == ENOENT), "Unexpected error"); in finalize_vcpu() 218 if (!s->featur in finalize_vcpu() 491 KVM_ISA_EXT_ARR(ext) global() argument 613 KVM_SBI_EXT_ARR(ext) global() argument 1031 KVM_ISA_EXT_SIMPLE_CONFIG(ext,extu) global() argument 1050 KVM_SBI_EXT_SIMPLE_CONFIG(ext,extu) global() argument 1070 KVM_ISA_EXT_SUBLIST_CONFIG(ext,extu) global() argument 1079 KVM_SBI_EXT_SUBLIST_CONFIG(ext,extu) global() argument [all...] |
| /linux/drivers/media/tuners/ |
| H A 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/drivers/net/ethernet/brocade/bna/ |
| H A 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/drivers/net/ethernet/atheros/atl1c/ |
| H A 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/arch/arm/boot/dts/nxp/imx/ |
| H A 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/arch/mips/pci/ |
| H A 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/drivers/net/ethernet/marvell/ |
| H A D | skge.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 133 CS_CLK_RUN_HOT = 1<<13,/* CLK_RUN hot m. (YUKON-Lite only) */ 134 CS_CLK_RUN_RST = 1<<12,/* CLK_RUN reset (YUKON-Lite only) */ 135 CS_CLK_RUN_ENA = 1<<11,/* CLK_RUN enable (YUKON-Lite only) */ 172 IS_PA_TO_TX2 = 1<<26, /* Packet Arb Timeout Tx2 */ 262 CHIP_ID_YUKON_LITE = 0xb1, /* Chip ID for YUKON-Lite (Rev. A1-A3) */ 263 CHIP_ID_YUKON_LP = 0xb2, /* Chip ID for YUKON-LP */ 264 CHIP_ID_YUKON_XL = 0xb3, /* Chip ID for YUKON-2 XL */ 265 CHIP_ID_YUKON_EC = 0xb6, /* Chip ID for YUKON-2 EC */ 266 CHIP_ID_YUKON_FE = 0xb7, /* Chip ID for YUKON-2 FE */ [all …]
|
| H A 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 …]
|
| /linux/drivers/staging/rtl8723bs/include/ |
| H A 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 …]
|
| /linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
| H A D | halbtc8821a2ant.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * This file is for RTL8821A Co-exist mechanism 45 struct rtl_priv *rtlpriv = btcoexist->adapter; in btc8821a2ant_bt_rssi_state() 47 u8 bt_rssi_state = coex_sta->pre_bt_rssi_state; in btc8821a2ant_bt_rssi_state() 49 bt_rssi = coex_sta->bt_rssi; in btc8821a2ant_bt_rssi_state() 52 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8821a2ant_bt_rssi_state() 53 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8821a2ant_bt_rssi_state() 79 return coex_sta->pre_bt_rssi_state; in btc8821a2ant_bt_rssi_state() 82 if ((coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_LOW) || in btc8821a2ant_bt_rssi_state() 83 (coex_sta->pre_bt_rssi_state == BTC_RSSI_STATE_STAY_LOW)) { in btc8821a2ant_bt_rssi_state() [all …]
|
| /linux/net/mac80211/ |
| H A 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 - 2023 Intel Corporation 17 #include "driver-ops.h" 26 struct sta_info *sta = file->private_data; \ 28 format_string, sta->fiel 713 PFLAG_RANGE(t,i,n,s,m,off,fmt) link_sta_he_capa_read() argument 720 PFLAG_RANGE_DEFAULT(t,i,n,s,m,off,fmt,a,b) link_sta_he_capa_read() argument [all...] |