| /linux/Documentation/devicetree/bindings/soc/tegra/ |
| H A D | nvidia,tegra20-pmc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/tegra/nvidia,tegra20-pmc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Tegra Power Management Controller (PMC) 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Jonathan Hunter <jonathanh@nvidia.com> 16 - nvidia,tegra20-pmc 17 - nvidia,tegra30-pmc 18 - nvidia,tegra114-pmc [all …]
|
| /linux/net/mac80211/ |
| H A D | offchannel.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Off-channel operation helpers 8 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 11 * Copyright (C) 2019, 2022-2025 Intel Corporation 16 #include "driver-ops.h" 21 * the frames while we are doing off-channel work. This is optional 22 * because we *may* be doing work on-operatin 570 struct cfg80211_scan_request *req; ieee80211_start_roc_work() local [all...] |
| /linux/drivers/hid/ |
| H A D | hid-ft260.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * hid-ft260.c - FTDI FT260 USB HID to I2C host bridge 11 #include "hid-ids.h" 32 #define FT260_I2C_DATA_REPORT_ID(len) (FT260_I2C_REPORT_MIN + (len - 1) / 4) 39 * reports. To achieve better performance with the multi-report read data 54 * second - USB HID to UART bridge function. 147 u8 chip_mode; /* DCNF0 and DCNF1 status, bits 0-1 */ 148 u8 clock_ctl; /* 0 - 12MHz, 1 - 24MHz, 2 - 48MHz */ 149 u8 suspend_status; /* 0 - not suspended, 1 - suspended */ 150 u8 pwren_status; /* 0 - FT260 is not ready, 1 - ready */ [all …]
|
| /linux/drivers/net/ethernet/intel/ice/devlink/ |
| H A D | devlink.c | 1 // SPDX-License-Identifier: GPL-2.0 39 put_unaligned_be64(pci_get_dsn(pf->pdev), dsn); in ice_info_get_dsn() 41 snprintf(ctx->buf, sizeof(ctx->buf), "%8phD", dsn); in ice_info_get_dsn() 46 struct ice_hw *hw = &pf->hw; in ice_info_pba() 49 status = ice_read_pba_string(hw, (u8 *)ctx->buf, sizeof(ctx->buf)); in ice_info_pba() 58 struct ice_hw *hw = &pf->hw; in ice_info_fw_mgmt() 60 snprintf(ctx->buf, sizeof(ctx->buf), "%u.%u.%u", in ice_info_fw_mgmt() 61 hw->fw_maj_ver, hw->fw_min_ver, hw->fw_patch); in ice_info_fw_mgmt() 66 struct ice_hw *hw = &pf->hw; in ice_info_fw_api() 68 snprintf(ctx->buf, sizeof(ctx->buf), "%u.%u.%u", hw->api_maj_ver, in ice_info_fw_api() [all …]
|
| /linux/Documentation/networking/ |
| H A D | packet_mmap.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 - Ulisses Alonso Camaró <uaca@i.hate.spam.alumni.uv.es> 23 - Johann Baudy 67 [setup] socket() -------> creation of the capture socket 68 setsockopt() ---> allocation of the circular buffer (ring) 70 mmap() ---------> mapping of the allocated buffer to the 73 [capture] poll() ---------> to wait for incoming packets 75 [shutdown] close() --------> destruction of the capture socket and 88 supported and a link level pseudo-header is provided 107 [setup] socket() -------> creation of the transmission socket [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_npc.c | 1 // SPDX-License-Identifier: GPL-2.0 28 #define ALIGN_8B_CEIL(__a) (((__a) + 7) & (-8)) 49 struct rvu_hwinfo *hw = rvu->hw; in is_npc_interface_valid() 51 return intf < hw->npc_intfs; in is_npc_interface_valid() 80 struct npc_pkind *pkind = &rvu->hw->pkind; in rvu_npc_get_pkind() 84 for (i = 0; i < pkind->rsrc.max; i++) { in rvu_npc_get_pkind() 85 map = pkind->pfchan_map[i]; in rvu_npc_get_pkind() 89 return -1; in rvu_npc_get_pkind() 101 dev_err(rvu->dev, "%s: pkind not mapped\n", __func__); in npc_config_ts_kpuaction() 102 return -EINVAL; in npc_config_ts_kpuaction() [all …]
|
| /linux/drivers/usb/host/ |
| H A D | isp1362-hcd.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2005 Lothar Wassmann <LW@KARO-electronics.de> 21 * 2. Implement platform-specific delay function possibly 22 * combined with configuring the memory controller; see 99 #define DRIVER_VERSION "2005-04-04" 105 static const char hcd_name[] = "isp1362-hcd"; 110 /*-------------------------------------------------------------------------*/ 113 * When called from the interrupthandler only isp1362_hcd->irqenb is modified, 114 * since the interrupt handler will write isp1362_hcd->irqenb to HCuPINT upon 121 if ((isp1362_hcd->irqenb | mask) == isp1362_hcd->irqenb) in isp1362_enable_int() [all …]
|
| /linux/drivers/clk/ |
| H A D | clk-stm32f4.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Inspired by clk-asm9260.c . 9 #include <linux/clk-provider.h> 26 #include <dt-bindings/clock/stm32fx-clock.h> 52 #define NONE -1 383 [STM32F4_PLL_SSC_DOWN_SPREAD] = "down-spread", 384 [STM32F4_PLL_SSC_CENTER_SPREAD] = "center-spread", 389 * have gate bits associated with them. Its combined hweight is 71. 423 * The APBx dividers are power-of-two dividers and, if *not* running in 1:1 440 if (readl(base + STM32F4_RCC_CFGR) & BIT(am->bit_idx)) in clk_apb_mul_recalc_rate() [all …]
|
| /linux/drivers/net/ethernet/google/gve/ |
| H A D | gve_ethtool.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 4 * Copyright (C) 2015-2024 Google LLC 18 strscpy(info->driver, gve_driver_name, sizeof(info->driver)); in gve_get_drvinfo() 19 strscpy(info->version, gve_version_str, sizeof(info->version)); in gve_get_drvinfo() 20 strscpy(info->bus_info, pci_name(priv->pdev), sizeof(info->bus_info)); in gve_get_drvinfo() 27 priv->msg_enable = value; in gve_set_msglevel() 34 return priv->msg_enable; in gve_get_msglevel() 83 "report-stats", 105 for (i = 0; i < priv->rx_cfg.num_queues; i++) in gve_get_strings() 139 (priv->rx_cfg.num_queues * NUM_GVE_RX_CNTS) + in gve_get_sset_count() [all …]
|
| /linux/drivers/soc/tegra/ |
| H A D | pmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2018-2024, NVIDIA CORPORATION. All rights reserved. 12 #define pr_fmt(fmt) "tegra-pmc: " fmt 14 #include <linux/arm-smccc.h> 16 #include <linux/clk-provider.h> 18 #include <linux/clk/clk-conf.h> 37 #include <linux/pinctrl/pinconf-generic.h> 57 #include <dt-bindings/interrupt-controller/arm-gic.h> 58 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> 59 #include <dt-bindings/gpio/tegra186-gpio.h> [all …]
|
| /linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_main.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright (c) 2016-2017 Hisilicon Limited. 326 { OUTER_DST_MAC, 48, KEY_OPT_MAC, -1, -1 }, 327 { OUTER_SRC_MAC, 48, KEY_OPT_MAC, -1, -1 }, 328 { OUTER_VLAN_TAG_FST, 16, KEY_OPT_LE16, -1, -1 }, 329 { OUTER_VLAN_TAG_SEC, 16, KEY_OPT_LE16, -1, -1 }, 330 { OUTER_ETH_TYPE, 16, KEY_OPT_LE16, -1, -1 }, 331 { OUTER_L2_RSV, 16, KEY_OPT_LE16, -1, -1 }, 332 { OUTER_IP_TOS, 8, KEY_OPT_U8, -1, -1 }, 333 { OUTER_IP_PROTO, 8, KEY_OPT_U8, -1, -1 }, [all …]
|
| /linux/mm/ |
| H A D | cma.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 5 * Copyright (c) 2010-2011 by Samsung Electronics. 41 WARN_ON_ONCE(cma->nranges != 1); in cma_get_base() 42 return PFN_PHYS(cma->ranges[0].base_pfn); in cma_get_base() 47 return cma->count << PAGE_SHIFT; in cma_get_size() 52 return cma->name; in cma_get_name() 58 if (align_order <= cma->order_per_bit) in cma_bitmap_aligned_mask() 60 return (1UL << (align_order - cma->order_per_bit)) - 1; in cma_bitmap_aligned_mask() 71 return (cmr->base_pfn & ((1UL << align_order) - 1)) in cma_bitmap_aligned_offset() 72 >> cma->order_per_bit; in cma_bitmap_aligned_offset() [all …]
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | mac.c | 1 // SPDX-License-Identifier: BSD-3-Clause-Clear 3 * Copyright (c) 2018-2021 The Linux Foundation. All rights reserved. 103 /* Operating Classes 131-135 */ 245 #define ath12k_a_rates_size (ARRAY_SIZE(ath12k_legacy_rates) - 4) 274 return "11na-ht20"; in ath12k_mac_phymode_str() 276 return "11ng-ht20"; in ath12k_mac_phymode_str() 278 return "11na-ht40"; in ath12k_mac_phymode_str() 280 return "11ng-ht40"; in ath12k_mac_phymode_str() 282 return "11ac-vht20"; in ath12k_mac_phymode_str() 284 return "11ac-vht40"; in ath12k_mac_phymode_str() [all …]
|
| /linux/drivers/net/wireless/virtual/ |
| H A D | mac80211_hwsim.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mac80211_hwsim - software simulator of 802.11 radio(s) for mac80211 6 * Copyright (c) 2016 - 2017 Intel Deutschland GmbH 7 * Copyright (C) 2018 - 2025 Intel Corporation 12 * - Add TSF sync and fix IBSS beacon transmission by adding 14 * - RX filtering based on filter configuration (data->rx_filter) 66 MODULE_PARM_DESC(support_p2p_device, "Support P2P-Device interface type"); 77 * enum hwsim_regtest - the type of regulatory tests we offer 92 * this by using a custom beacon-capable regulatory domain for the first 107 * domain settings, combined with secondary driver regulatory domain [all …]
|
| /linux/drivers/net/wireless/intel/iwlegacy/ |
| H A D | commands.h | 8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 92 /* Multi-Station support */ 112 /* Power Management */ 138 /* RF-KILL commands and notifications */ 184 * when sending the response to each driver-originated command, so 196 * 0:7 tfd idx - position within TX queue 199 * 14 huge - driver sets this to indicate command is in the 201 * 15 unsolicited RX or uCode-originated notification [all …]
|
| /linux/include/net/ |
| H A D | cfg80211.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 8 * Copyright 2013-2014 Intel Mobile Communications GmbH 9 * Copyright 2015-2017 Intel Deutschland GmbH 10 * Copyright (C) 2018-2025 Intel Corporation 72 * enum ieee80211_channel_flags - channel flags 79 * @IEEE80211_CHAN_PSD: Power spectral density (in dBm) is set for this 119 * with very low power (VLP), even if otherwise set to NO_IR. 167 * struct ieee80211_channel - channel definition 174 * @hw_value: hardware-specific value for the channel [all …]
|
| H A D | mac80211.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * mac80211 <-> driver interface 5 * Copyright 2002-2005, Devicescape Software, Inc. 6 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 7 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net> 8 * Copyright 2013-2014 Intel Mobile Communications GmbH 9 * Copyright (C) 2015 - 201 560 s8 power[IEEE80211_TPE_EIRP_ENTRIES_320MHZ]; global() member 567 s8 power[IEEE80211_TPE_PSD_ENTRIES_320MHZ]; global() member 2386 s16 power; global() member 3124 struct cfg80211_scan_request req; global() member [all...] |
| /linux/include/uapi/linux/ |
| H A D | nl80211.h | 6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 13 * Copyright 2015-2017 Intel Deutschland GmbH 14 * Copyright (C) 2018-2025 Intel Corporation 32 * be careful not to break things - i.e. don't move anything around or so 74 * - a setup station entry is added, not yet authorized, without any rate 76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid 79 * - %NL80211_TDLS_ENABLE_LINK is then used 80 * - after this, the only valid operation is to remove it by tearing down 95 * Frame registration is done on a per-interface basis and registrations 137 * software, like the AP-VLA [all...] |
| /linux/kernel/locking/ |
| H A D | lockdep.c | 1 // SPDX-License-Identifier: GPL-2.0-only 15 * - lock inversion scenarios 16 * - circular lock dependencies 17 * - hardirq/softirq safe/unsafe locking bugs 124 if (current->lockdep_recursion) in lockdep_enabled() 135 * to use a raw spinlock - we really dont want the spinlock 217 #define KEYHASH_BITS (MAX_LOCKDEP_KEYS_BITS - 1) 229 unsigned int class_idx = hlock->class_idx; in hlock_class() 231 /* Don't re-read hlock->class_idx, can't use READ_ONCE() on bitfield */ in hlock_class() 243 * At this point, if the passed hlock->class_idx is still garbage, in hlock_class() [all …]
|
| /linux/drivers/message/fusion/ |
| H A D | mptbase.c | 8 * Copyright (c) 1999-2008 LSI Corporation 9 * (mailto:DL-MPTFusionLinux@lsi.com) 12 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 26 LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, 45 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 47 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 61 #include <linux/dma-mapping.h> 68 /*=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/ 106 " debug level - refer to mptdebug.h - (default=0)"); 112 "Enable detection of Firmware fault and halt Firmware on fault - (default=0)"); [all …]
|
| /linux/kernel/sched/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 * Copyright (C) 1991-2002 Linus Torvalds 8 * Copyright (C) 1998-2024 Ingo Molnar, Red Hat 75 # include <linux/irq-entry-common.h> 99 #include "../../io_uring/io-wq.h" 193 if (p->sched_class == &stop_sched_class) /* trumps deadline */ in __task_prio() 194 return -2; in __task_prio() 196 if (p->dl_server) in __task_prio() 197 return -1; /* deadline */ in __task_prio() 199 if (rt_or_dl_prio(p->prio)) in __task_prio() [all …]
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | mcdi_pcol.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 4 * Copyright 2009-2018 Solarflare Communications Inc. 5 * Copyright 2019-2020 Xilinx Inc. 13 /* Power-on reset state */ 35 /* The 'doorbell' addresses are hard-wired to alert the MC when written */ 38 /* The rest of these are firmware-defined */ 46 /* Values to be written to the per-port status dword in shared 71 * | | \--- Response 72 * | \------- Error 73 * \------------------------------ Resync (always set) [all …]
|
| /linux/drivers/scsi/ |
| H A D | ncr53c8xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 ** Device driver for the PCI-SCSI NCR538XX controller family. 8 **----------------------------------------------------------------------------- 22 ** Stefan Esser <se@mi.Uni-Koeln.de> 27 **----------------------------------------------------------------------------- 38 ** Support for Fast-20 scsi. 42 ** Support for Fast-40 scsi. 43 ** Support for on-Board RAM. 46 ** Full support for scsi scripts instructions pre-fetching. 52 ** Support for Power/PC (Big Endian). [all …]
|