Home
last modified time | relevance | path

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

12345678910>>...44

/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/nfc/
Dnfcmrvl.txt4 - compatible: Should be:
5 - "marvell,nfc-uart" or "mrvl,nfc-uart" for UART devices
6 - "marvell,nfc-i2c" for I2C devices
7 - "marvell,nfc-spi" for SPI devices
10 - pinctrl-names: Contains only one value - "default".
11 - pintctrl-0: Specifies the pin control groups used for this controller.
12 - reset-n-io: Output GPIO pin used to reset the chip (active low).
13 - hci-muxed: Specifies that the chip is muxing NCI over HCI frames.
15 Optional UART-based chip specific properties:
16 - flow-control: Specifies that the chip is using RTS/CTS.
[all …]
/kernel/linux/linux-5.10/drivers/scsi/snic/
Dsnic_debugfs.c25 * snic_debugfs_init - Initialize debugfs for snic debug logging
35 snic_glob->trc_root = debugfs_create_dir("snic", NULL); in snic_debugfs_init()
37 snic_glob->stats_root = debugfs_create_dir("statistics", in snic_debugfs_init()
38 snic_glob->trc_root); in snic_debugfs_init()
42 * snic_debugfs_term - Tear down debugfs intrastructure
51 debugfs_remove(snic_glob->stats_root); in snic_debugfs_term()
52 snic_glob->stats_root = NULL; in snic_debugfs_term()
54 debugfs_remove(snic_glob->trc_root); in snic_debugfs_term()
55 snic_glob->trc_root = NULL; in snic_debugfs_term()
59 * snic_reset_stats_open - Open the reset_stats file
[all …]
Dsnic_scsi.c36 #define snic_cmd_tag(sc) (((struct scsi_cmnd *) sc)->request->tag)
114 u32 hash = snic_cmd_tag(sc) & (SNIC_IO_LOCKS - 1); in snic_io_lock_hash()
116 return &snic->io_req_lock[hash]; in snic_io_lock_hash()
122 return &snic->io_req_lock[tag & (SNIC_IO_LOCKS - 1)]; in snic_io_lock_tag()
142 SNIC_SCSI_DBG(snic->shost, in snic_release_req_buf()
143 "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()
144 sc, snic_cmd_tag(sc), rqi, rqi->req, rqi->abort_req, in snic_release_req_buf()
145 rqi->dr_req, snic_ioreq_state_to_str(CMD_STATE(sc)), in snic_release_req_buf()
148 if (req->u.icmnd.sense_addr) in snic_release_req_buf()
149 dma_unmap_single(&snic->pdev->dev, in snic_release_req_buf()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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>
25 #include <linux/io.h>
37 #include "c8sectpfe-common.h"
38 #include "c8sectpfe-core.h"
39 #include "c8sectpfe-debugfs.h"
71 for (chan_num = 0; chan_num < fei->tsin_count; chan_num++) { in c8sectpfe_timer_interrupt()
72 channel = fei->channel_data[chan_num]; in c8sectpfe_timer_interrupt()
75 if (channel->irec && readl(channel->irec + DMA_PRDS_TPENABLE)) in c8sectpfe_timer_interrupt()
[all …]
/kernel/linux/linux-5.10/drivers/scsi/fnic/
Dfnic_scsi.c110 u32 hash = sc->request->tag & (FNIC_IO_LOCKS - 1); in fnic_io_lock_hash()
112 return &fnic->io_req_lock[hash]; in fnic_io_lock_hash()
118 return &fnic->io_req_lock[tag & (FNIC_IO_LOCKS - 1)]; in fnic_io_lock_tag()
123 * also unmap and free the device-private scatter/gather list.
129 if (io_req->sgl_list_pa) in fnic_release_ioreq_buf()
130 dma_unmap_single(&fnic->pdev->dev, io_req->sgl_list_pa, in fnic_release_ioreq_buf()
131 sizeof(io_req->sgl_list[0]) * io_req->sgl_cnt, in fnic_release_ioreq_buf()
135 if (io_req->sgl_cnt) in fnic_release_ioreq_buf()
136 mempool_free(io_req->sgl_list_alloc, in fnic_release_ioreq_buf()
137 fnic->io_sgl_pool[io_req->sgl_type]); in fnic_release_ioreq_buf()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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>
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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/staging/mt7621-pci/
Dpci-mt7621.c1 // SPDX-License-Identifier: GPL-2.0+
31 #include <linux/reset.h>
49 /* Host-PCI bridge registers */
92 * struct mt7621_pcie_port - PCIe port information
97 * @pcie_rst: pointer to port reset control
98 * @gpio_rst: gpio reset
116 * struct mt7621_pcie - PCIe host information
117 * @base: IO Mapped Register Base
118 * @io: IO resource
119 * @mem: non-prefetchable memory resource
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/media/platform/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>
35 #include "c8sectpfe-core.h"
36 #include "c8sectpfe-common.h"
37 #include "c8sectpfe-debugfs.h"
68 for (chan_num = 0; chan_num < fei->tsin_count; chan_num++) { in c8sectpfe_timer_interrupt()
69 channel = fei->channel_data[chan_num]; in c8sectpfe_timer_interrupt()
72 if (channel->irec && readl(channel->irec + DMA_PRDS_TPENABLE)) in c8sectpfe_timer_interrupt()
[all …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/drivers/nfc/nfcmrvl/
Dmain.c4 * Copyright (C) 2014-2015 Marvell International Ltd.
11 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
13 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
33 if (test_and_set_bit(NFCMRVL_NCI_RUNNING, &priv->flags)) in nfcmrvl_nci_open()
36 /* Reset possible fault of previous session */ in nfcmrvl_nci_open()
37 clear_bit(NFCMRVL_PHY_ERROR, &priv->flags); in nfcmrvl_nci_open()
39 err = priv->if_ops->nci_open(priv); in nfcmrvl_nci_open()
42 clear_bit(NFCMRVL_NCI_RUNNING, &priv->flags); in nfcmrvl_nci_open()
51 if (!test_and_clear_bit(NFCMRVL_NCI_RUNNING, &priv->flags)) in nfcmrvl_nci_close()
54 priv->if_ops->nci_close(priv); in nfcmrvl_nci_close()
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/aspeed/
Daspeed-bmc-ampere-mtmitchell.dts1 // SPDX-License-Identifier: GPL-2.0-only
4 /dts-v1/;
6 #include "aspeed-g6.dtsi"
7 #include <dt-bindings/i2c/i2c.h>
8 #include <dt-bindings/gpio/aspeed-gpio.h>
12 compatible = "ampere,mtmitchell-bmc", "aspeed,ast2600";
20 stdout-path = &uart5;
28 reserved-memory {
29 #address-cells = <1>;
30 #size-cells = <1>;
[all …]
/kernel/linux/linux-5.10/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
62 Don't overwrite the bios-set CMCI threshold. This boot option
69 Force-enable recoverable machine check code paths
80 Use IO-APIC. Default
83 Don't use the IO-APIC.
92 See Documentation/x86/i386/IO-APIC.rst
98 Don't check the IO-APIC timer. This can work around
131 Use the CPU reboot vector for warm reset
139 Use the keyboard controller. cold reset (default)
[all …]

12345678910>>...44