/linux-6.12.1/drivers/scsi/ |
D | sd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 13 * Time out in seconds for disks and Magneto-opticals (which are slower). 37 * Number of sectors at the end of the device to avoid multi-sector 38 * accesses to in the case of last_sector_bug 56 SD_LBP_UNMAP, /* Use UNMAP command */ 57 SD_LBP_WS16, /* Use WRITE SAME(16) with UNMAP bit */ 58 SD_LBP_WS10, /* Use WRITE SAME(10) with UNMAP bit */ 59 SD_LBP_ZERO, /* Use WRITE SAME(10) with zero payload */ 64 SD_ZERO_WRITE = 0, /* Use WRITE(10/16) command */ 65 SD_ZERO_WS, /* Use WRITE SAME(10/16) command */ [all …]
|
/linux-6.12.1/sound/soc/mediatek/mt8186/ |
D | mt8186-afe-control.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include "mt8186-afe-common.h" 78 case 8000: in mt8186_general_rate_transform() 80 case 11025: in mt8186_general_rate_transform() 82 case 12000: in mt8186_general_rate_transform() 84 case 16000: in mt8186_general_rate_transform() 86 case 22050: in mt8186_general_rate_transform() 88 case 24000: in mt8186_general_rate_transform() 90 case 32000: in mt8186_general_rate_transform() 92 case 44100: in mt8186_general_rate_transform() [all …]
|
/linux-6.12.1/security/keys/ |
D | permission.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 13 * key_task_permission - Check a key can be used 15 * @cred: The credentials to use. 18 * Check to see whether permission is granted to use a key in the desired way, 23 * Returns 0 if successful, -EACCES if access is denied based on the 36 return -EACCES; in key_task_permission() 37 case KEY_NEED_UNLINK: in key_task_permission() 38 case KEY_SYSADMIN_OVERRIDE: in key_task_permission() 39 case KEY_AUTHTOKEN_OVERRIDE: in key_task_permission() 40 case KEY_DEFER_PERM_CHECK: in key_task_permission() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_vpg.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 32 vpg3->base.ctx->logger 35 (vpg3->regs->reg) 39 vpg3->vpg_shift->field_name, vpg3->vpg_mask->field_name 43 vpg3->base.ctx 56 * use 50 for now. in vpg3_update_generic_info_packet() 63 /* poll dig_update_lock is not locked -> asic internal signal in vpg3_update_generic_info_packet() 75 /* HW does is not reading GSP memory not reading too long -> in vpg3_update_generic_info_packet() 81 /* choose which generic packet to use */ in vpg3_update_generic_info_packet() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
D | rf.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* Copyright(c) 2009-2012 Realtek Corporation.*/ 16 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in rtl92d_phy_enable_anotherphy() 23 rtlhal->during_mac0init_radiob = false; in rtl92d_phy_enable_anotherphy() 24 rtlhal->during_mac1init_radioa = false; in rtl92d_phy_enable_anotherphy() 26 /* MAC0 Need PHY1 load radio_b.txt . Driver use DBI to write. */ in rtl92d_phy_enable_anotherphy() 47 struct rtl_hal *rtlhal = &(rtlpriv->rtlhal); in rtl92d_phy_powerdown_anotherphy() 53 rtlhal->during_mac0init_radiob = false; in rtl92d_phy_powerdown_anotherphy() 54 rtlhal->during_mac1init_radioa = false; in rtl92d_phy_powerdown_anotherphy() 71 struct rtl_phy *rtlphy = &(rtlpriv->phy); in rtl92d_phy_rf6052_config() [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ |
D | debug.c | 4 * Permission to use, copy, modify, and/or distribute this software for any 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 23 case NL80211_IFTYPE_UNSPECIFIED: in ath_opmode_to_string() 25 case NL80211_IFTYPE_ADHOC: in ath_opmode_to_string() 27 case NL80211_IFTYPE_STATION: in ath_opmode_to_string() 29 case NL80211_IFTYPE_AP: in ath_opmode_to_string() 31 case NL80211_IFTYPE_AP_VLAN: in ath_opmode_to_string() 32 return "AP-VLAN"; in ath_opmode_to_string() 33 case NL80211_IFTYPE_WDS: in ath_opmode_to_string() [all …]
|
/linux-6.12.1/sound/soc/mediatek/mt8192/ |
D | mt8192-afe-control.c | 1 // SPDX-License-Identifier: GPL-2.0 9 #include "mt8192-afe-common.h" 48 case 8000: in mt8192_general_rate_transform() 50 case 11025: in mt8192_general_rate_transform() 52 case 12000: in mt8192_general_rate_transform() 54 case 16000: in mt8192_general_rate_transform() 56 case 22050: in mt8192_general_rate_transform() 58 case 24000: in mt8192_general_rate_transform() 60 case 32000: in mt8192_general_rate_transform() 62 case 44100: in mt8192_general_rate_transform() [all …]
|
/linux-6.12.1/scripts/kconfig/ |
D | mconf.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org> 5 * Introduced single menu mode (show all sub-menus in one large tree). 6 * 2002-11-06 Petr Baudis <pasky@ucw.cz> 26 #include "mnconf-common.h" 30 "--------\n" 32 "Features can either be built-in, modularized, or ignored. Parameters\n" 39 " - - are selected by other feature,\n" 46 "through the available options (i.e. Y->N->M->Y).\n" 51 "----------\n" [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/gpio/ |
D | hw_gpio.c | 2 * Copyright 2012-15 Advanced Micro Devices, Inc. 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 35 gpio->regs->field_name ## _shift, gpio->regs->field_name ## _mask 38 gpio->base.ctx 40 (gpio->regs->reg) 45 REG_GET(MASK_reg, MASK, &gpio->store.mask); in store_registers() 46 REG_GET(A_reg, A, &gpio->store.a); in store_registers() 47 REG_GET(EN_reg, EN, &gpio->store.en); in store_registers() 48 /* TODO store GPIO_MUX_CONTROL if we ever use it */ in store_registers() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/mpc/dcn401/ |
D | dcn401_mpc.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 34 mpc401->mpc_regs->reg 37 mpc401->base.ctx 41 mpc401->mpc_shift->field_name, mpc401->mpc_mask->field_name 65 case MPCC_MOVABLE_CM_LOCATION_BEFORE: in mpc401_set_movable_cm_location() 69 case MPCC_MOVABLE_CM_LOCATION_AFTER: in mpc401_set_movable_cm_location() 93 case 0: in get3dlut_config() 96 case 1: in get3dlut_config() 99 case 2: in get3dlut_config() [all …]
|
/linux-6.12.1/mm/kmsan/ |
D | kmsan_test.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * For each test case checks the presence (or absence) of generated reports. 8 * Copyright (C) 2021-2022, Google LLC. 53 * The provided @buf is not NUL-terminated; copy no more than in probe_console() 54 * @len bytes and let strscpy() add the missing NUL-terminator. in probe_console() 100 /* Doubled-checked locking. */ in report_matches() 101 if (!report_available() || !r->symbol) in report_matches() 102 return (!report_available() && !r->symbol); in report_matches() 108 end = &expected_header[sizeof(expected_header) - 1]; in report_matches() 110 cur += scnprintf(cur, end - cur, "BUG: KMSAN: %s", r->error_type); in report_matches() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/hubp/dcn35/ |
D | dcn35_hubp.c | 1 /* SPDX-License-Identifier: MIT */ 8 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 20 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 31 hubp2->hubp_regs->reg 34 hubp2->base.ctx 38 ((const struct dcn35_hubp2_shift *)hubp2->hubp_shift)->field_name, \ 39 ((const struct dcn35_hubp2_mask *)hubp2->hubp_mask)->field_name 52 hubp35_set_fgcg(hubp, hubp->ctx->dc->debug.enable_fine_grain_clock_gating.bits.dchub); in hubp35_init() 84 case SURFACE_PIXEL_FORMAT_GRPH_ARGB1555: in hubp35_program_pixel_format() 88 case SURFACE_PIXEL_FORMAT_GRPH_RGB565: in hubp35_program_pixel_format() [all …]
|
/linux-6.12.1/net/mac80211/ |
D | wme.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2013-2014 Intel Mobile Communications GmbH 36 switch (skb->priority) { in wme_downgrade_ac() 37 case 6: in wme_downgrade_ac() 38 case 7: in wme_downgrade_ac() 39 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac() 41 case 4: in wme_downgrade_ac() 42 case 5: in wme_downgrade_ac() 43 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac() 45 case 0: in wme_downgrade_ac() [all …]
|
/linux-6.12.1/drivers/net/wireless/realtek/rtlwifi/rtl8192du/ |
D | rf.c | 1 // SPDX-License-Identifier: GPL-2.0 13 struct rtl_hal *rtlhal = &rtlpriv->rtlhal; in rtl92du_phy_enable_anotherphy() 21 rtlhal->during_mac0init_radiob = false; in rtl92du_phy_enable_anotherphy() 22 rtlhal->during_mac1init_radioa = false; in rtl92du_phy_enable_anotherphy() 25 /* MAC0 Need PHY1 load radio_b.txt . Driver use DBI to write. */ in rtl92du_phy_enable_anotherphy() 53 struct rtl_hal *rtlhal = &rtlpriv->rtlhal; in rtl92du_phy_powerdown_anotherphy() 59 rtlhal->during_mac0init_radiob = false; in rtl92du_phy_powerdown_anotherphy() 60 rtlhal->during_mac1init_radioa = false; in rtl92du_phy_powerdown_anotherphy() 82 struct rtl_hal *rtlhal = &rtlpriv->rtlhal; in rtl92du_phy_rf6052_config() 83 struct rtl_phy *rtlphy = &rtlpriv->phy; in rtl92du_phy_rf6052_config() [all …]
|
/linux-6.12.1/net/rose/ |
D | rose_in.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 42 case ROSE_CALL_ACCEPTED: in rose_state1_machine() 45 rose->condition = 0x00; in rose_state1_machine() 46 rose->vs = 0; in rose_state1_machine() 47 rose->va = 0; in rose_state1_machine() 48 rose->vr = 0; in rose_state1_machine() 49 rose->vl = 0; in rose_state1_machine() 50 rose->state = ROSE_STATE_3; in rose_state1_machine() 51 sk->sk_state = TCP_ESTABLISHED; in rose_state1_machine() 53 sk->sk_state_change(sk); in rose_state1_machine() [all …]
|
/linux-6.12.1/Documentation/driver-api/phy/ |
D | phy.rst | 8 and how-to-use. 15 such as serialization, de-serialization, encoding, decoding and is responsible 17 controllers have PHY functionality embedded into it and others use an external 18 PHY. Other peripherals that use PHY include Wireless LAN, Ethernet, 22 all over the Linux kernel to drivers/phy to increase code re-use and for 25 This framework will be of use only to devices that use external PHY (PHY 32 For the simple case where the PHY provider implements only a single instance of 36 dt boot case. 49 arguments. For the dt boot case, all PHY providers should use one of the above 54 nodes within extra levels for context and extensibility, in which case the low [all …]
|
/linux-6.12.1/sound/soc/mediatek/common/ |
D | mtk-dai-adda-common.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include "mtk-base-afe.h" 14 #include "mtk-dai-adda-common.h" 19 case 8000: in mtk_adda_dl_rate_transform() 21 case 11025: in mtk_adda_dl_rate_transform() 23 case 12000: in mtk_adda_dl_rate_transform() 25 case 16000: in mtk_adda_dl_rate_transform() 27 case 22050: in mtk_adda_dl_rate_transform() 29 case 24000: in mtk_adda_dl_rate_transform() 31 case 32000: in mtk_adda_dl_rate_transform() [all …]
|
/linux-6.12.1/drivers/crypto/nx/ |
D | nx-common-powernv.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 10 #include "nx-842.h" 18 #include <asm/opal-api.h> 25 MODULE_ALIAS_CRYPTO("842-nx"); 56 * where the process is executing. Use with VAS function. 76 * setup_indirect_dde - Setup an indirect DDE 85 dde->flags = 0; in setup_indirect_dde() 86 dde->count = dde_count; in setup_indirect_dde() 87 dde->index = 0; in setup_indirect_dde() 88 dde->length = cpu_to_be32(byte_count); in setup_indirect_dde() [all …]
|
/linux-6.12.1/scripts/ |
D | parse-maintainers.pl | 1 #!/usr/bin/perl -w 2 # SPDX-License-Identifier: GPL-2.0 4 use strict; 5 use Getopt::Long qw(:config no_auto_abbrev); 21 die "$P: invalid argument - use --help if necessary\n"; 33 --input => MAINTAINERS file to read (default: MAINTAINERS) 34 --output => sorted MAINTAINERS file to write (default: MAINTAINERS.new) 35 --section => new sorted MAINTAINERS file to write to (default: SECTION.new) 36 --order => Use the preferred section content output ordering (default: 0) 51 K: Keyword - patch content regex [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dpp/dcn401/ |
D | dcn401_dpp.c | 7 * the rights to use, copy, modify, merge, publish, distribute, sublicense, 19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 36 dpp->tf_regs->reg 39 dpp->base.ctx 43 dpp->tf_shift->field_name, dpp->tf_mask->field_name 50 DPP_CLOCK_ENABLE, &s->is_enabled); in dpp401_read_state() 89 case SURFACE_PIXEL_FORMAT_GRPH_ARGB1555: in dpp401_dpp_setup() 92 case SURFACE_PIXEL_FORMAT_GRPH_RGB565: in dpp401_dpp_setup() 96 case SURFACE_PIXEL_FORMAT_GRPH_ARGB8888: in dpp401_dpp_setup() 97 case SURFACE_PIXEL_FORMAT_GRPH_ABGR8888: in dpp401_dpp_setup() [all …]
|
/linux-6.12.1/fs/xfs/ |
D | xfs_export.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2004-2005 Silicon Graphics, Inc. 28 case FILEID_INO32_GEN: in xfs_fileid_length() 30 case FILEID_INO32_GEN_PARENT: in xfs_fileid_length() 32 case FILEID_INO32_GEN | XFS_FILEID_TYPE_64FLAG: in xfs_fileid_length() 34 case FILEID_INO32_GEN_PARENT | XFS_FILEID_TYPE_64FLAG: in xfs_fileid_length() 47 struct xfs_mount *mp = XFS_M(inode->i_sb); in xfs_fs_encode_fh() 61 * to use larger file handles that can represent them. in xfs_fs_encode_fh() 74 * seven combinations work. The real answer is "don't use v2". in xfs_fs_encode_fh() 84 case FILEID_INO32_GEN_PARENT: in xfs_fs_encode_fh() [all …]
|
/linux-6.12.1/lib/ |
D | kstrtox.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * If an integer doesn't fit into specified type, -E is returned. 7 * kstrtou*() functions do not accept sign "-". 13 * If -E is returned, result is not touched. 43 * Convert non-negative integer string representation in explicitly given radix 46 * Return number of characters consumed maybe or-ed with overflow bit. 49 * Don't you dare use this function. 60 while (max_chars--) { in _parse_integer_limit() 66 val = c - '0'; in _parse_integer_limit() 68 val = lc - 'a' + 10; in _parse_integer_limit() [all …]
|
/linux-6.12.1/drivers/mfd/ |
D | rk8xx-i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Author: Chris Zhong <zyw@rock-chips.com> 9 * Author: Zhang Qing <zhangqing@rock-chips.com> 27 case RK806_POWER_EN0 ... RK806_POWER_EN5: in rk806_is_volatile_reg() 28 case RK806_DVS_START_CTRL ... RK806_INT_MSK1: in rk806_is_volatile_reg() 39 * - Technically the ROUND_30s bit makes RTC_CTRL_REG volatile, but in rk808_is_volatile_reg() 40 * we don't use that feature. It's better to cache. in rk808_is_volatile_reg() 41 * - It's unlikely we care that RK808_DEVCTRL_REG is volatile since in rk808_is_volatile_reg() 42 * bits are cleared in case when we shutoff anyway, but better safe. in rk808_is_volatile_reg() 46 case RK808_SECONDS_REG ... RK808_WEEKS_REG: in rk808_is_volatile_reg() [all …]
|
/linux-6.12.1/drivers/pcmcia/ |
D | o2micro.h | 5 * Version 1.1 (the "License"); you may not use this file except in 20 * case the provisions of the GPL are applicable instead of the 21 * above. If you wish to allow the use of your version of this file 22 * only under the terms of the GPL and not to allow others to use 26 * provisions above, a recipient may use your version of this file 121 if (PCI_FUNC(socket->dev->devfn) == 0) { in o2micro_override() 124 dev_dbg(&socket->dev->dev, "O2: 0x94/0xD4: %02x/%02x\n", a, b); in o2micro_override() 126 switch (socket->dev->device) { in o2micro_override() 132 case PCI_DEVICE_ID_O2_6729: in o2micro_override() 133 case PCI_DEVICE_ID_O2_6730: in o2micro_override() [all …]
|
/linux-6.12.1/Documentation/process/ |
D | coding-style.rst | 19 -------------- 31 Now, some people will claim that having 8-character indentations makes 33 80-character terminal screen. The answer to that is that if you need 37 In short, 8-char indents make things easier to read, and have the added 42 to align the ``switch`` and its subordinate ``case`` labels in the same column 43 instead of ``double-indenting`` the ``case`` labels. E.g.: 45 .. code-block:: c 48 case 'G': 49 case 'g': 52 case 'M': [all …]
|