/linux/Documentation/devicetree/bindings/clock/ |
H A D | amlogic,gxbb-aoclkc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/amlogic,gxbb-aoclkc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Amlogic Always-On Clock Controller 10 - Neil Armstrong <neil.armstrong@linaro.org> 15 - items: 16 - enum: 17 - amlogic,meson-gxbb-aoclkc 18 - amlogic,meson-gxl-aoclkc [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 …]
|
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 …]
|
/linux/drivers/clk/sunxi-ng/ |
H A D | ccu-sun6i-rtc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/clk-provider.h> 14 #include <linux/clk/sunxi-ng.h> 22 #include "ccu-sun6i-rtc.h" 35 #define IOSC_32K_PRE_DIV 32 84 u32 reg = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_recalc_rate() 88 * (fixed-point divider * 32768) into bit zero. in ccu_iosc_recalc_rate() 91 return reg >> (IOSC_CLK_CALI_DIV_ONES - LOSC_RATE_SHIFT); in ccu_iosc_recalc_rate() 125 val = readl(cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_prepare() 127 cm->base + IOSC_CLK_CALI_REG); in ccu_iosc_32k_prepare() [all …]
|
/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 | 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 …]
|
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", 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", 37 static CLK_FIXED_FACTOR(fac_rco_25m, "rco-25m", "ext-rc0-100m", [all …]
|
/linux/arch/arm64/crypto/ |
H A D | sm3-neon-core.S | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sm3-neon-core.S - SM3 secure hash using NEON instructions 28 #define STACK_W_SIZE (32 * 2 * 3) 92 ror o, a, #(32 - n); 121 #define R(i, a, b, c, d, e, f, g, h, k, K_LOAD, round, widx, wtype, IOP, iop_param) \ argument 128 add k, k, e; \ 133 add k, k, t0; \ 137 rolw(k, k, 7); /* rol (t0 + e + t), 7) => k */ \ 139 add h, h, k; /* h + w1 + k => h */ \ 142 eor t0, t0, k; /* k ^ t0 => t0 */ \ [all …]
|
H A D | ghash-ce-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2014 - 2018 Linaro Ltd. <ard.biesheuvel@linaro.org> 61 .arch armv8-a+crypto 72 ext t3.8b, \ad\().8b, \ad\().8b, #1 // A1 73 ext t5.8b, \ad\().8b, \ad\().8b, #2 // A2 74 ext t7.8b, \ad\().8b, \ad\().8b, #3 // A3 106 pmull\t t9.8h, \ad, \b4\().\nb // K = A*B4 124 // t9 = (K) (P6 + P7) << 32 136 ext t3.16b, t3.16b, t3.16b, #15 137 ext t5.16b, t5.16b, t5.16b, #14 [all …]
|
H A D | sm4-ce-gcm-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * SM4-GCM AEAD Algorithm using ARMv8 Crypto Extensions 14 #include "sm4-ce-asm.h" 16 .arch armv8-a+crypto 37 * output: r0:r1 (low 128-bits in r0, high in r1) 40 ext T0.16b, m1.16b, m1.16b, #8; \ 46 ext T1.16b, RZERO.16b, T0.16b, #8; \ 47 ext T0.16b, T0.16b, RZERO.16b, #8; \ 55 ext T0.16b, m1.16b, m1.16b, #8; \ 56 ext T2.16b, m3.16b, m3.16b, #8; \ [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 | 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 | 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 | 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 …]
|
H A 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 …]
|
/linux/arch/m68k/fpsp040/ |
H A D | bindec.S | 12 | value in memory; d0 contains the k-factor sign-extended 13 | to 32-bits. The input may be either normalized, 18 | Saves and Modifies: D2-D7,A2,FP2 22 | A1. Set RM and size ext; Set SIGMA = sign of input. 23 | The k-factor is saved for use in d7. Clear the 45 | k-factor can dictate either the total number of digits, 67 | A9. Scale X -> Y. 74 | compensated for by 'or-ing' in the INEX2 flag to 77 | A11. Restore original FPCR; set size ext. 87 | or less than LEN -1 digits, adjust ILOG and repeat from [all …]
|
/linux/drivers/clk/meson/ |
H A D | gxbb-aoclk.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 9 #include "meson-aoclk.h" 11 #include "clk-regmap.h" 12 #include "clk-dualdiv.h" 14 #include <dt-bindings/clock/gxbb-aoclkc.h> 15 #include <dt-bindings/reset/gxbb-aoclkc.h> 36 .fw_name = "mpeg-clk", \ 170 { .fw_name = "ext-32k-0", }, 171 { .fw_name = "ext-32k-1", }, 172 { .fw_name = "ext-32k-2", }, [all …]
|
/linux/arch/riscv/kernel/ |
H A D | cpufeature.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 #include <asm/text-patching.h> 30 #define NUM_ALPHA_EXTS ('z' - 'a' + 1) 39 /* Per-cpu ISA extensions. */ 43 * riscv_isa_extension_base() - Get base extension word 59 * __riscv_isa_extension_available() - Check whether given extension 83 pr_err("Zicbom detected in ISA string, disabling as no cbom-block-size found\n"); in riscv_ext_zicbom_validate() 84 return -EINVAL; in riscv_ext_zicbom_validate() 87 pr_err("Zicbom disabled as cbom-block-size present, but is not a power-of-2\n"); in riscv_ext_zicbom_validate() 88 return -EINVAL; in riscv_ext_zicbom_validate() [all …]
|
/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_gen.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 22 lockdep_is_held(&(set)->lock)) 36 * read-locked, so the only possible concurrent operations are 46 #define AHASH_MAX(h) ((h)->bucketsize) 63 : jhash_size((htable_bits) - HTABLE_REGION_BITS)) 87 struct ip_set_region *hregion; /* Region locks and ext sizes */ 91 #define hbucket(h, i) ((h)->bucket[i]) 99 /* Book-keeping of the prefixes added to the set */ 115 if ((INT_MAX - sizeof(struct htable)) / sizeof(struct hbucket *) in htable_size() 131 #define NCIDR_GET(cidr) ((cidr) - 1) [all …]
|
/linux/arch/arm64/kernel/vdso/ |
H A D | vgetrandom-chacha.S | 1 // SPDX-License-Identifier: GPL-2.0 27 * number of blocks of output with nonce 0, taking an input key and 8-bytes 30 * This implementation avoids d8-d15 because they are callee-save in user 39 * x1: 32-byte key input 40 * x2: 8-byte counter input/output 41 * x3: number of 64-byte block to write to output 45 /* copy0 = "expand 32-byte k" */ 69 * Permute one 64-byte block where the state matrix is stored in the four NEON 70 * registers state0-state3. It performs matrix operations on four words in parallel, 99 ext state1.16b, state1.16b, state1.16b, #4 [all …]
|
/linux/net/netfilter/ |
H A D | nf_conntrack_h323_asn1.c | 1 // SPDX-License-Identifier: GPL-2.0-only 60 /* #define BITS 1-8 */ 71 #define EXT 4 macro 100 #define INC_BIT(bs) if((++(bs)->bit)>7){(bs)->cur++;(bs)->bit=0;} 101 #define INC_BITS(bs,b) if(((bs)->bit+=(b))>7){(bs)->cur+=(bs)->bit>>3;(bs)->bit&=7;} 102 #define BYTE_ALIGN(bs) if((bs)->bit){(bs)->cur++;(bs)->bit=0;} 154 v = *bs->cur++; in get_len() 159 v += *bs->cur++; in get_len() 167 bits += bs->bit; in nf_h323_error_boundary() 172 if (bs->cur + bytes > bs->end) in nf_h323_error_boundary() [all …]
|
/linux/kernel/power/ |
H A D | swap.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 1998,2001-2005 Pavel Machek <pavel@ucw.cz> 10 * Copyright (C) 2010-2012 Bojan Smojver <bojan@rexursive.com> 61 #define MAP_PAGE_ENTRIES (PAGE_SIZE / sizeof(sector_t) - 1) 68 return nr_free_pages() - nr_free_highpages(); in low_free_pages() 92 * a file-alike way 100 unsigned int k; member 106 char reserved[PAGE_SIZE - 20 - sizeof(sector_t) - sizeof(int) - 107 sizeof(u32) - sizeof(u32)]; 135 struct swsusp_extent *ext; in swsusp_extents_insert() local [all …]
|
/linux/drivers/comedi/drivers/ |
H A D | rtd520.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * COMEDI - Linux Control and Measurement Device Interface 13 * Devices: [Real Time Devices] DM7520HR-1 (DM7520), DM7520HR-8, 14 * PCI4520 (PCI4520), PCI4520-8 16 * Status: Works. Only tested on DM7520-8. Not SMP safe. 24 * The PCI4520 is a PCI card. The DM7520 is a PC/104-plus card. 40 * These boards can support external multiplexors and multi-board 71 * Analog-In supports instruction and command mode. 73 * With DMA, you can sample at 1.15Mhz with 70% idle on a 400Mhz K6-2 74 * (single channel, 64K read buffer). I get random system lockups when [all …]
|
/linux/tools/perf/util/bpf_skel/ |
H A D | sample_filter.bpf.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 #include "sample-filter.h" 66 mem_snoopx:2, /* snoop mode, ext */ 77 struct perf_sample_data___new *data = (void *)kctx->data; in perf_get_sample() 79 if (!bpf_core_field_exists(data->sample_flags)) in perf_get_sample() 83 _Static_assert((1 << (PBF_TERM_##x - PBF_TERM_SAMPLE_START)) == PERF_SAMPLE_##x, \ in perf_get_sample() 103 if (entry->term >= PBF_TERM_SAMPLE_START && entry->term <= PBF_TERM_SAMPLE_END && in perf_get_sample() 104 (data->sample_flags & (1 << (entry->term - PBF_TERM_SAMPLE_START))) == 0) in perf_get_sample() 107 switch (entry->term) { in perf_get_sample() 109 return kctx->data->ip; in perf_get_sample() [all …]
|
/linux/Documentation/devicetree/bindings/rtc/ |
H A D | allwinner,sun6i-a31-rtc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/rtc/allwinner,sun6i-a31-rtc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Chen-Yu Tsai <wens@csie.org> 11 - Maxime Ripard <mripard@kernel.org> 14 "#clock-cells": 19 - enum: 20 - allwinner,sun6i-a31-rtc 21 - allwinner,sun8i-a23-rtc [all …]
|