/Linux-v5.15/Documentation/devicetree/bindings/arm/tegra/ |
D | nvidia,tegra20-pmc.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/arm/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,tegra20-pmc 18 - nvidia,tegra30-pmc [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/net/ |
D | snps,dwmac.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Alexandre Torgue <alexandre.torgue@st.com> 11 - Giuseppe Cavallaro <peppe.cavallaro@st.com> 12 - Jose Abreu <joabreu@synopsys.com> 23 - snps,dwmac 24 - snps,dwmac-3.40a 25 - snps,dwmac-3.50a 26 - snps,dwmac-3.610 [all …]
|
/Linux-v5.15/drivers/gpu/drm/gud/ |
D | gud_pipe.c | 1 // SPDX-License-Identifier: MIT 32 * that the flush/pageflip is done. This wastes CPU and power. 42 …* https://lore.kernel.org/dri-devel/CAKb7UvihLX0hgBOP3VBG7O+atwZcUVCPVuBdfmDMpg0NjXe-cQ@mail.gmail… 65 WARN_ON_ONCE(format->char_per_block[0] != 1); in gud_xrgb8888_to_r124() 68 rect->x1 = ALIGN_DOWN(rect->x1, block_width); in gud_xrgb8888_to_r124() 83 unsigned int pixshift = (block_width - pixpos - 1) * bits_per_pixel; in gud_xrgb8888_to_r124() 90 pix = (*pix8++) >> (8 - bits_per_pixel); in gud_xrgb8888_to_r124() 112 rect->x1 = ALIGN_DOWN(rect->x1, block_width); in gud_xrgb8888_to_color() 116 for (y = rect->y1; y < rect->y2; y++) { in gud_xrgb8888_to_color() 117 pix32 = src + (y * fb->pitches[0]); in gud_xrgb8888_to_color() [all …]
|
/Linux-v5.15/drivers/clk/bcm/ |
D | clk-kona.c | 15 #include "clk-kona.h" 20 #include <linux/clk-provider.h> 25 * "Normal", and "Turbo".) A lower policy number has lower power 35 /* Produces a mask of set bits covering a range of a 32-bit value */ 38 return ((1 << width) - 1) << shift; in bitfield_mask() 60 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value() 70 u64 combined; in scaled_div_build() local 75 combined = (u64)div_value * BILLION + billionths; in scaled_div_build() 76 combined <<= div->u.s.frac_width; in scaled_div_build() 78 return DIV_ROUND_CLOSEST_ULL(combined, BILLION); in scaled_div_build() [all …]
|
/Linux-v5.15/Documentation/networking/ |
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-v5.15/drivers/hid/ |
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) 45 * second - USB HID to UART bridge function. 138 u8 chip_mode; /* DCNF0 and DCNF1 status, bits 0-1 */ 139 u8 clock_ctl; /* 0 - 12MHz, 1 - 24MHz, 2 - 48MHz */ 140 u8 suspend_status; /* 0 - not suspended, 1 - suspended */ 141 u8 pwren_status; /* 0 - FT260 is not ready, 1 - ready */ 142 u8 i2c_enable; /* 0 - disabled, 1 - enabled */ [all …]
|
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_x550.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 1999 - 2018 Intel Corporation. */ 17 struct ixgbe_mac_info *mac = &hw->mac; in ixgbe_get_invariants_X550_x() 18 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_get_invariants_X550_x() 19 struct ixgbe_link_info *link = &hw->link; in ixgbe_get_invariants_X550_x() 24 if (mac->ops.get_media_type(hw) != ixgbe_media_type_copper) in ixgbe_get_invariants_X550_x() 25 phy->ops.set_phy_power = NULL; in ixgbe_get_invariants_X550_x() 27 link->addr = IXGBE_CS4227; in ixgbe_get_invariants_X550_x() 34 struct ixgbe_phy_info *phy = &hw->phy; in ixgbe_get_invariants_X550_x_fw() 39 phy->ops.set_phy_power = NULL; in ixgbe_get_invariants_X550_x_fw() [all …]
|
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_npc.c | 1 // SPDX-License-Identifier: GPL-2.0 27 #define ALIGN_8B_CEIL(__a) (((__a) + 7) & (-8)) 48 struct rvu_hwinfo *hw = rvu->hw; in is_npc_interface_valid() 50 return intf < hw->npc_intfs; in is_npc_interface_valid() 72 pf_func_mask = (entry_data->kw_mask[0] >> 32) & in npc_mcam_verify_pf_func() 74 pf_func = (entry_data->kw[0] >> 32) & NPC_KEX_PF_FUNC_MASK; in npc_mcam_verify_pf_func() 80 return -EINVAL; in npc_mcam_verify_pf_func() 101 struct npc_pkind *pkind = &rvu->hw->pkind; in rvu_npc_get_pkind() 105 for (i = 0; i < pkind->rsrc.max; i++) { in rvu_npc_get_pkind() 106 map = pkind->pfchan_map[i]; in rvu_npc_get_pkind() [all …]
|
/Linux-v5.15/drivers/usb/host/ |
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-v5.15/drivers/soc/tegra/ |
D | pmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2018-2020, 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> 36 #include <linux/pinctrl/pinconf-generic.h> 53 #include <dt-bindings/interrupt-controller/arm-gic.h> 54 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> 55 #include <dt-bindings/gpio/tegra186-gpio.h> [all …]
|
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | mvm.h | 1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */ 3 * Copyright (C) 2012-2014, 2018-2020 Intel Corporation 4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH 5 * Copyright (C) 2016-2017 Intel Deutschland GmbH 21 #include "iwl-op-mode.h" 22 #include "iwl-trans.h" 23 #include "fw/notif-wait.h" 24 #include "iwl-eeprom-parse.h" 26 #include "iwl-config.h" 28 #include "fw-api.h" [all …]
|
/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright (c) 2016-2017 Hisilicon Limited. 389 { OUTER_DST_MAC, 48, KEY_OPT_MAC, -1, -1 }, 390 { OUTER_SRC_MAC, 48, KEY_OPT_MAC, -1, -1 }, 391 { OUTER_VLAN_TAG_FST, 16, KEY_OPT_LE16, -1, -1 }, 392 { OUTER_VLAN_TAG_SEC, 16, KEY_OPT_LE16, -1, -1 }, 393 { OUTER_ETH_TYPE, 16, KEY_OPT_LE16, -1, -1 }, 394 { OUTER_L2_RSV, 16, KEY_OPT_LE16, -1, -1 }, 395 { OUTER_IP_TOS, 8, KEY_OPT_U8, -1, -1 }, 396 { OUTER_IP_PROTO, 8, KEY_OPT_U8, -1, -1 }, [all …]
|
/Linux-v5.15/drivers/net/wireless/ath/ath10k/ |
D | mac.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2005-2011 Atheros Communications Inc. 4 * Copyright (c) 2011-2017 Qualcomm Atheros, Inc. 5 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 24 #include "wmi-tlv.h" 25 #include "wmi-ops.h" 98 #define ath10k_a_rates_size (ARRAY_SIZE(ath10k_rates) - \ 133 for (i = 0; i < sband->n_bitrates; i++) { in ath10k_mac_hw_rate_to_idx() 134 rate = &sband->bitrates[i]; in ath10k_mac_hw_rate_to_idx() 136 if (ath10k_mac_bitrate_is_cck(rate->bitrate) != cck) in ath10k_mac_hw_rate_to_idx() [all …]
|
/Linux-v5.15/drivers/net/wireless/ |
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 - 2020 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"); 69 * enum hwsim_regtest - the type of regulatory tests we offer 93 * this by using a custom beacon-capable regulatory domain for the first 108 * domain settings, combined with secondary driver regulatory domain [all …]
|
/Linux-v5.15/drivers/net/wireless/intel/iwlegacy/ |
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-v5.15/drivers/infiniband/hw/hfi1/ |
D | sdma.c | 1 // SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause 3 * Copyright(c) 2015 - 2018 Intel Corporation. 22 /* must be a power of 2 >= 64 <= 32768 */ 212 * sdma_state_name() - return state string from enum 222 kref_get(&ss->kref); in sdma_get() 230 complete(&ss->comp); in sdma_complete() 235 kref_put(&ss->kref, sdma_complete); in sdma_put() 241 wait_for_completion(&ss->comp); in sdma_finalput() 249 write_kctxt_csr(sde->dd, sde->this_idx, offset0, value); in write_sde_csr() 256 return read_kctxt_csr(sde->dd, sde->this_idx, offset0); in read_sde_csr() [all …]
|
/Linux-v5.15/include/net/ |
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 - 2017 Intel Deutschland GmbH 10 * Copyright (C) 2018 - 2021 Intel Corporation 30 * only partial functionality in hard- or firmware. This document 31 * defines the interface between mac80211 and low-level hardware [all …]
|
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-2021 Intel Corporation 72 * enum ieee80211_channel_flags - channel flags 143 * struct ieee80211_channel - channel definition 150 * @hw_value: hardware-specific value for the channel 156 * @max_power: maximum transmission power (in dBm) 157 * @max_reg_power: maximum regulatory transmission power (in dBm) [all …]
|
/Linux-v5.15/drivers/clk/ |
D | clk-stm32f4.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Inspired by clk-asm9260.c . 8 #include <linux/clk-provider.h> 25 #include <dt-bindings/clock/stm32fx-clock.h> 42 #define NONE -1 373 * have gate bits associated with them. Its combined hweight is 71. 407 * The APBx dividers are power-of-two dividers and, if *not* running in 1:1 424 if (readl(base + STM32F4_RCC_CFGR) & BIT(am->bit_idx)) in clk_apb_mul_recalc_rate() 436 if (readl(base + STM32F4_RCC_CFGR) & BIT(am->bit_idx)) in clk_apb_mul_round_rate() 476 return ERR_PTR(-ENOMEM); in clk_register_apb_mul() [all …]
|
/Linux-v5.15/include/uapi/linux/ |
D | nl80211.h | 6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 13 * Copyright 2015-2017 Intel Deutschland GmbH 14 * Copyright (C) 2018-2021 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-VLAN type in mac80211 for example, there's [all …]
|
/Linux-v5.15/kernel/locking/ |
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 91 if (current->lockdep_recursion) in lockdep_enabled() 102 * to use a raw spinlock - we really dont want the spinlock 181 #define KEYHASH_BITS (MAX_LOCKDEP_KEYS_BITS - 1) 194 unsigned int class_idx = hlock->class_idx; in hlock_class() 196 /* Don't re-read hlock->class_idx, can't use READ_ONCE() on bitfield */ in hlock_class() 208 * At this point, if the passed hlock->class_idx is still garbage, in hlock_class() [all …]
|
/Linux-v5.15/drivers/message/fusion/ |
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-v5.15/drivers/scsi/ |
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 …]
|
/Linux-v5.15/drivers/infiniband/hw/qib/ |
D | qib_iba7322.c | 2 * Copyright (c) 2012 - 2017 Intel Corporation. All rights reserved. 3 * Copyright (c) 2008 - 2012 QLogic Corporation. All rights reserved. 15 * - Redistributions of source code must retain the above 19 * - Redistributions in binary form must reproduce the above 88 #define BMASK(msb, lsb) (((1 << ((msb) + 1 - (lsb))) - 1) << (lsb)) 95 /* Below is special-purpose, so only really works for the IB SerDes blocks. */ 112 MODULE_PARM_DESC(num_vls, "Set number of Virtual Lanes to use (1-8)"); 125 MODULE_PARM_DESC(singleport, "Use only IB port 1; more per-port buffer space"); 140 MODULE_PARM_DESC(rcvhdrsize, "receive header size in 32-bit words"); 144 MODULE_PARM_DESC(rcvhdrentsize, "receive header entry size in 32-bit words"); [all …]
|