Home
last modified time | relevance | path

Searched +full:irq +full:- +full:status +full:- +full:read +full:- +full:quirk (Results 1 – 25 of 121) sorted by relevance

12345

/openbmc/linux/Documentation/devicetree/bindings/net/nfc/
H A Dti,trf7970a.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Krzysztof Kozlowski <krzk@kernel.org>
11 - Mark Greer <mgreer@animalcreek.com>
17 autosuspend-delay:
22 clock-frequency:
27 en2-rf-quirk:
35 irq-status-read-quirk:
38 Specify that the trf7970a being used has the "IRQ Status Read" erratum
[all …]
/openbmc/linux/drivers/misc/mei/
H A Dhw-me.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2012-2022, Intel Corporation. All rights reserved.
18 * mei_cfg - mei device configuration
20 * @fw_status: FW status
21 * @quirk_probe: device exclusion quirk
45 * struct mei_me_hw - me hw specific data
49 * @irq: irq number
53 * @read_fws: read FW status register handler
61 int irq; member
72 #define to_me_hw(dev) (struct mei_me_hw *)((dev)->hw)
[all …]
H A Dhw-me.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2003-2022, Intel Corporation. All rights reserved.
18 #include "hw-me.h"
19 #include "hw-me-regs.h"
21 #include "mei-trace.h"
24 * mei_me_reg_read - Reads 32bit data from the mei device
27 * @offset: offset from which to read the data
34 return ioread32(hw->mem_addr + offset); in mei_me_reg_read()
39 * mei_me_reg_write - Writes 32bit data to the mei device
48 iowrite32(value, hw->mem_addr + offset); in mei_me_reg_write()
[all …]
/openbmc/linux/drivers/ata/
H A Dpata_arasan_cf.c19 * Arasan CF Controller shares global irq register with Arasan XD Controller.
21 * Tested on arch/arm/mach-spear13xx
30 #include <linux/irq.h>
48 /* CompactFlash Interface Status */
58 /* IRQ */
150 /* Read Data Port */
167 /* ATA Status-Command */
169 /* ATA Alternate Status/Device Control */
171 /* Extended Write Data Port 0x200-0x3FC */
173 /* Extended Read Data Port 0x400-0x5FC */
[all …]
H A Dsata_sil.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * sata_sil.c - Silicon Image SATA
6 * Please ALWAYS copy linux-ide@vger.kernel.org
9 * Copyright 2003-2005 Red Hat, Inc.
13 * as Documentation/driver-api/libata.rst
16 * http://gkernel.sourceforge.net/specs/sii/3112A_SiI-DS-0095-B2.pdf.bz2
78 SIL_DMA_RDWR = (1 << 3), /* DMA Rd-Wr */
82 SIL_DMA_COMPLETE = (1 << 18), /* cmd complete / IRQ pending */
127 /* TODO firmware versions should be added - eric */
130 unsigned int quirk; member
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6dl-prtrvt.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 /dts-v1/;
8 #include "imx6qdl-prti6q.dtsi"
9 #include <dt-bindings/leds/common.h>
21 compatible = "gpio-leds";
22 pinctrl-names = "default";
23 pinctrl-0 = <&pinctrl_leds>;
25 led-debug0 {
28 linux,default-trigger = "heartbeat";
34 pinctrl-names = "default";
[all …]
/openbmc/linux/sound/soc/intel/common/
H A Dsoc-intel-quirks.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * soc-intel-quirks.h - prototypes for quirk autodetection
27 * 3. Despite 1. and 2. still have their IPC IRQ at index 0 rather then 5 in soc_intel_is_byt_cr()
42 struct device *dev = &pdev->dev; in soc_intel_is_byt_cr()
43 int status = 0; in soc_intel_is_byt_cr() local
54 status = iosf_mbi_read(BT_MBI_UNIT_PMC, /* 0x04 PUNIT */ in soc_intel_is_byt_cr()
59 if (status) { in soc_intel_is_byt_cr()
60 dev_err(dev, "could not read PUNIT BIOS_CONFIG\n"); in soc_intel_is_byt_cr()
66 dev_info(dev, "Detected Baytrail-CR platform\n"); in soc_intel_is_byt_cr()
70 dev_info(dev, "BYT-CR not detected\n"); in soc_intel_is_byt_cr()
[all …]
/openbmc/linux/include/ufs/
H A Dufshcd.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 2011-2013 Samsung India Software Operations
5 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
16 #include <linux/blk-crypto-profile.h>
17 #include <linux/blk-mq.h>
21 #include <linux/dma-direction.h>
65 * struct uic_command - UIC command structure
89 /* Host <-> Device UniPro Link state */
97 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE)
98 #define ufshcd_is_link_active(hba) ((hba)->uic_link_state == \
[all …]
/openbmc/qemu/include/hw/sd/
H A Dsdhci.h8 * Based on MMC controller for Samsung S5PC1xx-based board emulation
51 qemu_irq irq; member
60 uint32_t rspreg[4]; /* Response Registers 0-3 */
68 uint8_t admaerr; /* ADMA Error Status Register */
69 uint16_t norintsts; /* Normal Interrupt Status Register */
70 uint16_t errintsts; /* Error Interrupt Status Register */
71 uint16_t norintstsen; /* Normal Interrupt Status Enable Register */
72 uint16_t errintstsen; /* Error Interrupt Status Enable Register */
75 uint16_t acmd12errsts; /* Auto CMD12 error status register */
80 /* Read-only registers */
[all …]
/openbmc/linux/include/linux/soundwire/
H A Dsdw.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
9 #include <linux/irq.h>
75 * enum sdw_slave_status - Slave status
93 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepare
94 * @SDW_CLK_POST_DEPREPARE: post clock stop de-prepare
104 * enum sdw_command_response - Command response as defined by SDW spec
190 * enum sdw_p15_behave - Slave Port 15 behaviour when the Master attempts a
191 * read
192 * @SDW_P15_READ_IGNORED: Read is ignored
[all …]
H A Dsdw_intel.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
37 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24 (24000 / SDW_CADENCE_GSYNC_KHZ - 1)
38 #define SDW_SHIM_SYNC_SYNCPRD_VAL_38_4 (38400 / SDW_CADENCE_GSYNC_KHZ - 1)
88 /* Wake Status */
109 * ACE2.x definitions for SHIM registers - only accessible when the
118 /* Read-only capabilities */
120 #define SDW_SHIM2_LECAP_HDS BIT(0) /* unset -> Host mode */
125 #define SDW_SHIM2_PCMSCAP_ISS GENMASK(3, 0) /* Input-only streams */
126 #define SDW_SHIM2_PCMSCAP_OSS GENMASK(7, 4) /* Output-only streams */
[all …]
/openbmc/linux/drivers/pci/
H A Dquirks.c1 // SPDX-License-Identifier: GPL-2.0
3 * This file contains work-arounds for many known PCI hardware bugs.
5 * should be handled in arch-specific code.
20 #include <linux/isa-dma.h> /* isa_dma_bridge_buggy */
56 * Link Active status bit and in the failed link training scenario it will
57 * be off along with the Link Bandwidth Management Status indicating that
62 * at least the active status.
91 int ret = -ENOTTY; in pcie_failed_link_retrain()
94 !pcie_cap_has_lnkctl2(dev) || !dev->link_active_reporting) in pcie_failed_link_retrain()
103 pci_info(dev, "broken device, retraining non-functional downstream link at 2.5GT/s\n"); in pcie_failed_link_retrain()
[all …]
/openbmc/linux/drivers/pci/controller/cadence/
H A Dpcie-cadence.h1 /* SPDX-License-Identifier: GPL-2.0 */
4 // Author: Cyrille Pitchen <cyrille.pitchen@free-electrons.com>
11 #include <linux/pci-epf.h>
117 (((aperture) - 2) << ((bar) * 8))
149 (((nbits) - 1) & CDNS_PCIE_AT_OB_REGION_PCI_ADDR0_NBITS_MASK)
189 (((nbits) - 1) & CDNS_PCIE_AT_OB_REGION_CPU_ADDR0_NBITS_MASK)
200 (((nbits) - 1) & CDNS_PCIE_AT_IB_RP_BAR_ADDR0_NBITS_MASK)
216 RP_BAR_UNDEFINED = -1,
286 * struct cdns_pcie - private data for Cadence PCIe controller drivers
294 * @ops: Platform-specific ops to control various inputs from Cadence PCIe
[all …]
/openbmc/linux/drivers/rtc/
H A Drtc-ti-k3.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2021-2022 Texas Instruments Incorporated - https://www.ti.com/
36 /* Freeze when lsw is read and unfreeze when msw is read */
46 #define K3RTC_MIN_OFFSET (-277761)
50 .name = "peripheral-registers",
107 * struct ti_k3_rtc - Private data for ti-k3-rtc
108 * @irq: IRQ
116 unsigned int irq; member
129 ret = regmap_field_read(priv->r_fields[f], &val); in k3rtc_field_read()
141 regmap_field_write(priv->r_fields[f], val); in k3rtc_field_write()
[all …]
/openbmc/linux/drivers/i2c/
H A Di2c-core-base.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (C) 1995-99 Simon G. Vogl
10 * Copyright (C) 2013-2017 Wolfram Sang <wsa@kernel.org>
13 #define pr_fmt(fmt) "i2c-core: " fmt
15 #include <dt-bindings/i2c/i2c.h>
17 #include <linux/clk/clk-conf.h>
25 #include <linux/i2c-smbus.h>
46 #include "i2c-core.h"
111 while (id->name[0]) { in i2c_match_id()
112 if (strcmp(client->name, id->name) == 0) in i2c_match_id()
[all …]
/openbmc/linux/drivers/usb/dwc3/
H A Dcore.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * core.h - DesignWare USB3 DRD Core Header
5 * Copyright (C) 2010-2011 Texas Instruments Incorporated - https://www.ti.com
20 #include <linux/dma-mapping.h>
273 /* Global Status Register */
495 /* Device Status Register */
653 /* OTG Status Register */
667 * struct dwc3_event_buffer - Software event buffer representation
672 * @count: cache of last read event count register
701 * struct dwc3_ep - device side endpoint representation
[all …]
/openbmc/linux/drivers/spi/
H A Dspi-hisi-sfc-v3xx.c1 // SPDX-License-Identifier: GPL-2.0-only
18 #include <linux/spi/spi-mem.h>
58 * The IO modes lookup table. hisi_sfc_v3xx_io_modes[(z - 1) / 2][y / 2][x / 2]
59 * stands for x-y-z mode, as described in SFDP terminology. -EIO indicates
65 { HISI_SFC_V3XX_DIO, HISI_SFC_V3XX_FULL_DIO, -EIO },
66 { -EIO, -EIO, -EIO },
70 { -EIO, -EIO, -EIO },
71 { HISI_SFC_V3XX_QIO, -EIO, HISI_SFC_V3XX_FULL_QIO },
81 int irq; member
86 writel(0, host->regbase + HISI_SFC_V3XX_INT_MASK); in hisi_sfc_v3xx_disable_int()
[all …]
/openbmc/linux/include/linux/
H A Dvirtio_config.h1 /* SPDX-License-Identifier: GPL-2.0 */
22 * struct virtio_config_ops - operations for configuring a virtio device
24 * getting/setting a value as a simple read/write! Generally speaking,
28 * @get: read the value of a configuration field
36 * buf: the buffer to read the field value from.
41 * @get_status: read the status byte
43 * Returns the status byte
44 * @set_status: write the status byte
46 * status: the new status byte
49 * After this, status and feature negotiation must be done again
[all …]
/openbmc/linux/drivers/staging/nvec/
H A Dnvec.c1 // SPDX-License-Identifier: GPL-2.0
7 * Authors: Pierre-Hugues Husson <phhusson@free.fr>
10 * Julian Andres Klode <jak@jak-linux.org>
23 #include <linux/irq.h>
56 * enum nvec_msg_category - Message categories for nvec_msg_alloc()
80 .name = "nvec-kbd",
83 .name = "nvec-mouse",
86 .name = "nvec-power",
90 .name = "nvec-power",
94 .name = "nvec-paz00",
[all …]
/openbmc/linux/sound/pci/
H A Dmaestro3.c1 // SPDX-License-Identifier: GPL-2.0-or-later
12 * - Fixed deadlock on capture
13 * - Added Canyon3D-2 support by Rob Riggs <rob@pangalactic.org>
16 #define CARD_NAME "ESS Maestro3/Allegro/Canyon3D-2"
24 #include <linux/dma-mapping.h>
45 static int index[SNDRV_CARDS] = SNDRV_DEFAULT_IDX; /* Index 0-MAX */
48 static bool external_amp[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = 1};
49 static int amp_gpio[SNDRV_CARDS] = {[0 ... (SNDRV_CARDS - 1)] = -1};
60 MODULE_PARM_DESC(amp_gpio, "GPIO pin number for external amp. (default = -1)");
365 #define REV_A_CODE_MEMORY_LENGTH (REV_A_CODE_MEMORY_END - REV_A_CODE_MEMORY_BEGIN + 1)
[all …]
/openbmc/linux/drivers/input/touchscreen/
H A Dgoodix.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * 2010 - 2012 Goodix Technology.
19 #include <linux/irq.h>
28 #define GOODIX_GPIO_INT_NAME "irq"
131 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"),
138 DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X91"),
151 .ident = "Cube I15-TC",
154 DMI_MATCH(DMI_PRODUCT_NAME, "I15-TC")
162 * goodix_i2c_read - read data from a register of the i2c slave device.
165 * @reg: the register to read from.
[all …]
/openbmc/linux/drivers/nfc/
H A Dtrf7970a.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com
39 * when EN2 is left low. The 'en2-rf-quirk' device tree property
62 * has sent the command to the tag, it simply returns -ECANCELED. If the
65 * sending the data upstream, it frees the rx_skb and sends -ECANCELED
69 * When recieving data from a tag and the interrupt status register has
71 * (once what's in the fifo has been read). However, depending on timing
72 * an interrupt status with only the SRX bit set may not be recived. In
83 * driver will wait 20 ms for the FIFO to drain past the low-watermark
84 * and generate an interrupt. The low-watermark set to 32 bytes so the
[all …]
/openbmc/linux/drivers/input/serio/
H A Dhp_sdc.c2 * HP i8042-based System Device Controller driver.
31 * for Part Number 1820-4784 Revision B. Dwg No. A-1820-4784-2
32 * Helge Deller's original hilkbd.c port for PA-RISC.
41 * All data coming back from the SDC is sent via interrupt and can be read
50 * is set to 0 when the IBF flag in the status register has cleared. ISR
55 * The i8042 write index and the values in the 4-byte input buffer
75 /* Machine-specific abstraction */
78 # include <asm/parisc-device.h>
92 MODULE_DESCRIPTION("HP i8042-based SDC Driver");
116 uint8_t status; in hp_sdc_status_in8() local
[all …]
/openbmc/linux/drivers/usb/serial/
H A Dch341.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright 2007, Frank A Kingswood <frank@kingswood-consulting.co.uk>
4 * Copyright 2007, Werner Cornelius <werner@cornelius-consult.de>
10 * serial port, an IEEE-1284 parallel printer port or a memory-like
27 /* flags for IO-Bits */
35 /* first irq byte normally 0x08 */
36 /* second irq byte base 0x7d + below */
37 /* third irq byte base 0x94 + below */
38 /* fourth irq byte normally 0xee */
41 #define CH341_MULT_STAT 0x04 /* multiple status since last interrupt event */
[all …]
/openbmc/linux/Documentation/sound/
H A Dalsa-configuration.rst2 Advanced Linux Sound Architecture - Driver Configuration guide
38 ----------
47 limiting card index for auto-loading (1-8);
49 For auto-loading more than one card, specify this option
50 together with snd-card-X aliases.
63 Module snd-pcm-oss
64 ------------------
86 regarding opening the device. When this option is non-zero,
90 Module snd-rawmidi
91 ------------------
[all …]

12345