| /linux/drivers/misc/mei/ |
| H A 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 …]
|
| /linux/sound/soc/intel/common/ |
| H A 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/include/ufs/ |
| H A 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/include/linux/soundwire/ |
| H A D | sdw.h | 1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */ 2 /* Copyright(c) 2015-17 Intel Corporation. */ 12 #include <linux/irq.h> 88 * enum sdw_slave_status - Slave status 106 * @SDW_CLK_PRE_DEPREPARE: pre clock stop de-prepar 668 int irq; global() member 669 enum sdw_slave_status status; global() member [all...] |
| H A 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/drivers/ata/ |
| H A 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-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 …]
|
| H A D | ahci.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * ahci.h - Common AHCI SATA definitions and declarations 6 * Please ALWAYS copy linux-ide@vger.kernel.org 9 * Copyright 2004-2005 Red Hat, Inc. 12 * as Documentation/driver-api/libata.rst 72 HOST_IRQ_STAT = 0x08, /* interrupt status */ 80 HOST_RESET = BIT(0), /* reset controller; self-clear */ 81 HOST_IRQ_EN = BIT(1), /* global IRQ enable */ 92 HOST_CAP_FBS = BIT(16), /* FIS-based switching support */ 98 HOST_CAP_SSS = BIT(27), /* Staggered Spin-up */ [all …]
|
| /linux/drivers/pci/ |
| H A 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 */ 41 if (test_bit(PCI_LINK_LBMS_SEEN, &dev->priv_flags)) in pcie_lbms_seen() 67 * Link Active status bit and in the failed link training scenario it will 68 * be off along with the Link Bandwidth Management Status indicating that 73 * at least the active status. 102 int ret = -ENOTTY; in pcie_failed_link_retrain() 105 !pcie_cap_has_lnkctl2(dev) || !dev->link_active_reporting) in pcie_failed_link_retrain() [all …]
|
| H A D | probe.c | 1 // SPDX-License-Identifier: GPL-2.0 54 if (r->domain_nr == domain_nr) in get_pci_domain_busn_res() 55 return &r->res; in get_pci_domain_busn_res() 61 r->domain_nr = domain_nr; in get_pci_domain_busn_res() 62 r->res.start = 0; in get_pci_domain_busn_res() 63 r->res.end = 0xff; in get_pci_domain_busn_res() 64 r->res.flags = IORESOURCE_BUS | IORESOURCE_PCI_FIXED; in get_pci_domain_busn_res() 66 list_add_tail(&r->list, &pci_domain_busn_res_list); in get_pci_domain_busn_res() 68 return &r->res; in get_pci_domain_busn_res() 95 put_device(pci_bus->bridge); in release_pcibus_dev() [all …]
|
| /linux/drivers/rtc/ |
| H A 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/drivers/pci/controller/cadence/ |
| H A 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)) 150 (((nbits) - 1) & CDNS_PCIE_AT_OB_REGION_PCI_ADDR0_NBITS_MASK) 190 (((nbits) - 1) & CDNS_PCIE_AT_OB_REGION_CPU_ADDR0_NBITS_MASK) 201 (((nbits) - 1) & CDNS_PCIE_AT_IB_RP_BAR_ADDR0_NBITS_MASK) 217 RP_BAR_UNDEFINED = -1, 256 * struct cdns_pcie - private data for Cadence PCIe controller drivers 264 * @ops: Platform-specific ops to control various inputs from Cadence PCIe [all …]
|
| /linux/include/linux/ |
| H A 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 byt 274 unsigned status = dev->config->get_status(dev); virtio_device_ready() local [all...] |
| /linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
| H A D | amdgpu_dm.h | 1 /* SPDX-License-Identifier: MIT */ 3 * Copyright (C) 2015-2020 Advanced Micro Devices, Inc. All rights reserved. 100 * struct dm_compressor_info - Buffer info used by frame buffer compression 114 * struct dmub_hpd_work - Handle time consuming work in low priority outbox IRQ 127 * struct vblank_control_work - Work data for vblank control 143 * struct idle_workqueue - Work data for periodic action in idle 157 * struct vupdate_offload_work - Work data for offloading task from vupdate handler 173 * struct amdgpu_dm_luminance_data - Custom luminance data 175 * @input_signal: Input signal in range 0-255 183 * struct amdgpu_dm_backlight_caps - Information about backlight [all …]
|
| /linux/Documentation/sound/ |
| H A D | alsa-configuration.rst | 2 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 …]
|
| /linux/drivers/pci/pcie/ |
| H A 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 79 * pcie_bwctrl_select_speed - Select Target Link Speed 90 struct pci_bus *bus = port->subordinate; in pcie_bwctrl_select_speed() 97 supported_speeds = port->supported_speeds; in pcie_bwctrl_select_speed() 100 dev = list_first_entry_or_null(&bus->devices, struct pci_dev, bus_list); in pcie_bwctrl_select_speed() 102 supported_speeds &= dev->supported_speeds; in pcie_bwctrl_select_speed() 124 * pcie_set_target_speed - Set downstream Link Speed for PCIe Port [all …]
|
| /linux/drivers/nfc/ |
| H A 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/drivers/input/touchscreen/ |
| H A 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" 133 DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "YETI-11"), 140 DMI_MATCH(DMI_PRODUCT_NAME, "Lenovo YB1-X91"), 153 .ident = "Cube I15-TC", 156 DMI_MATCH(DMI_PRODUCT_NAME, "I15-TC") 164 * goodix_i2c_read - read data from a register of the i2c slave device. 167 * @reg: the register to read from. [all …]
|
| /linux/sound/pci/ |
| H A 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 <rob@pangalactic.org> 16 #define CARD_NAME "ESS Maestro3/Allegro/Canyon3D-2" 24 #include <linux/dma-mappin 725 int irq; global() member 1607 snd_m3_interrupt(int irq,void * dev_id) snd_m3_interrupt() argument 1610 u8 status; snd_m3_interrupt() local 2483 const struct snd_pci_quirk *quirk; snd_m3_create() local [all...] |
| /linux/include/linux/usb/ |
| H A 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 35 * struct usb_request - describes one i/o request 42 * @sg: a scatterlist for SG-capable controllers. 49 * @no_interrupt: If true, hints that no completion irq is needed. 59 * its buffer may be re-use 124 int status; global() member 456 int irq; global() member [all...] |
| /linux/drivers/acpi/ |
| H A D | sysfs.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * sysfs.c - ACPI sysfs interface to userspace. 97 result = sprintf(buffer, "%-25s\tHex SET\n", "Description"); in param_get_debug_layer() 100 result += sprintf(buffer + result, "%-25s\t0x%08lX [%c]\n", in param_get_debug_layer() 107 sprintf(buffer + result, "%-25s\t0x%08X [%c]\n", "ACPI_ALL_DRIVERS", in param_get_debug_layer() 111 == 0 ? ' ' : '-'); in param_get_debug_layer() 114 "--\ndebug_layer = 0x%08X ( * = enabled)\n", in param_get_debug_layer() 125 result = sprintf(buffer, "%-25s\tHex SET\n", "Description"); in param_get_debug_level() 128 result += sprintf(buffer + result, "%-25s\t0x%08lX [%c]\n", in param_get_debug_level() 135 sprintf(buffer + result, "--\ndebug_level = 0x%08X (* = enabled)\n", in param_get_debug_level() [all …]
|
| /linux/drivers/ufs/host/ |
| H A D | ufs-qcom.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2013-2016, Linux Foundation. All rights reserved. 17 #include <linux/reset-controller.h> 28 #include "ufshcd-pltfrm.h" 29 #include "ufs-qcom.h" 37 /* De-emphasis for gear-5 */ 139 * ufs_qcom_config_ice_allocator() - ICE core allocator configuration 145 struct ufs_hba *hba = host->hba; in ufs_qcom_config_ice_allocator() 149 if (!(host->caps & UFS_QCOM_CAP_ICE_CONFIG) || in ufs_qcom_config_ice_allocator() 150 !(host->hba->caps & UFSHCD_CAP_CRYPTO)) in ufs_qcom_config_ice_allocator() [all …]
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_exar.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Probe module for 8250/16550-type Exar chips PCI serial ports. 114 #define UART_EXAR_TXTRG 0x0a /* Tx FIFO trigger level write-only */ 115 #define UART_EXAR_RXTRG 0x0b /* Rx FIFO trigger level write-only */ 133 #define UART_EXAR_DLD_485_POLARITY 0x80 /* RS-485 Enable Signal Polarity */ 150 * ---- ---- -------- 154 * 3 - <reserved> 158 * 7 - <reserved> 161 * 10 - Red LED 162 * 11..15 - <unused> [all …]
|
| /linux/drivers/parisc/ |
| H A D | dino.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 ** (c) Copyright 1999,2000 Hewlett-Packard Company 9 ** (c) Copyright 2006-2019 Helge Deller 13 ** and helps manage Dino IRQ lines. 18 ** Only one processor interrupt is used for the 11 IRQ line 21 ** The different between Built-in Dino and Card-Mode 24 ** Linux drivers can only use Card-Mode Dino if pci devices I/O port 32 ** 2001-06-14 : Clement Moyroud (moyroudc@esiee.fr) 33 ** - added support for the integrated RS232. 70 ** Config accessor functions only pass in the 8-bit bus number [all …]
|
| /linux/arch/powerpc/platforms/chrp/ |
| H A D | pci.c | 1 // SPDX-License-Identifier: GPL-2.0 15 #include <asm/irq.h> 19 #include <asm/pci-bridge.h> 40 if (bus->number > 7) in gg2_read_config() 46 cfg_data = hose->cfg_data + ((bus->number<<16) | (devfn<<8) | off); in gg2_read_config() 67 if (bus->number > 7) in gg2_write_config() 73 cfg_data = hose->cfg_data + ((bus->number<<16) | (devfn<<8) | off); in gg2_write_config() 90 .read = gg2_read_config, 102 | (((bus->number - hose->first_busno) & 0xff) << 16) in rtas_read_config() 103 | (hose->global_number << 24); in rtas_read_config() [all …]
|
| /linux/drivers/scsi/pcmcia/ |
| H A D | nsp_cs.c | 3 NinjaSCSI-3 / NinjaSCSI-32Bi PCMCIA SCSI host adapter card driver 21 I-O DATA PCSC-F (Workbit NinjaSCSI-3) 22 "WBT", "NinjaSCSI-3", "R1.0" 23 I-O DATA CBSC-II (Workbit NinjaSCSI-32Bi in 16bit mode) 42 #include <asm/irq.h> 56 MODULE_DESCRIPTION("WorkBit NinjaSCSI-3 / NinjaSCSI-32Bi(16bit) PCMCIA SCSI host adapter module"); 81 .name = "WorkBit NinjaSCSI-3/32Bi(16bit)", 90 .dma_boundary = PAGE_SIZE - 1, 94 static nsp_hw_data nsp_data_base; /* attach <-> detect glue */ 169 printk("nsp_cs-debug: 0x%x %s (%d): %s\n", mask, func, line, buf); in nsp_cs_dmessage() [all …]
|