/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/openbmc/meta-arm/meta-arm-bsp/wic/ |
H A D | corstone1000-flash-firmware.wks.in | 5 # The entries with --offset parameter should not be relocated 10 part --source empty --size 3k --offset 17k --part-name="reserved_1" --uuid B1F2FC8C-A7A3-4485-87CB-… 12 …--source empty --size 4k --align 4 --offset 20k --part-name="FWU-Metadata" --uuid 3FDFFEE1-3223-4C… 13 …--source empty --size 4k --align 4 --offset 24k --part-name="Bkup-FWU-Metadata" --uuid B3068316-53… 15 …--source empty --size 4k --align 4 --offset 28k --part-name="private_metadata_replica_2" --uuid 3C… 16 …--source empty --size 4k --align 4 --offset 32k --part-name="private_metadata_replica_2" --uuid DC… 18 # The size has to be aligned to TF-M's SE_BL2_PARTITION_SIZE (tfm/platform/ext/target/arm/corstone1… 19 …--source rawcopy --size 144k --sourceparams="file=bl2_signed.bin" --offset 36k --align 4 --part-na… 21 # The size has to be aligned to TF-M's TFM_PARTITION_SIZE (tfm/platform/ext/target/arm/corstone1000… 22 …--source rawcopy --size 320k --sourceparams="file=tfm_s_signed.bin" --align 4 --part-name="tfm_pri… [all …]
|
/openbmc/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 | crct10dif-ce-core.S | 2 // Accelerated CRC-T10DIF using arm64 NEON and Crypto Extensions instructions 14 // Implement fast CRC-T10DIF computation with SSE and PCLMULQDQ instructions 62 // /white-papers/fast-crc-computation-generic-polynomials-pclmulqdq-paper.pdf 69 .arch armv8-a+crypto 112 ushr k00_16.2d, k32_48.2d, #32 136 ext t4.8b, ad.8b, ad.8b, #1 // A1 137 ext t5.8b, ad.8b, ad.8b, #2 // A2 138 ext t6.8b, ad.8b, ad.8b, #3 // A3 146 pmull t3.8h, ad.8b, bd4.8b // K = A*B4 160 pmull2 t3.8h, ad.16b, bd4.16b // K = A*B4 [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 …]
|
/openbmc/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 | 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 …]
|
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 …]
|
/openbmc/linux/drivers/tty/serial/8250/ |
H A D | 8250_pnp.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Probe for 8250/16550-type ISAPNP serial ports. 9 * Ported to the Linux PnP Layer - (C) Adam Belay. 38 /* Actiontec ISA PNP 56K X2 Fax Modem */ 40 /* Rockwell 56K ACF II Fax+Data+Voice Modem */ 44 * Native driver (ali-ircc) is broken so at least 45 * it can be used with irtty-sir. 53 /* Boca Complete Ofc Communicator 14.4 Data-FAX */ 60 /* EuroViVa CommCenter-33.6 SP PnP */ 67 /* Davicom ISA 33.6K Modem */ [all …]
|
/openbmc/linux/arch/riscv/include/asm/ |
H A D | hwcap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <asm/alternative-macros.h> 16 #define RISCV_ISA_EXT_a ('a' - 'a') 17 #define RISCV_ISA_EXT_b ('b' - 'a') 18 #define RISCV_ISA_EXT_c ('c' - 'a') 19 #define RISCV_ISA_EXT_d ('d' - 'a') 20 #define RISCV_ISA_EXT_f ('f' - 'a') 21 #define RISCV_ISA_EXT_h ('h' - 'a') 22 #define RISCV_ISA_EXT_i ('i' - 'a') 23 #define RISCV_ISA_EXT_j ('j' - 'a') [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/qemu/hw/display/ |
H A D | qxl.c | 29 #include "qemu/main-loop.h" 31 #include "hw/qdev-properties.h" 40 uint32_t cons = (r)->cons & SPICE_RING_INDEX_MASK(r); \ 41 if (cons >= ARRAY_SIZE((r)->items)) { \ 43 "%u >= %zu", cons, ARRAY_SIZE((r)->items)); \ 46 ret = &(r)->items[cons].el; \ 51 #define ALIGN(a, b) (((a) + ((b) - 1)) & ~((b) - 1)) 67 QXL_MODE(x_res, y_res, 32, orientation) 109 /* these modes need more than 32 MB video memory */ 110 QXL_MODE_EX(3840, 2160), /* 4k mainstream */ [all …]
|
/openbmc/linux/net/netfilter/ipset/ |
H A D | ip_set_hash_gen.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 21 lockdep_is_held(&(set)->lock)) 35 * read-locked, so the only possible concurrent operations are 45 #define AHASH_MAX(h) ((h)->bucketsize) 62 : jhash_size((htable_bits) - HTABLE_REGION_BITS)) 86 struct ip_set_region *hregion; /* Region locks and ext sizes */ 90 #define hbucket(h, i) ((h)->bucket[i]) 98 /* Book-keeping of the prefixes added to the set */ 114 if ((INT_MAX - sizeof(struct htable)) / sizeof(struct hbucket *) in htable_size() 130 #define NCIDR_GET(cidr) ((cidr) - 1) [all …]
|
/openbmc/u-boot/drivers/ddr/marvell/a38x/ |
H A D | ddr3_training_db.c | 1 // SPDX-License-Identifier: GPL-2.0 65 /* DDR3-800D */ 67 /* DDR3-800E */ 69 /* DDR3-1066E */ 71 /* DDR3-1066F */ 73 /* DDR3-1066G */ 75 /* DDR3-1333F* */ 77 /* DDR3-1333G */ 79 /* DDR3-1333H */ 81 /* DDR3-1333J* */ [all …]
|
/openbmc/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 …]
|
/openbmc/linux/drivers/misc/mei/ |
H A D | hw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (c) 2003-2022, Intel Corporation. All rights reserved 185 * enum mei_hbm_status - mei host bus messages return values 233 * enum mei_ext_hdr_type - extended header type used in 247 * struct mei_ext_hdr - extend header descriptor (TLV) 259 * struct mei_ext_meta_hdr - extend header meta data 273 * struct mei_ext_hdr_vtag - extend header for vtag 289 * mei_ext_begin - extended header iterator begin 297 return (struct mei_ext_hdr *)meta->hdrs; in mei_ext_begin() 301 * mei_ext_last - check if the ext is the last one in the TLV list [all …]
|
/openbmc/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> 62 #define MAP_PAGE_ENTRIES (PAGE_SIZE / sizeof(sector_t) - 1) 69 return nr_free_pages() - nr_free_highpages(); in low_free_pages() 93 * a file-alike way 101 unsigned int k; member 107 char reserved[PAGE_SIZE - 20 - sizeof(sector_t) - sizeof(int) - 108 sizeof(u32) - sizeof(u32)]; 136 struct swsusp_extent *ext; in swsusp_extents_insert() local [all …]
|