/linux/Documentation/devicetree/bindings/sound/ |
H A D | st,sta32x.txt | 7 - 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 …]
|
H A D | st,sta350.txt | 7 - 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 …]
|
H A D | cs35l32.txt | 5 - 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/Documentation/devicetree/bindings/power/reset/ |
H A D | reboot-mode.yaml | 1 # 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/fs/ocfs2/dlm/ |
H A D | dlmlock.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 57 return -ENOMEM; in dlm_init_lock_cache() 68 * caller needs: res->spinlock 78 list_for_each_entry(tmplock, &res->granted, list) { in dlm_can_grant_new_lock() 79 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock() 83 list_for_each_entry(tmplock, &res->converting, list) { in dlm_can_grant_new_lock() 84 if (!dlm_lock_compatible(tmplock->ml.type, lock->ml.type)) in dlm_can_grant_new_lock() 86 if (!dlm_lock_compatible(tmplock->ml.convert_type, in dlm_can_grant_new_lock() 87 lock->ml.type)) in dlm_can_grant_new_lock() 97 * taken: takes and drops res->spinlock [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_dp_training_dpia.c | 44 link->ctx->logger 66 DPIA_TS_UFP_DONE = 0xff /* Done training DPTX-to-DPIA hop. */ 72 uint8_t mode : 1; member 89 /* Configure link as prescribed in link_setting; set LTTPR mode; and 95 * @param[out] lt_settings Link settings and drive settings (voltage swing and pre-emphasis). 106 DC_LOG_HW_LINK_TRAINING("%s\n DPIA(%d) configuring\n - LTTPR mode(%d)\n", in dpia_configure_link() 108 link->link_id.enum_id - ENUM_ID_1, in dpia_configure_link() 109 lt_settings->lttpr_mode); in dpia_configure_link() 116 dp_get_lttpr_mode_override(link, <_settings->lttpr_mode); in dpia_configure_link() 119 if (status != DC_OK && link->is_hpd_pending) in dpia_configure_link() [all …]
|
/linux/fs/dlm/ |
H A D | dlm_internal.h | 1 /* 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. 63 printk(KERN_ERR "dlm: %s: " fmt "\n", (ls)->ls_name , ##args) 69 (ls)->ls_name, ##args); \ 72 (ls)->ls_name , ##args); \ 79 (ls)->ls_name , ##args); \ 86 (ls)->ls_name , ##args); \ 118 * Save and manage recovery state for a lockspace. 136 void (*bastfn) (void *astparam, int mode); [all …]
|
/linux/Documentation/mm/ |
H A D | hwpoison.rst | 9 (``MCA recovery``). This requires the OS to declare a page "poisoned", 41 The code consists of a the high level handler in mm/memory-failure.c, 46 of applications. KVM support requires a recent qemu-kvm release. 54 Failure recovery modes 57 There are two (actually three) modes memory failure recovery can be in: 60 All memory failures cause a panic. Do not attempt recovery. 67 This is the mode used by KVM qemu. 81 Enable early kill mode globally 84 Set early/late kill mode/revert to system default 89 arg2 defines thread specific mode [all …]
|
/linux/drivers/md/dm-vdo/ |
H A D | statistics.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 20 /* The number of times since loading that a slab has been re-opened */ 27 * allow the number of buffered, in-memory items and the number of in-flight, 40 /** Counters for events in the recovery journal */ 42 /* Number of times the on-disk journal was full */ 44 /* Number of times the recovery journal requested slab journal commits. */ 64 /* Number of times the on-disk journal was full */ 138 /* Number of writes with the same data as another in-flight write */ 140 /* Number of writes whose hash collided with an in-flight write */ 217 /* Number of times the VDO has recovered from read-only mode */ [all …]
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_sriov_types.h | 1 /* SPDX-License-Identifier: MIT */ 15 * VFID - Virtual Function Identifier 21 * Note: According to PCI spec, SR-IOV VF's numbers are 1-based (VF1, VF2, ...). 27 * enum xe_sriov_mode - SR-IOV mode 28 * @XE_SRIOV_MODE_NONE: bare-metal mode (non-virtualized) 29 * @XE_SRIOV_MODE_PF: SR-IOV Physical Function (PF) mode 30 * @XE_SRIOV_MODE_VF: SR-IOV Virtual Function (VF) mode 35 * attempt of checking the SR-IOV mode prior to the actual mode probe. 44 * struct xe_device_pf - Xe PF related data 47 * @XE_SRIOV_MODE_PF mode. [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | setup.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 15 mlx5_core_err(mdev, "Legacy RQ linear mode for XSK can't be activated with current params\n"); in mlx5e_legacy_rq_validate_xsk() 16 return -EINVAL; in mlx5e_legacy_rq_validate_xsk() 32 * and xsk->chunk_size is limited to 65535 bytes. in mlx5e_validate_xsk_param() 34 if ((size_t)xsk->chunk_size > PAGE_SIZE || xsk->chunk_size < MLX5E_MIN_XSK_CHUNK_SIZE) { in mlx5e_validate_xsk_param() 35 mlx5_core_err(mdev, "XSK chunk size %u out of bounds [%u, %lu]\n", xsk->chunk_size, in mlx5e_validate_xsk_param() 41 * SKB mode is possible. in mlx5e_validate_xsk_param() 43 switch (params->rq_wq_type) { in mlx5e_validate_xsk_param() 56 mlx5e_build_rq_param(mdev, params, xsk, &cparam->rq); in mlx5e_build_xsk_cparam() 57 mlx5e_build_xdpsq_param(mdev, params, xsk, &cparam->xdp_sq); in mlx5e_build_xsk_cparam() [all …]
|
/linux/drivers/ata/ |
H A D | pata_cs5520.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * PIO mode and smarter silicon. 11 * drive for the right PIO mode and ignore the drive bus mastering DMA 40 int recovery; member 52 * cs5520_set_timings - program PIO timings 57 * Program the PIO mode timings for the controller according to the pio 63 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5520_set_timings() 64 int slave = adev->devno; in cs5520_set_timings() 66 pio -= XFER_PIO_0; in cs5520_set_timings() 69 pci_write_config_byte(pdev, 0x62 + ap->port_no, in cs5520_set_timings() [all …]
|
H A D | pata_artop.c | 1 // 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 …]
|
H A D | pata_sis.c | 1 // 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/arch/arm64/boot/dts/marvell/ |
H A D | armada-3720-uDPU.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include "armada-3720-uDPU.dtsi" 11 sfp_eth0: sfp-eth0 { 13 i2c-bus = <&i2c0>; 14 los-gpios = <&gpiosb 2 GPIO_ACTIVE_HIGH>; 15 mod-def0-gpios = <&gpiosb 3 GPIO_ACTIVE_LOW>; 16 tx-disable-gpios = <&gpiosb 4 GPIO_ACTIVE_HIGH>; 17 tx-fault-gpios = <&gpiosb 5 GPIO_ACTIVE_HIGH>; 18 maximum-power-milliwatt = <3000>; [all …]
|
/linux/include/linux/ |
H A D | dlm.h | 1 /* 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. 51 * is not used. When set, dlm_new_lockspace() returns -EBADR if cluster 60 * dlm_new_lockspace() should return -EEXIST if the lockspace exists. 71 * ops: callbacks that indicate lockspace recovery points so the 72 * caller can coordinate its recovery and know lockspace members. 79 * be used or not. 0: will be used, -EXXX will not be used. [all …]
|
/linux/drivers/s390/char/ |
H A D | tape_34xx.c | 1 // 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/drivers/md/ |
H A D | md-cluster.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 #include "md-bitmap.h" 14 #include "md-cluster.h" 27 void (*bast)(void *arg, int mode); /* blocking AST function pointer*/ 29 int mode; member 124 res->sync_locking_done = true; in sync_ast() 125 wake_up(&res->sync_locking); in sync_ast() 128 static int dlm_lock_sync(struct dlm_lock_resource *res, int mode) in dlm_lock_sync() argument 132 ret = dlm_lock(res->ls, mode, &res->lksb, in dlm_lock_sync() 133 res->flags, res->name, strlen(res->name), in dlm_lock_sync() [all …]
|
H A D | dm-raid.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2010-2011 Neil Brown 4 * Copyright (C) 2010-2018 Red Hat, Inc. All rights reserved. 16 #include "md-bitmap.h" 18 #include <linux/device-mapper.h> 21 #define MAX_RAID_DEVICES 253 /* md-raid kernel limit */ 36 * The following flags are used by dm-rai 255 int mode; global() member 364 const int mode; global() member 372 dm_raid_journal_mode_to_md(const char * mode) dm_raid_journal_mode_to_md() argument 384 md_journal_mode_to_dm_raid(const int mode) md_journal_mode_to_dm_raid() argument 3378 decipher_sync_action(struct mddev * mddev,unsigned long recovery) decipher_sync_action() argument 3435 rs_get_progress(struct raid_set * rs,unsigned long recovery,enum sync_state state,sector_t resync_max_sectors) rs_get_progress() argument 3529 unsigned long recovery; raid_status() local [all...] |
/linux/drivers/i2c/busses/ |
H A D | i2c-pxa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Copyright (C) 2004-2005 Deep Blue Solutions Ltd. 13 * Jan 2003: Fixed several bugs concerning interrupt handling [Kai-Uwe Bloem] 14 * Jan 2003: added limited signal handling [Kai-Uwe Bloem] 17 * Feb 2005: Rework slave mode handling [RMK] 34 #include <linux/platform_data/i2c-pxa.h> 57 #define ICR_FM (1 << 15) /* fast mode */ 58 #define ICR_HS (1 << 16) /* High Speed mode */ 59 #define ICR_A3700_FM (1 << 16) /* fast mode for armada-3700 */ 60 #define ICR_A3700_HS (1 << 17) /* high speed mode for armada-3700 */ [all …]
|
/linux/fs/ubifs/ |
H A D | debug.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2006-2008 Nokia Corporation. 29 * ubifs_debug_info - per-FS debugging information. 30 * @old_zroot: old index root - used by 'dbg_check_old_index()' 31 * @old_zroot_level: old index root level - used by 'dbg_check_old_index()' 32 * @old_zroot_sqnum: old index root sqnum - used by 'dbg_check_old_index()' 34 * @pc_happened: non-zero if an emulated power cut happened 36 * @pc_timeout: time in jiffies when delay of failure mode expires 37 * @pc_cnt: current number of calls to failure mode I/O functions 38 * @pc_cnt_max: number of calls by which to delay failure mode [all …]
|
H A D | recovery.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2006-2008 Nokia Corporation 12 * This file implements functions needed to recover from unclean un-mounts. 14 * an un-mount was completed successfully. If not, the process of mounting 15 * incorporates additional checking and fixing of on-flash data structures. 16 * UBIFS always cleans away all remnants of an unclean un-mount, so that 17 * errors do not accumulate. However UBIFS defers recovery if it is mounted 18 * read-only, and the flash is not modified in that case. 20 * The general UBIFS approach to the recovery is that it recovers from 29 * writes in @c->max_write_size bytes at a time. [all …]
|
/linux/include/ufs/ |
H A D | ufs_quirks.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. 22 * ufs_dev_quirk - ufs device quirk info 42 * - As soon as SW sees the DL NAC error, it should schedule the error handler 43 * - Error handler would sleep for 50ms to see if there are any fatal errors 45 * - If there are fatal errors then SW does normal error recovery. 46 * - If there are no fatal errors then SW sends the NOP command to device 48 * - If NOP command times out, SW does normal error recovery 49 * - If NOP command succeed, skip the error handling. 52 * enable this quirk to initiate quick error recovery and also silence related [all …]
|
/linux/net/ipv4/ |
H A D | tcp_bbr.c | 21 * +---> STARTUP ----+ 24 * | DRAIN ----+ 27 * +---> PROBE_BW ----+ 30 * | +----+ | 32 * +---- PROBE_RTT <--+ 37 * A long-lived BBR flow spends the vast majority of its time remaining 42 * it briefly enters PROBE_RTT to cut inflight to a minimum value to re-probe 43 * the path's two-way propagation delay (min_rtt). When exiting PROBE_RTT, if 48 * "BBR: Congestion-Based Congestion Control", 50 * Van Jacobson. ACM Queue, Vol. 14 No. 5, September-October 2016. [all …]
|
/linux/drivers/gpu/drm/tegra/ |
H A D | dp.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright (C) 2013-2019 NVIDIA Corporation 17 caps->enhanced_framing = false; in drm_dp_link_caps_reset() 18 caps->tps3_supported = false; in drm_dp_link_caps_reset() 19 caps->fast_training = false; in drm_dp_link_caps_reset() 20 caps->channel_coding = false; in drm_dp_link_caps_reset() 21 caps->alternate_scrambler_reset = false; in drm_dp_link_caps_reset() 27 dest->enhanced_framing = src->enhanced_framing; in drm_dp_link_caps_copy() 28 dest->tps3_supported = src->tps3_supported; in drm_dp_link_caps_copy() 29 dest->fast_training = src->fast_training; in drm_dp_link_caps_copy() [all …]
|