/linux/drivers/gpu/drm/sti/ |
H A D | sti_vtg.c | 1 // SPDX-License-Identifier: GPL-2.0 74 #define AWG_DELAY_HD (-9) 75 #define AWG_DELAY_ED (-8) 76 #define AWG_DELAY_SD (-7) 156 writel(1, vtg->regs + VTG_DRST_AUTOC); in vtg_reset() 160 const struct drm_display_mode *mode) in vtg_set_output_window() argument 166 u32 xstart = sti_vtg_get_pixel_number(*mode, 0); in vtg_set_output_window() 167 u32 ystart = sti_vtg_get_line_number(*mode, 0); in vtg_set_output_window() 168 u32 xstop = sti_vtg_get_pixel_number(*mode, mode->hdisplay - 1); in vtg_set_output_window() 169 u32 ystop = sti_vtg_get_line_number(*mode, mode->vdisplay - 1); in vtg_set_output_window() [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> 14 - $ref: can-controller.yaml# 19 - enum: 20 - fsl,imx95-flexcan 21 - fsl,imx93-flexcan 22 - fsl,imx8qm-flexcan [all …]
|
/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/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/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/Documentation/tools/rtla/ |
H A D | common_osnoise_options.rst | 1 **-a**, **--auto** *us* 3 Set the automatic trace mode. This mode sets some commonly used options 4 while debugging the system. It is equivalent to use **-s** *us* **-T 1 -t**. 6 **-p**, **--period** *us* 10 **-r**, **--runtime** *us* 14 **-s**, **--stop** *us* 16 Stop the trace if a single sample is higher than the argument in microseconds. 17 If **-T** is set, it will also save the trace to the output. 19 **-S**, **--stop-total** *us* 21 Stop the trace if the total sample is higher than the argument in microseconds. [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/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/Documentation/devicetree/bindings/input/ |
H A D | dlg,da7280.txt | 4 - compatible: Should be "dlg,da7280". 5 - reg: Specifies the I2C slave address. 7 - interrupt-parent : Specifies the phandle of the interrupt controller to 10 - dlg,actuator-type: Set Actuator type. it should be one of: 11 "LRA" - Linear Resonance Actuator type. 12 "ERM-bar" - Bar type Eccentric Rotating Mass. 13 "ERM-coin" - Coin type Eccentric Rotating Mass. 15 - dlg,const-op-mode: Haptic operation mode for FF_CONSTANT. 17 1 - Direct register override(DRO) mode triggered by i2c(default), 18 2 - PWM data source mode controlled by PWM duty, [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 | osnoise_top.c | 1 // SPDX-License-Identifier: GPL-2.0 49 enum osnoise_mode mode; member 73 * osnoise_free_top - free runtime data 78 free(data->cpu_data); in osnoise_free_top() 83 * osnoise_alloc_histogram - alloc runtime data 93 data->nr_cpus = nr_cpus; in osnoise_alloc_top() 96 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in osnoise_alloc_top() 97 if (!data->cpu_data) in osnoise_alloc_top() 108 * osnoise_top_handler - this is the handler for osnoise tracer events 119 int cpu = record->cpu; in osnoise_top_handler() [all …]
|
/linux/drivers/i2c/busses/ |
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-nomadik.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2009 ST-Ericsson SA 6 * I2C master mode controller driver, used in Nomadik 8815 11 * - The memory bus only supports 32-bit accesses. 12 * - (only EyeQ5) A register must be configured for the I2C speed mode; 35 #define DRIVER_NAME "nmk-i2c" 56 #define I2C_CR_OM GENMASK(2, 1) /* Operating mode */ 57 #define I2C_CR_SAM BIT(3) /* Slave addressing mode */ 58 #define I2C_CR_SM GENMASK(5, 4) /* Speed mode */ 59 #define I2C_CR_SGCM BIT(6) /* Slave general call mode */ [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/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(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/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/tools/perf/pmu-events/arch/x86/broadwellx/ |
H A D | uncore-interconnect.json | 7 …-width (L0) mode, flits are made up of four fits, each of which contains 20 bits of data (along wi… 17 …-width (L0) mode, flits are made up of four fits, each of which contains 20 bits of data (along wi… 131 … "BriefDescription": "Misc Events - Set 0; Cache Inserts of Atomic Transactions as Secondary", 136 …"PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 141 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Read Transactions as Secondary", 146 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 151 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Write Transactions as Secondary", 156 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 161 "BriefDescription": "Misc Events - Set 0; Fastpath Rejects", 166 "PublicDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", [all …]
|
/linux/Documentation/userspace-api/media/cec/ |
H A D | cec-pin-error-inj.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 9 has low-level support for the CEC bus. Most hardware today will have 10 high-level CEC support where the hardware deals with driving the CEC bus, 19 Currently only the cec-gpio driver (when the CEC line is directly 20 connected to a pull-up GPIO line) and the AllWinner A10/A20 drm driver 25 now an ``error-inj`` file. 32 With ``cat error-inj`` you can see both the possible commands and the current 35 $ cat /sys/kernel/debug/cec/cec0/error-inj 38 # rx-clear clear all rx error injections 39 # tx-clear clear all tx error injections [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/haswellx/ |
H A D | uncore-interconnect.json | 7 …-width (L0) mode, flits are made up of four fits, each of which contains 20 bits of data (along wi… 17 …-width (L0) mode, flits are made up of four fits, each of which contains 20 bits of data (along wi… 131 … "BriefDescription": "Misc Events - Set 0; Cache Inserts of Atomic Transactions as Secondary", 136 …"PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Atomic Transactions as Secondary", 141 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Read Transactions as Secondary", 146 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Read Transactions as Secondary", 151 "BriefDescription": "Misc Events - Set 0; Cache Inserts of Write Transactions as Secondary", 156 … "PublicDescription": "Counts Timeouts - Set 0 : Cache Inserts of Write Transactions as Secondary", 161 "BriefDescription": "Misc Events - Set 0; Fastpath Rejects", 166 "PublicDescription": "Counts Timeouts - Set 0 : Fastpath Rejects", [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/drivers/usb/cdns3/ |
H A D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2017-2018 NXP 6 * Copyright (C) 2018-2019 Cadence. 20 * struct cdns_role_driver - host/gadget role driver 22 * @stop: stop this role 31 void (*stop)(struct cdns *cdns); member 51 * struct cdns - Representation of Cadence USB3 DRD controller. 72 * @dr_mode: supported mode of operation it can be only Host, only Device 73 * or OTG mode that allow to switch between Device and Host mode. 77 * @in_lpm: indicate the controller is in low power mode
|