| /OK3568_Linux_fs/kernel/drivers/gpu/arm/bifrost/ |
| H A D | mali_kbase_config_defaults.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * (C) COPYRIGHT 2013-2023 ARM Limited. All rights reserved. 18 * http://www.gnu.org/licenses/gpl-2.0.html. 95 #define DEFAULT_PM_DVFS_PERIOD 100 /* 100ms */ 102 * -# Power off one or more shader cores 103 * -# Power off the entire GPU 113 #define DEFAULT_PM_POWEROFF_TICK_SHADER (2) /* 400-800us */ 118 #define DEFAULT_JS_SCHEDULING_PERIOD_NS (100000000u) /* 100ms */ 121 /* Default minimum number of scheduling ticks before jobs are soft-stopped. 123 * This defines the time-slice for a job (which may be different from that of a [all …]
|
| /OK3568_Linux_fs/kernel/kernel/time/ |
| H A D | timer.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * 1997-01-28 Modified by Finn Arne Gangstad to make timers scale better. 9 * 1997-09-10 Updated NTP code according to technical memorandum Jan '96 11 * 1998-12-24 Fixed a xtime SMP race (we need the xtime_lock rw spinlock to 14 * 1999-03-10 Improved NTP compatibility by Ulrich Windl 15 * 2002-05-31 Move sys_sysinfo here and make its locking sane, Robert Love 16 * 2000-10-05 Implemented scalable SMP per-CPU timer handling. 33 #include <linux/posix-timers.h> 54 #include "tick-internal.h" 89 * timeout timers (networking, disk I/O ...) are canceled before expiry. If [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/ |
| H A D | cyttsp.txt | 4 - compatible : must be "cypress,cyttsp-i2c" or "cypress,cyttsp-spi" 5 - reg : Device I2C address or SPI chip select number 6 - spi-max-frequency : Maximum SPI clocking speed of the device (for cyttsp-spi) 7 - interrupts : (gpio) interrupt to which the chip is connected 9 - bootloader-key : the 8-byte bootloader key that is required to switch 16 - reset-gpios : the reset gpio the chip is connected to 18 - touchscreen-size-x : horizontal resolution of touchscreen (in pixels) 19 - touchscreen-size-y : vertical resolution of touchscreen (in pixels) 20 - touchscreen-fuzz-x : horizontal noise value of the absolute input device 22 - touchscreen-fuzz-y : vertical noise value of the absolute input device [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-spi.c | 7 * Copyright (c) 2003-2008 Cavium Networks 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 34 #include <asm/octeon/cvmx-config.h> 36 #include <asm/octeon/cvmx-pko.h> 37 #include <asm/octeon/cvmx-spi.h> 39 #include <asm/octeon/cvmx-spxx-defs.h> 40 #include <asm/octeon/cvmx-stxx-defs.h> 41 #include <asm/octeon/cvmx-srxx-defs.h> 100 * @timeout: Timeout to wait for clock synchronization in seconds [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/ |
| H A D | Kconfig.profile | 2 int "Timeout for unsignaled foreign fences (ms, jiffy granularity)" 7 make forward progress. This value specifies the timeout used for an 10 May be 0 to disable the timeout, and rely on the foreign fence being 14 int "Runtime autosuspend delay for userspace GGTT mmaps (ms)" 21 that complements the runtime-pm autosuspend and provides a lower 28 int "Interval between heartbeat pulses (ms)" 32 check the health of the GPU and undertake regular house-keeping of 42 int "Preempt timeout (ms, jiffy granularity)" 54 May be 0 to disable the timeout. 66 take a non-negligible time to setup, we do a short spin first to [all …]
|
| /OK3568_Linux_fs/kernel/net/netfilter/ipvs/ |
| H A D | ip_vs_sync.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * high-performance and highly available server based on a 13 * time-outs, and firewall marks. 15 * Ver. 0 can be turned on by sysctl -w net.ipv4.vs.sync_version=0 32 * Persistence support, fwmark and time-out. 61 #define IP_VS_SYNC_GROUP 0xe0000051 /* multicast addr - 224.0.0.81 */ 100 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 102 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 104 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 106 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/serial/ |
| H A D | pl011.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 13 - $ref: /schemas/serial.yaml# 21 - arm,pl011 22 - zte,zx296702-uart 24 - compatible 29 - items: 30 - const: arm,pl011 [all …]
|
| /OK3568_Linux_fs/kernel/drivers/rtc/ |
| H A D | rtc-jz4740.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de> 66 return readl(rtc->base + reg); in jz4740_rtc_reg_read() 72 int timeout = 10000; in jz4740_rtc_wait_write_ready() local 76 } while (!(ctrl & JZ_RTC_CTRL_WRDY) && --timeout); in jz4740_rtc_wait_write_ready() 78 return timeout ? 0 : -EIO; in jz4740_rtc_wait_write_ready() 84 int ret, timeout = 10000; in jz4780_rtc_enable_write() local 90 writel(JZ_RTC_WENR_MAGIC, rtc->base + JZ_REG_RTC_WENR); in jz4780_rtc_enable_write() 93 ctrl = readl(rtc->base + JZ_REG_RTC_WENR); in jz4780_rtc_enable_write() 94 } while (!(ctrl & JZ_RTC_WENR_WEN) && --timeout); in jz4780_rtc_enable_write() [all …]
|
| /OK3568_Linux_fs/u-boot/include/configs/ |
| H A D | espt.h | 2 * Configuation settings for the ESPT-GIGA board 7 * SPDX-License-Identifier: GPL-2.0+ 43 /* U-Boot setting */ 55 /* Timeout for Flash erase operations (in ms) */ 57 /* Timeout for Flash write operations (in ms) */ 59 /* Timeout for Flash set sector lock bit operations (in ms) */ 61 /* Timeout for Flash clear lock bit operations (in ms) */ 63 /* Use hardware flash sectors protection instead of U-Boot software protection */ 70 #define CONFIG_ENV_OFFSET (CONFIG_ENV_ADDR - CONFIG_SYS_FLASH_BASE)
|
| H A D | sh7763rdp.h | 7 * SPDX-License-Identifier: GPL-2.0+ 43 /* U-Boot setting */ 55 /* Timeout for Flash erase operations (in ms) */ 57 /* Timeout for Flash write operations (in ms) */ 59 /* Timeout for Flash set sector lock bit operations (in ms) */ 61 /* Timeout for Flash clear lock bit operations (in ms) */ 63 /* Use hardware flash sectors protection instead of U-Boot software protection */ 70 #define CONFIG_ENV_OFFSET (CONFIG_ENV_ADDR - CONFIG_SYS_FLASH_BASE)
|
| H A D | ap_sh4a_4a.h | 2 * Configuation settings for the Alpha Project AP-SH4A-4A board 6 * SPDX-License-Identifier: GPL-2.0+ 68 /* if you use all NOR Flash , you change dip-switch. Please see Manual. */ 72 /* Timeout for Flash erase operations (in ms) */ 74 /* Timeout for Flash write operations (in ms) */ 76 /* Timeout for Flash set sector lock bit operations (in ms) */ 78 /* Timeout for Flash clear lock bit operations (in ms) */ 83 * of U-Boot software protection 88 /* Address of u-boot image in Flash (NOT run time address in SDRAM) ?!? */ 102 #define CONFIG_ENV_OFFSET (CONFIG_ENV_ADDR - CONFIG_SYS_FLASH_BASE)
|
| H A D | kzm9g.h | 5 * SPDX-License-Identifier: GPL-2.0+ 15 #define CONFIG_ARCH_RMOBILE_BOARD_STRING "KMC KZM-A9-GT" 58 #define LOW_LEVEL_MERAM_STACK (CONFIG_SYS_INIT_RAM_ADDR - 4) 60 CONFIG_SYS_INIT_RAM_SIZE - \ 64 #define CONFIG_SYS_SDRAM_SIZE (PHYS_SDRAM_SIZE - CONFIG_SDRAM_OFFSET_FOR_RT) 84 /* Timeout for Flash erase operations (in ms) */ 86 /* Timeout for Flash write operations (in ms) */ 88 /* Timeout for Flash set sector lock bit operations (in ms) */ 90 /* Timeout for Flash clear lock bit operations (in ms) */
|
| H A D | r0p7734.h | 6 * SPDX-License-Identifier: GPL-2.0+ 71 /* if you use all NOR Flash , you change dip-switch. Please see Manual. */ 75 /* Timeout for Flash erase operations (in ms) */ 77 /* Timeout for Flash write operations (in ms) */ 79 /* Timeout for Flash set sector lock bit operations (in ms) */ 81 /* Timeout for Flash clear lock bit operations (in ms) */ 86 * of U-Boot software protection 91 /* Address of u-boot image in Flash (NOT run time address in SDRAM) ?!? */ 105 #define CONFIG_ENV_OFFSET (CONFIG_ENV_ADDR - CONFIG_SYS_FLASH_BASE)
|
| H A D | MigoR.h | 2 * Configuation settings for the Renesas Solutions Migo-R board 6 * SPDX-License-Identifier: GPL-2.0+ 47 /* maybe more, but if so u-boot doesn't know about it... */ 52 /* Address of u-boot image in Flash (NOT run time address in SDRAM) ?!? */ 71 /* if you use all NOR Flash , you change dip-switch. Please see MIGO_R01 Manual. */ 75 /* Timeout for Flash erase operations (in ms) */ 77 /* Timeout for Flash write operations (in ms) */ 79 /* Timeout for Flash set sector lock bit operations (in ms) */ 81 /* Timeout for Flash clear lock bit operations (in ms) */ 84 /* Use hardware flash sectors protection instead of U-Boot software protection */ [all …]
|
| H A D | ms7722se.h | 6 * SPDX-License-Identifier: GPL-2.0+ 44 #define CONFIG_SYS_SDRAM_SIZE (64 * 1024 * 1024) /* maybe more, but if so u-boot doesn't know about… 48 #define CONFIG_SYS_MONITOR_BASE (MS7722SE_FLASH_BASE_1) /* Address of u-boot image 65 /* if you use all NOR Flash , you change dip-switch. Please see MS7722SE01 Manual. */ 71 #define CONFIG_SYS_FLASH_ERASE_TOUT (3 * 1000) /* Timeout for Flash erase operations (in ms) */ 72 #define CONFIG_SYS_FLASH_WRITE_TOUT (3 * 1000) /* Timeout for Flash write operations (in ms) */ 73 #define CONFIG_SYS_FLASH_LOCK_TOUT (3 * 1000) /* Timeout for Flash set sector lock bit operations (… 74 #define CONFIG_SYS_FLASH_UNLOCK_TOUT (3 * 1000) /* Timeout for Flash clear lock bit operations (in … 76 #undef CONFIG_SYS_FLASH_PROTECTION /* Use hardware flash sectors protection instead of U-Boot so… 84 #define CONFIG_ENV_OFFSET (CONFIG_ENV_ADDR - CONFIG_SYS_FLASH_BASE) /* Offset of env Flash sector …
|
| H A D | ecovec.h | 4 * Copyright (C) 2009 - 2011 Renesas Solutions Corp. 8 * SPDX-License-Identifier: GPL-2.0+ 16 *----------------------------------------- 17 * 0x0000_0000 U-Boot 16bit 101 /* if you use all NOR Flash , you change dip-switch. Please see Manual. */ 105 /* Timeout for Flash erase operations (in ms) */ 107 /* Timeout for Flash write operations (in ms) */ 109 /* Timeout for Flash set sector lock bit operations (in ms) */ 111 /* Timeout for Flash clear lock bit operations (in ms) */ 116 * of U-Boot software protection [all …]
|
| H A D | ap325rxa.h | 2 * Configuation settings for the Renesas Solutions AP-325RXA board 7 * SPDX-License-Identifier: GPL-2.0+ 57 /* maybe more, but if so u-boot doesn't know about it... */ 62 /* Address of u-boot image in Flash (NOT run time address in SDRAM) ?!? */ 95 /* if you use all NOR Flash , you change dip-switch. Please see Manual. */ 99 /* Timeout for Flash erase operations (in ms) */ 101 /* Timeout for Flash write operations (in ms) */ 103 /* Timeout for Flash set sector lock bit operations (in ms) */ 105 /* Timeout for Flash clear lock bit operations (in ms) */ 110 * of U-Boot software protection [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/power/reset/ |
| H A D | gpio-poweroff.txt | 9 When the power-off handler is called, the gpio is configured as an 11 condition. This will also cause an inactive->active edge condition, so 12 triggering positive edge triggered power off. After a delay of 100ms, 13 the GPIO is set to inactive, thus causing an active->inactive edge, 14 triggering negative edge triggered power off. After another 100ms 16 the CPU still running after a 3000ms delay, a WARN_ON(1) is emitted. 19 - compatible : should be "gpio-poweroff". 20 - gpios : The GPIO to set high/low, see "gpios property" in 26 - input : Initially configure the GPIO line as an input. Only reconfigure 27 it to an output when the power-off handler is called. If this optional [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-at91/ |
| H A D | phy.c | 2 * (C) Copyright 2007-2008 12 * SPDX-License-Identifier: GPL-2.0+ 25 unsigned long const timeout = 1000; /* 1000ms */ in at91_phy_reset() local 28 erstl = readl(&rstc->mr) & AT91_RSTC_MR_ERSTL_MASK; in at91_phy_reset() 31 * Need to reset PHY -> 500ms reset in at91_phy_reset() 32 * Reset PHY by pulling the NRST line for 500ms to low. To do so in at91_phy_reset() 37 AT91_RSTC_MR_URSTEN, &rstc->mr); in at91_phy_reset() 39 writel(AT91_RSTC_KEY | AT91_RSTC_CR_EXTRST, &rstc->cr); in at91_phy_reset() 42 while (!(readl(&rstc->sr) & AT91_RSTC_SR_NRSTL)) { in at91_phy_reset() 47 /* timeout for not getting stuck in an endless loop */ in at91_phy_reset() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/parport/ |
| H A D | ieee1284.c | 2 * IEEE-1284 implementation for parport. 5 * Carsten Gross <carsten@sol.wohnheim.uni-ulm.de> 10 * read/write requests to low-level drivers. 38 up (&port->physport->ieee1284.irq); in parport_ieee1284_wakeup() 49 * parport_wait_event - wait for an event on a parallel port 51 * @timeout: time to wait (in jiffies) 53 * This function waits for up to @timeout jiffies for an 54 * interrupt to occur on a parallel port. If the port timeout is 57 * If an interrupt occurs before the timeout period elapses, this 64 int parport_wait_event (struct parport *port, signed long timeout) in parport_wait_event() argument [all …]
|
| /OK3568_Linux_fs/kernel/drivers/tty/hvc/ |
| H A D | hvsi_lib.c | 1 // SPDX-License-Identifier: GPL-2.0 12 packet->seqno = cpu_to_be16(atomic_inc_return(&pv->seqno)); in hvsi_send_packet() 15 return pv->put_chars(pv->termno, (char *)packet, packet->len); in hvsi_send_packet() 23 pv->established = 0; in hvsi_start_handshake() 24 atomic_set(&pv->seqno, 0); in hvsi_start_handshake() 26 pr_devel("HVSI@%x: Handshaking started\n", pv->termno); in hvsi_start_handshake() 39 pv->established = 0; in hvsi_send_close() 50 pv->mctrl |= TIOCM_CD; in hvsi_cd_change() 52 pv->mctrl &= ~TIOCM_CD; in hvsi_cd_change() 60 if (!pv->is_console && pv->opened) { in hvsi_cd_change() [all …]
|
| /OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/ |
| H A D | driver.c | 20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. 33 #include "dix-config.h" 57 #include <xorg-config.h> 137 {-1, NULL} 158 {-1, NULL, OPTV_NONE, {0}, FALSE} 161 int ms_entity_index = -1; 194 * The return value must be non-NULL on success even though there in Setup() 216 modesettingPtr ms = modesettingPTR(scrn); in ms_ent_priv() local 217 pPriv = xf86GetEntityPrivate(ms->pEnt->index, in ms_ent_priv() 219 return pPriv->ptr; in ms_ent_priv() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/power/reset/ |
| H A D | gpio-poweroff.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 static u32 timeout = DEFAULT_TIMEOUT_MS; variable 32 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff() 36 /* drive inactive, also active->inactive edge */ in gpio_poweroff_do_poweroff() 40 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff() 44 mdelay(timeout); in gpio_poweroff_do_poweroff() 56 dev_err(&pdev->dev, in gpio_poweroff_probe() 59 return -EBUSY; in gpio_poweroff_probe() 62 input = device_property_read_bool(&pdev->dev, "input"); in gpio_poweroff_probe() 68 device_property_read_u32(&pdev->dev, "active-delay-ms", &active_delay); in gpio_poweroff_probe() [all …]
|
| /OK3568_Linux_fs/kernel/sound/soc/intel/common/ |
| H A D | sst-dsp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/io-64-nonatomic-lo-hi.h> 16 #include "sst-dsp.h" 17 #include "sst-dsp-priv.h" 20 #include <trace/events/intel-sst.h> 22 /* Internal generic low-level SST IO functions - can be overidden */ 52 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_write() 53 sst->ops->write(sst->addr.shim, offset, value); in sst_dsp_shim_write() 54 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_write() 63 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_read() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/nfc/ |
| H A D | trf7970a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com 39 * when EN2 is left low. The 'en2-rf-quirk' device tree property 46 * interrupts, however. That is, an interrupt and a timeout could occur 48 * executes. When the timeout handler executes first and blocks the 51 * When the interrupt handler executes first and blocks the timeout handler, 53 * work item (i.e., timeout) and will return zero. That return code is 54 * used by the timer handler to indicate that it should ignore the timeout 62 * has sent the command to the tag, it simply returns -ECANCELED. If the 65 * sending the data upstream, it frees the rx_skb and sends -ECANCELED [all …]
|