/openbmc/linux/drivers/media/platform/verisilicon/ |
H A D | rockchip_vpu2_hw_h264_dec.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * Hertz Wong <hertz.wong@rock-chips.com> 7 * Herman Chen <herman.chen@rock-chips.com> 16 #include <media/v4l2-mem2mem.h> 28 #define VDPU_REG_DEC_E(v) ((v) ? BIT(0) : 0) argument 30 #define VDPU_REG_DEC_ADV_PRE_DIS(v) ((v) ? BIT(11) : 0) argument 31 #define VDPU_REG_DEC_SCMD_DIS(v) ((v) ? BIT(10) : 0) argument 32 #define VDPU_REG_FILTERING_DIS(v) ((v) ? BIT(8) : 0) argument 33 #define VDPU_REG_PIC_FIXED_QUANT(v) ((v) ? BIT(7) : 0) argument 34 #define VDPU_REG_DEC_LATENCY(v) (((v) << 1) & GENMASK(6, 1)) argument [all …]
|
H A D | hantro_g1_mpeg2_dec.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include <media/v4l2-mem2mem.h> 20 #define G1_REG_REFER1_BASE G1_SWREG(15) 25 #define G1_REG_DEC_AXI_RD_ID(v) (((v) << 24) & GENMASK(31, 24)) argument 26 #define G1_REG_DEC_TIMEOUT_E(v) ((v) ? BIT(23) : 0) argument 27 #define G1_REG_DEC_STRSWAP32_E(v) ((v) ? BIT(22) : 0) argument 28 #define G1_REG_DEC_STRENDIAN_E(v) ((v) ? BIT(21) : 0) argument 29 #define G1_REG_DEC_INSWAP32_E(v) ((v) ? BIT(20) : 0) argument 30 #define G1_REG_DEC_OUTSWAP32_E(v) ((v) ? BIT(19) : 0) argument 31 #define G1_REG_DEC_DATA_DISC_E(v) ((v) ? BIT(18) : 0) argument [all …]
|
/openbmc/linux/lib/crypto/ |
H A D | blake2s-generic.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. 20 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }, 21 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 }, 22 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 }, 23 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 }, 24 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 }, 25 { 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9 }, 26 { 12, 5, 1, 15, 14, 13, 4, 10, 0, 7, 6, 3, 9, 2, 8, 11 }, 27 { 13, 11, 7, 14, 12, 1, 3, 9, 5, 0, 15, 4, 8, 6, 2, 10 }, [all …]
|
/openbmc/linux/crypto/ |
H A D | blake2b_generic.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR Apache-2.0) 11 * - CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0 12 * - OpenSSL license : https://www.openssl.org/source/license.html 13 * - Apache 2.0 : https://www.apache.org/licenses/LICENSE-2.0 26 { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 }, 27 { 14, 10, 4, 8, 9, 15, 13, 6, 1, 12, 0, 2, 11, 7, 5, 3 }, 28 { 11, 8, 12, 0, 5, 2, 15, 13, 10, 14, 3, 6, 7, 1, 9, 4 }, 29 { 7, 9, 3, 1, 13, 12, 11, 14, 2, 6, 5, 10, 4, 0, 15, 8 }, 30 { 9, 0, 5, 7, 2, 4, 10, 15, 14, 1, 11, 12, 6, 8, 3, 13 }, 31 { 2, 12, 6, 10, 0, 11, 8, 3, 4, 13, 7, 5, 15, 14, 1, 9 }, [all …]
|
/openbmc/linux/arch/arm/crypto/ |
H A D | blake2s-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 15 // load the words on-demand. 59 // Execute a quarter-round of BLAKE2s by mixing two columns or two diagonals. 61 // columns/diagonals. s0-s1 are the word offsets to the message words the first 62 // column/diagonal needs, and likewise s2-s3 for the second column/diagonal. 113 // Execute one round of BLAKE2s by updating the state matrix v[0..15]. v[0..9] 115 // spilling v[8..9], then to v[9..15], then to the message block. r10-r12 and 116 // r14 are free to use. The macro arguments s0-s15 give the order in which the 132 // (v[0], v[4], v[8], v[12]) and (v[1], v[5], v[9], v[13]). 133 __ldrd r10, r11, sp, 16 // load v[12] and v[13] [all …]
|
H A D | blake2b-neon-core.S | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 29 // M_0-M_3 are occasionally used for other purposes too. 50 // rotation amounts with NEON. (On Cortex-A53 it's the same speed as 51 // vshr.u64 + vsli.u64, while on Cortex-A7 it's faster.) 63 // Execute one round of BLAKE2b by updating the state matrix v[0..15] in the 64 // NEON registers q0-q7. The message block is in q8..q15 (M_0-M_15). The stack 65 // pointer points to a 32-byte aligned buffer containing a copy of q8 and q9 66 // (M_0-M_3), so that they can be reloaded if they are used as temporary 67 // registers. The macro arguments s0-s15 give the order in which the message 73 // (v[0], v[4], v[8], v[12]), (v[1], v[5], v[9], v[13]), [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/fonts/ |
H A D | glyphicons-halflings-regular.svg | 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > 6 <font id="glyphicons_halflingsregular" horiz-adv-x="1200" > 7 <font-face units-per-em="1200" ascent="960" descent="-240" /> 8 <missing-glyph horiz-adv-x="500" /> 9 <glyph horiz-adv-x="0" /> 10 <glyph horiz-adv-x="400" /> 12 …-1.5t30 -3.5l11 -1q10 -2 17.5 -10.5t7.5 -18.5v-224l158 158q7 7 18 8t19 -6l106 -106q7 -8 6 -19t-8 -… 13 …-14.5t14.5 -35.5v-350h350q21 0 35.5 -14.5t14.5 -35.5v-200q0 -21 -14.5 -35.5t-35.5 -14.5h-350v-350q… 15 …-5t-5.5 -13l-364 -364q-6 -6 -11 -18h268q10 0 13 -6t-3 -14l-120 -160q-6 -8 -18 -14t-22 -6h-125v-100… 16 <glyph unicode=" " horiz-adv-x="650" /> [all …]
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A D | regs-scaler.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* drivers/gpu/drm/exynos/regs-scaler.h 56 * 1 70 74 78 7c 150 154 158 15c 127 #define SCALER_MASK(hi_b, lo_b) ((1 << ((hi_b) - (lo_b) + 1)) - 1) 158 #define SCALER_INT_EN_ILLEGAL_DST_CB_BASE (1 << 15) 186 #define SCALER_INT_STATUS_ILLEGAL_DST_CB_BASE (1 << 15) 206 #define SCALER_SRC_CFG_SET_BYTE_SWAP(v) SCALER_SET(v, 6, 5) argument 208 #define SCALER_SRC_CFG_SET_COLOR_FORMAT(v) SCALER_SET(v, 4, 0) argument 222 #define SCALER_L8 15 232 #define SCALER_SRC_SPAN_SET_C_SPAN(v) SCALER_SET(v, 29, 16) argument [all …]
|
/openbmc/linux/drivers/video/fbdev/ |
H A D | atafb_iplan2p8.c | 2 * linux/drivers/video/iplan2p8.c -- Low level frame buffer operations for 53 if (!((sx ^ dx) & 15)) { in atafb_iplan2p8_copyarea() 54 /* odd->odd or even->even */ in atafb_iplan2p8_copyarea() 57 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 58 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea() 59 if (sx & 15) { in atafb_iplan2p8_copyarea() 60 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p8_copyarea() 63 width -= 8; in atafb_iplan2p8_copyarea() 70 l = next_line - w * 4; in atafb_iplan2p8_copyarea() 71 for (j = height; j > 0; j--) { in atafb_iplan2p8_copyarea() [all …]
|
H A D | atafb_iplan2p4.c | 2 * linux/drivers/video/iplan2p4.c -- Low level frame buffer operations for 46 if (!((sx ^ dx) & 15)) { in atafb_iplan2p4_copyarea() 47 /* odd->odd or even->even */ in atafb_iplan2p4_copyarea() 50 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p4_copyarea() 52 if (sx & 15) { in atafb_iplan2p4_copyarea() 53 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p4_copyarea() 56 width -= 8; in atafb_iplan2p4_copyarea() 63 l = next_line - w * 4; in atafb_iplan2p4_copyarea() 64 for (j = height; j > 0; j--) { in atafb_iplan2p4_copyarea() [all …]
|
H A D | valkyriefb.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 8 * Vmode-switching changes and vmode 15/17 modifications created 29 August 13 * Ported to 68k Macintosh by David Huggins-Daines <dhd@debian.org> 20 * pmc-valkyrie.h: Console support for PowerMac "control" display adaptor. 23 * pmc-valkyrie.c: Console support for PowerMac "control" display adaptor. 28 * pmc-control.h: Console support for PowerMac "control" display adaptor. 31 * pmc-control.c: Console support for PowerMac "control" display adaptor. 39 /* Valkyrie registers are word-aligned on m68k */ 101 15, 102 { 11, 28, 3 }, /* pixel clock = 79.55MHz for V=74.50Hz */ [all …]
|
H A D | atafb_iplan2p2.c | 2 * linux/drivers/video/iplan2p2.c -- Low level frame buffer operations for 46 if (!((sx ^ dx) & 15)) { in atafb_iplan2p2_copyarea() 47 /* odd->odd or even->even */ in atafb_iplan2p2_copyarea() 50 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 51 dst = (u8 *)info->screen_base + dy * next_line + (dx & ~15) / (8 / BPL); in atafb_iplan2p2_copyarea() 52 if (sx & 15) { in atafb_iplan2p2_copyarea() 53 memmove32_col(dst, src, 0xff00ff, height, next_line - BPL * 2); in atafb_iplan2p2_copyarea() 56 width -= 8; in atafb_iplan2p2_copyarea() 63 l = next_line - w * 4; in atafb_iplan2p2_copyarea() 64 for (j = height; j > 0; j--) { in atafb_iplan2p2_copyarea() [all …]
|
/openbmc/linux/arch/arm64/crypto/ |
H A D | sha512-ce-core.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * sha512-ce-core.S - core SHA-384/SHA-512 transform using v8 Crypto Extensions 15 .irp b,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19 37 * The SHA-512 round constants 85 ld1 {v\rc1\().2d}, [x4], #16 87 add v5.2d, v\rc0\().2d, v\in0\().2d 88 ext v6.16b, v\i2\().16b, v\i3\().16b, #8 90 ext v7.16b, v\i1\().16b, v\i2\().16b, #8 91 add v\i3\().2d, v\i3\().2d, v5.2d 93 ext v5.16b, v\in3\().16b, v\in4\().16b, #8 [all …]
|
/openbmc/openbmc-test-automation/docs/ |
H A D | code_update.md | 7 [code-update.md](https://github.com/openbmc/docs/blob/master/code-update/code-update.md) 9 - UBI Format 12 https://jenkins.openbmc.org/job/latest-master/ and run as follows: 20 …$ robot -v OPENBMC_HOST:x.x.x.x -v IMAGE_FILE_PATH:<image path>/obmc-phosphor-image-witherspoon.ub… 25 …$ robot -v OPENBMC_HOST:x.x.x.x -v IMAGE_FILE_PATH:<image path>/obmc-phosphor-image-witherspoon.ub… 29 https://openpower.xyz/job/openpower-op-build/ and run as follows: 37 …$ robot -v OPENBMC_HOST:x.x.x.x -v IMAGE_FILE_PATH:<image path>/witherspoon.pnor.squashfs.tar --in… 42 …$ robot -v OPENBMC_HOST:x.x.x.x -v IMAGE_FILE_PATH:<image path>/witherspoon.pnor.squashfs.tar --in… 47 Currently supported BMC and PNOR update formats are UBI and non-UBI. For code 49 [code-update.md](https://github.com/openbmc/docs/blob/master/code-update/code-update.md) [all …]
|
/openbmc/linux/drivers/net/ethernet/altera/ |
H A D | altera_msgdmahw.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 19 * bit 15:0 sequence number 22 * bit 15:0 read stride 39 #define MSGDMA_DESC_CTL_EARLY_IRQ BIT(15) 80 u32 rw_fill_level; /* bit 31:16 - write fill level 81 * bit 15:0 - read fill level 83 u32 resp_fill_level; /* bit 15:0 */ 84 u32 rw_seq_num; /* bit 31:16 - write sequence number 85 * bit 15:0 - read sequence number 105 #define MSGDMA_CSR_STAT_BUSY_GET(v) GET_BIT_VALUE(v, 0) argument [all …]
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | entry.S | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Kernel entry-points. 8 #include <asm/asm-offsets.h> 39 .size \func, . - \func 43 * This defines the normal kernel pt-regs layout. 45 * regs 9-15 preserved by C code 46 * regs 16-18 saved by PAL-code 47 * regs 29-30 saved and set up by PAL-code 48 * JRP - Save regs 16-18 in a special area of the stack, so that 49 * the palcode-provided values are available to the signal handler. [all …]
|
/openbmc/phosphor-host-ipmid/test/message/ |
H A D | pack.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 26 uint8_t v = 4; in TEST() local 27 p.pack(v); in TEST() 29 ASSERT_EQ(p.size(), sizeof(v)); in TEST() 38 uint16_t v = 0x8604; in TEST() local 39 p.pack(v); in TEST() 41 ASSERT_EQ(p.size(), sizeof(v)); in TEST() 50 uint32_t v = 0x02008604; in TEST() local 51 p.pack(v); in TEST() 53 ASSERT_EQ(p.size(), sizeof(v)); in TEST() [all …]
|
H A D | unpack.cpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 25 uint8_t v; in TEST() local 27 ASSERT_EQ(p.unpack(v), 0); in TEST() 32 ASSERT_EQ(v, k); in TEST() 39 uint8_t v; in TEST() local 41 ASSERT_EQ(p.unpack(v), 0); in TEST() 46 ASSERT_EQ(v, k); in TEST() 53 uint8_t v = 0; in TEST() local 55 ASSERT_NE(p.unpack(v), 0); in TEST() 58 // check that v is zero in TEST() [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-omap3/ |
H A D | mem.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * (C) Copyright 2006-2008 5 * Richard Woodruff <r-woodruff2@ti.com> 38 * counter is a result of ( tREFI / tCK ) - 50. 41 #define SDP_3430_SDRC_RFR_CTRL_133MHz 0x0003de01 /* 7.8us/7.5ns - 50=0x3de */ 42 #define SDP_3430_SDRC_RFR_CTRL_165MHz 0x0004e201 /* 7.8us/6ns - 50=0x4e2 */ 43 #define SDP_3430_SDRC_RFR_CTRL_200MHz 0x0005e601 /* 7.8us/5ns - 50=0x5e6 */ 52 /* rkw - need to find of 90/72 degree recommendation for speed like before */ 57 #define ACTIM_CTRLA_TRFC(v) (((v) & 0x1F) << 27) /* 31:27 */ argument 58 #define ACTIM_CTRLA_TRC(v) (((v) & 0x1F) << 22) /* 26:22 */ argument [all …]
|
/openbmc/linux/arch/x86/include/asm/ |
H A D | perf_event_p4.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 * perf-MSRs are not shared and every thread has its 17 * own perf-MSRs set) 21 #define ARCH_P4_MAX_ESCR (ARCH_P4_TOTAL_ESCR - ARCH_P4_RESERVED_ESCR) 25 #define ARCH_P4_CNTRVAL_MASK ((1ULL << ARCH_P4_CNTRVAL_BITS) - 1) 26 #define ARCH_P4_UNFLAGGED_BIT ((1ULL) << (ARCH_P4_CNTRVAL_BITS - 1)) 40 #define P4_ESCR_EVENT(v) ((v) << P4_ESCR_EVENT_SHIFT) argument 41 #define P4_ESCR_EMASK(v) ((v) << P4_ESCR_EVENTMASK_SHIFT) argument 42 #define P4_ESCR_TAG(v) ((v) << P4_ESCR_TAG_SHIFT) argument 62 #define P4_CCCR_THRESHOLD(v) ((v) << P4_CCCR_THRESHOLD_SHIFT) argument [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/sound/ |
H A D | adi,max98396.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ryan Lee <ryans.lee@analog.com> 13 The MAX98396 is a mono Class-DG speaker amplifier with I/V sense. 21 - adi,max98396 22 - adi,max98397 27 avdd-supply: 28 description: A 1.8V supply that powers up the AVDD pin. 30 dvdd-supply: [all …]
|
/openbmc/linux/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (c) 2013-2016 Jens Kuske <jenskuske@gmail.com> 6 * Copyright (C) 2016 Florent Revest <florent.revest@free-electrons.com> 13 #define SHIFT_AND_MASK_BITS(v, h, l) \ argument 14 (((unsigned long)(v) << (l)) & GENMASK(h, l)) 18 * * VLD : Variable-Length Decoder 64 #define VE_PRIMARY_FB_LINE_STRIDE_LUMA(s) SHIFT_AND_MASK_BITS(s, 15, 0) 96 #define VE_DEC_MPEG_MP12HDR_F_CODE_SHIFT(x, y) (24 - 4 * (y) - 8 * (x)) 104 #define VE_DEC_MPEG_MP12HDR_TOP_FIELD_FIRST(v) \ argument 105 ((v) ? BIT(7) : 0) [all …]
|
/openbmc/u-boot/arch/mips/mach-ath79/qca953x/ |
H A D | lowlevel_init.S | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright (C) 2015-2016 Wills Wang <wills.wang@live.com> 21 (((0x3 & (cpudiv - 1)) << 5) | \ 22 ((0x3 & (ddrdiv - 1)) << 10) | \ 23 ((0x3 & (ahbdiv - 1)) << 15) ) 25 #define SET_FIELD(name, v) (((v) & QCA953X_##name##_MASK) << \ argument 28 #define DPLL2_KI(v) SET_FIELD(SRIF_DPLL2_KI, v) argument 29 #define DPLL2_KD(v) SET_FIELD(SRIF_DPLL2_KD, v) argument 33 #define PLL_CPU_NFRAC(v) SET_FIELD(PLL_CPU_CONFIG_NFRAC, v) argument 34 #define PLL_CPU_NINT(v) SET_FIELD(PLL_CPU_CONFIG_NINT, v) argument [all …]
|
/openbmc/linux/sound/ppc/ |
H A D | snd_ps3_reg.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 72 31 24 23 16 15 8 7 0 73 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 75 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 95 31 24 23 16 15 8 7 0 96 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 98 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 105 31 24 23 16 15 8 7 0 106 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ 108 +-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-|-+-+-+-+-+-+-+-+ [all …]
|
/openbmc/u-boot/arch/arm/include/asm/arch-mx6/ |
H A D | crm_regs.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 225 #define MXC_CCM_CCSR_PDF_540M_AUTO_DIS (1 << 15) 411 #define MXC_CCM_CS2CDR_QSPI2_CLK_PODF(v) (((v) & 0x3f) << 21) argument 414 #define MXC_CCM_CS2CDR_QSPI2_CLK_PRED(v) (((v) & 0x7) << 18) argument 415 #define MXC_CCM_CS2CDR_QSPI2_CLK_SEL_MASK (0x7 << 15) 416 #define MXC_CCM_CS2CDR_QSPI2_CLK_SEL_OFFSET 15 417 #define MXC_CCM_CS2CDR_QSPI2_CLK_SEL(v) (((v) & 0x7) << 15) argument 421 #define MXC_CCM_CS2CDR_ENFC_CLK_PODF(v) (((v) & 0x3f) << 21) argument 424 #define MXC_CCM_CS2CDR_ENFC_CLK_PRED(v) (((v) & 0x7) << 18) argument 426 #define MXC_CCM_CS2CDR_ENFC_CLK_SEL_MASK_DQP (0x7 << 15) [all …]
|