Home
last modified time | relevance | path

Searched +full:reset +full:- +full:n +full:- +full:io (Results 1 – 25 of 1025) sorted by relevance

12345678910>>...41

/Linux-v6.1/drivers/scsi/snic/
Dsnic_debugfs.c1 // 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 …]
Dsnic_scsi.c1 // 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-v6.1/drivers/net/arcnet/
Dcom90io.c2 * Linux ARCnet driver - COM90xx chipset (IO-mapped buffers)
5 * Written 1994-1999 by Avery Pennarun.
6 * Written 1999-2000 by Martin Mares <mj@ucw.cz>.
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 …]
Dcom90xx.c2 * 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 …]
/Linux-v6.1/drivers/scsi/fnic/
Dfnic_scsi.c1 // SPDX-License-Identifier: GPL-2.0-only
98 u32 hash = scsi_cmd_to_rq(sc)->tag & (FNIC_IO_LOCKS - 1); in fnic_io_lock_hash()
100 return &fnic->io_req_lock[hash]; in fnic_io_lock_hash()
106 return &fnic->io_req_lock[tag & (FNIC_IO_LOCKS - 1)]; in fnic_io_lock_tag()
111 * also unmap and free the device-private scatter/gather list.
117 if (io_req->sgl_list_pa) in fnic_release_ioreq_buf()
118 dma_unmap_single(&fnic->pdev->dev, io_req->sgl_list_pa, in fnic_release_ioreq_buf()
119 sizeof(io_req->sgl_list[0]) * io_req->sgl_cnt, in fnic_release_ioreq_buf()
123 if (io_req->sgl_cnt) in fnic_release_ioreq_buf()
124 mempool_free(io_req->sgl_list_alloc, in fnic_release_ioreq_buf()
[all …]
/Linux-v6.1/drivers/char/ipmi/
Dipmi_bt_sm.c1 // 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-v6.1/Documentation/devicetree/bindings/net/nfc/
Dmarvell,nci.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>
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-v6.1/drivers/scsi/elx/efct/
Defct_hw.c1 // 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-v6.1/drivers/media/platform/st/sti/c8sectpfe/
Dc8sectpfe-core.c1 // SPDX-License-Identifier: GPL-2.0
3 * c8sectpfe-core.c - C8SECTPFE STi DVB driver
16 #include <linux/dma-mapping.h>
23 #include <linux/io.h>
34 #include "c8sectpfe-core.h"
35 #include "c8sectpfe-common.h"
36 #include "c8sectpfe-debugfs.h"
67 for (chan_num = 0; chan_num < fei->tsin_count; chan_num++) { in c8sectpfe_timer_interrupt()
68 channel = fei->channel_data[chan_num]; in c8sectpfe_timer_interrupt()
71 if (channel->irec && readl(channel->irec + DMA_PRDS_TPENABLE)) in c8sectpfe_timer_interrupt()
[all …]
/Linux-v6.1/Documentation/ABI/stable/
Dsysfs-driver-mlxreg-io1 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-v6.1/drivers/phy/allwinner/
Dphy-sun50i-usb3.c1 // 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 <wens@csie.org>
13 * Copyright (c) 2010-2015 Allwinner Technology Co., Ltd.
18 #include <linux/io.h>
22 #include <linux/reset.h>
43 #define SUNXI_TX_DEEMPH_3P5DB(n) ((n) << 19) argument
45 #define SUNXI_TX_DEEMPH_6DB(n) ((n) << 13) argument
47 #define SUNXI_TX_SWING_FULL(n) ((n) << 6) argument
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Daspeed-bmc-ampere-mtmitchell.dts1 // SPDX-License-Identifier: GPL-2.0-only
4 /dts-v1/;
6 #include "aspeed-g6.dtsi"
7 #include <dt-bindings/gpio/aspeed-gpio.h>
11 compatible = "ampere,mtmitchell-bmc", "aspeed,ast2600";
14 stdout-path = &uart5;
22 reserved-memory {
23 #address-cells = <1>;
24 #size-cells = <1>;
30 compatible = "shared-dma-pool";
[all …]
/Linux-v6.1/drivers/nfc/nfcmrvl/
Dmain.c1 // 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-v6.1/drivers/gpu/drm/bridge/
Dtc358775.c1 // 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-v6.1/sound/isa/msnd/
Dmsnd_pinnacle.c1 // 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-v6.1/drivers/video/backlight/
Dl4f00242t03.c1 // 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-v6.1/drivers/pcmcia/
Dxxs1500_ss.c1 // 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-v6.1/drivers/watchdog/
Dsmsc37b787_wdt.c1 // 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 <anders@anduras.de>
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-v6.1/Documentation/x86/x86_64/
Dboot-options.rst1 .. SPDX-License-Identifier: GPL-2.0
39 Do not opt-in to Local MCE delivery. Use legacy method
55 Don't overwrite the bios-set CMCI threshold. This boot option
62 Force-enable recoverable machine check code paths
73 Use IO-APIC. Default
76 Don't use the IO-APIC.
85 See Documentation/x86/i386/IO-APIC.rst
91 Don't check the IO-APIC timer. This can work around
124 Use the CPU reboot vector for warm reset
132 Use the keyboard controller. cold reset (default)
[all …]
/Linux-v6.1/arch/mips/pci/
Dpcie-octeon.c17 #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-v6.1/drivers/counter/
Dftm-quaddec.c1 // 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-v6.1/drivers/scsi/pm8001/
Dpm8001_hwi.c2 * 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-v6.1/arch/powerpc/kernel/
Deeh.c1 // 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-v6.1/drivers/gpu/drm/msm/dp/
Ddp_catalog.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2017-2020, The Linux Foundation. All rights reserved.
6 #define pr_fmt(fmt) "[drm-dp] %s: " fmt, __func__
11 #include <linux/phy/phy-dp.h>
53 struct dp_io *io; member
63 struct dss_io_data *dss = &catalog->io->dp_controller; in dp_catalog_snapshot()
65 msm_disp_snapshot_add_block(disp_state, dss->ahb.len, dss->ahb.base, "dp_ahb"); in dp_catalog_snapshot()
66 msm_disp_snapshot_add_block(disp_state, dss->aux.len, dss->aux.base, "dp_aux"); in dp_catalog_snapshot()
67 msm_disp_snapshot_add_block(disp_state, dss->link.len, dss->link.base, "dp_link"); in dp_catalog_snapshot()
68 msm_disp_snapshot_add_block(disp_state, dss->p0.len, dss->p0.base, "dp_p0"); in dp_catalog_snapshot()
[all …]
/Linux-v6.1/sound/soc/sof/intel/
Dbyt.c1 // 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()
112 struct snd_sof_pdata *pdata = sdev->pdata; in byt_acpi_probe()
113 const struct sof_dev_desc *desc = pdata->desc; in byt_acpi_probe()
[all …]

12345678910>>...41