/linux-6.14.4/Documentation/devicetree/bindings/net/nfc/ |
D | ti,trf7970a.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <[email protected]> 11 - Mark Greer <[email protected]> 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 …]
|
/linux-6.14.4/drivers/misc/mei/ |
D | hw-me.h | 1 /* 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 …]
|
D | hw-me.c | 1 // 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 …]
|
/linux-6.14.4/drivers/ata/ |
D | pata_arasan_cf.c | 19 * 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 …]
|
D | sata_sil.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * sata_sil.c - Silicon Image SATA 6 * Please ALWAYS copy linux-[email protected] 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 …]
|
/linux-6.14.4/arch/arm/boot/dts/nxp/imx/ |
D | imx6dl-prtrvt.dts | 1 // 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 …]
|
/linux-6.14.4/sound/soc/intel/common/ |
D | soc-intel-quirks.h | 1 /* 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 …]
|
/linux-6.14.4/include/ufs/ |
D | ufshcd.h | 1 /* 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> 19 #include <linux/fault-inject.h> 23 #include <linux/dma-direction.h> 68 * struct uic_command - UIC command structure 92 /* Host <-> Device UniPro Link state */ 100 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE) [all …]
|
/linux-6.14.4/include/linux/soundwire/ |
D | sdw.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-17 Intel Corporation. */ 11 #include <linux/irq.h> 85 * enum sdw_slave_status - Slave status 103 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepare 104 * @SDW_CLK_POST_DEPREPARE: post clock stop de-prepare 114 * enum sdw_command_response - Command response as defined by SDW spec 200 * enum sdw_p15_behave - Slave Port 15 behaviour when the Master attempts a 201 * read 202 * @SDW_P15_READ_IGNORED: Read is ignored [all …]
|
D | sdw_intel.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-17 Intel Corporation. */ 43 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24 (24000 / SDW_CADENCE_GSYNC_KHZ - 1) 44 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24_576 (24576 / SDW_CADENCE_GSYNC_KHZ - 1) 45 #define SDW_SHIM_SYNC_SYNCPRD_VAL_38_4 (38400 / SDW_CADENCE_GSYNC_KHZ - 1) 46 #define SDW_SHIM_SYNC_SYNCPRD_VAL_96 (96000 / SDW_CADENCE_GSYNC_KHZ - 1) 96 /* Wake Status */ 117 * ACE2.x definitions for SHIM registers - only accessible when the 126 /* Read-only capabilities */ 128 #define SDW_SHIM2_LECAP_HDS BIT(0) /* unset -> Host mode */ [all …]
|
/linux-6.14.4/drivers/pci/ |
D | quirks.c | 1 // 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. 22 #include <linux/isa-dma.h> /* isa_dma_bridge_buggy */ 71 * Link Active status bit and in the failed link training scenario it will 72 * be off along with the Link Bandwidth Management Status indicating that 77 * at least the active status. 106 int ret = -ENOTTY; in pcie_failed_link_retrain() 109 !pcie_cap_has_lnkctl2(dev) || !dev->link_active_reporting) in pcie_failed_link_retrain() 117 pci_info(dev, "broken device, retraining non-functional downstream link at 2.5GT/s\n"); in pcie_failed_link_retrain() [all …]
|
/linux-6.14.4/drivers/i2c/ |
D | i2c-core-base.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (C) 1995-99 Simon G. Vogl 10 * Copyright (C) 2013-2017 Wolfram Sang <[email protected]> 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 …]
|
/linux-6.14.4/drivers/pci/controller/cadence/ |
D | pcie-cadence.h | 1 /* 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)) 155 (((nbits) - 1) & CDNS_PCIE_AT_OB_REGION_PCI_ADDR0_NBITS_MASK) 195 (((nbits) - 1) & CDNS_PCIE_AT_OB_REGION_CPU_ADDR0_NBITS_MASK) 206 (((nbits) - 1) & CDNS_PCIE_AT_IB_RP_BAR_ADDR0_NBITS_MASK) 222 RP_BAR_UNDEFINED = -1, 292 * struct cdns_pcie - private data for Cadence PCIe controller drivers 300 * @ops: Platform-specific ops to control various inputs from Cadence PCIe [all …]
|
/linux-6.14.4/drivers/rtc/ |
D | rtc-ti-k3.c | 1 // 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 …]
|
/linux-6.14.4/drivers/usb/dwc3/ |
D | core.h | 1 /* 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> 37 * DWC3 Multiport controllers support up to 15 High-Speed PHYs 197 /* Global SoC Bus Configuration Register: AHB-prot/AXI-cache/OCP-ReqInfo */ 286 /* Global Status Register */ 509 /* Device Status Register */ 667 /* OTG Status Register */ 684 * struct dwc3_event_buffer - Software event buffer representation [all …]
|
/linux-6.14.4/include/linux/ |
D | virtio_config.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 22 * struct virtqueue_info - Info for a virtqueue passed to find_vqs(). 36 * struct virtio_config_ops - operations for configuring a virtio device 38 * getting/setting a value as a simple read/write! Generally speaking, 42 * @get: read the value of a configuration field 50 * buf: the buffer to read the field value from. 55 * @get_status: read the status byte 57 * Returns the status byte 58 * @set_status: write the status byte 60 * status: the new status byte [all …]
|
/linux-6.14.4/drivers/platform/chrome/ |
D | cros_ec_lpc.c | 1 // SPDX-License-Identifier: GPL-2.0 4 // Copyright (C) 2012-2015 Google, Inc 6 // This driver uses the ChromeOS EC byte-level message-based protocol for 55 * struct lpc_driver_data - driver data attached to a DMI device ID to indicate 59 * when quirk ...REMAP_MEMORY is set.) 72 * struct cros_ec_lpc - LPC device-specific data 76 * @read: Copy length bytes from EC address offset into buffer dest. 77 * Returns a negative error code on error, or the 8-bit checksum 78 * of all bytes read. 80 * Returns a negative error code on error, or the 8-bit checksum [all …]
|
/linux-6.14.4/drivers/spi/ |
D | spi-hisi-sfc-v3xx.c | 1 // 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 …]
|
/linux-6.14.4/drivers/staging/nvec/ |
D | nvec.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Authors: Pierre-Hugues Husson <[email protected]> 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 …]
|
/linux-6.14.4/drivers/nfc/ |
D | trf7970a.c | 1 // 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 …]
|
/linux-6.14.4/drivers/pci/pcie/ |
D | bwctrl.c | 1 // SPDX-License-Identifier: GPL-2.0+ 8 * Copyright (C) 2023-2024 Intel Corporation 30 #include <linux/pci-bwctrl.h> 39 * struct pcie_bwctrl_data - PCIe bandwidth controller 89 * pcie_bwctrl_select_speed - Select Target Link Speed 100 struct pci_bus *bus = port->subordinate; in pcie_bwctrl_select_speed() 107 supported_speeds = port->supported_speeds; in pcie_bwctrl_select_speed() 110 dev = list_first_entry_or_null(&bus->devices, struct pci_dev, bus_list); in pcie_bwctrl_select_speed() 112 supported_speeds &= dev->supported_speeds; in pcie_bwctrl_select_speed() 138 if (port->subordinate) in pcie_bwctrl_change_speed() [all …]
|
/linux-6.14.4/sound/pci/ |
D | maestro3.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 12 * - Fixed deadlock on capture 13 * - Added Canyon3D-2 support by Rob Riggs <[email protected]> 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 …]
|
/linux-6.14.4/drivers/input/touchscreen/ |
D | goodix.c | 1 // 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 …]
|
/linux-6.14.4/drivers/usb/serial/ |
D | ch341.c | 1 // 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 …]
|
/linux-6.14.4/include/linux/usb/ |
D | gadget.h | 1 // SPDX-License-Identifier: GPL-2.0 5 * We call the USB code inside a Linux-based peripheral device a "gadget" 6 * driver, except for the hardware-specific bus glue. One USB host can 11 * (C) Copyright 2002-2004 by David Brownell 34 * struct usb_request - describes one i/o request 40 * @sg: a scatterlist for SG-capable controllers. 47 * @no_interrupt: If true, hints that no completion irq is needed. 57 * its buffer may be re-used. The function will always be called with 69 * @status: Reports completion code, zero or a negative errno. 72 * Code "-ESHUTDOWN" indicates completion caused by device disconnect, [all …]
|