/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 17 Core driver for low level functionality of the ConnectX-4 and 18 Connect-IB cards by Mellanox Technologies. 28 sandbox-specific client drivers. 36 Ethernet support in Mellanox Technologies ConnectX-4 NIC. 43 Mellanox MLX5 ethernet hardware-accelerated receive flow steering support, 61 Mellanox Technologies Ethernet Multi-Physical Function Switch (MPFS) 62 support in ConnectX NIC. MPFs is required for when multi-PF configuration 67 bool "Mellanox Technologies MLX5 SRIOV E-Switch support" 71 Mellanox Technologies Ethernet SRIOV E-Switch support in ConnectX NIC. [all …]
|
/linux/drivers/clk/bcm/ |
H A D | clk-kona.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 16 #include <linux/clk-provider.h> 24 #define BAD_CLK_NAME ((const char *)-1) 33 #define FLAG_SET(obj, type, flag) ((obj)->flags |= FLAG(type, flag)) 34 #define FLAG_CLEAR(obj, type, flag) ((obj)->flags &= ~(FLAG(type, flag))) 35 #define FLAG_FLIP(obj, type, flag) ((obj)->flags ^= FLAG(type, flag)) 36 #define FLAG_TEST(obj, type, flag) (!!((obj)->flags & FLAG(type, flag))) 40 #define ccu_policy_exists(ccu_policy) ((ccu_policy)->enable.offset != 0) 44 #define policy_exists(policy) ((policy)->offset != 0) 49 #define gate_is_sw_controllable(gate) FLAG_TEST(gate, GATE, SW) [all …]
|
/linux/Documentation/networking/device_drivers/wifi/intel/ |
H A D | ipw2200.rst | 1 .. SPDX-License-Identifier: GPL-2.0 11 - Intel(R) PRO/Wireless 2200BG Network Connection 12 - Intel(R) PRO/Wireless 2915ABG Network Connection 20 Copyright |copy| 2004-2006, Intel Corporation 37 2. Ad-Hoc Networking 78 the warranty and/or issues arising from regulatory non-compliance, and 83 modules, and accordingly, condition system-level regulatory approval 86 non-compliant. 113 ------------------------- 116 + BSS mode (Infrastructure, Managed) [all …]
|
H A D | ipw2100.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 - Intel(R) PRO/Wireless 2100 Network Connection 12 Copyright |copy| 2003-2006, Intel Corporation 16 :Version: git-1.1.5 23 2. Release git-1.1.5 Current Features 64 the warranty and/or issues arising from regulatory non-compliance, and 69 modules, and accordingly, condition system-level regulatory approval 72 non-compliant. 81 https://www.intel.com/support/wireless/sb/CS-006408.htm 97 2. Release git-1.1.5 Current Supported Features [all …]
|
/linux/Documentation/security/ |
H A D | snp-tdx-threat-model.rst | 17 the kernel through various networking or limited HW-specific exposed 30 classified into different subtypes depending on the SW that is intended 37 CoCo, in the virtualization context, refers to a set of HW and/or SW 38 technologies that allow for stronger security guarantees for the SW running 40 confirm the trustworthiness of all SW pieces to include in its reduced 48 additional mechanisms to control guest-host page mapping. More details on 49 the x86-specific solutions can be found in 51 …https://www.amd.com/system/files/techdocs/sev-snp-strengthening-vm-isolation-with-integrity-protec… 56 that acts as a security manager. The host-side virtual machine monitor 63 In the following diagram, the "<--->" lines represent bi-directional [all …]
|
/linux/drivers/input/ |
H A D | input.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 1999-2002 Vojtech Pavlik 28 #include "input-compat.h" 29 #include "input-core-private.h" 30 #include "input-poller.h" 73 if (value > old_val - fuzz / 2 && value < old_val + fuzz / 2) in input_defuzz_abs_event() 76 if (value > old_val - fuzz && value < old_val + fuzz) in input_defuzz_abs_event() 79 if (value > old_val - fuzz * 2 && value < old_val + fuzz * 2) in input_defuzz_abs_event() 88 if (test_bit(EV_REP, dev->evbit) && in input_start_autorepeat() 89 dev->rep[REP_PERIOD] && dev->rep[REP_DELAY] && in input_start_autorepeat() [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | omap_hwmod.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2009-2011 Nokia Corporation 6 * Copyright (C) 2011-2012 Texas Instruments, Inc. 13 * These headers and macros are used to define OMAP on-chip module 16 * omap_hwmod code, in arch/arm/mach-omap2/omap_hwmod.c (as of this 20 * - add interconnect error log structures 21 * - init_conn_id_bit (CONNID_BIT_VECTOR) 22 * - implement default hwmod SMS/SDRC flags? 23 * - move Linux-specific data ("non-ROM data") out 95 /* modulemode control type (SW or HW) */ [all …]
|
/linux/drivers/gpu/drm/amd/amdkfd/ |
H A D | kfd_flat_memory.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 3 * Copyright 2014-2022 Advanced Micro Devices, Inc. 58 * System Unified Address - SUA 61 * a set of page tables we call GPUVM and these page tables are managed by 67 * the same page tables used by host x86 processors and that are managed by 82 * HSA64 - ATC/IOMMU 64b 106 * the pipeline (sw and hw), we wish to compress the 64b virtual address 139 * In all cases (no matter where the 64b -> 49b conversion is done), the gfxip 190 * HSA32 - ATC/IOMMU 32b 207 * Device Unified Address - DUA [all …]
|
/linux/tools/testing/selftests/net/forwarding/ |
H A D | bridge_mdb.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +-----------------------+ +------------------------+ 15 # +----|------------------+ +----|-------------------+ 17 # +----|--------------------------------------------------|-------------------+ 18 # | SW | | | 19 # | +--|--------------------------------------------------|-----------------+ | 24 # | +-----------------------------------------------------------------------+ | 25 # +---------------------------------------------------------------------------+ 152 check_fail $? "Managed to replace $name host entry" 161 check_fail $? "Managed to add $name host entry with a $invalid_state state" [all …]
|
/linux/drivers/net/ethernet/intel/idpf/ |
H A D | idpf_txrx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 75 * descriptors before SW gets an interrupt and overwrites SW head, the gen bit 77 * be gone forever and SW has no reasonable way to tell that this has happened. 78 * From SW perspective, when we finally get an interrupt, it looks like we're 83 #define IDPF_RX_BUFQ_WORKING_SET(rxq) ((rxq)->desc_count - 1) 87 if (unlikely(++(ntc) == (rxq)->desc_count)) { \ 95 if (unlikely(++(idx) == (q)->desc_count)) \ 117 ((((txq)->next_to_clean > (txq)->next_to_use) ? 0 : (txq)->desc_count) + \ 118 (txq)->next_to_clean - (txq)->next_to_use - 1) 120 #define IDPF_TX_BUF_RSV_UNUSED(txq) ((txq)->stash->buf_stack.top) [all …]
|
/linux/drivers/gpu/drm/ |
H A D | drm_connector.c | 51 * Hence they are reference-counted using drm_connector_get() and 67 * For connectors which are not fixed (like built-in panels) the driver needs to 76 * Note drm_connector_[un]register() first take connector->lock and then 94 { DRM_MODE_CONNECTOR_DVII, "DVI-I" }, 95 { DRM_MODE_CONNECTOR_DVID, "DVI-D" }, 96 { DRM_MODE_CONNECTOR_DVIA, "DVI-A" }, 103 { DRM_MODE_CONNECTOR_HDMIA, "HDMI-A" }, 104 { DRM_MODE_CONNECTOR_HDMIB, "HDMI-B" }, 132 * drm_get_connector_type_name - return a string for connector type 147 * drm_connector_get_cmdline_mode - reads the user's cmdline mode [all …]
|
/linux/drivers/gpu/drm/msm/ |
H A D | msm_drv.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. 189 /* NOTE: mm managed at the page level, size is in # of pages 190 * and position mm_node->start is in # of pages: 220 * sw hangcheck timer. Written (via debugfs) by igt tests to test 221 * the sw hangcheck mechanism. 297 return -EINVAL; in msm_hdmi_modeset_init() 329 return -EINVAL; in msm_dsi_modeset_init() 377 return -EINVAL; in msm_dp_register() 387 return -EINVAL; in msm_dp_modeset_init() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/ |
H A D | dev.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 40 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_allocated() 42 return table && !xa_empty(&table->devices); in mlx5_sf_dev_allocated() 50 return sysfs_emit(buf, "%u\n", sf_dev->sfnum); in sfnum_show() 73 mlx5_adev_idx_free(adev->id); in mlx5_sf_dev_release() 82 id = sf_dev->adev.id; in mlx5_sf_dev_remove_aux() 85 auxiliary_device_delete(&sf_dev->adev); in mlx5_sf_dev_remove_aux() 86 auxiliary_device_uninit(&sf_dev->adev); in mlx5_sf_dev_remove_aux() 91 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_add() 106 err = -ENOMEM; in mlx5_sf_dev_add() [all …]
|
/linux/drivers/net/wireless/ath/ath11k/ |
H A D | hal_desc.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved. 34 * Producer: SW/FW 43 * Cookie field exclusively used by SW. HW ignores the contents, 47 * Field can be used by SW to for example associate the buffers 510 * Consumer: REO/SW/FW 531 * Indicates the MPDU was received as part of an A-MPDU. 535 * this frame shall be pushed to SW or deleted. 617 * field is still valid for MPDU frames without A-MSDU. It still [all …]
|
/linux/drivers/net/ethernet/intel/e1000e/ |
H A D | ich8lan.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 5 * 82562G-2 10/100 Network Connection 7 * 82562GT-2 10/100 Network Connection 9 * 82562V-2 10/100 Network Connection 10 * 82566DC-2 Gigabit Network Connection 12 * 82566DM-2 Gigabit Network Connection 19 * 82567LM-2 Gigabit Network Connection 20 * 82567LF-2 Gigabit Network Connection 21 * 82567V-2 Gigabit Network Connection [all …]
|
H A D | mac.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 9 * e1000e_get_bus_info_pcie - Get PCIe bus information 18 struct pci_dev *pdev = hw->adapter->pdev; in e1000e_get_bus_info_pcie() 19 struct e1000_mac_info *mac = &hw->mac; in e1000e_get_bus_info_pcie() 20 struct e1000_bus_info *bus = &hw->bus; in e1000e_get_bus_info_pcie() 24 bus->width = e1000_bus_width_unknown; in e1000e_get_bus_info_pcie() 27 bus->width = (enum e1000_bus_width)FIELD_GET(PCI_EXP_LNKSTA_NLW, in e1000e_get_bus_info_pcie() 31 mac->ops.set_lan_id(hw); in e1000e_get_bus_info_pcie() 37 * e1000_set_lan_id_multi_port_pcie - Set LAN id for PCIe multiple port devices [all …]
|
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_dcb_lib.c | 1 // SPDX-License-Identifier: GPL-2.0 9 * ice_dcb_get_ena_tc - return bitmap of enabled TCs 43 if (vsi->tc_cfg.ena_tc & BIT(i)) in ice_is_pfc_causing_hung_q() 47 for (tc = 0; tc < num_tcs - 1; tc++) in ice_is_pfc_causing_hung_q() 48 if (ice_find_q_in_range(vsi->tc_cfg.tc_info[tc].qoffset, in ice_is_pfc_causing_hung_q() 49 vsi->tc_cfg.tc_info[tc + 1].qoffset, in ice_is_pfc_causing_hung_q() 56 up2tc = rd32(&pf->hw, PRTDCB_TUP2TC); in ice_is_pfc_causing_hung_q() 70 ref_prio_xoff[i] = pf->stats.priority_xoff_rx[i]; in ice_is_pfc_causing_hung_q() 76 if (pf->stats.priority_xoff_rx[i] > ref_prio_xoff[i]) in ice_is_pfc_causing_hung_q() 83 * ice_dcb_get_mode - gets the DCB mode [all …]
|
/linux/drivers/net/wireless/ath/ath12k/ |
H A D | hal_desc.h | 1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */ 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 4 * Copyright (c) 2021-2022, 2024 Qualcomm Innovation Center, Inc. All rights reserved. 34 * Producer: SW/FW 43 * Cookie field exclusively used by SW. HW ignores the contents, 47 * Field can be used by SW to for example associate the buffers 632 * Consumer: REO/SW/FW 647 * Indicates the MPDU was received as part of an A-MPDU. 651 * this frame shall be pushed to SW or deleted. 737 * field is still valid for MPDU frames without A-MSDU. It still [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | fs_chains.c | 1 // SPDX-License-Identifier: GPL-2.0 OR Linux-OpenIB 14 #define chains_lock(chains) ((chains)->lock) 15 #define chains_ht(chains) ((chains)->chains_ht) 16 #define prios_ht(chains) ((chains)->prios_ht) 17 #define chains_default_ft(chains) ((chains)->chains_default_ft) 18 #define chains_end_ft(chains) ((chains)->chains_end_ft) 91 return chains->flags & MLX5_CHAINS_AND_PRIOS_SUPPORTED; in mlx5_chains_prios_supported() 96 return chains->flags & MLX5_CHAINS_IGNORE_FLOW_LEVEL_SUPPORTED; in mlx5_chains_ignore_flow_level_supported() 111 return UINT_MAX - 1; in mlx5_chains_get_chain_range() 127 if (!chains->dev->priv.eswitch || in mlx5_chains_get_prio_range() [all …]
|
/linux/sound/soc/tegra/ |
H A D | tegra186_asrc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 // tegra186_asrc.c - Tegra186 ASRC driver 73 regmap_write(asrc->regmap, in tegra186_asrc_lock_stream() 83 regcache_cache_only(asrc->regmap, true); in tegra186_asrc_runtime_suspend() 84 regcache_mark_dirty(asrc->regmap); in tegra186_asrc_runtime_suspend() 94 regcache_cache_only(asrc->regmap, false); in tegra186_asrc_runtime_resume() 101 regmap_write(asrc->regmap, TEGRA186_ASRC_GLOBAL_SCRATCH_ADDR, in tegra186_asrc_runtime_resume() 103 regmap_write(asrc->regmap, TEGRA186_ASRC_GLOBAL_ENB, in tegra186_asrc_runtime_resume() 106 regcache_sync(asrc->regmap); in tegra186_asrc_runtime_resume() 109 if (asrc->lane[id].ratio_source != in tegra186_asrc_runtime_resume() [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-bus-coresight-devices-etm4x | 9 configured and managed automatically by the coresight framework. 76 Description: (Read) Indicates the number of single-shot comparator controls that 155 Description: (RW) In non-secure state, each bit controls whether instruction 290 non-secure exception levels. 357 Description: (Read) Print the content of the SW Lock Status Register 422 (0x010) as currently set by SW. 486 Description: (Read) Returns the number of P0 right-hand keys that the trace unit 493 Description: (Read) Returns the number of P1 right-hand keys that the trace unit 500 Description: (Read) Returns the number of special P1 right-hand keys that the 508 Description: (Read) Returns the number of conditional P1 right-hand keys that [all …]
|
/linux/arch/arm64/kvm/vgic/ |
H A D | vgic-v4.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 #include <linux/irqchip/arm-gic-v3.h> 18 * The vgic-v4 layer acts as a bridge between several entities: 19 * - The GICv4 ITS representation offered by the ITS driver 20 * - VFIO, which is in charge of the PCI endpoint 21 * - The virtual ITS, which is the only thing the guest sees 46 * - Any invalidation triggers a call to its_prop_update_vlpi() 47 * - The INT command results in a irq_set_irqchip_state(), which 49 * - The CLEAR command results in a irq_set_irqchip_state(), which 51 * - DISCARD translates into an unmap, similar to a call to [all …]
|
/linux/arch/microblaze/include/asm/ |
H A D | pgtable.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> 4 * Copyright (C) 2008-2009 PetaLogix 17 #include <asm-generic/pgtable-nopmd.h> 60 * The MicroBlaze MMU is identical to the PPC-40x MMU, and uses a hash 65 * active mappings. We maintain a two-level page table tree, much 67 * management code. Low-level assembler code in hashtable.S 74 * The MicroBlaze processor has a TLB architecture identical to PPC-40x. The 75 * instruction and data sides share a unified, 64-entry, semi-associative 77 * instruction side has a hardware-managed, 2,4, or 8-entry, fully-associative [all …]
|
/linux/arch/parisc/kernel/ |
H A D | irq.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 * Copyright (C) 1999-2000 Grant Grundler 27 #define EIEM_MASK(irq) (1UL<<(CPU_IRQ_MAX - irq)) 36 ** between ->ack() and ->end() of the interrupt to prevent 37 ** re-interruption of a processing interrupt. 43 unsigned long eirr_bit = EIEM_MASK(d->irq); in cpu_mask_irq() 66 __cpu_unmask_irq(d->irq); in cpu_unmask_irq() 71 unsigned long mask = EIEM_MASK(d->irq); in cpu_ack_irq() 86 unsigned long mask = EIEM_MASK(d->irq); in cpu_eoi_irq() 89 /* set it in the eiems---it's no longer in process */ in cpu_eoi_irq() [all …]
|
/linux/drivers/input/misc/ |
H A D | wistron_btns.c | 1 // SPDX-License-Identifier: GPL-2.0-only 12 #include <linux/input/sparse-keymap.h> 25 /* How often we poll keys - msecs */ 70 : "=a" (regs->eax), "=b" (regs->ebx), "=c" (regs->ecx) in call_bios() 71 : "0" (regs->eax), "1" (regs->ebx), "2" (regs->ecx), in call_bios() 89 return -1; in locate_wistron_bios() 103 return -ENODEV; in map_bios() 136 return -ENOMEM; in map_bios() 232 keymap = dmi->driver_data; in dmi_matched() 233 for (key = keymap; key->type != KE_END; key++) { in dmi_matched() [all …]
|