/linux/arch/arm/mach-imx/ |
H A D | common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright 2004-2014 Freescale Semiconductor, Inc. All Rights Reserved. 50 STOP_POWER_ON, /* just STOP */ 51 STOP_POWER_OFF, /* STOP + SRPG */ 55 ULP_PM_HSRUN, /* High speed run mode */ 56 ULP_PM_RUN, /* Run mode */ 57 ULP_PM_WAIT, /* Wait mode */ 58 ULP_PM_STOP, /* Stop mode */ 59 ULP_PM_VLPS, /* Very low power stop mode */ 60 ULP_PM_VLLS, /* very low leakage stop mode */ [all …]
|
/linux/Documentation/devicetree/bindings/net/can/ |
H A D | fsl,flexcan.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 Flexcan CAN controller on Freescale's ARM and PowerPC system-on-a-chip (SOC). 11 - Marc Kleine-Budde <mkl@pengutronix.de> 16 - enum: 17 - fsl,imx95-flexcan 18 - fsl,imx93-flexcan 19 - fsl,imx8qm-flexcan 20 - fsl,imx8mp-flexcan [all …]
|
/linux/drivers/i2c/busses/ |
H A D | i2c-uniphier-f.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #define UNIPHIER_FI2C_CR_MST BIT(3) /* controller mode */ 17 #define UNIPHIER_FI2C_CR_STO BIT(1) /* stop condition */ 26 #define UNIPHIER_FI2C_SSUT 0x18 /* restart/stop setup time control */ 33 #define UNIPHIER_FI2C_INT_TC BIT(7) /* send complete (STOP) */ 34 #define UNIPHIER_FI2C_INT_RC BIT(6) /* receive complete (STOP) */ 41 #define UNIPHIER_FI2C_SR_STS BIT(11) /* stop condition detected */ 99 * TX-FIFO stores target address in it for the first access. in uniphier_fi2c_fill_txfifo() 103 fifo_space--; in uniphier_fi2c_fill_txfifo() 105 while (priv->len) { in uniphier_fi2c_fill_txfifo() [all …]
|
H A D | i2c-emev2.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2015 Wolfram Sang <wsa@sang-engineering.com> 7 * Copyright 2010-2015 Renesas Electronics Corporation 76 writeb((readb(priv->base + reg) & ~clear) | set, priv->base + reg); in em_clear_set_bit() 84 reinit_completion(&priv->msg_done); in em_i2c_wait_for_event() 86 time_left = wait_for_completion_timeout(&priv->msg_done, priv->adap.timeout); in em_i2c_wait_for_event() 89 return -ETIMEDOUT; in em_i2c_wait_for_event() 91 status = readb(priv->base + I2C_OFS_IICSE0); in em_i2c_wait_for_event() 92 return status & I2C_BIT_ALD0 ? -EAGAIN : status; in em_i2c_wait_for_event() 97 /* Send Stop condition */ in em_i2c_stop() [all …]
|
H A D | i2c-pxa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2004-2005 Deep Blue Solutions Ltd. 13 * Jan 2003: Fixed several bugs concerning interrupt handling [Kai-Uwe Bloem] 14 * Jan 2003: added limited signal handling [Kai-Uwe Bloem] 17 * Feb 2005: Rework slave mode handling [RMK] 34 #include <linux/platform_data/i2c-pxa.h> 43 #define ICR_STOP (1 << 1) /* stop bit */ 53 #define ICR_SSDIE (1 << 11) /* slave STOP detected int enable */ 57 #define ICR_FM (1 << 15) /* fast mode */ 58 #define ICR_HS (1 << 16) /* High Speed mode */ [all …]
|
H A D | i2c-exynos5.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * i2c-exynos5.c - Samsung Exynos5 I2C Controller Driver 26 * 1. Auto mode: Where in master automatically controls the whole transaction 27 * 2. Manual mode: Software controls the transaction by issuing commands 28 * START, READ, WRITE, STOP, RESTART in I2C_MANUAL_CMD register. 30 * Operation mode can be selected by setting AUTO_MODE bit in I2C_CONF register 206 /* Version of HS-I2C Hardware */ 211 * struct exynos_hsi2c_variant - platform specific HSI2C driver data 251 .compatible = "samsung,exynos5-hsi2c", 254 .compatible = "samsung,exynos5250-hsi2c", [all …]
|
/linux/Documentation/tools/rtla/ |
H A D | common_osnoise_options.rst | 1 .. |threshold| replace:: **-a/--auto**, **-s/--stop**, or **-S/--stop-total** 2 .. |thresharg| replace:: -s 9 **-a**, **--auto** *us* 11 Set the automatic trace mode. This mode sets some commonly used options 12 while debugging the system. It is equivalent to use **-s** *us* **-T 1 -t**. 14 **-p**, **--period** *us* 18 **-r**, **--runtime** *us* 22 **-s**, **--stop** *us* 24 Stop the trace if a single sample is higher than the argument in microseconds. 25 If **-T** is set, it will also save the trace to the output. [all …]
|
/linux/lib/ |
H A D | test_objpool.c | 1 // SPDX-License-Identifier: GPL-2.0 40 atomic_t stop ____cacheline_aligned_in_smp; 50 int mode; /* only mode 0 supported */ member 61 /* per-cpu worker */ 90 atomic_long_add(size, &test->data.kmalloc.alloc); in ot_kzalloc() 98 atomic_long_add(size, &test->data.kmalloc.free); in ot_kfree() 106 pr_info("memory allocation summary for %s\n", test->name); in ot_mem_report() 108 alloc = atomic_long_read(&test->data.kmalloc.alloc); in ot_mem_report() 109 free = atomic_long_read(&test->data.kmalloc.free); in ot_mem_report() 110 pr_info(" kmalloc: %lu - %lu = %lu\n", alloc, free, alloc - free); in ot_mem_report() [all …]
|
/linux/drivers/net/can/flexcan/ |
H A D | flexcan.h | 1 /* SPDX-License-Identifier: GPL-2.0 2 * flexcan.c - FLEXCAN CAN controller driver 4 * Copyright (c) 2005-2006 Varma Electronics Oy 6 * Copyright (c) 2010-2017 Pengutronix, Marc Kleine-Budde <kernel@pengutronix.de> 10 * Based on code originally by Andrey Volkov <avolkov@varma-el.com> 17 #include <linux/can/rx-offload.h> 22 * SOC Version IP-Version Glitch- [TR]WRN_INT IRQ Err Memory err RTR rece- FD Mode MB 45 /* Disable non-correctable errors interrupt and freeze mode */ 53 /* Setup stop mode with GPR to support wakeup */ 55 /* Support CAN-FD mode */ [all …]
|
/linux/drivers/scsi/aic7xxx/aicasm/ |
H A D | aicasm_gram.y | 20 * 3. Neither the names of the above-listed copyright holders nor the names 225 %left '+' '-' 281 stop("Prefix multiply defined", 285 stop("Unable to record prefix", EX_SOFTWARE); 293 stop("Patch argument list multiply defined", 297 stop("Unable to record patch arg list", EX_SOFTWARE); 313 if ($1->type != UNINITIALIZED) { 314 stop("Register multiply defined", EX_DATAERR); 318 cur_symbol->type = cur_symtype; 328 if (cur_symbol->info.rinfo->valid_bitmask == 0) [all …]
|
/linux/arch/arm/mach-lpc32xx/ |
H A D | suspend.S | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/mach-lpc32xx/suspend.S 39 stmfd r0!, {r3 - r7, sp, lr} 63 @ Setup self-refresh with support for manual exit of 64 @ self-refresh mode 70 @ Wait for self-refresh acknowledge, clocks to the DRAM device 71 @ will automatically stop on start of self-refresh 76 bne 3b @ Branch until self-refresh mode starts 78 @ Enter direct-run mode from run mode 95 @ Enter stop mode until an enabled event occurs [all …]
|
/linux/arch/mips/include/uapi/asm/ |
H A D | termbits.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 14 #include <asm-generic/termbits-common.h> 24 tcflag_t c_iflag; /* input mode flags */ 25 tcflag_t c_oflag; /* output mode flags */ 26 tcflag_t c_cflag; /* control mode flags */ 27 tcflag_t c_lflag; /* local mode flags */ 33 tcflag_t c_iflag; /* input mode flags */ 34 tcflag_t c_oflag; /* output mode flags */ 35 tcflag_t c_cflag; /* control mode flags */ 36 tcflag_t c_lflag; /* local mode flags */ [all …]
|
/linux/drivers/net/wireless/intel/iwlwifi/ |
H A D | iwl-op-mode.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2005-2014, 2018-2021, 2024-2025 Intel Corporation 4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH 12 #include "iwl-dbg-tlv.h" 23 * DOC: Operational mode - what is it ? 25 * The operational mode (a.k.a. op_mode) is the layer that implements 35 * DOC: Life cycle of the Operational mode 37 * The operational mode has a very simple life cycle. 39 * 1) The driver layer (iwl-drv.c) chooses the op_mode based on the 41 * 2) The driver layer starts the op_mode (ops->start) [all …]
|
/linux/kernel/trace/ |
H A D | trace_hwlat.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * trace_hwlat.c - A simple Hardware Latency detector. 18 * SMI mode (complete with special memory map), and the OS is unaware. 20 * Although certain hardware-inducing latencies are necessary (for example, 22 * and remote management) they can wreak havoc upon any OS-level performance 23 * guarantees toward low-latency, especially when the OS is not even made 27 * sampling the built-in CPU timer, looking for discontiguous readings. 31 * environment requiring any kind of low-latency performance 34 * Copyright (C) 2008-2009 Jon Masters, Red Hat, Inc. <jcm@redhat.com> 35 * Copyright (C) 2013-2016 Steven Rostedt, Red Hat, Inc. <srostedt@redhat.com> [all …]
|
/linux/arch/s390/kvm/ |
H A D | trace-s390.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #define TRACE_SYSTEM kvm-s390 11 #define TRACE_INCLUDE_FILE trace-s390 32 __entry->type = type; 36 __entry->type & KVM_VM_S390_UCONTROL ? " (UCONTROL)" : "") 54 __entry->id = id; 55 __entry->vcpu = vcpu; 56 __entry->sie_block = sie_block; 60 __entry->id, __entry->vcpu, __entry->sie_block) 72 __entry->id = id; [all …]
|
/linux/drivers/watchdog/ |
H A D | pnx4008_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 12 * 2005-2006 (c) MontaVista Software, Inc. 34 /* WatchDog Timer - Chapter 23 Page 207 */ 87 /* stop counter, initiate counter reset */ in pnx4008_wdt_start() 92 /* internal and external reset, stop after that */ in pnx4008_wdt_start() 100 writel(wdd->timeout * WDOG_COUNTER_RATE, WDTIM_MATCH0(wdt_base)); in pnx4008_wdt_start() 101 /*enable counter, stop when debugger active */ in pnx4008_wdt_start() 112 writel(0, WDTIM_CTRL(wdt_base)); /*stop counter */ in pnx4008_wdt_stop() 121 wdd->timeout = new_timeout; in pnx4008_wdt_set_timeout() 126 unsigned long mode, void *cmd) in pnx4008_restart_handler() argument [all …]
|
/linux/tools/tracing/rtla/src/ |
H A D | timerlat.c | 1 // SPDX-License-Identifier: GPL-2.0 23 static int dma_latency_fd = -1; 26 * timerlat_apply_config - apply common configs to the initialized tool 35 * If BPF enablement fails, fall back to tracefs mode. in timerlat_apply_config() 39 params->mode = TRACING_MODE_TRACEFS; in timerlat_apply_config() 40 } else if (!tep_find_event_by_name(tool->trace.tep, "osnoise", "timerlat_sample")) { in timerlat_apply_config() 42 params->mode = TRACING_MODE_TRACEFS; in timerlat_apply_config() 47 params->mode = TRACING_MODE_TRACEFS; in timerlat_apply_config() 51 if (params->mode != TRACING_MODE_BPF) { in timerlat_apply_config() 53 * In tracefs and mixed mode, timerlat tracer handles stopping in timerlat_apply_config() [all …]
|
/linux/arch/m68k/include/asm/ |
H A D | mcfuart.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * mcfuart.h -- ColdFire internal UART support defines. 7 * (C) Copyright 1999-2003, Greg Ungerer (gerg@snapgear.com) 29 #define MCFUART_UMR 0x00 /* Mode register (r/w) */ 57 * Define bit flags in Mode Register 1 (MR1). 62 #define MCFUART_MR1_RXERRBLOCK 0x20 /* RX block error mode */ 63 #define MCFUART_MR1_RXERRCHAR 0x00 /* RX char error mode */ 77 * Define bit flags in Mode Register 2 (MR2). 79 #define MCFUART_MR2_LOOPBACK 0x80 /* Loopback mode */ 80 #define MCFUART_MR2_REMOTELOOP 0xc0 /* Remote loopback mode */ [all …]
|
/linux/Documentation/userspace-api/media/rc/ |
H A D | rc-tables.rst | 1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later 30 .. flat-table:: IR default keymapping 31 :header-rows: 0 32 :stub-columns: 0 36 - .. row 1 38 - Key code 40 - Meaning 42 - Key examples on IR 44 - .. row 2 46 - **Numeric keys** [all …]
|
/linux/drivers/i2c/algos/ |
H A D | i2c-algo-pca.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * i2c-algo-pca.c i2c driver algorithms for PCA9564 adapters 15 #include <linux/i2c-algo-pca.h> 26 #define pca_outw(adap, reg, val) adap->write_byte(adap->data, reg, val) 27 #define pca_inw(adap, reg) adap->read_byte(adap->data, reg) 30 #define pca_clock(adap) adap->i2c_clock 33 #define pca_wait(adap) adap->wait_for_completion_cb(adap->data) 37 if (adap->chip == I2C_PCA_CHIP_9665) { in pca_reset() 46 * After a reset we need to re-apply any configuration in pca_reset() 50 pca_outw(adap, I2C_PCA_IND, adap->bus_settings.mode); in pca_reset() [all …]
|
/linux/drivers/tty/serial/ |
H A D | suncore.c | 1 // SPDX-License-Identifier: GPL-2.0 32 drv->minor = sunserial_current_minor; in sunserial_register_minors() 33 drv->nr += count; in sunserial_register_minors() 35 if (drv->nr == count) in sunserial_register_minors() 39 drv->tty_driver->name_base = drv->minor - 64; in sunserial_register_minors() 47 drv->nr -= count; in sunserial_unregister_minors() 48 sunserial_current_minor -= count; in sunserial_unregister_minors() 50 if (drv->nr == 0) in sunserial_unregister_minors() 61 drv->cons = con; in sunserial_console_match() 78 con->index = line; in sunserial_console_match() [all …]
|
/linux/tools/perf/pmu-events/arch/x86/broadwellx/ |
H A D | uncore-interconnect.json | 111 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Atomic Transactions as Secondary", 116 "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 121 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Read Transactions as Secondary", 126 "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 131 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Write Transactions as Secondary", 136 "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 141 "BriefDescription": "Misc Events - Set 0; Fastpath Rejects", 146 "PublicDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", 151 "BriefDescription": "Misc Events - Set 0; Fastpath Requests", 156 "PublicDescription": "Counts Timeouts - Se [all...] |
/linux/tools/perf/pmu-events/arch/x86/haswellx/ |
H A D | uncore-interconnect.json | 111 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Atomic Transactions as Secondary", 116 "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 121 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Read Transactions as Secondary", 126 "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 131 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Write Transactions as Secondary", 136 "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 141 "BriefDescription": "Misc Events - Set 0; Fastpath Rejects", 146 "PublicDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", 151 "BriefDescription": "Misc Events - Set 0; Fastpath Requests", 156 "PublicDescription": "Counts Timeouts - Se [all...] |
/linux/drivers/comedi/drivers/ |
H A D | quatech_daqp_cs.c | 1 // SPDX-License-Identifier: GPL-2.0 8 * COMEDI - Linux Control and Measurement Device Interface 13 * ftp://ftp.quatech.com/Manuals/daqp-208.pdf 15 * This manual is for both the DAQP-208 and the DAQP-308. 18 * - A/D conversion 19 * - 8 channels 20 * - 4 gain ranges 21 * - ground ref or differential 22 * - single-shot and timed both supported 23 * - D/A conversion, single-shot [all …]
|
/linux/Documentation/hwmon/ |
H A D | w83792d.rst | 10 Addresses scanned: I2C 0x2c - 0x2f 19 ----------------- 35 ----------- 42 parameter; this will put it into a more well-behaved state first. 46 strategies called: Smart Fan I (Thermal Cruise mode) and Smart Fan II. 48 The driver also implements up to seven fan control outputs: pwm1-7. Pwm1-7 53 Automatic fan control mode is possible only for fan1-fan3. 116 ---------------- 118 - This driver is only for Winbond W83792D C version device, there 120 calculation method to in6-in7(measured value, limits) is a little [all …]
|