| /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 …]
|
| H A D | xf86DiDGA.c | 24 #include <xorg-config.h> 42 DGAModePtr modes, mode; in xf86_dga_get_modes() local 44 int bpp = scrn->bitsPerPixel >> 3; in xf86_dga_get_modes() 48 display_mode = scrn->modes; in xf86_dga_get_modes() 51 display_mode = display_mode->next; in xf86_dga_get_modes() 52 if (display_mode == scrn->modes) in xf86_dga_get_modes() 64 display_mode = scrn->modes; in xf86_dga_get_modes() 66 mode = modes + num++; in xf86_dga_get_modes() 68 mode->mode = display_mode; in xf86_dga_get_modes() 69 mode->flags = DGA_CONCURRENT_ACCESS; in xf86_dga_get_modes() [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/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/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/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/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/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/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/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/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/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/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/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 | 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 | 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/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/drivers/video/sunxi/ |
| H A D | lcdc.c | 4 * (C) Copyright 2013-2014 Luc Verhaegen <libv@skynet.be> 5 * (C) Copyright 2014-2015 Hans de Goede <hdegoede@redhat.com> 8 * SPDX-License-Identifier: GPL-2.0+ 16 static int lcdc_get_clk_delay(const struct display_timing *mode, int tcon) in lcdc_get_clk_delay() argument 20 delay = mode->vfront_porch.typ + mode->vsync_len.typ + in lcdc_get_clk_delay() 21 mode->vback_porch.typ; in lcdc_get_clk_delay() 22 if (mode->flags & DISPLAY_FLAGS_INTERLACED) in lcdc_get_clk_delay() 25 delay -= 2; in lcdc_get_clk_delay() 33 writel(0, &lcdc->ctrl); /* Disable tcon */ in lcdc_init() 34 writel(0, &lcdc->int0); /* Disable all interrupts */ in lcdc_init() [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/kernel/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 …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /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/kernel/include/linux/ |
| H A D | phylink.h | 21 MLO_AN_FIXED, /* Fixed-link mode */ 22 MLO_AN_INBAND, /* In-band protocol */ 25 static inline bool phylink_autoneg_inband(unsigned int mode) in phylink_autoneg_inband() argument 27 return mode == MLO_AN_INBAND; in phylink_autoneg_inband() 31 * struct phylink_link_state - link state structure 35 * @interface: link &typedef phy_interface_t mode 37 * @duplex: link duplex mode, one of DUPLEX_* constants. 61 * struct phylink_config - PHYLINK configuration structure 66 * if MAC link is at %MLO_AN_FIXED mode. 68 * if MAC link is at %MLO_AN_FIXED mode. [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/fbdevhw/ |
| H A D | fbdevhw.c | 3 #include <xorg-config.h> 22 #define PAGE_MASK (~(getpagesize() - 1)) 51 /* -------------------------------------------------------------------- */ 54 #define FBDEVHWPTRLVAL(p) (p)->privates[fbdevHWPrivateIndex].ptr 57 static int fbdevHWPrivateIndex = -1; 73 /* saved video mode */ 76 /* buildin video mode */ 79 /* disable non-fatal unsupported ioctls */ 117 return fPtr->fd; in fbdevHWGetFD() 120 /* -------------------------------------------------------------------- */ [all …]
|
| /OK3568_Linux_fs/kernel/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 …]
|
| /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 …]
|