Home
last modified time | relevance | path

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

12345678910>>...45

/openbmc/linux/drivers/scsi/snic/
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/net/arcnet/
H A 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 …]
H A 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 …]
/openbmc/u-boot/cmd/aspeed/nettest/
H A Dmactest.c1 // SPDX-License-Identifier: GPL-2.0+
100 if (p_eng->run.speed_sel[0]) { in Print_Header()
102 } else if (p_eng->run.speed_sel[1]) { in Print_Header()
108 switch (p_eng->arg.test_mode) { in Print_Header()
110 PRINTF(option, "TX/RX delay margin check\n"); in Print_Header()
113 PRINTF(option, "TX/RX delay scan\n"); in Print_Header()
116 PRINTF(option, "TX/RX delay and IO driving scan\n"); in Print_Header()
119 PRINTF(option, "TX frame - ARP\n"); in Print_Header()
122 PRINTF(option, "TX frame - random\n"); in Print_Header()
125 PRINTF(option, "TX frame - 0x%08x\n", p_eng->arg.user_def_val); in Print_Header()
[all …]
/openbmc/hiomapd/
H A Dprotocol.c1 // SPDX-License-Identifier: Apache-2.0
18 #pragma GCC diagnostic ignored "-Wpointer-arith"
19 #pragma GCC diagnostic ignored "-Wunused-result"
25 if (context->version == API_VERSION_1) { in protocol_get_bmc_event_mask()
33 * protocol_events_put() - Push the full set/cleared state of BMC events on the
45 return ops->put_events(context, mask); in protocol_events_put()
49 * protocol_events_set() - Update the set BMC events on the active transport
60 * Store the raw value, as we may up- or down- grade the protocol in protocol_events_set()
64 context->bmc_events |= bmc_event; in protocol_events_set()
66 return context->transport->set_events(context, bmc_event, mask); in protocol_events_set()
[all …]
H A Dtransport_dbus.c1 // SPDX-License-Identifier: Apache-2.0
8 #include <systemd/sd-bus.h>
40 rc = sd_bus_emit_properties_changed_strv(context->bus, in transport_dbus_property_update()
42 /* FIXME: Hard-coding v2 */ in transport_dbus_property_update()
77 sd_bus_message *n; in transport_dbus_reset() local
81 MSG_ERR("DBUS Internal Error\n"); in transport_dbus_reset()
82 return -EINVAL; in transport_dbus_reset()
85 rc = context->protocol->reset(context); in transport_dbus_reset()
90 rc = sd_bus_message_new_method_return(m, &n); in transport_dbus_reset()
92 MSG_ERR("sd_bus_message_new_method_return failed: %d\n", rc); in transport_dbus_reset()
[all …]
H A Dtransport_mbox.c1 // SPDX-License-Identifier: Apache-2.0
34 #pragma GCC diagnostic ignored "-Wpointer-arith"
51 { -1, MBOX_R_SYSTEM_ERROR },
64 { -1, MBOX_R_SYSTEM_ERROR },
78 rc = -rc; in mbox_xlate_errno()
79 MSG_DBG("Translating errno %d: %s\n", rc, strerror(rc)); in mbox_xlate_errno()
80 for(entry = errno_maps[context->version]; entry->rc != -1; entry++) { in mbox_xlate_errno()
81 if (rc == entry->rc) { in mbox_xlate_errno()
82 return entry->mbox_errno; in mbox_xlate_errno()
86 return entry->mbox_errno; in mbox_xlate_errno()
[all …]
/openbmc/linux/drivers/scsi/fnic/
H A 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 …]
/openbmc/linux/drivers/char/ipmi/
H A 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 …]
/openbmc/linux/drivers/media/platform/st/sti/c8sectpfe/
H A 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 …]
/openbmc/linux/drivers/phy/allwinner/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/net/nfc/
H A 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 …]
/openbmc/linux/drivers/scsi/elx/efct/
H A 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 …]
/openbmc/linux/drivers/nfc/nfcmrvl/
H A 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 …]
/openbmc/linux/drivers/video/backlight/
H A 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 …]
/openbmc/linux/Documentation/ABI/stable/
H A 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 …]
/openbmc/linux/drivers/gpu/drm/bridge/
H A Dtc358775.c1 // SPDX-License-Identifier: GPL-2.0
16 #include <linux/media-bus-format.h>
35 /* DSI D-PHY Layer Registers */
51 #define PPI_STARTPPI 0x0104 /* START control bit of PPI-TX function. */
72 #define CLS_PRE 0x0180 /* Digital Counter inside of PHY IO */
73 #define D0S_PRE 0x0184 /* Digital Counter inside of PHY IO */
74 #define D1S_PRE 0x0188 /* Digital Counter inside of PHY IO */
75 #define D2S_PRE 0x018C /* Digital Counter inside of PHY IO */
76 #define D3S_PRE 0x0190 /* Digital Counter inside of PHY IO */
77 #define CLS_PREP 0x01A0 /* Digital Counter inside of PHY IO */
[all …]
/openbmc/linux/sound/isa/msnd/
H A 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 …]
/openbmc/linux/drivers/pcmcia/
H A 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 …]
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_block_device.c1 // SPDX-License-Identifier: GPL-2.0+
7 * This test checks the driver for block IO devices.
9 * A handle is created for the new block IO device.
56 * Reset service of the block IO protocol.
58 * @this block IO protocol
61 static efi_status_t EFIAPI reset( in reset() function
69 * Read service of the block IO protocol.
71 * @this block IO protocol
88 boottime->copy_mem(buffer, start, buffer_size); in read_blocks()
94 * Write service of the block IO protocol.
[all …]
/openbmc/linux/drivers/watchdog/
H A 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 …]
/openbmc/linux/Documentation/arch/x86/x86_64/
H A 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/arch/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 …]
/openbmc/u-boot/arch/arm/mach-socfpga/
H A Dspl_gen5.c1 // SPDX-License-Identifier: GPL-2.0+
7 #include <asm/io.h>
9 #include <asm/u-boot.h>
34 const u32 bsel = readl(&sysmgr_regs->bootinfo); in spl_boot_device()
53 printf("Invalid boot device (bsel=%08x)!\n", bsel); in spl_boot_device()
76 clrbits_le32(&pl310->pl310_ctrl, L2X0_CTRL_EN); in socfpga_pl310_clear()
78 writel(0x111, &pl310->pl310_tag_latency_ctrl); in socfpga_pl310_clear()
79 writel(0x121, &pl310->pl310_data_latency_ctrl); in socfpga_pl310_clear()
82 setbits_le32(&pl310->pl310_aux_ctrl, in socfpga_pl310_clear()
88 ena = readl(&pl310->pl310_ctrl); in socfpga_pl310_clear()
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A 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 …]

12345678910>>...45