/linux-6.14.4/drivers/scsi/snic/ |
D | snic_debugfs.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * snic_debugfs_init - Initialize debugfs for snic debug logging 21 snic_glob->trc_root = debugfs_create_dir("snic", NULL); in snic_debugfs_init() 23 snic_glob->stats_root = debugfs_create_dir("statistics", in snic_debugfs_init() 24 snic_glob->trc_root); in snic_debugfs_init() 28 * snic_debugfs_term - Tear down debugfs intrastructure 37 debugfs_remove(snic_glob->stats_root); in snic_debugfs_term() 38 snic_glob->stats_root = NULL; in snic_debugfs_term() 40 debugfs_remove(snic_glob->trc_root); in snic_debugfs_term() 41 snic_glob->trc_root = NULL; in snic_debugfs_term() [all …]
|
D | snic_scsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #define snic_cmd_tag(sc) (scsi_cmd_to_rq(sc)->tag) 100 u32 hash = snic_cmd_tag(sc) & (SNIC_IO_LOCKS - 1); in snic_io_lock_hash() 102 return &snic->io_req_lock[hash]; in snic_io_lock_hash() 108 return &snic->io_req_lock[tag & (SNIC_IO_LOCKS - 1)]; in snic_io_lock_tag() 128 SNIC_SCSI_DBG(snic->shost, in snic_release_req_buf() 129 "Rel_req:sc %p:tag %x:rqi %p:ioreq %p:abt %p:dr %p: state %s:flags 0x%llx\n", in snic_release_req_buf() 130 sc, snic_cmd_tag(sc), rqi, rqi->req, rqi->abort_req, in snic_release_req_buf() 131 rqi->dr_req, snic_ioreq_state_to_str(CMD_STATE(sc)), in snic_release_req_buf() 134 if (req->u.icmnd.sense_addr) in snic_release_req_buf() [all …]
|
/linux-6.14.4/drivers/net/arcnet/ |
D | com90io.c | 2 * Linux ARCnet driver - COM90xx chipset (IO-mapped buffers) 5 * Written 1994-1999 by Avery Pennarun. 6 * Written 1999-2000 by Martin Mares <[email protected]>. 40 #include <linux/io.h> 64 * IO-mapped operation routines * 73 int ioaddr = dev->base_addr; in get_buffer_byte() 85 int ioaddr = dev->base_addr; in put_buffer_byte() 98 int ioaddr = dev->base_addr; in get_whole_buffer() 103 while (length--) in get_whole_buffer() 114 int ioaddr = dev->base_addr; in put_whole_buffer() [all …]
|
D | com90xx.c | 2 * Linux ARCnet driver - COM90xx chipset (memory-mapped buffers) 4 * Written 1994-1999 by Avery Pennarun. 38 #include <linux/io.h> 43 /* Define this to speed up the autoprobe by assuming if only one io port and 49 * it on - I think it should be fine if you only have one ARCnet card 86 static int io; /* use the insmod io= irq= shmem= options */ variable 91 module_param_hw(io, int, ioport, 0); 100 int ports[(0x3f0 - 0x200) / 16 + 1] = { 0 }; in com90xx_probe() 107 if (!io && !irq && !shmem && !*device && com90xx_skip_probe) in com90xx_probe() 110 shmems = kzalloc(((0x100000 - 0xa0000) / 0x800) * sizeof(unsigned long), in com90xx_probe() [all …]
|
D | arc-rimi.c | 2 * Linux ARCnet driver - "RIM I" (entirely mem-mapped) cards 4 * Written 1994-1999 by Avery Pennarun. 5 * Written 1999-2000 by Martin Mares <[email protected]>. 39 #include <linux/io.h> 63 /* We cannot probe for a RIM I card; one reason is I don't know how to reset 70 pr_info("%s\n", "RIM I (entirely mem-mapped) support"); in arcrimi_probe() 71 pr_info("E-mail me if you actually test the RIM I driver, please!\n"); in arcrimi_probe() 72 pr_info("Given: node %02Xh, shmem %lXh, irq %d\n", in arcrimi_probe() 73 dev->dev_addr[0], dev->mem_start, dev->irq); in arcrimi_probe() 76 if (dev->mem_start <= 0 || dev->irq <= 0) { in arcrimi_probe() [all …]
|
/linux-6.14.4/drivers/char/ipmi/ |
D | ipmi_bt_sm.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * The state machine for an Open IPMI BT sub-driver under ipmi_si.c, part 35 * Typical "Get BT Capabilities" values are 2-3 retries, 5-10 seconds, 38 * Since the Open IPMI architecture is single-message oriented at this 44 #define BT_RESET_DELAY 6 /* seconds after warm reset */ 64 BT_STATE_LONG_BUSY /* BT doesn't get hosed :-) */ 72 #define BT_STATE_CHANGE(X, Y) { bt->state = X; return Y; } 79 struct si_sm_io *io; member 110 #define BT_STATUS bt->io->inputb(bt->io, 0) 111 #define BT_CONTROL(x) bt->io->outputb(bt->io, 0, x) [all …]
|
/linux-6.14.4/drivers/scsi/fnic/ |
D | fnic_scsi.c | 1 // SPDX-License-Identifier: GPL-2.0-only 109 * also unmap and free the device-private scatter/gather list. 115 if (io_req->sgl_list_pa) in fnic_release_ioreq_buf() 116 dma_unmap_single(&fnic->pdev->dev, io_req->sgl_list_pa, in fnic_release_ioreq_buf() 117 sizeof(io_req->sgl_list[0]) * io_req->sgl_cnt, in fnic_release_ioreq_buf() 121 if (io_req->sgl_cnt) in fnic_release_ioreq_buf() 122 mempool_free(io_req->sgl_list_alloc, in fnic_release_ioreq_buf() 123 fnic->io_sgl_pool[io_req->sgl_type]); in fnic_release_ioreq_buf() 124 if (io_req->sense_buf_pa) in fnic_release_ioreq_buf() 125 dma_unmap_single(&fnic->pdev->dev, io_req->sense_buf_pa, in fnic_release_ioreq_buf() [all …]
|
/linux-6.14.4/drivers/media/platform/st/sti/c8sectpfe/ |
D | c8sectpfe-core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * c8sectpfe-core.c - C8SECTPFE STi DVB driver 16 #include <linux/dma-mapping.h> 25 #include <linux/io.h> 36 #include "c8sectpfe-common.h" 37 #include "c8sectpfe-core.h" 38 #include "c8sectpfe-debugfs.h" 70 for (chan_num = 0; chan_num < fei->tsin_count; chan_num++) { in c8sectpfe_timer_interrupt() 71 channel = fei->channel_data[chan_num]; in c8sectpfe_timer_interrupt() 74 if (channel->irec && readl(channel->irec + DMA_PRDS_TPENABLE)) in c8sectpfe_timer_interrupt() [all …]
|
/linux-6.14.4/drivers/scsi/elx/efct/ |
D | efct_hw.c | 1 // SPDX-License-Identifier: GPL-2.0 36 hw->link.status = SLI4_LINK_STATUS_MAX; in efct_hw_link_event_init() 37 hw->link.topology = SLI4_LINK_TOPO_NONE; in efct_hw_link_event_init() 38 hw->link.medium = SLI4_LINK_MEDIUM_MAX; in efct_hw_link_event_init() 39 hw->link.speed = 0; in efct_hw_link_event_init() 40 hw->link.loop_map = NULL; in efct_hw_link_event_init() 41 hw->link.fc_id = U32_MAX; in efct_hw_link_event_init() 50 struct efct *efct = hw->os; in efct_hw_read_max_dump_size() 55 if (PCI_FUNC(efct->pci->devfn) != 0) in efct_hw_read_max_dump_size() 58 if (sli_cmd_common_set_dump_location(&hw->sli, buf, 1, 0, NULL, 0)) in efct_hw_read_max_dump_size() [all …]
|
/linux-6.14.4/Documentation/devicetree/bindings/net/nfc/ |
D | marvell,nci.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]> 15 - marvell,nfc-i2c 16 - marvell,nfc-spi 17 - marvell,nfc-uart 19 hci-muxed: 30 reset-n-io: 31 $ref: /schemas/types.yaml#/definitions/phandle-array [all …]
|
/linux-6.14.4/drivers/phy/allwinner/ |
D | phy-sun50i-usb3.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * Copyright (C) 2017 Icenowy Zheng <icenowy@aosc.io> 7 * Based on phy-sun9i-usb.c, which is: 9 * Copyright (C) 2014-2015 Chen-Yu Tsai <[email protected]> 13 * Copyright (c) 2010-2015 Allwinner Technology Co., Ltd. 18 #include <linux/io.h> 23 #include <linux/reset.h> 44 #define SUNXI_TX_DEEMPH_3P5DB(n) ((n) << 19) argument 46 #define SUNXI_TX_DEEMPH_6DB(n) ((n) << 13) argument 48 #define SUNXI_TX_SWING_FULL(n) ((n) << 6) argument [all …]
|
/linux-6.14.4/drivers/nfc/nfcmrvl/ |
D | main.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2014-2015 Marvell International Ltd. 22 if (test_and_set_bit(NFCMRVL_NCI_RUNNING, &priv->flags)) in nfcmrvl_nci_open() 25 /* Reset possible fault of previous session */ in nfcmrvl_nci_open() 26 clear_bit(NFCMRVL_PHY_ERROR, &priv->flags); in nfcmrvl_nci_open() 28 err = priv->if_ops->nci_open(priv); in nfcmrvl_nci_open() 31 clear_bit(NFCMRVL_NCI_RUNNING, &priv->flags); in nfcmrvl_nci_open() 40 if (!test_and_clear_bit(NFCMRVL_NCI_RUNNING, &priv->flags)) in nfcmrvl_nci_close() 43 priv->if_ops->nci_close(priv); in nfcmrvl_nci_close() 52 nfc_info(priv->dev, "send entry, len %d\n", skb->len); in nfcmrvl_nci_send() [all …]
|
/linux-6.14.4/Documentation/ABI/stable/ |
D | sysfs-driver-mlxreg-io | 1 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/asic_health 6 0 - health failed, 2 - health OK, 3 - ASIC in booting state. 10 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld1_version 11 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld2_version 20 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/fan_dir 25 forward direction - relevant bit is set 0; 26 reversed direction - relevant bit is set 1. 30 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/cpld3_version 39 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/jtag_enable 48 What: /sys/devices/platform/mlxplat/mlxreg-io/hwmon/hwmon*/select_iio [all …]
|
/linux-6.14.4/drivers/gpu/drm/bridge/ |
D | tc358775.c | 1 // SPDX-License-Identifier: GPL-2.0 16 #include <linux/media-bus-format.h> 36 /* DSI D-PHY Layer Registers */ 52 #define PPI_STARTPPI 0x0104 /* START control bit of PPI-TX function. */ 73 #define CLS_PRE 0x0180 /* Digital Counter inside of PHY IO */ 74 #define D0S_PRE 0x0184 /* Digital Counter inside of PHY IO */ 75 #define D1S_PRE 0x0188 /* Digital Counter inside of PHY IO */ 76 #define D2S_PRE 0x018C /* Digital Counter inside of PHY IO */ 77 #define D3S_PRE 0x0190 /* Digital Counter inside of PHY IO */ 78 #define CLS_PREP 0x01A0 /* Digital Counter inside of PHY IO */ [all …]
|
/linux-6.14.4/sound/isa/msnd/ |
D | msnd_pinnacle.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 16 * the following is a copy of the 2.4.18 OSS FREE file-heading comment: 21 * -- If MSND_CLASSIC is defined: 23 * -> driver for Turtle Beach Classic/Monterey/Tahiti 25 * -- Else 27 * -> driver for Turtle Beach Pinnacle/Fiji 29 * 12-3-2000 Modified IO port validation Steve Sycamore 45 #include <linux/io.h> 62 # define DEV_NAME "msnd-classic" 66 # define DEV_NAME "msnd-pinnacle" [all …]
|
/linux-6.14.4/drivers/video/backlight/ |
D | l4f00242t03.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * l4f00242t03.c -- support for Epson L4F00242T03 LCD 5 * Copyright 2007-2009 Freescale Semiconductor, Inc. All Rights Reserved. 29 struct gpio_desc *reset; member 35 pr_debug("l4f00242t03_reset.\n"); in l4f00242t03_reset() 52 dev_dbg(&spi->dev, "initializing LCD\n"); in l4f00242t03_lcd_init() 54 ret = regulator_set_voltage(priv->io_reg, 1800000, 1800000); in l4f00242t03_lcd_init() 56 dev_err(&spi->dev, "failed to set the IO regulator voltage.\n"); in l4f00242t03_lcd_init() 59 ret = regulator_enable(priv->io_reg); in l4f00242t03_lcd_init() 61 dev_err(&spi->dev, "failed to enable the IO regulator.\n"); in l4f00242t03_lcd_init() [all …]
|
/linux-6.14.4/drivers/pcmcia/ |
D | xxs1500_ss.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/io.h> 26 #include <asm/mach-au1x00/au1000.h> 37 * 204: reset (high-act) 38 * 205: buffer enable (low-act) 42 * 214: power (low-act) 73 pcmcia_parse_events(&sock->socket, SS_DETECT); in cdirq() 85 switch (state->Vcc) { in xxs1500_pcmcia_configure() 94 return -EINVAL; in xxs1500_pcmcia_configure() 97 changed = state->flags ^ sock->old_flags; in xxs1500_pcmcia_configure() [all …]
|
/linux-6.14.4/drivers/watchdog/ |
D | smsc37b787_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 9 * any of this software. This material is provided "AS-IS" in 12 * (C) Copyright 2003-2006 Sven Anders <[email protected]> 15 * 2003 - Created version 1.0 for Linux 2.4.x. 16 * 2006 - Ported to Linux 2.6, added nowayout and MAGICCLOSE 22 * reset the computer system in case of a software fault. 30 * for yet another little while to reset the system. 33 * reset the system (causing a reboot) after the timeout occurs. 38 * For an example userspace keep-alive daemon, see: 56 #include <linux/io.h> [all …]
|
/linux-6.14.4/arch/mips/pci/ |
D | pcie-octeon.c | 17 #include <asm/octeon/cvmx-npei-defs.h> 18 #include <asm/octeon/cvmx-pciercx-defs.h> 19 #include <asm/octeon/cvmx-pescx-defs.h> 20 #include <asm/octeon/cvmx-pexp-defs.h> 21 #include <asm/octeon/cvmx-pemx-defs.h> 22 #include <asm/octeon/cvmx-dpi-defs.h> 23 #include <asm/octeon/cvmx-sli-defs.h> 24 #include <asm/octeon/cvmx-sriox-defs.h> 25 #include <asm/octeon/cvmx-helper-errata.h> 26 #include <asm/octeon/pci-octeon.h> [all …]
|
/linux-6.14.4/drivers/scsi/pm8001/ |
D | pm8001_hwi.c | 2 * PMC-Sierra SPC 8001 SAS/SATA based host adapters driver 4 * Copyright (c) 2008-2009 USI Co., Ltd. 18 * 3. Neither the names of the above-listed copyright holders nor the names 48 * read_main_config_table - read the configure table and save it. 53 void __iomem *address = pm8001_ha->main_cfg_tbl_addr; in read_main_config_table() 54 pm8001_ha->main_cfg_tbl.pm8001_tbl.signature = in read_main_config_table() 56 pm8001_ha->main_cfg_tbl.pm8001_tbl.interface_rev = in read_main_config_table() 58 pm8001_ha->main_cfg_tbl.pm8001_tbl.firmware_rev = in read_main_config_table() 60 pm8001_ha->main_cfg_tbl.pm8001_tbl.max_out_io = in read_main_config_table() 62 pm8001_ha->main_cfg_tbl.pm8001_tbl.max_sgl = in read_main_config_table() [all …]
|
/linux-6.14.4/drivers/counter/ |
D | ftm-quaddec.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <linux/io.h> 37 if (ftm->big_endian) in ftm_read() 38 *data = ioread32be(ftm->ftm_base + offset); in ftm_read() 40 *data = ioread32(ftm->ftm_base + offset); in ftm_read() 45 if (ftm->big_endian) in ftm_write() 46 iowrite32be(data, ftm->ftm_base + offset); in ftm_write() 48 iowrite32(data, ftm->ftm_base + offset); in ftm_write() 70 /* Reset hardware counter to CNTIN */ in ftm_reset_counter() 81 * Also reset other fields to zero in ftm_quaddec_init() [all …]
|
/linux-6.14.4/arch/powerpc/kernel/ |
D | eeh.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright 2001-2012 IBM Corporation. 29 #include <asm/io.h> 32 #include <asm/ppc-pci.h> 34 #include <asm/pte-walk.h> 40 * usual PCI framework, except by check-stopping the CPU. Systems 41 * that are designed for high-availability/reliability cannot afford 43 * An EEH-capable bridge operates by converting a detected error 44 * into a "slot freeze", taking the PCI adapter off-line, making 50 * vibration, humidity, radioactivity or plain-old failed hardware. [all …]
|
/linux-6.14.4/sound/soc/sof/intel/ |
D | byt.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 18 #include <sound/soc-acpi.h> 19 #include <sound/soc-acpi-intel-match.h> 20 #include <sound/intel-dsp-config.h> 24 #include "../sof-acpi-dev.h" 25 #include "../sof-audio.h" 26 #include "../../intel/common/soc-intel-quirks.h" 80 /* Put DSP into reset, set reset vector */ in byt_reset_dsp_disable_int() 110 struct snd_sof_pdata *pdata = sdev->pdata; in byt_acpi_probe() 111 const struct sof_dev_desc *desc = pdata->desc; in byt_acpi_probe() [all …]
|
/linux-6.14.4/drivers/mfd/ |
D | ucb1x00-core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/drivers/mfd/ucb1x00-core.c 7 * The UCB1x00 core driver provides basic services for handling IO, 11 * to be used on other non-MCP-enabled hardware platforms. 35 * ucb1x00_io_set_dir - set IO direction 37 * @in: bitfield of IO pins to be set as inputs 38 * @out: bitfield of IO pins to be set as outputs 40 * Set the IO direction of the ten general purpose IO pins on 54 spin_lock_irqsave(&ucb->io_lock, flags); in ucb1x00_io_set_dir() 55 ucb->io_dir |= out; in ucb1x00_io_set_dir() [all …]
|
/linux-6.14.4/drivers/reset/ |
D | reset-zynq.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Xilinx Zynq Reset controller driver 11 #include <linux/io.h> 16 #include <linux/reset-controller.h> 37 pr_debug("%s: %s reset bank %u offset %u\n", KBUILD_MODNAME, __func__, in zynq_reset_assert() 40 return regmap_update_bits(priv->slcr, in zynq_reset_assert() 41 priv->offset + (bank * 4), in zynq_reset_assert() 54 pr_debug("%s: %s reset bank %u offset %u\n", KBUILD_MODNAME, __func__, in zynq_reset_deassert() 57 return regmap_update_bits(priv->slcr, in zynq_reset_deassert() 58 priv->offset + (bank * 4), in zynq_reset_deassert() [all …]
|