/linux/Documentation/devicetree/bindings/memory-controllers/ |
H A D | ti-aemif.txt | 4 provide a glue-less interface to a variety of asynchronous memory devices like 11 Davinci DM646x - http://www.ti.com/lit/ug/sprueq7c/sprueq7c.pdf 12 OMAP-L138 (DA850) - http://www.ti.com/lit/ug/spruh77a/spruh77a.pdf 13 Kestone - http://www.ti.com/lit/ug/sprugz3a/sprugz3a.pdf 17 - compatible: "ti,davinci-aemif" 18 "ti,keystone-aemif" 19 "ti,da850-aemif" 21 - reg: contains offset/length value for AEMIF control registers 24 - #address-cells: Must be 2. The partition number has to be encoded in the 25 first address cell and it may accept values 0..N-1 [all …]
|
/linux/drivers/media/usb/au0828/ |
H A D | au0828-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include <linux/delay.h> 17 #include <media/v4l2-common.h> 28 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_slave_did_read_ack() 51 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_read_busy() 74 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_write_done() 97 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_is_busy() 122 int i, strobe = 0; in i2c_sendbytes() local 123 struct au0828_dev *dev = i2c_adap->algo_data; in i2c_sendbytes() 124 u8 i2c_speed = dev->board.i2c_clk_divider; in i2c_sendbytes() [all …]
|
/linux/sound/drivers/ |
H A D | portman2x4.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) by Levent Guendogdu <levon@feature-it.com> 9 * - cleanup and rewrite 11 * - source code cleanup 13 * - fixed compilation problem with alsa 1.0.6a (removed MODULE_CLASSES, 17 * - added 2.6 kernel support 19 …* - added parport_unregister_driver to the startup routine if the driver fails to detect a po… 20 * - added support for all 4 output ports in portman_putmidi 22 * - added checks for opened input device in interrupt handler 24 * - ported from alsa 0.5 to 1.0 [all …]
|
/linux/Documentation/devicetree/bindings/mmc/ |
H A D | sprd,sdhci-r11.yaml | 1 # SPDX-License-Identifier: GPL-2.0 OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mmc/sprd,sdhci-r11.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 16 const: sprd,sdhci-r11 27 - description: SDIO source clock 28 - description: gate clock for enabling/disabling the device [all …]
|
/linux/include/linux/ |
H A D | lp.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * usr/include/linux/lp.h c.1991-1992 James Wiegand 16 /* Magic numbers for defining port-device mappings */ 17 #define LP_PARPORT_UNSPEC -4 18 #define LP_PARPORT_AUTO -3 19 #define LP_PARPORT_OFF -2 20 #define LP_PARPORT_NONE -1 25 #define LP_WAIT(minor) lp_table[(minor)].wait /* strobe wait */ 26 #define LP_IRQ(minor) lp_table[(minor)].dev->port->irq /* interrupt # */ 33 #define LP_BASE(x) lp_table[(x)].dev->port->base [all …]
|
/linux/drivers/media/i2c/ |
H A D | lm3646.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * Ldd-Mlp <ldd-mlp@list.ti.com> 12 #include <linux/delay.h> 19 #include <media/v4l2-ctrls.h> 20 #include <media/v4l2-device.h> 78 container_of(_ctrl->handler, struct lm3646_flash, ctrls_led) 86 return regmap_write(flash->regmap, in lm3646_mode_ctrl() 87 REG_ENABLE, flash->mode_reg | MODE_SHDN); in lm3646_mode_ctrl() 89 return regmap_write(flash->regmap, in lm3646_mode_ctrl() 90 REG_ENABLE, flash->mode_reg | MODE_TORCH); in lm3646_mode_ctrl() [all …]
|
/linux/drivers/mmc/host/ |
H A D | sdhci-esdhc-imx.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * derived from the OF-version. 14 #include <linux/delay.h> 23 #include <linux/mmc/slot-gpio.h> 28 #include "sdhci-cqhci.h" 29 #include "sdhci-pltfm.h" 30 #include "sdhci-esdhc.h" 85 #define ESDHC_TUNE_CTRL_MAX ((1 << 7) - 1) 91 /* strobe dll register */ 148 * open ended multi-blk IO. Otherwise the TC INT wouldn't [all …]
|
H A D | sdhci-of-dwcmshc.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/arm-smccc.h> 14 #include <linux/dma-mapping.h> 25 #include "sdhci-pltfm.h" 42 /* Tuning and auto-tuning fields in AT_CTRL_R control register */ 52 #define AT_CTRL_PRE_CHANGE_DLY 0x1 /* 2-cycle latency */ 54 #define AT_CTRL_POST_CHANGE_DLY 0x3 /* 4-cycle latency */ 137 /* PHY strobe pad settings */ 152 #define PHY_PAD_TXSLEW_CTRL_P 0x3 /* Slew control for P-Type pad TX */ 154 #define PHY_PAD_TXSLEW_CTRL_N 0x3 /* Slew control for N-Type pad TX */ [all …]
|
H A D | sdhci-sprd.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <linux/delay.h> 9 #include <linux/dma-mapping.h> 22 #include "sdhci-pltfm.h" 105 { "sprd,phy-delay-legacy", MMC_TIMING_LEGACY, }, 106 { "sprd,phy-delay-sd-highspeed", MMC_TIMING_SD_HS, }, 107 { "sprd,phy-delay-sd-uhs-sdr50", MMC_TIMING_UHS_SDR50, }, 108 { "sprd,phy-delay-sd-uhs-sdr104", MMC_TIMING_UHS_SDR104, }, 109 { "sprd,phy-delay-mmc-highspeed", MMC_TIMING_MMC_HS, }, 110 { "sprd,phy-delay-mmc-ddr52", MMC_TIMING_MMC_DDR52, }, [all …]
|
/linux/drivers/parport/ |
H A D | ieee1284_ops.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* IEEE-1284 operations for parport. 5 * they are used by the low-level drivers. If they have a special way 7 * the function pointers in port->ops); if not, they can just use these 20 #include <linux/delay.h> 31 * One-way data transfer functions. * 43 struct pardevice *dev = port->physport->cad; in parport_ieee1284_write_compat() 47 if (port->irq != PARPORT_IRQ_NONE) { in parport_ieee1284_write_compat() 52 port->physport->ieee1284.phase = IEEE1284_PH_FWD_DATA; in parport_ieee1284_write_compat() 56 unsigned long expire = jiffies + dev->timeout; in parport_ieee1284_write_compat() [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_ptp_hw.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 67 * struct ice_phy_reg_info_eth56g - ETH56G PHY register parameters 108 * PAR/PCS clock cycle, and static delay values measured during hardware 113 * different link speeds, either the deskew marker for multi-lane link speeds 114 * or the Reed Solomon gearbox marker for RS-FEC. 134 * struct ice_eth56g_mac_reg_cfg - MAC config values for specific PTP registers 136 * @tx_mk_dly: Tx timestamp marker start strobe delay 137 * @tx_cw_dly: Tx timestamp codeword start strobe delay 139 * @rx_mk_dly: Rx timestamp marker start strobe delay 140 * @rx_cw_dly: Rx timestamp codeword start strobe delay [all …]
|
/linux/sound/pci/asihpi/ |
H A D | hpi6000.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 Copyright (C) 1997-2011 AudioScience Inc. <support@audioscience.com> 18 (C) Copyright AudioScience Inc. 1998-2003 78 /* can't access SDRAM - test#1 */ 80 /* can't access SDRAM - test#2 */ 210 switch (phm->function) { in subsys_message() 215 phr->error = HPI_ERROR_INVALID_FUNC; in subsys_message() 223 struct hpi_hw_obj *phw = pao->priv; in control_message() 225 switch (phm->function) { in control_message() 227 if (pao->has_control_cache) { in control_message() [all …]
|
/linux/Documentation/devicetree/bindings/leds/ |
H A D | common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jacek Anaszewski <jacek.anaszewski@gmail.com> 11 - Pavel Machek <pavel@ucw.cz> 16 blinking patterns, flash timeout, flash faults and external flash strobe mode. 25 led-sources: 30 $ref: /schemas/types.yaml#/definitions/uint32-array 35 from the header include/dt-bindings/leds/common.h. If there is no 42 the header include/dt-bindings/leds/common.h. If there is no matching [all …]
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-defs.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2010-2021 Hans Verkuil <hverkuil-cisco@xs4all.nl> 9 #include <media/v4l2-ctrls.h> 26 "MPEG-1/2 Layer I", in v4l2_ctrl_get_menu() 27 "MPEG-1/2 Layer II", in v4l2_ctrl_get_menu() 28 "MPEG-1/2 Layer III", in v4l2_ctrl_get_menu() 29 "MPEG-2/4 AAC", in v4l2_ctrl_get_menu() 30 "AC-3", in v4l2_ctrl_get_menu() 128 "16-bit CRC", in v4l2_ctrl_get_menu() 141 "MPEG-1", in v4l2_ctrl_get_menu() [all …]
|
/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos5420-smdk5420.dts | 1 // SPDX-License-Identifier: GPL-2.0 9 /dts-v1/; 11 #include "exynos5420-cpus.dtsi" 12 #include <dt-bindings/clock/samsung,s2mps11.h> 13 #include <dt-bindings/gpio/gpio.h> 31 stdout-path = "serial2:115200n8"; 34 fixed-rate-clocks { 36 compatible = "samsung,exynos5420-oscclk"; 37 clock-frequency = <24000000>; 41 vdd: regulator-0 { [all …]
|
H A D | exynos5422-odroidxu3-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 3 * Hardkernel Odroid XU3/XU3-Lite/XU4 boards common device tree source 12 #include <dt-bindings/input/input.h> 13 #include "exynos5422-odroid-core.dtsi" 20 gpio-keys { 21 compatible = "gpio-keys"; 22 pinctrl-names = "default"; 23 pinctrl-0 = <&power_key>; 25 power-key { 36 debounce-interval = <0>; [all …]
|
/linux/drivers/auxdisplay/ |
H A D | panel.c | 1 // SPDX-License-Identifier: GPL-2.0+ 4 * Copyright (C) 2000-2008, Willy Tarreau <w@1wt.eu> 5 * Copyright (C) 2016-2017 Glider bvba 10 * The LCD module may either be an HD44780-like 8-bit parallel LCD, or a 1-bit 15 * data output pins or to the ground. The combinations have to be hard-coded 22 * - the initialization/deinitialization process is very dirty and should 26 * - document 24 keys keyboard (3 rows of 8 cols, 32 diodes + 2 inputs) 27 * - make the LCD a part of a virtual screen of Vx*Vy 28 * - make the inputs list smp-safe 29 * - change the keyboard to a double mapping : signals -> key_id -> values [all …]
|
/linux/drivers/video/fbdev/aty/ |
H A D | mach64_gx.c | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <linux/delay.h> 36 #define MAX_N 255-8 60 aty_st_8(CLOCK_CNTL + par->clk_wr_offset, tmp | CLOCK_STROBE, par); in aty_StrobeClock() 83 struct atyfb_par *par = (struct atyfb_par *) info->par; in aty_set_dac_514() 154 pll->ibm514.m = RGB514_clocks[i].m; in aty_var_to_pll_514() 155 pll->ibm514.n = RGB514_clocks[i].n; in aty_var_to_pll_514() 158 return -EINVAL; in aty_var_to_pll_514() 164 struct atyfb_par *par = (struct atyfb_par *) info->par; in aty_pll_514_to_var() 167 df = pll->ibm514.m >> 6; in aty_pll_514_to_var() [all …]
|
/linux/drivers/leds/ |
H A D | leds-lm3642.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <linux/delay.h> 14 #include <linux/platform_data/leds-lm3642.h> 90 struct lm3642_platform_data *pdata = chip->pdata; in lm3642_chip_init() 93 ret = regmap_update_bits(chip->regmap, REG_ENABLE, EX_PIN_ENABLE_MASK, in lm3642_chip_init() 94 pdata->tx_pin); in lm3642_chip_init() 96 dev_err(chip->dev, "Failed to update REG_ENABLE Register\n"); in lm3642_chip_init() 106 ret = regmap_read(chip->regmap, REG_FLAG, &chip->last_flag); in lm3642_control() 108 dev_err(chip->dev, "Failed to read REG_FLAG Register\n"); in lm3642_control() 112 if (chip->last_flag) in lm3642_control() [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | omap3-n900.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 4 * Copyright (C) 2013-2014 Aaro Koskinen <aaro.koskinen@iki.fi> 7 /dts-v1/; 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/media/video-interfaces.h> 15 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall 17 * blocks then kernel receive "Unhandled fault: external abort on non-linefetch" 18 * and crash. Until somebody fix omap-aes.c and omap_hwmod_3xxx_data.c code (no 34 compatible = "nokia,omap3-n900", "ti,omap3430", "ti,omap3"; [all …]
|
/linux/drivers/media/platform/ti/omap3isp/ |
H A D | ispccp2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * TI OMAP3 ISP - CCP2 module 14 #include <linux/delay.h> 62 * ccp2_print_status - Print current CCP2 module register values. 65 dev_dbg(isp->dev, "###CCP2 " #name "=0x%08x\n", \ 72 dev_dbg(isp->dev, "-------------CCP2 Register dump-------------\n"); in ccp2_print_status() 103 dev_dbg(isp->dev, "--------------------------------------------\n"); in ccp2_print_status() 107 * ccp2_reset - Reset the CCP2 121 if (i++ > 10) { /* try read 10 times */ in ccp2_reset() 122 dev_warn(isp->dev, in ccp2_reset() [all …]
|
/linux/drivers/pci/controller/ |
H A D | pci-aardvark.c | 1 // SPDX-License-Identifier: GPL-2.0 12 #include <linux/delay.h> 16 #include <linux/irqchip/irq-msi-lib.h> 21 #include <linux/pci-ecam.h> 30 #include "../pci-bridge-emul.h" 140 #define OB_WIN_DEFAULT_ACTIONS (OB_WIN_ACTIONS(OB_WIN_COUNT-1) + 0x4) 294 writel(val, pcie->base + reg); in advk_writel() 299 return readl(pcie->base + reg); in advk_readl() 314 /* check if LTSSM is in normal operation - some L* state */ in advk_pcie_link_up() 322 * According to PCIe Base specification 3.0, Table 4-14: Link in advk_pcie_link_active() [all …]
|
/linux/Documentation/virt/kvm/x86/ |
H A D | timekeeping.rst | 1 .. SPDX-License-Identifier: GPL-2.0 4 Timekeeping Virtualization for X86-Based Architectures 32 information relevant to KVM and hardware-based virtualization. 41 2.1. i8254 - PIT 42 ---------------- 46 channels which can be programmed to deliver periodic or one-shot interrupts. 53 The PIT uses I/O ports 0x40 - 0x43. Access to the 16-bit counters is done 59 -------------- ---------------- 61 | 1.1932 MHz|---------->| CLOCK OUT | ---------> IRQ 0 63 -------------- | +->| GATE TIMER 0 | [all …]
|
/linux/drivers/ata/pata_parport/ |
H A D | bpck6.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * backpack.c is a low-level protocol driver for the Micro Solutions 8 * Written by: Ken Hahn (linux-dev@micro-solutions.com) 9 * Clive Turvey (linux-dev@micro-solutions.com) 29 #define PREFIX_IO16 0x01 // perform 16-bit wide I/O 30 #define PREFIX_FASTWR 0x04 // enable PPC mode fast-write 37 #define REG_VERSION 0x01 // PPC version register (read) 51 /* DONT CHANGE THESE LEST YOU BREAK EVERYTHING - BIT FIELD DEPENDENCIES */ 65 switch (mode_map[pi->mode]) { in bpck6_send_cmd() 70 parport_write_data(pi->pardev->port, cmd); in bpck6_send_cmd() [all …]
|
/linux/arch/arm/mach-sa1100/include/mach/ |
H A D | SA-1100.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * FILE SA-1100.h 9 * System StrongARM SA-1100 12 * SA-1100 microprocessor (Advanced RISC Machine (ARM) 14 * StrongARM SA-1100 data sheet version 2.2. 21 #error You must include hardware.h not SA-1100.h 81 * Controller (UDC) Control Register (read/write). 83 * Controller (UDC) Address Register (read/write). 86 * (read/write). 89 * (read/write). [all …]
|