| /kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
| D | reset.c | 5 * This software is available to you under a choice of one of two 6 * licenses. You may choose to be licensed under the terms of the GNU 8 * COPYING in the main directory of this source tree, or the 15 * - Redistributions of source code must retain the above 16 * copyright notice, this list of conditions and the following 19 * - Redistributions in binary form must reproduce the above 20 * copyright notice, this list of conditions and the following 24 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 25 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 29 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN [all …]
|
| /kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
| D | reset.c | 5 * This software is available to you under a choice of one of two 6 * licenses. You may choose to be licensed under the terms of the GNU 8 * COPYING in the main directory of this source tree, or the 15 * - Redistributions of source code must retain the above 16 * copyright notice, this list of conditions and the following 19 * - Redistributions in binary form must reproduce the above 20 * copyright notice, this list of conditions and the following 24 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 25 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 29 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/reset/ |
| D | zynq-reset.txt | 1 Xilinx Zynq Reset Manager 3 The Zynq AP-SoC has several different resets. 5 See Chapter 26 of the Zynq TRM (UG585) for more information about Zynq resets. 8 - compatible: "xlnx,zynq-reset" 9 - reg: SLCR offset and size taken via syscon <0x200 0x48> 10 - syscon: <&slcr> 12 - #reset-cells: Must be 1 14 The Zynq Reset Manager needs to be a childnode of the SLCR. 18 compatible = "xlnx,zynq-reset"; 20 #reset-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/reset/ |
| D | zynq-reset.txt | 1 Xilinx Zynq Reset Manager 3 The Zynq AP-SoC has several different resets. 5 See Chapter 26 of the Zynq TRM (UG585) for more information about Zynq resets. 8 - compatible: "xlnx,zynq-reset" 9 - reg: SLCR offset and size taken via syscon <0x200 0x48> 10 - syscon: <&slcr> 12 - #reset-cells: Must be 1 14 The Zynq Reset Manager needs to be a childnode of the SLCR. 18 compatible = "xlnx,zynq-reset"; 20 #reset-cells = <1>; [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-meson/ |
| D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #include <linux/of.h> 13 #include <linux/reset.h> 23 #define MESON_SMP_SRAM_CPU_CTRL_ADDR_REG(c) (0x04 + ((c - 1) << 2)) 31 #define MESON_CPU_PWR_A9_MEM_PD0_M(c) (0x0f << (32 - (c * 4))) 106 meson_smp_prepare_cpus("arm,cortex-a5-scu", "amlogic,meson8b-pmu", in meson8b_smp_prepare_cpus() 107 "amlogic,meson8b-smp-sram"); in meson8b_smp_prepare_cpus() 112 meson_smp_prepare_cpus("arm,cortex-a9-scu", "amlogic,meson8-pmu", in meson8_smp_prepare_cpus() 113 "amlogic,meson8-smp-sram"); in meson8_smp_prepare_cpus() 121 * system without power-cycling, or when taking the CPU offline and in meson_smp_begin_secondary_boot() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-meson/ |
| D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #include <linux/of.h> 13 #include <linux/reset.h> 23 #define MESON_SMP_SRAM_CPU_CTRL_ADDR_REG(c) (0x04 + ((c - 1) << 2)) 31 #define MESON_CPU_PWR_A9_MEM_PD0_M(c) (0x0f << (32 - (c * 4))) 106 meson_smp_prepare_cpus("arm,cortex-a5-scu", "amlogic,meson8b-pmu", in meson8b_smp_prepare_cpus() 107 "amlogic,meson8b-smp-sram"); in meson8b_smp_prepare_cpus() 112 meson_smp_prepare_cpus("arm,cortex-a9-scu", "amlogic,meson8-pmu", in meson8_smp_prepare_cpus() 113 "amlogic,meson8-smp-sram"); in meson8_smp_prepare_cpus() 121 * system without power-cycling, or when taking the CPU offline and in meson_smp_begin_secondary_boot() [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/sound/ |
| D | img,i2s-out.txt | 5 - compatible : Compatible list, must contain "img,i2s-out" 7 - #sound-dai-cells : Must be equal to 0 9 - reg : Offset and length of the register set for the device 11 - clocks : Contains an entry for each entry in clock-names 13 - clock-names : Must include the following entries: 17 - dmas: Contains an entry for each entry in dma-names. 19 - dma-names: Must include the following entry: 22 - img,i2s-channels : Number of I2S channels instantiated in the I2S out block 24 - resets: Contains a phandle to the I2S out reset signal 26 - reset-names: Contains the reset signal name "rst" [all …]
|
| D | img,parallel-out.txt | 5 - compatible : Compatible list, must contain "img,parallel-out". 7 - #sound-dai-cells : Must be equal to 0 9 - reg : Offset and length of the register set for the device. 11 - dmas: Contains an entry for each entry in dma-names. 13 - dma-names: Must include the following entry: 16 - clocks : Contains an entry for each entry in clock-names. 18 - clock-names : Includes the following entries: 22 - resets: Contains a phandle to the parallel out reset signal 24 - reset-names: Contains the reset signal name "rst" 28 - interrupts : Contains the parallel out interrupt, if present [all …]
|
| D | img,spdif-out.txt | 5 - compatible : Compatible list, must contain "img,spdif-out" 7 - #sound-dai-cells : Must be equal to 0 9 - reg : Offset and length of the register set for the device 11 - dmas: Contains an entry for each entry in dma-names. 13 - dma-names: Must include the following entry: 16 - clocks : Contains an entry for each entry in clock-names. 18 - clock-names : Includes the following entries: 22 - resets: Contains a phandle to the spdif out reset signal 24 - reset-names: Contains the reset signal name "rst" 28 - interrupts : Contains the parallel out interrupt, if present [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/sound/ |
| D | img,i2s-out.txt | 5 - compatible : Compatible list, must contain "img,i2s-out" 7 - #sound-dai-cells : Must be equal to 0 9 - reg : Offset and length of the register set for the device 11 - clocks : Contains an entry for each entry in clock-names 13 - clock-names : Must include the following entries: 17 - dmas: Contains an entry for each entry in dma-names. 19 - dma-names: Must include the following entry: 22 - img,i2s-channels : Number of I2S channels instantiated in the I2S out block 24 - resets: Contains a phandle to the I2S out reset signal 26 - reset-names: Contains the reset signal name "rst" [all …]
|
| D | img,spdif-out.txt | 5 - compatible : Compatible list, must contain "img,spdif-out" 7 - #sound-dai-cells : Must be equal to 0 9 - reg : Offset and length of the register set for the device 11 - dmas: Contains an entry for each entry in dma-names. 13 - dma-names: Must include the following entry: 16 - clocks : Contains an entry for each entry in clock-names. 18 - clock-names : Includes the following entries: 22 - resets: Contains a phandle to the spdif out reset signal 24 - reset-names: Contains the reset signal name "rst" 28 - interrupts : Contains the parallel out interrupt, if present [all …]
|
| D | img,parallel-out.txt | 5 - compatible : Compatible list, must contain "img,parallel-out". 7 - #sound-dai-cells : Must be equal to 0 9 - reg : Offset and length of the register set for the device. 11 - dmas: Contains an entry for each entry in dma-names. 13 - dma-names: Must include the following entry: 16 - clocks : Contains an entry for each entry in clock-names. 18 - clock-names : Includes the following entries: 22 - resets: Contains a phandle to the parallel out reset signal 24 - reset-names: Contains the reset signal name "rst" 28 - interrupts : Contains the parallel out interrupt, if present [all …]
|
| /kernel/linux/linux-6.6/drivers/firewire/ |
| D | core-card.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Copyright (C) 2005-2007 Kristian Hoegsberg <krh@bitplanet.net> 8 #include <linux/crc-itu-t.h> 12 #include <linux/firewire-constants.h> 37 dev_name(card->device), &vaf); \ 82 * IEEE-1394 specifies a default SPLIT_TIMEOUT value of 800 cycles (100 ms), 96 * Initialize contents of config rom buffer. On the OHCI in generate_config_rom() 100 * sure the contents of bus info block in host memory matches in generate_config_rom() 108 BIB_LINK_SPEED(card->link_speed) | in generate_config_rom() 109 BIB_GENERATION(card->config_rom_generation++ % 14 + 2) | in generate_config_rom() [all …]
|
| /kernel/linux/linux-6.6/drivers/firmware/efi/ |
| D | capsule.c | 1 // SPDX-License-Identifier: GPL-2.0 25 static int efi_reset_type = -1; 34 * efi_capsule_pending - has a capsule been passed to the firmware? 35 * @reset_type: store the type of EFI reset if capsule is pending 38 * firmware we need to perform a specific type of reset. If a capsule is 39 * pending return the reset type in @reset_type. 41 * This function will race with callers of efi_capsule_update(), for 47 * A non-racy use is from platform reboot code because we use 63 * Whitelist of EFI capsule flags that we support. 74 * efi_capsule_supported - does the firmware support the capsule? [all …]
|
| /kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/ |
| D | mpc52xx_common.c | 7 * This file is licensed under the terms of the GNU General Public License 8 * version 2. This program is licensed "as is" without any warranty of any 27 { .compatible = "fsl,mpc5200-xlb", }, 28 { .compatible = "mpc5200-xlb", }, 32 { .compatible = "fsl,mpc5200-immr", }, 33 { .compatible = "fsl,mpc5200b-immr", }, 34 { .compatible = "simple-bus", }, 73 out_be32(&xlb->master_pri_enable, 0xff); in mpc5200_setup_xlb_arbiter() 74 out_be32(&xlb->master_priority, 0x11111111); in mpc5200_setup_xlb_arbiter() 79 * transaction and re-enable it afterwards ...) in mpc5200_setup_xlb_arbiter() [all …]
|
| /kernel/linux/linux-6.6/arch/powerpc/platforms/52xx/ |
| D | mpc52xx_common.c | 7 * This file is licensed under the terms of the GNU General Public License 8 * version 2. This program is licensed "as is" without any warranty of any 27 { .compatible = "fsl,mpc5200-xlb", }, 28 { .compatible = "mpc5200-xlb", }, 32 { .compatible = "fsl,mpc5200-immr", }, 33 { .compatible = "fsl,mpc5200b-immr", }, 34 { .compatible = "simple-bus", }, 73 out_be32(&xlb->master_pri_enable, 0xff); in mpc5200_setup_xlb_arbiter() 74 out_be32(&xlb->master_priority, 0x11111111); in mpc5200_setup_xlb_arbiter() 79 * transaction and re-enable it afterwards ...) in mpc5200_setup_xlb_arbiter() [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
| D | intel_reset.c | 1 // SPDX-License-Identifier: MIT 3 * Copyright © 2008-2018 Intel Corporation 40 struct drm_i915_file_private *file_priv = ctx->file_priv; in client_mark_guilty() 51 prev_hang = xchg(&file_priv->hang_timestamp, jiffies); in client_mark_guilty() 56 atomic_add(score, &file_priv->ban_score); in client_mark_guilty() 58 drm_dbg(&ctx->i915->drm, in client_mark_guilty() 60 ctx->name, score, in client_mark_guilty() 61 atomic_read(&file_priv->ban_score)); in client_mark_guilty() 72 if (intel_context_is_closed(rq->context)) in mark_guilty() 76 ctx = rcu_dereference(rq->context->gem_context); in mark_guilty() [all …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
| D | intel_reset.c | 2 * SPDX-License-Identifier: MIT 4 * Copyright © 2008-2018 Intel Corporation 44 struct intel_engine_cs *engine = rq->engine; in engine_skip_context() 45 struct intel_context *hung_ctx = rq->context; in engine_skip_context() 50 lockdep_assert_held(&engine->active.lock); in engine_skip_context() 51 list_for_each_entry_continue(rq, &engine->active.requests, sched.link) in engine_skip_context() 52 if (rq->context == hung_ctx) { in engine_skip_context() 53 i915_request_set_error_once(rq, -EIO); in engine_skip_context() 60 struct drm_i915_file_private *file_priv = ctx->file_priv; in client_mark_guilty() 71 prev_hang = xchg(&file_priv->hang_timestamp, jiffies); in client_mark_guilty() [all …]
|
| /kernel/linux/linux-5.10/kernel/trace/ |
| D | trace_selftest.c | 1 // SPDX-License-Identifier: GPL-2.0 12 switch (entry->type) { in trace_valid_entry() 32 while ((event = ring_buffer_consume(buf->buffer, cpu, NULL, NULL))) { in trace_test_buffer_cpu() 36 * The ring buffer is a size of trace_buf_size, if in trace_test_buffer_cpu() 46 entry->type); in trace_test_buffer_cpu() 56 return -1; in trace_test_buffer_cpu() 68 /* Don't allow flipping of max traces now */ in trace_test_buffer() 70 arch_spin_lock(&buf->tr->max_lock); in trace_test_buffer() 72 cnt = ring_buffer_entries(buf->buffer); in trace_test_buffer() 88 arch_spin_unlock(&buf->tr->max_lock); in trace_test_buffer() [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/kvm/ |
| D | reset.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2012,2013 - ARM Ltd 6 * Derived from arch/arm/kvm/reset.c 7 * Copyright (C) 2012 - Virtual Open Systems and Columbia University 37 * ARMv8 Reset Values 68 * Don't even try to make use of vector lengths that in kvm_arm_init_sve() 82 return -EINVAL; in kvm_vcpu_enable_sve() 84 vcpu->arch.sve_max_vl = kvm_sve_max_vl; in kvm_vcpu_enable_sve() 98 * vcpu->arch.sve_state as necessary. 107 vl = vcpu->arch.sve_max_vl; in kvm_vcpu_finalize_sve() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/octeon-usb/ |
| D | octeon-hcd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * This file is subject to the terms and conditions of the GNU General Public 6 * License. See the file "COPYING" in the main directory of this archive 9 * Some parts of the code were originally released under BSD license: 11 * Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights 18 * * Redistributions of source code must retain the above copyright 19 * notice, this list of conditions and the following disclaimer. 22 * copyright notice, this list of conditions and the following 26 * * Neither the name of Cavium Networks nor the names of 40 * OR DESCRIPTION, OR THE EXISTENCE OF ANY LATENT OR PATENT DEFECTS, AND CAVIUM [all …]
|
| /kernel/linux/linux-6.6/drivers/usb/host/ |
| D | octeon-hcd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 5 * This file is subject to the terms and conditions of the GNU General Public 6 * License. See the file "COPYING" in the main directory of this archive 9 * Some parts of the code were originally released under BSD license: 11 * Copyright (c) 2003-2010 Cavium Networks (support@cavium.com). All rights 18 * * Redistributions of source code must retain the above copyright 19 * notice, this list of conditions and the following disclaimer. 22 * copyright notice, this list of conditions and the following 26 * * Neither the name of Cavium Networks nor the names of 40 * OR DESCRIPTION, OR THE EXISTENCE OF ANY LATENT OR PATENT DEFECTS, AND CAVIUM [all …]
|
| /kernel/linux/linux-5.10/drivers/misc/cxl/ |
| D | hcalls.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 23 * This is straight out of PAPR, but replacing some of the compound fields with 26 * The 'flags' parameter regroups the various bit-fields 59 * cxl_h_detach_process - Detach a process element from a coherent 65 * cxl_h_reset_afu - Perform a reset to the coherent platform function. 70 * cxl_h_suspend_process - Suspend a process from being executed 71 * Parameter1 = process-token as returned from H_ATTACH_CA_PROCESS when 77 * cxl_h_resume_process - Resume a process to be executed 78 * Parameter1 = process-token as returned from H_ATTACH_CA_PROCESS when 84 * cxl_h_read_error_state - Reads the error state of the coherent [all …]
|
| /kernel/linux/linux-6.6/drivers/misc/cxl/ |
| D | hcalls.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 23 * This is straight out of PAPR, but replacing some of the compound fields with 26 * The 'flags' parameter regroups the various bit-fields 59 * cxl_h_detach_process - Detach a process element from a coherent 65 * cxl_h_reset_afu - Perform a reset to the coherent platform function. 70 * cxl_h_suspend_process - Suspend a process from being executed 71 * Parameter1 = process-token as returned from H_ATTACH_CA_PROCESS when 77 * cxl_h_resume_process - Resume a process to be executed 78 * Parameter1 = process-token as returned from H_ATTACH_CA_PROCESS when 84 * cxl_h_read_error_state - Reads the error state of the coherent [all …]
|
| /kernel/linux/linux-5.10/drivers/firmware/efi/ |
| D | capsule.c | 1 // SPDX-License-Identifier: GPL-2.0 24 static int efi_reset_type = -1; 33 * efi_capsule_pending - has a capsule been passed to the firmware? 34 * @reset_type: store the type of EFI reset if capsule is pending 37 * firmware we need to perform a specific type of reset. If a capsule is 38 * pending return the reset type in @reset_type. 40 * This function will race with callers of efi_capsule_update(), for 46 * A non-racy use is from platform reboot code because we use 62 * Whitelist of EFI capsule flags that we support. 73 * efi_capsule_supported - does the firmware support the capsule? [all …]
|