/linux/sound/soc/fsl/ |
H A D | fsl_sai.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 // Copyright 2012-2015 Freescale Semiconductor, Inc. 22 #include <linux/mfd/syscon/imx6q-iomuxc-gpr.h> 26 #include "imx-pcm.h" 44 * fsl_sai_dir_is_synced - Check if stream is synced by the opposite stream 58 return !sai->synchronous[dir] && sai->synchronous[adir]; in fsl_sai_dir_is_synced() 65 if (sai->is_pdm_mode) { in fsl_sai_get_pins_state() 68 state = pinctrl_lookup_state(sai->pinctrl, "dsd512"); in fsl_sai_get_pins_state() 72 state = pinctrl_lookup_state(sai->pinctrl, "dsd"); in fsl_sai_get_pins_state() 76 state = pinctrl_lookup_state(sai->pinctrl, "pcm_b2m"); in fsl_sai_get_pins_state() [all …]
|
H A D | fsl_esai.c | 1 // SPDX-License-Identifier: GPL-2.0 17 #include "imx-pcm.h" 25 * struct fsl_esai_soc_data - soc specific data 33 * struct fsl_esai - ESAI private data 98 static irqreturn_t esai_isr(int irq, void *devid) in esai_isr() argument 101 struct platform_device *pdev = esai_priv->pdev; in esai_isr() 105 regmap_read(esai_priv->regmap, REG_ESAI_ESR, &esr); in esai_isr() 106 regmap_read(esai_priv->regmap, REG_ESAI_SAISR, &saisr); in esai_isr() 109 esai_priv->soc->reset_at_xrun) { in esai_isr() 110 dev_dbg(&pdev->dev, "reset module for xrun\n"); in esai_isr() [all …]
|
/linux/drivers/gpu/drm/mcde/ |
H A D | mcde_display.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * (C) ST-Ericsson SA 2013 9 #include <linux/dma-buf.h> 11 #include <linux/media-bus-format.h> 80 mispp = readl(mcde->regs + MCDE_MISPP); in mcde_display_irq() 81 misovl = readl(mcde->regs + MCDE_MISOVL); in mcde_display_irq() 82 mischnl = readl(mcde->regs + MCDE_MISCHNL); in mcde_display_irq() 86 * are just latched onto the MCDE IRQ line, so we need to traverse in mcde_display_irq() 87 * any active DSI masters and check if an IRQ is originating from in mcde_display_irq() 92 if (!mcde->dpi_output && mcde_dsi_irq(mcde->mdsi)) { in mcde_display_irq() [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | samsung,pinctrl.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 12 - Tomasz Figa <tomasz.figa@gmail.com> 22 - External GPIO interrupts (see interrupts property in pin controller node); 24 - External wake-up interrupts - multiplexed (capable of waking up the system 25 see interrupts property in external wake-up interrupt controller node - 26 samsung,pinctrl-wakeup-interrupt.yaml); [all …]
|
/linux/drivers/staging/gpib/gpio/ |
H A D | gpib_bitbang.c | 1 // SPDX-License-Identifier: GPL-2.0 19 * cannot function as non-CIC system controller with SN7516x because 30 #define ENABLE_IRQ(IRQ, TYPE) irq_set_irq_type(IRQ, TYPE) argument 31 #define DISABLE_IRQ(IRQ) irq_set_irq_type(IRQ, IRQ_TYPE_NONE) argument 44 pr_info("%s:%s - " frm, NAME, __func__, ## __VA_ARGS__); } \ 65 #include <linux/irq.h> 72 #define PINMAP_1 "gpib4pi-1.1" 80 * Raspberry-Pi connector and the GPIB bus * 83 * GPIB Pi-gpio GPIB -> RPi * 87 D01_pin_nr = 20, /* 1 -> 38 */ [all …]
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | sdm845-shift-axolotl.dts | 1 // SPDX-License-Identifier: GPL-2.0 8 /dts-v1/; 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 20 qcom,msm-id = <321 0x20001>; 21 qcom,board-id = <11 0>; 30 #address-cells = <2>; 31 #size-cells = <2>; 34 stdout-path = "serial0"; [all …]
|
H A D | sdm670-google-sargo.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Device tree for Google Pixel 3a, adapted from google-blueline device tree, 4 * xiaomi-lavender device tree, and oneplus-common device tree. 9 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/pinctrl/qcom,pmic-gpio.h> 14 #include <dt-bindings/power/qcom-rpmpd.h> 19 /delete-node/ &mpss_region; 20 /delete-node/ &venus_mem; [all …]
|
H A D | sm8550-qrd.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/regulator/qcom,rpmh-regulator.h> 23 compatible = "qcom,sm8550-qrd", "qcom,sm8550"; 24 chassis-type = "handset"; 31 wcd938x: audio-codec { 32 compatible = "qcom,wcd9385-codec"; 34 pinctrl-names = "default"; 35 pinctrl-0 = <&wcd_default>; [all …]
|
/linux/arch/arm/boot/dts/st/ |
H A D | ste-ux500-samsung-skomer.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung XCover 2 GT-S7710 also known as Skomer. 6 /dts-v1/; 7 #include "ste-db8500.dtsi" 8 #include "ste-ab8505.dtsi" 9 #include "ste-dbx5x0-pinctrl.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/leds/common.h> 12 #include <dt-bindings/input/input.h> 13 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | ste-ux500-samsung-kyle.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Devicetree for the Samsung Galaxy Amp SGH-I407 also known as Kyle. 10 /dts-v1/; 11 #include "ste-db8500.dtsi" 12 #include "ste-ab8505.dtsi" 13 #include "ste-dbx5x0-pinctrl.dtsi" 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/leds/common.h> 16 #include <dt-bindings/input/input.h> 17 #include <dt-bindings/interrupt-controller/irq.h> [all …]
|
H A D | ste-ux500-samsung-golden.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /dts-v1/; 4 #include "ste-db8500.dtsi" 5 #include "ste-ab8505.dtsi" 6 #include "ste-dbx5x0-pinctrl.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/leds/common.h> 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/interrupt-controller/irq.h> 14 * You need an intermediate, device-tree compatible bootloader [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/displays/ |
H A D | panel-dsi-cm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 82 static irqreturn_t dsicm_te_isr(int irq, void *data); 92 ddata->hw_guard_wait = msecs_to_jiffies(guard_msec); in hw_guard_start() 93 ddata->hw_guard_end = jiffies + ddata->hw_guard_wait; in hw_guard_start() 98 unsigned long wait = ddata->hw_guard_end - jiffies; in hw_guard_wait() 100 if ((long)wait > 0 && time_before_eq(wait, ddata->hw_guard_wait)) { in hw_guard_wait() 108 struct omap_dss_device *in = ddata->in; in dsicm_dcs_read_1() 112 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, buf, 1); in dsicm_dcs_read_1() 124 struct omap_dss_device *in = ddata->in; in dsicm_dcs_write_0() 125 return in->ops.dsi->dcs_write(in, ddata->channel, &dcs_cmd, 1); in dsicm_dcs_write_0() [all …]
|
/linux/drivers/gpu/drm/omapdrm/dss/ |
H A D | dsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <linux/irq.h> 78 return dev_get_drvdata(dssdev->dev); in to_dsi_data() 92 case DSI_PROTO: base = dsi->proto_base; break; in dsi_write_reg() 93 case DSI_PHY: base = dsi->phy_base; break; in dsi_write_reg() 94 case DSI_PLL: base = dsi->pll_base; break; in dsi_write_reg() 106 case DSI_PROTO: base = dsi->proto_base; break; in dsi_read_reg() 107 case DSI_PHY: base = dsi->phy_base; break; in dsi_read_reg() 108 case DSI_PLL: base = dsi->pll_base; break; in dsi_read_reg() 117 down(&dsi->bus_lock); in dsi_bus_lock() [all …]
|
/linux/drivers/video/fbdev/omap/ |
H A D | hwa742.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 2004-2005 Nokia Corporation 61 /* Reserve 4 request slots for requests in irq context */ 139 hwa742.extif->set_bits_per_cycle(8); in hwa742_read_reg() 140 hwa742.extif->write_command(®, 1); in hwa742_read_reg() 141 hwa742.extif->read_data(&data, 1); in hwa742_read_reg() 148 hwa742.extif->set_bits_per_cycle(8); in hwa742_write_reg() 149 hwa742.extif->write_command(®, 1); in hwa742_write_reg() 150 hwa742.extif->write_data(&data, 1); in hwa742_write_reg() 158 x_end--; in set_window_regs() [all …]
|
/linux/arch/arm64/boot/dts/exynos/ |
H A D | exynos5433-tm2-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 11 /dts-v1/; 13 #include <dt-bindings/clock/samsung,s2mps11.h> 14 #include <dt-bindings/gpio/gpio.h> 15 #include <dt-bindings/input/input.h> 16 #include <dt-bindings/interrupt-controller/irq.h> 17 #include <dt-bindings/sound/samsung-i2s.h> 48 stdout-path = &serial_1; 56 gpio-keys { 57 compatible = "gpio-keys"; [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 299 int irq; member 408 return to_platform_device(dssdev->dev); in dsi_get_dsidev_from_dssdev() 429 return out ? to_platform_device(out->dev) : NULL; in dsi_get_dsidev_from_id() 439 case DSI_PROTO: base = dsi->proto_base; break; in dsi_write_reg() 440 case DSI_PHY: base = dsi->phy_base; break; in dsi_write_reg() 441 case DSI_PLL: base = dsi->pll_base; break; in dsi_write_reg() 455 case DSI_PROTO: base = dsi->proto_base; break; in dsi_read_reg() 456 case DSI_PHY: base = dsi->phy_base; break; in dsi_read_reg() 457 case DSI_PLL: base = dsi->pll_base; break; in dsi_read_reg() [all …]
|
/linux/drivers/tty/serial/ |
H A D | sh-sci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * SuperH on-chip serial module support. (SCI with no FIFO / with FIFO) 5 * Copyright (C) 2002 - 2011 Paul Mundt 9 * based off of the old drivers/char/sh-sci.c by: 26 #include <linux/dma-mapping.h> 58 #include "sh-sci.h" 60 /* Offsets into the sci_port->irqs array */ 74 ((port)->irqs[SCIx_ERI_IRQ] == \ 75 (port)->irqs[SCIx_RXI_IRQ]) || \ 76 ((port)->irqs[SCIx_ERI_IRQ] && \ [all …]
|
/linux/drivers/scsi/sym53c8xx_2/ |
H A D | sym_defs.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 4 * of PCI-SCSI IO processors. 6 * Copyright (C) 1999-2001 Gerard Roudier <groudier@free.fr> 9 * Copyright (C) 1998-2000 Gerard Roudier 12 * a port of the FreeBSD ncr driver to Linux-1.2.13. 16 * Stefan Esser <se@mi.Uni-Koeln.de> 24 *----------------------------------------------------------------------------- 31 #define SYM_DRIVER_NAME "sym-" SYM_VERSION 40 u_char burst_max; /* log-base-2 of max burst */ 48 #define FE_ULTRA2 (1<<3) /* Ultra 2 - 40 Mtrans/sec */ [all …]
|
/linux/drivers/net/ethernet/marvell/ |
H A D | sky2.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 /* Yukon-2 */ 32 PCI_Y2_PIG_ENA = 1<<31, /* Enable Plug-in-Go (YUKON-2) */ 33 PCI_Y2_DLL_DIS = 1<<30, /* Disable PCI DLL (YUKON-2) */ 34 PCI_SW_PWR_ON_RST= 1<<30, /* SW Power on Reset (Yukon-EX) */ 35 PCI_Y2_PHY2_COMA = 1<<29, /* Set PHY 2 to Coma Mode (YUKON-2) */ 36 PCI_Y2_PHY1_COMA = 1<<28, /* Set PHY 1 to Coma Mode (YUKON-2) */ 37 PCI_Y2_PHY2_POWD = 1<<27, /* Set PHY 2 to Power Down (YUKON-2) */ 38 PCI_Y2_PHY1_POWD = 1<<26, /* Set PHY 1 to Power Down (YUKON-2) */ 60 /* PCI_OUR_REG_3 32 bit Our Register 3 (Yukon-ECU only) */ [all …]
|
/linux/drivers/scsi/ |
H A D | ncr53c8xx.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 ** Device driver for the PCI-SCSI NCR538XX controller family. 6 ** Copyright (C) 1998-2001 Gerard Roudier <groudier@free.fr> 9 **----------------------------------------------------------------------------- 23 ** Stefan Esser <se@mi.Uni-Koeln.de> 62 /* --------------------------------------------------------------------- 65 ** --------------------------------------------------------------------- 143 * Disallow disconnections at boot-up 179 * Settle time after reset at boot-up 184 ** Bridge quirks work-around option defaulted to 1. [all …]
|
/linux/drivers/infiniband/hw/qib/ |
H A D | qib_iba6120.c | 2 * Copyright (c) 2013 - 2017 Intel Corporation. All rights reserved. 17 * - Redistributions of source code must retain the above 21 * - Redistributions in binary form must reproduce the above 54 * This file contains all the chip-specific register information and 55 * access functions for the Intel Intel_IB PCI-Express chip. 59 /* KREG_IDX uses machine-generated #defines */ 62 /* Use defines to tie machine-generated names to lower-case names */ 115 #define CREG_IDX(regname) ((QIB_6120_##regname##_OFFS - \ 237 * DDR when faking DDR negotiations with non-IBTA switches. 239 * a non-zero delta. [all …]
|