/openbmc/qemu/tests/qemu-iotests/ |
H A D | 142.out | 8 Testing: -drive file=TEST_DIR/t.qcow2,cache=none 9 QEMU X.Y.Z monitor - type 'help' for more information 12 Testing: -drive file=TEST_DIR/t.qcow2,cache=directsync 13 QEMU X.Y.Z monitor - type 'help' for more information 16 Testing: -drive file=TEST_DIR/t.qcow2,cache=writeback 17 QEMU X.Y.Z monitor - type 'help' for more information 20 Testing: -drive file=TEST_DIR/t.qcow2,cache=writethrough 21 QEMU X.Y.Z monitor - type 'help' for more information 24 Testing: -drive file=TEST_DIR/t.qcow2,cache=unsafe 25 QEMU X.Y.Z monitor - type 'help' for more information [all …]
|
/openbmc/u-boot/board/BuR/brppt1/ |
H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com 20 {OFFSET(uart0_rtsn), (MODE(0) | PULLUDEN)}, 22 {OFFSET(uart0_ctsn), (MODE(0) | PULLUDEN | PULLUP_EN | RXACTIVE)}, 24 {OFFSET(uart0_rxd), (MODE(0) | PULLUDEN | PULLUP_EN | RXACTIVE)}, 26 {OFFSET(uart0_txd), (MODE(0) | PULLUDEN)}, 27 {-1}, 30 /* UART1_RTS as I2C2-SCL */ 31 {OFFSET(uart1_rtsn), (MODE(3) | PULLUDEN | PULLUP_EN | RXACTIVE)}, 32 /* UART1_CTS as I2C2-SDA */ [all …]
|
/openbmc/u-boot/board/bosch/shc/ |
H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 21 {OFFSET(uart0_rxd), (MODE(0) | PULLUDEN | RXACTIVE)}, /* UART0_RXD */ 22 {OFFSET(uart0_txd), (MODE(0) | PULLUDDIS)}, /* UART0_TXD */ 23 {OFFSET(uart0_ctsn), (MODE(0) | PULLUDEN | RXACTIVE)}, /* UART0_CTS */ 24 {OFFSET(uart0_rtsn), (MODE(0) | PULLUDDIS)}, /* UART0_RTS */ 25 {-1}, 29 {OFFSET(uart1_rxd), (MODE(0) | PULLUDDIS | RXACTIVE)}, /* UART1_RXD */ 30 {OFFSET(uart1_txd), (MODE(0) | PULLUDDIS)}, /* UART1_TXD */ 31 {OFFSET(uart1_ctsn), (MODE(0) | PULLUDEN | RXACTIVE)}, /* UART1_CTS */ [all …]
|
/openbmc/u-boot/board/BuR/brxre1/ |
H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com 20 {OFFSET(spi0_sclk), MODE(0) | PULLUDEN | RXACTIVE}, 22 {OFFSET(spi0_d0), MODE(0) | PULLUDEN | RXACTIVE}, 24 {OFFSET(spi0_d1), MODE(0) | PULLUDEN | RXACTIVE}, 26 {OFFSET(spi0_cs0), MODE(0) | PULLUDEN | PULLUP_EN | RXACTIVE}, 28 {OFFSET(spi0_cs1), MODE(0) | PULLUDEN | PULLUP_EN | RXACTIVE}, 29 {-1}, 34 {OFFSET(uart1_ctsn), MODE(2) | PULLUDEN | PULLUP_EN}, 36 {OFFSET(uart1_rtsn), MODE(2) | RXACTIVE}, [all …]
|
/openbmc/u-boot/board/ti/ks2_evm/ |
H A D | mux-k2g.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 11 #include <asm/arch/mux-k2g.h> 17 { 115, MODE(0) }, /* SOC_UART0_RXD */ 18 { 116, MODE(0) }, /* SOC_UART0_TXD */ 21 { 223, MODE(0) }, /* SOC_I2C0_SCL */ 22 { 224, MODE(0) }, /* SOC_I2C0_SDA */ 25 { 225, MODE(0) }, /* SOC_I2C1_SCL */ 26 { 226, MODE(0) }, /* SOC_I2C1_SDA */ 32 { 0, MODE(0) }, /* GPMCAD0 */ 33 { 1, MODE(0) }, /* GPMCAD1 */ [all …]
|
/openbmc/linux/drivers/gpu/drm/tests/ |
H A D | drm_cmdline_parser_test.c | 1 // SPDX-License-Identifier: GPL-2.0 16 struct drm_cmdline_mode mode = { }; in drm_test_cmdline_force_e_only() local 20 &no_connector, &mode)); in drm_test_cmdline_force_e_only() 21 KUNIT_EXPECT_FALSE(test, mode.specified); in drm_test_cmdline_force_e_only() 22 KUNIT_EXPECT_FALSE(test, mode.refresh_specified); in drm_test_cmdline_force_e_only() 23 KUNIT_EXPECT_FALSE(test, mode.bpp_specified); in drm_test_cmdline_force_e_only() 25 KUNIT_EXPECT_FALSE(test, mode.rb); in drm_test_cmdline_force_e_only() 26 KUNIT_EXPECT_FALSE(test, mode.cvt); in drm_test_cmdline_force_e_only() 27 KUNIT_EXPECT_FALSE(test, mode.interlace); in drm_test_cmdline_force_e_only() 28 KUNIT_EXPECT_FALSE(test, mode.margins); in drm_test_cmdline_force_e_only() [all …]
|
/openbmc/u-boot/drivers/video/ |
H A D | ati_radeon_fb.c | 1 // SPDX-License-Identifier: GPL-2.0+ 47 & ~RADEON_BUFFER_ALIGN) - 1) 48 #define RADEON_CRT_PITCH(width, bpp) ((((width) * (bpp) + ((bpp) * 8 - 1)) / ((bpp) * 8)) | \ 49 ((((width) * (bpp) + ((bpp) * 8 - 1)) / ((bpp) * 8)) << 16)) 52 (((((htotal) / 8) - 1) & 0x3ff) | (((((hdisp) / 8) - 1) & 0x1ff) << 16)) 56 ((((vtotal) - 1) & 0xffff) | (((vdisp) - 1) << 16)) 58 ((((vsync_srtr) - 1) & 0xfff) | (((vsync_wid) & 0x1f) << 16)) 110 if ((rinfo->family == CHIP_FAMILY_RS100) || in radeon_identify_vram() 111 (rinfo->family == CHIP_FAMILY_RS200) || in radeon_identify_vram() 112 (rinfo->family == CHIP_FAMILY_RS300)) { in radeon_identify_vram() [all …]
|
/openbmc/linux/sound/soc/codecs/ |
H A D | wcd-clsh-v2.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2015-2016, The Linux Foundation. All rights reserved. 3 // Copyright (c) 2017-2018, Linaro Limited 10 #include "wcd-clsh-v2.h" 14 int mode; member 22 /* Class-H registers for codecs from and above WCD9335 */ 122 struct snd_soc_component *comp = ctrl->comp; in wcd_enable_clsh_block() 124 if ((enable && ++ctrl->clsh_users == 1) || in wcd_enable_clsh_block() 125 (!enable && --ctrl->clsh_users == 0)) in wcd_enable_clsh_block() 129 if (ctrl->clsh_users < 0) in wcd_enable_clsh_block() [all …]
|
/openbmc/u-boot/board/siemens/rut/ |
H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * u-boot:/board/ti/am335x/mux.c 11 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 22 {OFFSET(uart0_rxd), (MODE(0) | PULLUDDIS | RXACTIVE)}, /* UART0_RXD */ 23 {OFFSET(uart0_txd), (MODE(0) | PULLUDDIS)}, /* UART0_TXD */ 24 {-1}, 28 {OFFSET(ddr_resetn), (MODE(0))}, 29 {OFFSET(ddr_csn0), (MODE(0) | PULLUP_EN)}, 30 {OFFSET(ddr_ck), (MODE(0))}, 31 {OFFSET(ddr_nck), (MODE(0))}, [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_xdp_redirect_multi.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # - - - - - - - - - - - - - - - - - - - 7 # - -| - - - - - - | - - - - - - | - - 8 # --------- --------- --------- 10 # --------- --------- --------- 19 # ns1 -> gw: ns1, ns2, ns3, should receive the arp request 22 # ns1 -> gw: ns1 should not receive, ns2, ns3 should receive redirects. 24 # ping test: ns1 -> ns2 (block), echo requests will be redirect back 34 LOG_DIR=$(mktemp -d) 35 declare -a NS [all …]
|
/openbmc/linux/drivers/gpu/drm/ |
H A D | drm_modes.c | 2 * Copyright © 1997-2003 by The XFree86 Project, Inc. 4 * Copyright © 2007-2008 Intel Corporation 6 * Copyright 2005-2006 Luc Verhaegen 53 * drm_mode_debug_printmodeline - print a mode to dmesg 54 * @mode: mode to print 56 * Describe @mode using DRM_DEBUG. 58 void drm_mode_debug_printmodeline(const struct drm_display_mode *mode) in drm_mode_debug_printmodeline() argument 60 DRM_DEBUG_KMS("Modeline " DRM_MODE_FMT "\n", DRM_MODE_ARG(mode)); in drm_mode_debug_printmodeline() 65 * drm_mode_create - create a new display mode 72 * Pointer to new mode on success, NULL on error. [all …]
|
/openbmc/u-boot/board/siemens/pxm2/ |
H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 9 * u-boot:/board/ti/am335x/mux.c 11 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 23 {OFFSET(uart0_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* UART0_RXD */ 24 {OFFSET(uart0_txd), (MODE(0) | PULLUDEN)}, /* UART0_TXD */ 25 {OFFSET(nnmi), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* UART0_TXD */ 26 {-1}, 31 {OFFSET(gpmc_ad0), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* NAND AD0 */ 32 {OFFSET(gpmc_ad1), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* NAND AD1 */ 33 {OFFSET(gpmc_ad2), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* NAND AD2 */ [all …]
|
/openbmc/linux/Documentation/driver-api/usb/ |
H A D | typec_bus.rst | 2 API for USB Type-C Alternate Mode drivers 6 ------------ 9 Messages (VDM) as defined in USB Type-C and USB Power Delivery Specifications. 11 every alternate mode, so every alternate mode will need a custom driver. 13 USB Type-C bus allows binding a driver to the discovered partner alternate 14 modes by using the SVID and the mode number. 16 :ref:`USB Type-C Connector Class <typec>` provides a device for every alternate 17 mode a port supports, and separate device for every alternate mode the partner 19 mode devices, and the port alternate mode devices must be handled by the port 22 When a new partner alternate mode device is registered, it is linked to the [all …]
|
/openbmc/linux/arch/x86/boot/ |
H A D | video-mode.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* -*- linux-c -*- ------------------------------------------------------- * 5 * Copyright 2007-2008 rPath, Inc. - All Rights Reserved 7 * ----------------------------------------------------------------------- */ 10 * arch/i386/boot/video-mode.c 12 * Set the video mode. This is separated out into a different 27 int do_restore; /* Screen contents changed during mode flip */ 28 int graphic_mode; /* Graphic mode with linear frame buffer */ 30 /* Probe the video drivers and have them generate their mode lists. */ 42 if (card->unsafe == unsafe) { in probe_cards() [all …]
|
/openbmc/u-boot/board/compulab/cm_t43/ |
H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 12 {OFFSET(mii1_txen), MODE(2)}, 13 {OFFSET(mii1_txd3), MODE(2)}, 14 {OFFSET(mii1_txd2), MODE(2)}, 15 {OFFSET(mii1_txd1), MODE(2)}, 16 {OFFSET(mii1_txd0), MODE(2)}, 17 {OFFSET(mii1_txclk), MODE(2)}, 18 {OFFSET(mii1_rxdv), MODE(2) | RXACTIVE | PULLDOWN_EN}, 19 {OFFSET(mii1_rxclk), MODE(2) | RXACTIVE | PULLDOWN_EN}, 20 {OFFSET(mii1_rxd3), MODE(2) | RXACTIVE | PULLDOWN_EN}, [all …]
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | svga.rst | 4 Video Mode Selection Support 2.13 7 :Copyright: |copy| 1995--1999 Martin Mares, <mj@ucw.cz> 12 This small document describes the "Video Mode Selection" feature which 21 enter ``scan`` on the video mode prompt, pick the mode you want to use, 22 remember its mode ID (the four-digit hexadecimal number) and then 25 The video mode to be used is selected by a kernel parameter which can be 31 NORMAL_VGA - Standard 80x25 mode available on all display adapters. 33 EXTENDED_VGA - Standard 8-pixel font mode: 80x43 on EGA, 80x50 on VGA. 35 ASK_VGA - Display a video mode menu upon startup (see below). 37 0..35 - Menu item number (when you have used the menu to view the list of [all …]
|
/openbmc/u-boot/board/compulab/cm_t335/ |
H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Pinmux configuration for Compulab CM-T335 board 5 * Copyright (C) 2013, Compulab Ltd - http://compulab.co.il/ 17 {OFFSET(uart0_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)}, 18 {OFFSET(uart0_txd), (MODE(0) | PULLUDEN)}, 19 {-1}, 23 {OFFSET(uart1_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)}, 24 {OFFSET(uart1_txd), (MODE(0) | PULLUDEN)}, 25 {OFFSET(uart1_ctsn), (MODE(0) | PULLUP_EN | RXACTIVE)}, 26 {OFFSET(uart1_rtsn), (MODE(0) | PULLUDEN)}, [all …]
|
/openbmc/u-boot/board/birdland/bav335x/ |
H A D | mux.c | 4 * Copyright (c) 2012-2014 Birdland Audio - http://birdland.com/oem 5 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 26 {OFFSET(uart0_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* UART0_RXD */ 27 {OFFSET(uart0_txd), (MODE(0) | PULLUDEN)}, /* UART0_TXD */ 28 {-1}, 32 {OFFSET(uart1_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* UART1_RXD */ 33 {OFFSET(uart1_txd), (MODE(0) | PULLUDEN)}, /* UART1_TXD */ 34 {-1}, 38 {OFFSET(spi0_sclk), (MODE(1) | PULLUP_EN | RXACTIVE)}, /* UART2_RXD */ 39 {OFFSET(spi0_d0), (MODE(1) | PULLUDEN)}, /* UART2_TXD */ [all …]
|
/openbmc/u-boot/board/ti/am335x/ |
H A D | mux.c | 4 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 26 {OFFSET(uart0_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* UART0_RXD */ 27 {OFFSET(uart0_txd), (MODE(0) | PULLUDEN)}, /* UART0_TXD */ 28 {-1}, 32 {OFFSET(uart1_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* UART1_RXD */ 33 {OFFSET(uart1_txd), (MODE(0) | PULLUDEN)}, /* UART1_TXD */ 34 {-1}, 38 {OFFSET(spi0_sclk), (MODE(1) | PULLUP_EN | RXACTIVE)}, /* UART2_RXD */ 39 {OFFSET(spi0_d0), (MODE(1) | PULLUDEN)}, /* UART2_TXD */ 40 {-1}, [all …]
|
/openbmc/linux/drivers/phy/hisilicon/ |
H A D | phy-histb-combphy.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2016-2017 HiSilicon Co., Ltd. http://www.hisilicon.com 21 #include <dt-bindings/phy/phy.h> 50 struct histb_combphy_mode mode; member 56 void __iomem *reg = priv->mmio + COMBPHY_CFG_REG; in nano_register_write() 74 static int is_mode_fixed(struct histb_combphy_mode *mode) in is_mode_fixed() argument 76 return (mode->fixed != PHY_NONE) ? true : false; in is_mode_fixed() 81 struct histb_combphy_mode *mode = &priv->mode; in histb_combphy_set_mode() local 82 struct regmap *syscon = priv->syscon; in histb_combphy_set_mode() 85 if (is_mode_fixed(mode)) in histb_combphy_set_mode() [all …]
|
/openbmc/linux/drivers/net/wireless/ath/ath5k/ |
H A D | eeprom.c | 2 * Copyright (c) 2004-2008 Reyk Floeter <reyk@openbsd.org> 3 * Copyright (c) 2006-2009 Nick Kossifidis <mickflemm@gmail.com> 4 * Copyright (c) 2008-2009 Felix Fietkau <nbd@openwrt.org> 41 unsigned int mode) in ath5k_eeprom_bin2freq() argument 48 if (mode == AR5K_EEPROM_MODE_11A) { in ath5k_eeprom_bin2freq() 49 if (ee->ee_version > AR5K_EEPROM_VERSION_3_2) in ath5k_eeprom_bin2freq() 52 val = bin > 62 ? (10 * 62) + (5 * (bin - 62)) + 5100 : in ath5k_eeprom_bin2freq() 55 if (ee->ee_version > AR5K_EEPROM_VERSION_3_2) in ath5k_eeprom_bin2freq() 75 struct ath5k_eeprom_info *ee = &ah->ah_capabilities.cap_eeprom; in ath5k_eeprom_init_header() 89 if (ah->ah_ee_version < AR5K_EEPROM_VERSION_3_0) in ath5k_eeprom_init_header() [all …]
|
/openbmc/qemu/hw/display/ |
H A D | bochs-display.c | 5 * See the COPYING file in the top-level directory. 12 #include "hw/qdev-properties.h" 14 #include "hw/display/bochs-vbe.h" 20 #include "ui/qemu-pixman.h" 56 BochsDisplayMode mode; member 59 #define TYPE_BOCHS_DISPLAY "bochs-display" 63 .name = "bochs-display", 82 return s->vgamem / (64 * KiB); in bochs_display_vbe_read() 85 if (index >= ARRAY_SIZE(s->vbe_regs)) { in bochs_display_vbe_read() 86 return -1; in bochs_display_vbe_read() [all …]
|
/openbmc/u-boot/board/ti/am43xx/ |
H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ 15 {OFFSET(mii1_txen), MODE(1)}, /* RMII1_TXEN */ 16 {OFFSET(mii1_txd1), MODE(1)}, /* RMII1_TD1 */ 17 {OFFSET(mii1_txd0), MODE(1)}, /* RMII1_TD0 */ 18 {OFFSET(mii1_rxd1), MODE(1) | RXACTIVE}, /* RMII1_RD1 */ 19 {OFFSET(mii1_rxd0), MODE(1) | RXACTIVE}, /* RMII1_RD0 */ 20 {OFFSET(mii1_rxdv), MODE(1) | RXACTIVE}, /* RMII1_RXDV */ 21 {OFFSET(mii1_crs), MODE(1) | RXACTIVE}, /* RMII1_CRS_DV */ 22 {OFFSET(mii1_rxerr), MODE(1) | RXACTIVE}, /* RMII1_RXERR */ [all …]
|
/openbmc/u-boot/board/tcl/sl50/ |
H A D | mux.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2011, Texas Instruments, Incorporated - http://www.ti.com/ 17 {OFFSET(uart0_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* UART0_RXD */ 18 {OFFSET(uart0_txd), (MODE(0) | PULLUDEN)}, /* UART0_TXD */ 19 {-1}, 23 {OFFSET(uart1_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* UART1_RXD */ 24 {OFFSET(uart1_txd), (MODE(0) | PULLUDEN)}, /* UART1_TXD */ 25 {-1}, 29 {OFFSET(spi0_sclk), (MODE(1) | PULLUP_EN | RXACTIVE)}, /* UART2_RXD */ 30 {OFFSET(spi0_d0), (MODE(1) | PULLUDEN)}, /* UART2_TXD */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | reboot-mode.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/reboot-mode.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Generic reboot mode core map 10 - Andy Yan <andy.yan@rock-chips.com> 13 This driver get reboot mode arguments and call the write 18 All mode properties are vendor specific, it is a indication to tell 20 as mode-xxx = <magic> (xxx is mode name, magic should be a non-zero value). 23 - normal: Normal reboot mode, system reboot with command "reboot". [all …]
|