/Linux-v6.1/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,tegra30-pmc 18 - nvidia,tegra114-pmc [all …]
|
/Linux-v6.1/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@foss.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-v6.1/drivers/net/ethernet/intel/ice/ |
D | ice_devlink.c | 1 // SPDX-License-Identifier: GPL-2.0 12 static int ice_active_port_option = -1; 38 put_unaligned_be64(pci_get_dsn(pf->pdev), dsn); in ice_info_get_dsn() 40 snprintf(ctx->buf, sizeof(ctx->buf), "%8phD", dsn); in ice_info_get_dsn() 45 struct ice_hw *hw = &pf->hw; in ice_info_pba() 48 status = ice_read_pba_string(hw, (u8 *)ctx->buf, sizeof(ctx->buf)); in ice_info_pba() 57 struct ice_hw *hw = &pf->hw; in ice_info_fw_mgmt() 59 snprintf(ctx->buf, sizeof(ctx->buf), "%u.%u.%u", in ice_info_fw_mgmt() 60 hw->fw_maj_ver, hw->fw_min_ver, hw->fw_patch); in ice_info_fw_mgmt() 65 struct ice_hw *hw = &pf->hw; in ice_info_fw_api() [all …]
|
/Linux-v6.1/drivers/clk/bcm/ |
D | clk-kona.c | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include "clk-kona.h" 12 #include <linux/clk-provider.h> 17 * "Normal", and "Turbo".) A lower policy number has lower power 27 /* Produces a mask of set bits covering a range of a 32-bit value */ 30 return ((1 << width) - 1) << shift; in bitfield_mask() 52 return (u64)reg_div + ((u64)1 << div->u.s.frac_width); in scaled_div_value() 62 u64 combined; in scaled_div_build() local 67 combined = (u64)div_value * BILLION + billionths; in scaled_div_build() 68 combined <<= div->u.s.frac_width; in scaled_div_build() [all …]
|
/Linux-v6.1/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… 66 WARN_ON_ONCE(format->char_per_block[0] != 1); in gud_xrgb8888_to_r124() 69 rect->x1 = ALIGN_DOWN(rect->x1, block_width); in gud_xrgb8888_to_r124() 86 unsigned int pixshift = (block_width - pixpos - 1) * bits_per_pixel; in gud_xrgb8888_to_r124() 93 pix = (*pix8++) >> (8 - bits_per_pixel); in gud_xrgb8888_to_r124() 116 rect->x1 = ALIGN_DOWN(rect->x1, block_width); in gud_xrgb8888_to_color() 120 for (y = rect->y1; y < rect->y2; y++) { in gud_xrgb8888_to_color() 121 sbuf32 = src + (y * fb->pitches[0]); in gud_xrgb8888_to_color() [all …]
|
/Linux-v6.1/drivers/nvme/host/ |
D | apple.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * Copyright (c) 2011-2014, Intel Corporation. 9 * Copyright (c) 2015-2016 HGST, a Western Digital Company. 14 #include <linux/blk-mq.h> 16 #include <linux/dma-mapping.h> 19 #include <linux/io-64-nonatomic-lo-hi.h> 69 * cannot be higher than 0x40 which effectively limits the combined 76 #define APPLE_NVME_AQ_MQ_TAG_DEPTH (APPLE_NVME_AQ_DEPTH - 1) 91 * An exception to this are Apple's vendor-specific commands (opcode 0xD8 on the 159 struct nvme_request req; member [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/drivers/net/ethernet/marvell/octeontx2/af/ |
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() 73 pf_func_mask = (entry_data->kw_mask[0] >> 32) & in npc_mcam_verify_pf_func() 75 pf_func = (entry_data->kw[0] >> 32) & NPC_KEX_PF_FUNC_MASK; in npc_mcam_verify_pf_func() 81 return -EINVAL; in npc_mcam_verify_pf_func() 102 struct npc_pkind *pkind = &rvu->hw->pkind; in rvu_npc_get_pkind() 106 for (i = 0; i < pkind->rsrc.max; i++) { in rvu_npc_get_pkind() 107 map = pkind->pfchan_map[i]; in rvu_npc_get_pkind() [all …]
|
/Linux-v6.1/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-v6.1/drivers/soc/tegra/ |
D | pmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2018-2022, 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> 54 #include <dt-bindings/interrupt-controller/arm-gic.h> 55 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> 56 #include <dt-bindings/gpio/tegra186-gpio.h> [all …]
|
/Linux-v6.1/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-2022 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-v6.1/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 1 // SPDX-License-Identifier: GPL-2.0+ 2 // Copyright (c) 2016-2017 Hisilicon Limited. 418 { OUTER_DST_MAC, 48, KEY_OPT_MAC, -1, -1 }, 419 { OUTER_SRC_MAC, 48, KEY_OPT_MAC, -1, -1 }, 420 { OUTER_VLAN_TAG_FST, 16, KEY_OPT_LE16, -1, -1 }, 421 { OUTER_VLAN_TAG_SEC, 16, KEY_OPT_LE16, -1, -1 }, 422 { OUTER_ETH_TYPE, 16, KEY_OPT_LE16, -1, -1 }, 423 { OUTER_L2_RSV, 16, KEY_OPT_LE16, -1, -1 }, 424 { OUTER_IP_TOS, 8, KEY_OPT_U8, -1, -1 }, 425 { OUTER_IP_PROTO, 8, KEY_OPT_U8, -1, -1 }, [all …]
|
/Linux-v6.1/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-v6.1/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 - 2022 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"); 73 * enum hwsim_regtest - the type of regulatory tests we offer 97 * this by using a custom beacon-capable regulatory domain for the first 112 * domain settings, combined with secondary driver regulatory domain [all …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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 - 2022 Intel Corporation 31 * only partial functionality in hard- or firmware. This document 32 * 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 150 * struct ieee80211_channel - channel definition 157 * @hw_value: hardware-specific value for the channel 163 * @max_power: maximum transmission power (in dBm) 164 * @max_reg_power: maximum regulatory transmission power (in dBm) [all …]
|
/Linux-v6.1/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 369 * have gate bits associated with them. Its combined hweight is 71. 403 * The APBx dividers are power-of-two dividers and, if *not* running in 1:1 420 if (readl(base + STM32F4_RCC_CFGR) & BIT(am->bit_idx)) in clk_apb_mul_recalc_rate() 432 if (readl(base + STM32F4_RCC_CFGR) & BIT(am->bit_idx)) in clk_apb_mul_round_rate() 472 return ERR_PTR(-ENOMEM); in clk_register_apb_mul() [all …]
|
/Linux-v6.1/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-2022 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-v6.1/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 121 if (current->lockdep_recursion) in lockdep_enabled() 132 * to use a raw spinlock - we really dont want the spinlock 211 #define KEYHASH_BITS (MAX_LOCKDEP_KEYS_BITS - 1) 222 unsigned int class_idx = hlock->class_idx; in hlock_class() 224 /* Don't re-read hlock->class_idx, can't use READ_ONCE() on bitfield */ in hlock_class() 236 * At this point, if the passed hlock->class_idx is still garbage, in hlock_class() [all …]
|
/Linux-v6.1/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-v6.1/drivers/net/ethernet/sfc/ |
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 …]
|