/Linux-v5.10/drivers/gpu/drm/sti/ |
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-v5.10/arch/arm/mach-imx/ |
D | common.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright 2004-2014 Freescale Semiconductor, Inc. All Rights Reserved. 51 STOP_POWER_ON, /* just STOP */ 52 STOP_POWER_OFF, /* STOP + SRPG */ 56 ULP_PM_HSRUN, /* High speed run mode */ 57 ULP_PM_RUN, /* Run mode */ 58 ULP_PM_WAIT, /* Wait mode */ 59 ULP_PM_STOP, /* Stop mode */ 60 ULP_PM_VLPS, /* Very low power stop mode */ 61 ULP_PM_VLLS, /* very low leakage stop mode */ [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/net/ |
D | ethernet-phy.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/net/ethernet-phy.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Andrew Lunn <andrew@lunn.ch> 11 - Florian Fainelli <f.fainelli@gmail.com> 12 - Heiner Kallweit <hkallweit1@gmail.com> 14 # The dt-schema tools will generate a select statement first by using 21 pattern: "^ethernet-phy(@[a-f0-9]+)?$" 24 - $nodename [all …]
|
D | fsl-fec.txt | 4 - compatible : Should be "fsl,<soc>-fec" 5 - reg : Address and length of the register set for the device 6 - interrupts : Should contain fec interrupt 7 - phy-mode : See ethernet.txt file in the same directory 10 - phy-supply : regulator that powers the Ethernet PHY. 11 - phy-handle : phandle to the PHY device connected to this device. 12 - fixed-link : Assume a fixed link. See fixed-link.txt in the same directory. 13 Use instead of phy-handle. 14 - fsl,num-tx-queues : The property is valid for enet-avb IP, which supports 17 - fsl,num-rx-queues : The property is valid for enet-avb IP, which supports [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/net/can/ |
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,imx8qm-flexcan 21 - fsl,imx8mp-flexcan 22 - fsl,imx6q-flexcan [all …]
|
/Linux-v5.10/arch/mips/include/uapi/asm/ |
D | termbits.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 26 tcflag_t c_iflag; /* input mode flags */ 27 tcflag_t c_oflag; /* output mode flags */ 28 tcflag_t c_cflag; /* control mode flags */ 29 tcflag_t c_lflag; /* local mode flags */ 35 tcflag_t c_iflag; /* input mode flags */ 36 tcflag_t c_oflag; /* output mode flags */ 37 tcflag_t c_cflag; /* control mode flags */ 38 tcflag_t c_lflag; /* local mode flags */ 46 tcflag_t c_iflag; /* input mode flags */ [all …]
|
/Linux-v5.10/drivers/i2c/busses/ |
D | i2c-uniphier-f.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 15 #define UNIPHIER_FI2C_CR_MST BIT(3) /* master 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 slave 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 …]
|
D | i2c-img-scb.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * - Raw control of the SDA and SCK signals. 15 * - Atomic commands. A low level I2C symbol (such as generate 16 * start/stop/ack/nack bit, generate byte, receive byte, and receive 20 * This mode of operation is used by MODE_ATOMIC, which uses an I2C 22 * transactions using atomic mode commands, and also by MODE_SEQUENCE, 23 * which emits a simple fixed sequence of atomic mode commands. 29 * - Automatic mode. A bus address, and whether to read/write is 38 * Use of automatic mode and the FIFO can make much more efficient use 44 * the bus), MODE_ATOMIC must be used since automatic mode is normally [all …]
|
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 77 writeb((readb(priv->base + reg) & ~clear) | set, priv->base + reg); in em_clear_set_bit() 85 reinit_completion(&priv->msg_done); in em_i2c_wait_for_event() 87 time_left = wait_for_completion_timeout(&priv->msg_done, priv->adap.timeout); in em_i2c_wait_for_event() 90 return -ETIMEDOUT; in em_i2c_wait_for_event() 92 status = readb(priv->base + I2C_OFS_IICSE0); in em_i2c_wait_for_event() 93 return status & I2C_BIT_ALD0 ? -EAGAIN : status; in em_i2c_wait_for_event() 98 /* Send Stop condition */ in em_i2c_stop() [all …]
|
D | i2c-pnx.c | 7 * 2004-2006 (c) MontaVista Software, Inc. This file is licensed under 33 int mode; /* Interface mode */ member 84 #define I2C_REG_RX(a) ((a)->ioaddr) /* Rx FIFO reg (RO) */ 85 #define I2C_REG_TX(a) ((a)->ioaddr) /* Tx FIFO reg (WO) */ 86 #define I2C_REG_STS(a) ((a)->ioaddr + 0x04) /* Status reg (RO) */ 87 #define I2C_REG_CTL(a) ((a)->ioaddr + 0x08) /* Ctl reg */ 88 #define I2C_REG_CKL(a) ((a)->ioaddr + 0x0c) /* Clock divider low */ 89 #define I2C_REG_CKH(a) ((a)->ioaddr + 0x10) /* Clock divider high */ 90 #define I2C_REG_ADR(a) ((a)->ioaddr + 0x14) /* I2C address */ 91 #define I2C_REG_RFL(a) ((a)->ioaddr + 0x18) /* Rx FIFO level (RO) */ [all …]
|
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 25 #define DRIVER_NAME "nmk-i2c" 46 #define I2C_CR_OM (0x3 << 1) /* Operating mode */ 47 #define I2C_CR_SAM (0x1 << 3) /* Slave addressing mode */ 48 #define I2C_CR_SM (0x3 << 4) /* Speed mode */ 49 #define I2C_CR_SGCM (0x1 << 6) /* Slave general call mode */ 55 #define I2C_CR_LM (0x1 << 12) /* Loopback mode */ 57 #define I2C_CR_FS (0x3 << 15) /* Force stop enable */ [all …]
|
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> 42 #define ICR_STOP (1 << 1) /* stop bit */ 52 #define ICR_SSDIE (1 << 11) /* slave STOP detected int enable */ 56 #define ICR_FM (1 << 15) /* fast mode */ 57 #define ICR_HS (1 << 16) /* High Speed mode */ [all …]
|
D | i2c-stm32f4.c | 1 // SPDX-License-Identifier: GPL-2.0 13 * This driver is based on i2c-st.c 31 #include "i2c-stm32.h" 97 * struct stm32f4_i2c_msg - client specific data 98 * @addr: 8-bit slave addr, including r/w bit 102 * @stop: last I2C msg to be sent, i.e. STOP to be generated 109 bool stop; member 113 * struct stm32f4_i2c_dev - private data of the controller 146 void __iomem *reg = i2c_dev->base + STM32F4_I2C_CR2; in stm32f4_i2c_disable_irq() 156 i2c_dev->parent_rate = clk_get_rate(i2c_dev->clk); in stm32f4_i2c_set_periph_clk_freq() [all …]
|
/Linux-v5.10/include/linux/ |
D | ptrace.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 26 * The owner ship rules for task->ptrace which holds the ptrace 27 * flags is simple. When a task is running it owns it's task->ptrace 28 * flags. When the a task is stopped the ptracer owns task->ptrace. 50 /* single stepping state bits (used on ARM and PA-RISC) */ 82 * ptrace_may_access - check whether the caller is permitted to access 85 * @mode: selects type of access and caller credentials 90 * be set in @mode to specify whether the access was requested through 95 extern bool ptrace_may_access(struct task_struct *task, unsigned int mode); 99 return !same_thread_group(child->real_parent, child->parent); in ptrace_reparented() [all …]
|
/Linux-v5.10/arch/arm/mach-lpc32xx/ |
D | suspend.S | 2 * arch/arm/mach-lpc32xx/suspend.S 41 stmfd r0!, {r3 - r7, sp, lr} 65 @ Setup self-refresh with support for manual exit of 66 @ self-refresh mode 72 @ Wait for self-refresh acknowledge, clocks to the DRAM device 73 @ will automatically stop on start of self-refresh 78 bne 3b @ Branch until self-refresh mode starts 80 @ Enter direct-run mode from run mode 97 @ Enter stop mode until an enabled event occurs 104 @ Clear stop status [all …]
|
/Linux-v5.10/drivers/scsi/aic7xxx/aicasm/ |
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-v5.10/arch/s390/kvm/ |
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-v5.10/include/linux/soundwire/ |
D | sdw.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-17 Intel Corporation. */ 71 * enum sdw_slave_status - Slave status 85 * enum sdw_clk_stop_type: clock stop operations 87 * @SDW_CLK_PRE_PREPARE: pre clock stop prepare 88 * @SDW_CLK_POST_PREPARE: post clock stop prepare 89 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepare 90 * @SDW_CLK_POST_DEPREPARE: post clock stop de-prepare 100 * enum sdw_command_response - Command response as defined by SDW spec 153 * enum sdw_port_data_mode: Data Port mode [all …]
|
D | sdw_intel.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-17 Intel Corporation. */ 46 * struct sdw_intel_acpi_info - Soundwire Intel information found in ACPI tables 48 * @count: link count found with "sdw-master-count" property 49 * @link_mask: bit-wise mask listing links enabled by BIOS menu 63 /* Intel clock-stop/pm_runtime quirk definitions */ 73 * Stop the bus during pm_runtime suspend. If set, a complete bus 74 * reset and re-enumeration will be performed when the bus 75 * restarts. This mode shall not be used if Slave devices can generate 76 * in-band wakes. [all …]
|
/Linux-v5.10/drivers/usb/cdns3/ |
D | core.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * Copyright (C) 2017-2018 NXP 6 * Copyright (C) 2018-2019 Cadence. 20 * struct cdns3_role_driver - host/gadget role driver 22 * @stop: stop this role 31 void (*stop)(struct cdns3 *cdns); member 48 * struct cdns3 - Representation of Cadence USB3 DRD controller. 67 * @dr_mode: supported mode of operation it can be only Host, only Device 68 * or OTG mode that allow to switch between Device and Host mode. 72 * @in_lpm: indicate the controller is in low power mode
|
/Linux-v5.10/arch/m68k/include/asm/ |
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-v5.10/drivers/watchdog/ |
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-v5.10/Documentation/driver-api/media/ |
D | csi2.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 MIPI CSI-2 8 CSI-2 is a data bus intended for transferring images from cameras to 14 ----------------- 16 See :ref:`v4l2-mbus-pixelcode` for details on which media bus formats should 17 be used for CSI-2 interfaces. 20 ------------------- 22 CSI-2 transmitter, such as a sensor or a TV tuner, drivers need to 23 provide the CSI-2 receiver with information on the CSI-2 bus 26 (:c:type:`v4l2_subdev_video_ops`->s_stream() callback). These [all …]
|
/Linux-v5.10/drivers/regulator/ |
D | wm8350-regulator.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 // wm8350.c -- Voltage and current regulation for the Wolfson WM8350 PMIC 101 switch (wm8350->pmic.isink_A_dcdc) { in wm8350_isink_enable() 109 1 << (wm8350->pmic.isink_A_dcdc - in wm8350_isink_enable() 113 return -EINVAL; in wm8350_isink_enable() 117 switch (wm8350->pmic.isink_B_dcdc) { in wm8350_isink_enable() 125 1 << (wm8350->pmic.isink_B_dcdc - in wm8350_isink_enable() 129 return -EINVAL; in wm8350_isink_enable() 133 return -EINVAL; in wm8350_isink_enable() 145 switch (wm8350->pmic.isink_A_dcdc) { in wm8350_isink_disable() [all …]
|
/Linux-v5.10/drivers/input/serio/ |
D | ps2-gpio.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Author: Danilo Krummrich <danilokrummrich@dk-develop.de> 23 #define DRIVER_NAME "ps2-gpio" 50 unsigned char mode; member 66 struct ps2_gpio_data *drvdata = serio->port_data; in ps2_gpio_open() 68 enable_irq(drvdata->irq); in ps2_gpio_open() 74 struct ps2_gpio_data *drvdata = serio->port_data; in ps2_gpio_close() 76 flush_delayed_work(&drvdata->tx_work); in ps2_gpio_close() 77 disable_irq(drvdata->irq); in ps2_gpio_close() 82 struct ps2_gpio_data *drvdata = serio->port_data; in __ps2_gpio_write() [all …]
|