Home
last modified time | relevance | path

Searched +full:mode +full:- +full:recovery (Results 1 – 25 of 827) sorted by relevance

12345678910>>...34

/linux-5.10/Documentation/devicetree/bindings/sound/
Dst,sta32x.txt7 - compatible: "st,sta32x"
8 - reg: the I2C address of the device for I2C
9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be
12 - power-down-gpios: a GPIO spec for the power down pin. If specified,
16 - Vdda-supply: regulator spec, providing 3.3V
17 - Vdd3-supply: regulator spec, providing 3.3V
18 - Vcc-supply: regulator spec, providing 5V - 26V
22 - clocks, clock-names: Clock specifier for XTI input clock.
24 and disabled when it is removed. The 'clock-names' must be set to 'xti'.
26 - st,output-conf: number, Selects the output configuration:
[all …]
Dst,sta350.txt7 - compatible: "st,sta350"
8 - reg: the I2C address of the device for I2C
9 - reset-gpios: a GPIO spec for the reset pin. If specified, it will be
12 - power-down-gpios: a GPIO spec for the power down pin. If specified,
16 - vdd-dig-supply: regulator spec, providing 3.3V
17 - vdd-pll-supply: regulator spec, providing 3.3V
18 - vcc-supply: regulator spec, providing 5V - 26V
22 - st,output-conf: number, Selects the output configuration:
23 0: 2-channel (full-bridge) power, 2-channel data-out
24 1: 2 (half-bridge). 1 (full-bridge) on-board power
[all …]
Dcs35l32.txt5 - compatible : "cirrus,cs35l32"
7 - reg : the I2C address of the device for I2C. Address is determined by the level
10 - VA-supply, VP-supply : power supplies for the device,
15 - reset-gpios : a GPIO spec for the reset pin. If specified, it will be
18 - cirrus,boost-manager : Boost voltage control.
19 0 = Automatically managed. Boost-converter output voltage is the higher
21 1 = Automatically managed irrespective of audio, adapting for low-power
22 dissipation when LEDs are ON, and operating in Fixed-Boost Bypass Mode
24 2 = (Default) Boost voltage fixed in Bypass Mode (VBST = VP).
27 - cirrus,sdout-datacfg : Data configuration for dual CS35L32 applications only.
[all …]
/linux-5.10/Documentation/devicetree/bindings/power/reset/
Dreboot-mode.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/reset/reboot-mode.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Generic reboot mode core map
10 - Andy Yan <andy.yan@rock-chips.com>
13 This driver get reboot mode arguments and call the write
18 All mode properties are vendor specific, it is a indication to tell
20 as mode-xxx = <magic> (xxx is mode name, magic should be a non-zero value).
23 - normal: Normal reboot mode, system reboot with command "reboot".
[all …]
/linux-5.10/fs/gfs2/
Dlock_dlm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
4 * Copyright 2004-2011 Red Hat, Inc.
20 #include "recovery.h"
26 * gfs2_update_stats - Update time based stats
49 s64 delta = sample - s->stats[index]; in gfs2_update_stats()
50 s->stats[index] += (delta >> 3); in gfs2_update_stats()
52 s->stats[index] += (s64)(abs(delta) - s->stats[index]) >> 2; in gfs2_update_stats()
56 * gfs2_update_reply_times - Update locking statistics
59 * This assumes that gl->gl_dstamp has been set earlier.
[all …]
/linux-5.10/fs/ocfs2/dlm/
Ddlmlock.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* -*- mode: c; c-basic-offset: 8; -*-
59 return -ENOMEM; in dlm_init_lock_cache()
70 * caller needs: res->spinlock
80 list_for_each_entry(tmplock, &res->granted, list) { in dlm_can_grant_new_lock()
81 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
85 list_for_each_entry(tmplock, &res->converting, list) { in dlm_can_grant_new_lock()
86 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock()
88 if (!dlm_lock_compatible(tmplock->ml.convert_type, in dlm_can_grant_new_lock()
89 lock->ml.type)) in dlm_can_grant_new_lock()
[all …]
/linux-5.10/arch/arm64/boot/dts/marvell/
Darmada-3720-uDPU.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
4 * Based on Marvell Armada 3720 development board (DB-88F3720-DDR3)
12 /dts-v1/;
14 #include <dt-bindings/gpio/gpio.h>
15 #include "armada-372x.dtsi"
22 stdout-path = "serial0:115200n8";
31 pinctrl-names = "default";
32 compatible = "gpio-leds";
65 sfp_eth0: sfp-eth0 {
67 i2c-bus = <&i2c0>;
[all …]
/linux-5.10/Documentation/vm/
Dhwpoison.rst11 (``MCA recovery``). This requires the OS to declare a page "poisoned",
43 The code consists of a the high level handler in mm/memory-failure.c,
48 of applications. KVM support requires a recent qemu-kvm release.
56 Failure recovery modes
59 There are two (actually three) modes memory failure recovery can be in:
62 All memory failures cause a panic. Do not attempt recovery.
71 This is the mode used by KVM qemu.
85 Enable early kill mode globally
88 Set early/late kill mode/revert to system default
93 arg2 defines thread specific mode
[all …]
/linux-5.10/include/linux/
Di2c.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * i2c.h - definitions for the Linux i2c bus interface
4 * Copyright (C) 1995-2000 Simon G. Vogl
5 * Copyright (C) 2013-2019 Wolfram Sang <wsa@kernel.org>
28 /* --- General options ------------------------------------------------ */
65 * i2c_master_recv - issue a single I2C message in master receive mode
79 * i2c_master_recv_dmasafe - issue a single I2C message in master receive mode
95 * i2c_master_send - issue a single I2C message in master transmit mode
109 * i2c_master_send_dmasafe - issue a single I2C message in master transmit mode
189 * struct i2c_device_identity - i2c client device identification
[all …]
Ddlm.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
6 ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
23 * recover_prep: called before the dlm begins lock recovery.
27 * recover_done: called after the dlm completes lock recovery.
48 * is not used. When set, dlm_new_lockspace() returns -EBADR if cluster
63 * dlm_new_lockspace() should return -EEXIST if the lockspace exists.
69 * ops: callbacks that indicate lockspace recovery points so the
70 * caller can coordinate its recovery and know lockspace members.
77 * be used or not. 0: will be used, -EXXX will not be used.
[all …]
/linux-5.10/fs/dlm/
Ddlm_internal.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved.
6 ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved.
64 printk(KERN_ERR "dlm: %s: " fmt "\n", (ls)->ls_name , ##args)
70 (ls)->ls_name, ##args); \
73 (ls)->ls_name , ##args); \
80 (ls)->ls_name , ##args); \
87 (ls)->ls_name , ##args); \
130 * Save and manage recovery state for a lockspace.
148 void (*bastfn) (void *astparam, int mode);
[all …]
/linux-5.10/drivers/staging/unisys/Documentation/ABI/
Dsysfs-platform-visorchipset8 s-Par's automatic installation progress screen when an error
10 if not in installation mode.
17 Description: used to set the value of the progress bar on the s-Par automatic
19 installation mode.
27 s-Par's automatic installation progress screen. Setting this
28 field when not in installation mode (boottotool was set on
36 Description: The boottotool flag controls s-Par behavior on the next boot of
47 Description: This field is used to tell s-Par which type of recovery tool
48 action to perform on the next guest boot-up. The meaning of the
59 responsible for enabling and disabling SR-IOV devices when the
[all …]
/linux-5.10/drivers/ide/
Dht6560b.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 1995-2000 Linus Torvalds & author (see below)
7 * HT-6560B EIDE-controller support
9 * Use hdparm utility to enable PIO mode support.
11 * Author: Mikko Ala-Fossi <maf@iki.fi>
35 * The special i/o-port that HT-6560B uses to configuration:
40 * The special i/o-port that HT-6560A uses to configuration:
43 * bit2 (0x04): "0" enables multi-master system (?)
54 * FIFO + PREFETCH (both a/b-model)
75 * gives. [see cmd640.c for an extreme example of this. -ml]
[all …]
Dcs5520.c7 * PIO mode and smarter silicon.
10 * drive for the right PIO mode. We must also ignore all the blacklists
41 #include <linux/dma-mapping.h>
49 int recovery; member
62 struct pci_dev *pdev = to_pci_dev(hwif->dev); in cs5520_set_pio_mode()
63 int controller = drive->dn > 1 ? 1 : 0; in cs5520_set_pio_mode()
64 const u8 pio = drive->pio_mode - XFER_PIO_0; in cs5520_set_pio_mode()
66 /* 8bit CAT/CRT - 8bit command timing for channel */ in cs5520_set_pio_mode()
68 (cs5520_pio_clocks[pio].recovery << 4) | in cs5520_set_pio_mode()
71 /* 0x64 - 16bit Primary, 0x68 - 16bit Secondary */ in cs5520_set_pio_mode()
[all …]
Dtc86c001.c3 * Copyright (C) 2005-2006 MontaVista Software, Inc. <source@mvista.com>
19 unsigned long scr_port = hwif->config_data + (drive->dn ? 0x02 : 0x00); in tc86c001_set_mode()
20 u16 mode, scr = inw(scr_port); in tc86c001_set_mode() local
21 const u8 speed = drive->dma_mode; in tc86c001_set_mode()
24 case XFER_UDMA_4: mode = 0x00c0; break; in tc86c001_set_mode()
25 case XFER_UDMA_3: mode = 0x00b0; break; in tc86c001_set_mode()
26 case XFER_UDMA_2: mode = 0x00a0; break; in tc86c001_set_mode()
27 case XFER_UDMA_1: mode = 0x0090; break; in tc86c001_set_mode()
28 case XFER_UDMA_0: mode = 0x0080; break; in tc86c001_set_mode()
29 case XFER_MW_DMA_2: mode = 0x0070; break; in tc86c001_set_mode()
[all …]
/linux-5.10/drivers/net/wimax/i2400m/
Ddriver.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (C) 2007-2008 Intel Corporation <linux-wimax@intel.com>
7 * Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
21 * i240m->bus_reset()
29 * i2400m->bus_setup()
37 * i2400m->bus_dev_start()
45 * i2400m->bus_dev_stop()
47 * i2400m->bus_release()
60 #include "debug-levels.h"
67 "String of space-separated NAME:VALUE pairs, where NAMEs "
[all …]
/linux-5.10/drivers/ata/
Dpata_cs5520.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 * PIO mode and smarter silicon.
11 * drive for the right PIO mode. We must also ignore all the blacklists
40 int recovery; member
52 * cs5520_set_timings - program PIO timings
56 * Program the PIO mode timings for the controller according to the pio
62 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5520_set_timings()
63 int slave = adev->devno; in cs5520_set_timings()
65 pio -= XFER_PIO_0; in cs5520_set_timings()
68 pci_write_config_byte(pdev, 0x62 + ap->port_no, in cs5520_set_timings()
[all …]
Dpata_artop.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_artop.c - ARTOP ATA controller driver
9 * Copyright (C) 1999-2002 Andre Hedrick <andre@linux-ide.org>
11 * driver by Thibaut VARENE <varenet@parisc-linux.org>
43 * artop62x0_pre_reset - probe begin
57 struct ata_port *ap = link->ap; in artop62x0_pre_reset()
58 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in artop62x0_pre_reset()
61 if ((pdev->device & 1) && in artop62x0_pre_reset()
62 !pci_test_config_bits(pdev, &artop_enable_bits[ap->port_no])) in artop62x0_pre_reset()
63 return -ENOENT; in artop62x0_pre_reset()
[all …]
Dpata_sis.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * pata_sis.c - SiS ATA driver
9 * Copyright (C) 1999-2000 Andre Hedrick <andre@linux-ide.org>
67 while (lap->device) { in sis_short_ata40()
68 if (lap->device == dev->device && in sis_short_ata40()
69 lap->subvendor == dev->subsystem_vendor && in sis_short_ata40()
70 lap->subdevice == dev->subsystem_device) in sis_short_ata40()
79 * sis_old_port_base - return PCI configuration base for dev
88 return 0x40 + (4 * adev->link->ap->port_no) + (2 * adev->devno); in sis_old_port_base()
92 * sis_port_base - return PCI configuration base for dev
[all …]
/linux-5.10/drivers/md/
Ddm-raid.c2 * Copyright (C) 2010-2011 Neil Brown
3 * Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved.
15 #include "md-bitmap.h"
17 #include <linux/device-mapper.h>
20 #define MAX_RAID_DEVICES 253 /* md-raid kernel limit */
35 * The following flags are used by dm-raid.c to set up the array state.
44 * ti->len and give more flexibility in altering size and
50 * |--------- Physical Device ---------|
51 * |- meta_dev -|------ data_dev ------|
59 * Bits for establishing rs->ctr_flags
[all …]
Dmd-cluster.c1 // SPDX-License-Identifier: GPL-2.0-or-later
13 #include "md-bitmap.h"
14 #include "md-cluster.h"
26 void (*bast)(void *arg, int mode); /* blocking AST function pointer*/
28 int mode; member
120 res->sync_locking_done = true; in sync_ast()
121 wake_up(&res->sync_locking); in sync_ast()
124 static int dlm_lock_sync(struct dlm_lock_resource *res, int mode) in dlm_lock_sync() argument
128 ret = dlm_lock(res->ls, mode, &res->lksb, in dlm_lock_sync()
129 res->flags, res->name, strlen(res->name), in dlm_lock_sync()
[all …]
/linux-5.10/drivers/scsi/ufs/
Dufs_quirks.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
22 * ufs_dev_fix - ufs device quirk info
51 * - As soon as SW sees the DL NAC error, it should schedule the error handler
52 * - Error handler would sleep for 50ms to see if there are any fatal errors
54 * - If there are fatal errors then SW does normal error recovery.
55 * - If there are no fatal errors then SW sends the NOP command to device
57 * - If NOP command times out, SW does normal error recovery
58 * - If NOP command succeed, skip the error handling.
61 * enable this quirk to initiate quick error recovery and also silence related
[all …]
/linux-5.10/drivers/s390/char/
Dtape_34xx.c1 // SPDX-License-Identifier: GPL-2.0
7 * Tuan Ngo-Anh <ngoanh@de.ibm.com>
58 struct tape_device *device = request->device; in __tape_34xx_medium_sense()
61 if (request->rc == 0) { in __tape_34xx_medium_sense()
62 sense = request->cpdata; in __tape_34xx_medium_sense()
66 * means that the drive is 'neither ready nor on-line' it is in __tape_34xx_medium_sense()
76 device->tape_generic_status |= GMT_WR_PROT(~0); in __tape_34xx_medium_sense()
78 device->tape_generic_status &= ~GMT_WR_PROT(~0); in __tape_34xx_medium_sense()
81 request->rc); in __tape_34xx_medium_sense()
96 request->op = TO_MSEN; in tape_34xx_medium_sense()
[all …]
/linux-5.10/fs/ubifs/
Ddebug.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2006-2008 Nokia Corporation.
28 * ubifs_debug_info - per-FS debugging information.
29 * @old_zroot: old index root - used by 'dbg_check_old_index()'
30 * @old_zroot_level: old index root level - used by 'dbg_check_old_index()'
31 * @old_zroot_sqnum: old index root sqnum - used by 'dbg_check_old_index()'
33 * @pc_happened: non-zero if an emulated power cut happened
35 * @pc_timeout: time in jiffies when delay of failure mode expires
36 * @pc_cnt: current number of calls to failure mode I/O functions
37 * @pc_cnt_max: number of calls by which to delay failure mode
[all …]
/linux-5.10/drivers/i2c/busses/
Di2c-uniphier.c1 // SPDX-License-Identifier: GPL-2.0-or-later
56 complete(&priv->comp); in uniphier_i2c_interrupt()
68 reinit_completion(&priv->comp); in uniphier_i2c_xfer_byte()
71 writel(txdata, priv->membase + UNIPHIER_I2C_DTRM); in uniphier_i2c_xfer_byte()
73 time_left = wait_for_completion_timeout(&priv->comp, adap->timeout); in uniphier_i2c_xfer_byte()
75 dev_err(&adap->dev, "transaction timeout\n"); in uniphier_i2c_xfer_byte()
76 return -ETIMEDOUT; in uniphier_i2c_xfer_byte()
79 rxdata = readl(priv->membase + UNIPHIER_I2C_DREC); in uniphier_i2c_xfer_byte()
96 return -EAGAIN; in uniphier_i2c_send_byte()
99 return -ENXIO; in uniphier_i2c_send_byte()
[all …]

12345678910>>...34