Home
last modified time | relevance | path

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

123456789

/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/nfc/
Dtrf7970a.txt4 - compatible: Should be "ti,trf7970a".
5 - spi-max-frequency: Maximum SPI frequency (<= 2000000).
6 - interrupts: A single interrupt specifier.
7 - ti,enable-gpios: One or two GPIO entries used for 'EN' and 'EN2' pins on the
9 - vin-supply: Regulator for supply voltage to VIN pin
12 - pinctrl-names: Contains only one value - "default".
13 - pintctrl-0: Specifies the pin control groups used for this controller.
14 - autosuspend-delay: Specify autosuspend delay in milliseconds.
15 - irq-status-read-quirk: Specify that the trf7970a being used has the
16 "IRQ Status Read" erratum.
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/nfc/
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 …]
/kernel/linux/linux-5.10/drivers/misc/mei/
Dhw-me.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2012-2020, 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
58 int irq; member
65 #define to_me_hw(dev) (struct mei_me_hw *)((dev)->hw)
[all …]
Dhw-me.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2003-2020, Intel Corporation. All rights reserved.
17 #include "hw-me.h"
18 #include "hw-me-regs.h"
20 #include "mei-trace.h"
23 * mei_me_reg_read - Reads 32bit data from the mei device
26 * @offset: offset from which to read the data
33 return ioread32(hw->mem_addr + offset); in mei_me_reg_read()
38 * mei_me_reg_write - Writes 32bit data to the mei device
47 iowrite32(value, hw->mem_addr + offset); in mei_me_reg_write()
[all …]
/kernel/linux/linux-6.6/drivers/misc/mei/
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 …]
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 …]
/kernel/linux/linux-6.6/drivers/ata/
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 …]
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 …]
/kernel/linux/linux-5.10/drivers/ata/
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>
47 /* CompactFlash Interface Status */
57 /* IRQ */
149 /* Read Data Port */
166 /* ATA Status-Command */
168 /* ATA Alternate Status/Device Control */
170 /* Extended Write Data Port 0x200-0x3FC */
172 /* Extended Read Data Port 0x400-0x5FC */
[all …]
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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/
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 …]
/kernel/linux/linux-5.10/sound/soc/intel/common/
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 …]
/kernel/linux/linux-6.6/sound/soc/intel/common/
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 …]
/kernel/linux/linux-5.10/drivers/scsi/ufs/
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.
35 #include <linux/keyslot-manager.h>
38 #include <asm/irq.h>
62 * struct uic_command - UIC command structure
90 /* Host <-> Device UniPro Link state */
98 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE)
99 #define ufshcd_is_link_active(hba) ((hba)->uic_link_state == \
101 #define ufshcd_is_link_hibern8(hba) ((hba)->uic_link_state == \
[all …]
/kernel/linux/linux-6.6/include/ufs/
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 …]
/kernel/linux/linux-6.6/include/linux/soundwire/
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 …]
/kernel/linux/linux-5.10/drivers/pci/
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.
64 if ((f->class == (u32) (dev->class >> f->class_shift) || in pci_do_fixups()
65 f->class == (u32) PCI_ANY_ID) && in pci_do_fixups()
66 (f->vendor == dev->vendor || in pci_do_fixups()
67 f->vendor == (u16) PCI_ANY_ID) && in pci_do_fixups()
68 (f->device == dev->device || in pci_do_fixups()
69 f->device == (u16) PCI_ANY_ID)) { in pci_do_fixups()
72 hook = offset_to_ptr(&f->hook_offset); in pci_do_fixups()
[all …]
/kernel/linux/linux-6.6/drivers/pci/
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 …]
/kernel/linux/linux-5.10/drivers/i2c/
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>
24 #include <linux/i2c-smbus.h>
44 #include "i2c-core.h"
86 while (id->name[0]) { in i2c_match_id()
87 if (strcmp(client->name, id->name) == 0) in i2c_match_id()
[all …]
/kernel/linux/linux-5.10/drivers/usb/dwc3/
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>
257 /* Global Status Register */
460 /* Device Status Register */
613 /* OTG Status Register */
627 * struct dwc3_event_buffer - Software event buffer representation
632 * @count: cache of last read event count register
661 * struct dwc3_ep - device side endpoint representation
[all …]
/kernel/linux/linux-6.6/drivers/pci/controller/cadence/
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 …]
/kernel/linux/linux-6.6/drivers/rtc/
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 …]
/kernel/linux/linux-6.6/drivers/usb/dwc3/
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 …]
/kernel/linux/linux-6.6/drivers/i2c/
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 …]

123456789