/Linux-v5.10/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-v5.10/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-v5.10/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-v5.10/net/mac80211/ |
D | wme.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * Copyright 2013-2014 Intel Mobile Communications GmbH 35 switch (skb->priority) { in wme_downgrade_ac() 36 case 6: in wme_downgrade_ac() 37 case 7: in wme_downgrade_ac() 38 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac() 40 case 4: in wme_downgrade_ac() 41 case 5: in wme_downgrade_ac() 42 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac() 44 case 0: in wme_downgrade_ac() [all …]
|
/Linux-v5.10/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 55 * use 50 for now. in vpg3_update_generic_info_packet() 62 /* poll dig_update_lock is not locked -> asic internal signal in vpg3_update_generic_info_packet() 74 /* HW does is not reading GSP memory not reading too long -> in vpg3_update_generic_info_packet() 80 /* choose which generic packet to use */ in vpg3_update_generic_info_packet() [all …]
|
/Linux-v5.10/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-v5.10/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> 27 "--------\n" 29 "Features can either be built-in, modularized, or ignored. Parameters\n" 36 " - - are selected by other feature,\n" 43 "through the available options (i.e. Y->N->M->Y).\n" 48 "----------\n" 49 "o Use the Up/Down arrow keys (cursor keys) to highlight the item you\n" [all …]
|
/Linux-v5.10/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-v5.10/net/rose/ |
D | rose_in.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 41 case ROSE_CALL_ACCEPTED: in rose_state1_machine() 44 rose->condition = 0x00; in rose_state1_machine() 45 rose->vs = 0; in rose_state1_machine() 46 rose->va = 0; in rose_state1_machine() 47 rose->vr = 0; in rose_state1_machine() 48 rose->vl = 0; in rose_state1_machine() 49 rose->state = ROSE_STATE_3; in rose_state1_machine() 50 sk->sk_state = TCP_ESTABLISHED; in rose_state1_machine() 52 sk->sk_state_change(sk); in rose_state1_machine() [all …]
|
/Linux-v5.10/net/bluetooth/ |
D | lib.c | 2 BlueZ - Bluetooth protocol stack for Linux 3 Copyright (C) 2000-2001 Qualcomm Incorporated 16 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 18 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 21 COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS, RELATING TO USE OF THIS 40 d[i] = s[5 - i]; in baswap() 48 case 0: in bt_to_errno() 51 case 0x01: in bt_to_errno() 54 case 0x02: in bt_to_errno() 57 case 0x03: in bt_to_errno() [all …]
|
/Linux-v5.10/include/linux/ |
D | power_supply.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 50 POWER_SUPPLY_CHARGE_TYPE_CUSTOM, /* use CHARGE_CONTROL_* props */ 161 POWER_SUPPLY_PROP_TYPE, /* use power_supply.type instead */ 217 /* Run-time specific power supply configuration */ 244 * this power supply. Instead use power_supply_*() functions (for 317 * class itself does not use it, but that's what implementing most platform 348 * use these for consistency. 350 * The default field value is -EINVAL. 351 * Power supply class itself doesn't use this. 355 int energy_full_design_uwh; /* microWatt-hours */ [all …]
|
/Linux-v5.10/sound/soc/sof/intel/ |
D | hda-pcm.c | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) 20 #include "../sof-audio.h" 25 #define SDnFMT_MULT(x) (((x) - 1) << 11) 26 #define SDnFMT_DIV(x) (((x) - 1) << 8) 33 case 8000: in hda_dsp_get_mult_div() 35 case 9600: in hda_dsp_get_mult_div() 37 case 11025: in hda_dsp_get_mult_div() 39 case 16000: in hda_dsp_get_mult_div() 41 case 22050: in hda_dsp_get_mult_div() 43 case 32000: in hda_dsp_get_mult_div() [all …]
|
/Linux-v5.10/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 …]
|
D | config | 2 # SPDX-License-Identifier: GPL-2.0 7 # If no prefix forced, use the default CONFIG_ 8 CONFIG_="${CONFIG_-CONFIG_}" 10 # We use an uncommon delimiter for sed substitutions 11 SED_DELIM=$(echo -en "\001") 19 --enable|-e option Enable option 20 --disable|-d option Disable option 21 --module|-m option Turn option into a module 22 --set-str option string 24 --set-val option value [all …]
|
/Linux-v5.10/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 …]
|
/Linux-v5.10/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-v5.10/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-v5.10/drivers/net/ethernet/qualcomm/ |
D | qca_7k_common.c | 5 * Permission to use, copy, modify, and/or distribute this software 15 * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, 17 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 82 switch (handle->state) { in qcafrm_fsm_decode() 83 case QCAFRM_HW_LEN0: in qcafrm_fsm_decode() 84 case QCAFRM_HW_LEN1: in qcafrm_fsm_decode() 86 handle->state--; in qcafrm_fsm_decode() 90 handle->state = handle->init; in qcafrm_fsm_decode() 93 case QCAFRM_HW_LEN2: in qcafrm_fsm_decode() 94 case QCAFRM_HW_LEN3: in qcafrm_fsm_decode() [all …]
|
/Linux-v5.10/arch/mips/kernel/ |
D | time.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 #include <asm/cpu-features.h> 25 #include <asm/cpu-type.h> 40 struct cpumask *cpus = freq->policy->cpus; in cpufreq_callback() 45 * Skip lpj numbers adjustment if the CPU-freq transition is safe for in cpufreq_callback() 48 if (freq->flags & CPUFREQ_CONST_LOOPS) in cpufreq_callback() 54 glb_lpj_ref_freq = freq->old; in cpufreq_callback() 59 per_cpu(pcp_lpj_ref_freq, cpu) = freq->old; in cpufreq_callback() 64 * Adjust global lpj variable and per-CPU udelay_val number in in cpufreq_callback() 67 if ((val == CPUFREQ_PRECHANGE && freq->old < freq->new) || in cpufreq_callback() [all …]
|
/Linux-v5.10/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. 41 * Convert non-negative integer string representation in explicitly given radix 43 * Return number of characters consumed maybe or-ed with overflow bit. 46 * Don't you dare use this function. 61 val = c - '0'; in _parse_integer() 63 val = lc - 'a' + 10; in _parse_integer() 74 if (res > div_u64(ULLONG_MAX - val, base)) in _parse_integer() [all …]
|
/Linux-v5.10/drivers/net/wireless/ath/ath9k/ |
D | mci.h | 2 * Copyright (c) 2010-2011 Atheros Communications Inc. 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. 57 switch (_info->type) { \ 58 case MCI_GPM_COEX_PROFILE_RFCOMM:\ 59 _mci->num_other_acl++; \ 61 case MCI_GPM_COEX_PROFILE_A2DP: \ 62 _mci->num_a2dp++; \ 63 if (!_info->edr) \ [all …]
|
/Linux-v5.10/sound/core/seq/ |
D | seq_compat.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * 32bit -> 64bit ioctl wrapper for sequencer API 25 u32 kernel; /* reserved for kernel use (must be NULL) */ 28 char reserved[59]; /* for future use */ 34 int err = -EFAULT; in snd_seq_call_port_info_ioctl() 39 return -ENOMEM; in snd_seq_call_port_info_ioctl() 42 get_user(data->flags, &data32->flags) || in snd_seq_call_port_info_ioctl() 43 get_user(data->time_queue, &data32->time_queue)) in snd_seq_call_port_info_ioctl() 45 data->kernel = NULL; in snd_seq_call_port_info_ioctl() 47 err = snd_seq_kernel_client_ctl(client->number, cmd, data); in snd_seq_call_port_info_ioctl() [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/gpio/dce110/ |
D | hw_translate_dce110.c | 2 * Copyright 2013-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 27 * Pre-requisites: headers required by header of this unit 47 case mmDC_GPIO_GENERIC_A: in offset_to_id() 50 case DC_GPIO_GENERIC_A__DC_GPIO_GENERICA_A_MASK: in offset_to_id() 53 case DC_GPIO_GENERIC_A__DC_GPIO_GENERICB_A_MASK: in offset_to_id() 56 case DC_GPIO_GENERIC_A__DC_GPIO_GENERICC_A_MASK: in offset_to_id() 59 case DC_GPIO_GENERIC_A__DC_GPIO_GENERICD_A_MASK: in offset_to_id() 62 case DC_GPIO_GENERIC_A__DC_GPIO_GENERICE_A_MASK: in offset_to_id() [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/amdkfd/ |
D | kfd_flat_memory.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 56 * System Unified Address - SUA 80 * HSA64 - ATC/IOMMU 64b 113 * this case the GPUVM aperture (red) is defined and if a pointer falls in this 121 * that references this memory descriptor. This is the case for shader 133 * requests to the cache/memory system. This is the case for the 137 * In all cases (no matter where the 64b -> 49b conversion is done), the gfxip 150 * We use the GPUVM aperture to differentiate ATC vs. GPUVM, but we also use 175 * In no case is a payload that straddles multiple apertures expected to work. [all …]
|
/Linux-v5.10/fs/overlayfs/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 6 An overlay filesystem combines two filesystems - an 'upper' filesystem 9 'lower' filesystem is either hidden or, in the case of directories, 18 If this config option is enabled then overlay filesystems will use 19 redirects when renaming directories by default. In this case it is 49 If this config option is enabled then overlay filesystems will use 51 In this case it is still possible to turn off index globally with the 70 If this config option is enabled then overlay filesystems will use 72 In this case, it is still possible to turn off NFS export support 87 Most users should say N here and enable this feature on a case-by- [all …]
|