| /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/drivers/gpu/drm/msm/disp/dpu1/ |
| H A D | dpu_hw_ctl.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* Copyright (c) 2015-2018, The Linux Foundation. All rights reserved. 3 * Copyright (c) 2022-2024 Qualcomm Innovation Center, Inc. All rights reserved. 26 * struct dpu_hw_stage_cfg - blending stage cfg 45 * @stream_sel: Stream selection for multi-stream interfaces 63 * struct dpu_hw_ctl_ops - Interface to the wb Hw driver functions 68 * @trigger_start: kickoff hw operation for Sw controlled interfaces 69 * DSI cmd mode and WB interface are SW controlled 82 * @trigger_pending: kickoff prepare is in progress hw operation for sw 84 * are SW controlled [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/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/Documentation/userspace-api/ |
| H A D | iommufd.rst | 1 .. SPDX-License-Identifier: GPL-2.0+ 20 I/O page tables for all IOMMUs, with room in the design to add non-generic 31 -------------------- 35 - IOMMUFD_OBJ_IOAS, representing an I/O address space (IOAS), allowing map/unmap 41 - IOMMUFD_OBJ_DEVICE, representing a device that is bound to iommufd by an 44 - IOMMUFD_OBJ_HWPT_PAGING, representing an actual hardware I/O page table 45 (i.e. a single struct iommu_domain) managed by the iommu driver. "PAGING" 48 feature flag. This can be either an UNMANAGED stage-1 domain for a device 49 running in the user space, or a nesting parent stage-2 domain for mappings 50 from guest-level physical addresses to host-level physical addresses. [all …]
|
| /linux/tools/testing/selftests/net/forwarding/ |
| H A D | bridge_mdb.sh | 2 # SPDX-License-Identifier: GPL-2.0 4 # +------- [all...] |
| /linux/drivers/net/ethernet/intel/idpf/ |
| H A D | idpf_txrx.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 80 * descriptors before SW gets an interrupt and overwrites SW head, the gen bit 82 * be gone forever and SW has no reasonable way to tell that this has happened. 83 * From SW perspective, when we finally get an interrupt, it looks like we're 88 #define IDPF_RX_BUFQ_WORKING_SET(rxq) ((rxq)->desc_count - 1) 92 if (unlikely(++(ntc) == (rxq)->desc_count)) { \ 100 if (unlikely(++(idx) == (q)->desc_count)) \ 104 #define IDPF_RX_MAX_BUF_SZ (16384 - 128) 123 ((((txq)->next_to_clean > (txq)->next_to_use) ? 0 : (txq)->desc_count) + \ 124 (txq)->next_to_clean - (txq)->next_to_use - 1) [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 39 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_allocated() 41 return table && !xa_empty(&table->devices); in mlx5_sf_dev_allocated() 49 return sysfs_emit(buf, "%u\n", sf_dev->sfnum); in sfnum_show() 72 mlx5_adev_idx_free(adev->id); in mlx5_sf_dev_release() 81 id = sf_dev->adev.id; in mlx5_sf_dev_remove_aux() 84 auxiliary_device_delete(&sf_dev->adev); in mlx5_sf_dev_remove_aux() 85 auxiliary_device_uninit(&sf_dev->adev); in mlx5_sf_dev_remove_aux() 90 struct mlx5_sf_dev_table *table = dev->priv.sf_dev_table; in mlx5_sf_dev_add() 105 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/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/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/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 2 // SPDX-FileCopyrightText: Copyright (c) 2022-2025 NVIDIA CORPORATION. All rights reserved. 4 // tegra186_asrc.c - Tegra186 ASRC driver 72 regmap_write(asrc->regmap, in tegra186_asrc_lock_stream() 82 regcache_cache_only(asrc->regmap, true); in tegra186_asrc_runtime_suspend() 83 regcache_mark_dirty(asrc->regma in tegra186_asrc_runtime_suspend() [all...] |
| /linux/drivers/gpu/drm/msm/ |
| H A D | msm_gpu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 10 #include <linux/adreno-smmu-priv.h> 116 * struct msm_gpu_devfreq - devfreq related state 149 * Used to delay clamping to idle freq on active->idle transition. 171 /* performance counters (hw & sw): */ 178 uint32_t totaltime, activetime; /* sw counters */ 198 * TODO move to per-ring locking where feasible (ie. submit/retire 251 /* work for handling active-list retiring: */ 272 * switch-over happened early enough in mesa a6xx bringup that we 293 struct adreno_smmu_priv *adreno_smmu = dev_get_drvdata(&gpu->pdev->dev); in adreno_smmu_has_prr() [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 …]
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_dcb_nl.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2013 - 2021 Intel Corporation. */ 13 * i40e_get_pfc_delay - retrieve PFC Link Delay 28 * i40e_dcbnl_ieee_getets - retrieve local IEEE ETS configuration 40 if (!(pf->dcbx_cap & DCB_CAP_DCBX_VER_IEEE)) in i40e_dcbnl_ieee_getets() 41 return -EINVAL; in i40e_dcbnl_ieee_getets() 43 dcbxcfg = &pf->hw.local_dcbx_config; in i40e_dcbnl_ieee_getets() 44 ets->willing = dcbxcfg->etscfg.willing; in i40e_dcbnl_ieee_getets() 45 ets->ets_cap = I40E_MAX_TRAFFIC_CLASS; in i40e_dcbnl_ieee_getets() 46 ets->cbs = dcbxcfg->etscfg.cbs; in i40e_dcbnl_ieee_getets() [all …]
|
| /linux/drivers/net/wireless/intel/iwlwifi/pcie/gen1_2/ |
| H A D | rx.c | 1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause 3 * Copyright (C) 2003-2014, 2018-2024 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 11 #include "iwl-prph.h" 12 #include "iwl-io.h" 14 #include "iwl-op-mode.h" 15 #include "pcie/iwl-context-info-v2.h" 37 * to -- the driver can read up to (but not including) this position and get 39 * The READ index is managed by the firmware once the card is enabled. [all …]
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | ce.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 26 * an address, length, and meta-data. 41 * There are several "contexts" managed by this layer -- more, it 42 * may seem -- than should be needed. These are provided mainly for 44 * implementation. There are per-CopyEngine recv, send, and watermark 48 * also a per-transfer context supplied by the caller when a buffer 50 * These per-transfer contexts are echoed back to the caller when 57 u32 ce_id = ce_state->id; in shadow_sr_wr_ind_addr() [all …]
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_mac.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2007 - 2018 Intel Corporation. */ 19 * igb_get_bus_info_pcie - Get PCIe bus information 28 struct e1000_bus_info *bus = &hw->bus; in igb_get_bus_info_pcie() 33 bus->type = e1000_bus_type_pci_express; in igb_get_bus_info_pcie() 39 bus->width = e1000_bus_width_unknown; in igb_get_bus_info_pcie() 40 bus->speed = e1000_bus_speed_unknown; in igb_get_bus_info_pcie() 44 bus->speed = e1000_bus_speed_2500; in igb_get_bus_info_pcie() 47 bus->speed = e1000_bus_speed_5000; in igb_get_bus_info_pcie() 50 bus->speed = e1000_bus_speed_unknown; in igb_get_bus_info_pcie() [all …]
|
| /linux/include/linux/mlx4/ |
| H A D | device.h | 14 * - Redistributions of source code must retain the above 18 * - Redistributions in binary form must reproduce the above 40 #include <linux/radix-tree.h> 89 /* base qkey for use in sriov tunnel-qp/proxy-qp communication. 108 MLX4_MFUNC_EQE_MASK = (MLX4_MFUNC_MAX_EQES - 1) 112 * -device managed - High level API for ib and eth flow steering. FW is 114 * - B0 steering mode - Common low level API for ib and (if supported) eth. 115 * - A0 steering mode - Limited low level API for eth. In case of IB, 142 return "Device managed flow steering"; in mlx4_steering_mode_str() 241 /* bit enums for an 8-bit flags field indicating special use [all …]
|
| /linux/Documentation/sound/kernel-api/ |
| H A D | writing-an-alsa-driver.rst | 11 Architecture) <http://www.alsa-project.org/>`__ driver. The document 19 low-level driver implementation details. It only describes the standard 26 ------- 56 -------------- 60 sub-directories contain different modules and are dependent upon the 74 This directory and its sub-directories are for the ALSA sequencer. This 76 as snd-seq-midi, snd-seq-virmidi, etc. They are compiled only when 85 ----------------- 88 to be exported to user-space, or included by several files in different 94 ----------------- [all …]
|