| /OK3568_Linux_fs/kernel/drivers/gpu/drm/selftests/ |
| H A D | test-drm_cmdline_parser.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include "test-drm_modeset_common.h" 22 struct drm_cmdline_mode mode = { }; in drm_cmdline_test_force_e_only() local 26 &mode)); in drm_cmdline_test_force_e_only() 27 FAIL_ON(mode.specified); in drm_cmdline_test_force_e_only() 28 FAIL_ON(mode.refresh_specified); in drm_cmdline_test_force_e_only() 29 FAIL_ON(mode.bpp_specified); in drm_cmdline_test_force_e_only() 31 FAIL_ON(mode.rb); in drm_cmdline_test_force_e_only() 32 FAIL_ON(mode.cvt); in drm_cmdline_test_force_e_only() 33 FAIL_ON(mode.interlace); in drm_cmdline_test_force_e_only() [all …]
|
| /OK3568_Linux_fs/u-boot/board/ti/ks2_evm/ |
| H A D | mux-k2g.h | 7 * SPDX-License-Identifier: GPL-2.0+ 12 #include <asm/arch/mux-k2g.h> 18 { 115, MODE(0) }, /* SOC_UART0_RXD */ 19 { 116, MODE(0) }, /* SOC_UART0_TXD */ 22 { 223, MODE(0) }, /* SOC_I2C0_SCL */ 23 { 224, MODE(0) }, /* SOC_I2C0_SDA */ 26 { 225, MODE(0) }, /* SOC_I2C1_SCL */ 27 { 226, MODE(0) }, /* SOC_I2C1_SDA */ 33 { 0, MODE(0) }, /* GPMCAD0 */ 34 { 1, MODE(0) }, /* GPMCAD1 */ [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/modes/ |
| H A D | xf86Modes.c | 2 * Copyright (c) 1997-2003 by The XFree86 Project, Inc. 29 #include <xorg-config.h> 38 * Calculates the horizontal sync rate of a mode. 41 xf86ModeHSync(const DisplayModeRec * mode) in xf86ModeHSync() argument 45 if (mode->HSync > 0.0) in xf86ModeHSync() 46 hsync = mode->HSync; in xf86ModeHSync() 47 else if (mode->HTotal > 0) in xf86ModeHSync() 48 hsync = (float) mode->Clock / (float) mode->HTotal; in xf86ModeHSync() 54 * Calculates the vertical refresh rate of a mode. 57 xf86ModeVRefresh(const DisplayModeRec * mode) in xf86ModeVRefresh() argument [all …]
|
| /OK3568_Linux_fs/u-boot/board/siemens/rut/ |
| H A D | mux.c | 8 * u-boot:/board/ti/am335x/mux.c 10 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 12 * SPDX-License-Identifier: GPL-2.0+ 23 {OFFSET(uart0_rxd), (MODE(0) | PULLUDDIS | RXACTIVE)}, /* UART0_RXD */ 24 {OFFSET(uart0_txd), (MODE(0) | PULLUDDIS)}, /* UART0_TXD */ 25 {-1}, 29 {OFFSET(ddr_resetn), (MODE(0))}, 30 {OFFSET(ddr_csn0), (MODE(0) | PULLUP_EN)}, 31 {OFFSET(ddr_ck), (MODE(0))}, 32 {OFFSET(ddr_nck), (MODE(0))}, [all …]
|
| /OK3568_Linux_fs/u-boot/board/bosch/shc/ |
| H A D | mux.c | 8 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 10 * SPDX-License-Identifier: GPL-2.0+ 22 {OFFSET(uart0_rxd), (MODE(0) | PULLUDEN | RXACTIVE)}, /* UART0_RXD */ 23 {OFFSET(uart0_txd), (MODE(0) | PULLUDDIS)}, /* UART0_TXD */ 24 {OFFSET(uart0_ctsn), (MODE(0) | PULLUDEN | RXACTIVE)}, /* UART0_CTS */ 25 {OFFSET(uart0_rtsn), (MODE(0) | PULLUDDIS)}, /* UART0_RTS */ 26 {-1}, 30 {OFFSET(uart1_rxd), (MODE(0) | PULLUDDIS | RXACTIVE)}, /* UART1_RXD */ 31 {OFFSET(uart1_txd), (MODE(0) | PULLUDDIS)}, /* UART1_TXD */ 32 {OFFSET(uart1_ctsn), (MODE(0) | PULLUDEN | RXACTIVE)}, /* UART1_CTS */ [all …]
|
| /OK3568_Linux_fs/u-boot/board/BuR/brppt1/ |
| H A D | mux.c | 7 * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com 9 * SPDX-License-Identifier: GPL-2.0+ 21 {OFFSET(uart0_rtsn), (MODE(0) | PULLUDEN)}, 23 {OFFSET(uart0_ctsn), (MODE(0) | PULLUDEN | PULLUP_EN | RXACTIVE)}, 25 {OFFSET(uart0_rxd), (MODE(0) | PULLUDEN | PULLUP_EN | RXACTIVE)}, 27 {OFFSET(uart0_txd), (MODE(0) | PULLUDEN)}, 28 {-1}, 31 /* UART1_RTS as I2C2-SCL */ 32 {OFFSET(uart1_rtsn), (MODE(3) | PULLUDEN | PULLUP_EN | RXACTIVE)}, 33 /* UART1_CTS as I2C2-SDA */ [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/ |
| H A D | machmode.h | 1 /* Machine mode definitions for GCC; included by rtl.h and tree.h. 2 Copyright (C) 1991-2020 Free Software Foundation, Inc. 40 convert a machine_mode to a specific mode class T, and in which the 44 return typename mode_traits<T>::from_int (mode); 48 res = T (typename mode_traits<T>::from_int (mode)); 50 when assigning to a value RES that must be assignment-compatible 53 /* Allow direct conversion of enums to specific mode classes only 65 calls when the compiler is built with -O0. For example, even in 67 returned T directly from the numerical value of MODE. */ 79 /* Always treat machine modes as fixed-size while compiling code specific [all …]
|
| H A D | expmed.h | 1 /* Target-dependent costs for expmed.c. 2 Copyright (C) 1987-2020 Free Software Foundation, Inc. 23 #include "insn-codes.h" 66 #define MULT_COST_LESS(X,Y) ((X)->cost < (Y) \ 67 || ((X)->cost == (Y) && (X)->latency < (Y))) 73 #define CHEAPER_MULT_COST(X,Y) ((X)->cost < (Y)->cost \ 74 || ((X)->cost == (Y)->cost \ 75 && (X)->latency < (Y)->latency)) 88 alg_sub_t_m2 total := total - multiplicand * coeff; 90 alg_sub_factor total := total * coeff - total; [all …]
|
| /OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/ |
| H A D | machmode.h | 1 /* Machine mode definitions for GCC; included by rtl.h and tree.h. 2 Copyright (C) 1991-2020 Free Software Foundation, Inc. 40 convert a machine_mode to a specific mode class T, and in which the 44 return typename mode_traits<T>::from_int (mode); 48 res = T (typename mode_traits<T>::from_int (mode)); 50 when assigning to a value RES that must be assignment-compatible 53 /* Allow direct conversion of enums to specific mode classes only 65 calls when the compiler is built with -O0. For example, even in 67 returned T directly from the numerical value of MODE. */ 79 /* Always treat machine modes as fixed-size while compiling code specific [all …]
|
| H A D | expmed.h | 1 /* Target-dependent costs for expmed.c. 2 Copyright (C) 1987-2020 Free Software Foundation, Inc. 23 #include "insn-codes.h" 66 #define MULT_COST_LESS(X,Y) ((X)->cost < (Y) \ 67 || ((X)->cost == (Y) && (X)->latency < (Y))) 73 #define CHEAPER_MULT_COST(X,Y) ((X)->cost < (Y)->cost \ 74 || ((X)->cost == (Y)->cost \ 75 && (X)->latency < (Y)->latency)) 88 alg_sub_t_m2 total := total - multiplicand * coeff; 90 alg_sub_factor total := total * coeff - total; [all …]
|
| /OK3568_Linux_fs/u-boot/board/siemens/draco/ |
| H A D | mux.c | 8 * u-boot:/board/ti/am335x/mux.c 9 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 11 * SPDX-License-Identifier: GPL-2.0+ 23 {OFFSET(uart0_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* UART0_RXD */ 24 {OFFSET(uart0_txd), (MODE(0) | PULLUDEN)}, /* UART0_TXD */ 25 {-1}, 29 {OFFSET(spi0_cs1), (MODE(1) | PULLUP_EN | RXACTIVE)}, /* UART3_RXD */ 30 {OFFSET(ecap0_in_pwm0_out), (MODE(1) | PULLUDEN)}, /* UART3_TXD */ 31 {-1}, 35 {OFFSET(i2c0_sda), (MODE(0) | RXACTIVE | [all …]
|
| /OK3568_Linux_fs/external/xserver/randr/ |
| H A D | rrmode.c | 30 if (a->width != b->width) in RRModeEqual() 32 if (a->height != b->height) in RRModeEqual() 34 if (a->dotClock != b->dotClock) in RRModeEqual() 36 if (a->hSyncStart != b->hSyncStart) in RRModeEqual() 38 if (a->hSyncEnd != b->hSyncEnd) in RRModeEqual() 40 if (a->hTotal != b->hTotal) in RRModeEqual() 42 if (a->hSkew != b->hSkew) in RRModeEqual() 44 if (a->vSyncStart != b->vSyncStart) in RRModeEqual() 46 if (a->vSyncEnd != b->vSyncEnd) in RRModeEqual() 48 if (a->vTotal != b->vTotal) in RRModeEqual() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xquartz/GL/ |
| H A D | glcontextmodes.c | 18 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL 38 #include <dix-config.h> 99 * be returned. Otherwise -1 will be returned. 110 return ((unsigned)(visualType - GLX_TRUE_COLOR) < NUM_VISUAL_TYPES) in _gl_convert_to_x_visual_type() 111 ? x_visual_types[visualType - GLX_TRUE_COLOR] : -1; in _gl_convert_to_x_visual_type() 115 * Copy a GLX visual config structure to a GL context mode structure. All 116 * of the fields in \c config are copied to \c mode. Additional fields in 117 * \c mode that can be derived from the fields of \c config (i.e., 118 * \c haveDepthBuffer) are also filled in. The remaining fields in \c mode 121 * \param mode Destination GL context mode. [all …]
|
| /OK3568_Linux_fs/u-boot/board/BuR/brxre1/ |
| H A D | mux.c | 7 * Bernecker & Rainer Industrieelektronik GmbH - http://www.br-automation.com 9 * SPDX-License-Identifier: GPL-2.0+ 21 {OFFSET(spi0_sclk), MODE(0) | PULLUDEN | RXACTIVE}, 23 {OFFSET(spi0_d0), MODE(0) | PULLUDEN | RXACTIVE}, 25 {OFFSET(spi0_d1), MODE(0) | PULLUDEN | RXACTIVE}, 27 {OFFSET(spi0_cs0), MODE(0) | PULLUDEN | PULLUP_EN | RXACTIVE}, 29 {OFFSET(spi0_cs1), MODE(0) | PULLUDEN | PULLUP_EN | RXACTIVE}, 30 {-1}, 35 {OFFSET(uart1_ctsn), MODE(2) | PULLUDEN | PULLUP_EN}, 37 {OFFSET(uart1_rtsn), MODE(2) | RXACTIVE}, [all …]
|
| /OK3568_Linux_fs/u-boot/board/siemens/pxm2/ |
| H A D | mux.c | 8 * u-boot:/board/ti/am335x/mux.c 10 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 12 * SPDX-License-Identifier: GPL-2.0+ 24 {OFFSET(uart0_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* UART0_RXD */ 25 {OFFSET(uart0_txd), (MODE(0) | PULLUDEN)}, /* UART0_TXD */ 26 {OFFSET(nnmi), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* UART0_TXD */ 27 {-1}, 32 {OFFSET(gpmc_ad0), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* NAND AD0 */ 33 {OFFSET(gpmc_ad1), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* NAND AD1 */ 34 {OFFSET(gpmc_ad2), (MODE(0) | PULLUP_EN | RXACTIVE)}, /* NAND AD2 */ [all …]
|
| /OK3568_Linux_fs/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 …]
|
| /OK3568_Linux_fs/u-boot/board/compulab/cm_t43/ |
| H A D | mux.c | 4 * SPDX-License-Identifier: GPL-2.0+ 13 {OFFSET(mii1_txen), MODE(2)}, 14 {OFFSET(mii1_txd3), MODE(2)}, 15 {OFFSET(mii1_txd2), MODE(2)}, 16 {OFFSET(mii1_txd1), MODE(2)}, 17 {OFFSET(mii1_txd0), MODE(2)}, 18 {OFFSET(mii1_txclk), MODE(2)}, 19 {OFFSET(mii1_rxdv), MODE(2) | RXACTIVE | PULLDOWN_EN}, 20 {OFFSET(mii1_rxclk), MODE(2) | RXACTIVE | PULLDOWN_EN}, 21 {OFFSET(mii1_rxd3), MODE(2) | RXACTIVE | PULLDOWN_EN}, [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/video/ |
| H A D | ati_radeon_fb.c | 8 * SPDX-License-Identifier: GPL-2.0+ 48 & ~RADEON_BUFFER_ALIGN) - 1) 49 #define RADEON_CRT_PITCH(width, bpp) ((((width) * (bpp) + ((bpp) * 8 - 1)) / ((bpp) * 8)) | \ 50 ((((width) * (bpp) + ((bpp) * 8 - 1)) / ((bpp) * 8)) << 16)) 53 (((((htotal) / 8) - 1) & 0x3ff) | (((((hdisp) / 8) - 1) & 0x1ff) << 16)) 57 ((((vtotal) - 1) & 0xffff) | (((vdisp) - 1) << 16)) 59 ((((vsync_srtr) - 1) & 0xfff) | (((vsync_wid) & 0x1f) << 16)) 111 if ((rinfo->family == CHIP_FAMILY_RS100) || in radeon_identify_vram() 112 (rinfo->family == CHIP_FAMILY_RS200) || in radeon_identify_vram() 113 (rinfo->family == CHIP_FAMILY_RS300)) { in radeon_identify_vram() [all …]
|
| /OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/iostreams/detail/ |
| H A D | resolve.hpp | 2 // (C) Copyright 2003-2007 Jonathan Turkanis 43 //------------------Definition of resolve-------------------------------------// 45 #ifndef BOOST_IOSTREAMS_BROKEN_OVERLOAD_RESOLUTION //-------------------------// 47 template<typename Mode, typename Ch, typename T> 52 output_iterator_adapter<Mode, Ch, T>, 57 # ifndef BOOST_IOSTREAMS_NO_STREAM_TEMPLATES //-------------------------------// 59 template<typename Mode, typename Ch, typename T> 60 typename resolve_traits<Mode, Ch, T>::type 75 typedef typename resolve_traits<Mode, Ch, T>::type return_type; in resolve() 79 template<typename Mode, typename Ch, typename Tr> [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/vbe/ |
| H A D | vbeModes.c | 33 #include <xorg-config.h> 46 VbeModeInfoBlock *mode; in GetDepthFlag() local 49 if ((mode = VBEGetModeInfo(pVbe, id)) == NULL) in GetDepthFlag() 52 if (VBE_MODE_USABLE(mode, 0)) { in GetDepthFlag() 55 if (VBE_MODE_COLOR(mode)) { in GetDepthFlag() 56 depth = mode->RedMaskSize + mode->GreenMaskSize + in GetDepthFlag() 57 mode->BlueMaskSize; in GetDepthFlag() 62 bpp = mode->BitsPerPixel; in GetDepthFlag() 63 VBEFreeModeInfo(mode); in GetDepthFlag() 64 mode = NULL; in GetDepthFlag() [all …]
|
| /OK3568_Linux_fs/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 …]
|
| /OK3568_Linux_fs/u-boot/board/ti/am43xx/ |
| H A D | mux.c | 4 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ 6 * SPDX-License-Identifier: GPL-2.0+ 16 {OFFSET(mii1_txen), MODE(1)}, /* RMII1_TXEN */ 17 {OFFSET(mii1_txd1), MODE(1)}, /* RMII1_TD1 */ 18 {OFFSET(mii1_txd0), MODE(1)}, /* RMII1_TD0 */ 19 {OFFSET(mii1_rxd1), MODE(1) | RXACTIVE}, /* RMII1_RD1 */ 20 {OFFSET(mii1_rxd0), MODE(1) | RXACTIVE}, /* RMII1_RD0 */ 21 {OFFSET(mii1_rxdv), MODE(1) | RXACTIVE}, /* RMII1_RXDV */ 22 {OFFSET(mii1_crs), MODE(1) | RXACTIVE}, /* RMII1_CRS_DV */ 23 {OFFSET(mii1_rxerr), MODE(1) | RXACTIVE}, /* RMII1_RXERR */ [all …]
|
| /OK3568_Linux_fs/kernel/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 49 * drm_mode_debug_printmodeline - print a mode to dmesg 50 * @mode: mode to print 52 * Describe @mode using DRM_DEBUG. 54 void drm_mode_debug_printmodeline(const struct drm_display_mode *mode) in drm_mode_debug_printmodeline() argument 56 DRM_DEBUG_KMS("Modeline " DRM_MODE_FMT "\n", DRM_MODE_ARG(mode)); in drm_mode_debug_printmodeline() 61 * drm_mode_create - create a new display mode 68 * Pointer to new mode on success, NULL on error. [all …]
|
| /OK3568_Linux_fs/kernel/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 */ 109 struct snd_soc_component *comp = ctrl->comp; in wcd_enable_clsh_block() 111 if ((enable && ++ctrl->clsh_users == 1) || in wcd_enable_clsh_block() 112 (!enable && --ctrl->clsh_users == 0)) in wcd_enable_clsh_block() 116 if (ctrl->clsh_users < 0) in wcd_enable_clsh_block() [all …]
|
| /OK3568_Linux_fs/u-boot/board/compulab/cm_t335/ |
| H A D | mux.c | 2 * Pinmux configuration for Compulab CM-T335 board 4 * Copyright (C) 2013, Compulab Ltd - http://compulab.co.il/ 8 * SPDX-License-Identifier: GPL-2.0+ 18 {OFFSET(uart0_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)}, 19 {OFFSET(uart0_txd), (MODE(0) | PULLUDEN)}, 20 {-1}, 24 {OFFSET(uart1_rxd), (MODE(0) | PULLUP_EN | RXACTIVE)}, 25 {OFFSET(uart1_txd), (MODE(0) | PULLUDEN)}, 26 {OFFSET(uart1_ctsn), (MODE(0) | PULLUP_EN | RXACTIVE)}, 27 {OFFSET(uart1_rtsn), (MODE(0) | PULLUDEN)}, [all …]
|