| /kernel/linux/linux-5.10/drivers/thunderbolt/ |
| D | cap.c | 50 * When reading from next capability pointer location in port in tb_port_dummy_read() 63 * tb_port_next_cap() - Return next capability in the linked list 64 * @port: Port to find the capability for 65 * @offset: Previous capability offset (%0 for start) 67 * Returns dword offset of the next capability in port config space 68 * capability list and returns it. Passing %0 returns the first entry in 69 * the capability list. If no next capability is found returns %0. In case 111 * tb_port_find_cap() - Find port capability 112 * @port: Port to find the capability for 113 * @cap: Capability to look [all …]
|
| D | tb_regs.h | 56 /* capability headers */ 61 u8 cap; /* if cap == 0x05 then we have a extended capability */ 65 * struct tb_cap_extended_short - Switch extended short capability 66 * @next: Pointer to the next capability. If @next and @length are zero 68 * @cap: Base capability ID (see &enum tb_switch_cap) 69 * @vsec_id: Vendor specific capability ID (see &enum switch_vse_cap) 70 * @length: Length of this capability 80 * struct tb_cap_extended_long - Switch extended long capability 82 * @cap: Base capability ID (see &enum tb_switch_cap) 83 * @vsec_id: Vendor specific capability ID (see &enum switch_vse_cap) [all …]
|
| /kernel/linux/linux-5.10/kernel/ |
| D | capability.c | 3 * linux/kernel/capability.c 14 #include <linux/capability.h> 55 * Version 2 capabilities worked fine, but the linux/capability.h file 79 * Version check. Return the number of u32s in each capability flag 141 * @header: pointer to struct that contains capability version and 180 * implementations implicitly drop upper capability in SYSCALL_DEFINE2() 206 * @header: pointer to struct that contains capability version and 284 * has_ns_capability - Does a task have a capability in a specific user ns 287 * @cap: The capability to be tested for 289 * Return true if the specified task has the given superior capability [all …]
|
| /kernel/linux/linux-4.19/kernel/ |
| D | capability.c | 3 * linux/kernel/capability.c 14 #include <linux/capability.h> 55 * Version 2 capabilities worked fine, but the linux/capability.h file 79 * Version check. Return the number of u32s in each capability flag 143 * @header: pointer to struct that contains capability version and 182 * implementations implicitly drop upper capability in SYSCALL_DEFINE2() 208 * @header: pointer to struct that contains capability version and 286 * has_ns_capability - Does a task have a capability in a specific user ns 289 * @cap: The capability to be tested for 291 * Return true if the specified task has the given superior capability [all …]
|
| /kernel/linux/linux-5.10/security/apparmor/ |
| D | capability.c | 5 * This file contains AppArmor capability mediation functions 11 #include <linux/capability.h> 17 #include "include/capability.h" 23 * Table of capability names: we generate it from capabilities.h. 40 * audit_cb - call back for capability components of audit struct 53 * audit_caps - audit a capability 56 * @cap: capability tested 59 * Do auditing of capability and handle, audit/complain/kill modes switching 106 * profile_capable - test if profile allows use of capability @cap 108 * @cap: capability to test if allowed [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/include/asm/ |
| D | cpufeature.h | 94 * Each capability has the following list of attributes : 96 * 1) Scope of Detection : The system detects a given capability by 99 * model. The capability provides a call back ( @matches() ) to 106 * capability is finalised. (See section 2 below) 110 * system decides to finalise the state of the capability. If the 111 * capability relies on a field in one of the CPU ID feature 120 * The process of detection is usually denoted by "update" capability 124 * capability at some point during its execution and take necessary 131 * changes to the state of a capability once it finalises the capability 133 * safely. A CPU brought up after a capability is "finalised" is [all …]
|
| /kernel/linux/linux-4.19/arch/arm64/include/asm/ |
| D | cpufeature.h | 104 * Each capability has the following list of attributes : 106 * 1) Scope of Detection : The system detects a given capability by 109 * model. The capability provides a call back ( @matches() ) to 116 * capability is finalised. (See section 2 below) 120 * system decides to finalise the state of the capability. If the 121 * capability relies on a field in one of the CPU ID feature 130 * The process of detection is usually denoted by "update" capability 134 * capability at some point during its execution and take necessary 141 * changes to the state of a capability once it finalises the capability 143 * safely. A CPU brought up after a capability is "finalised" is [all …]
|
| /kernel/linux/linux-4.19/drivers/thunderbolt/ |
| D | cap.c | 25 * tb_port_find_cap() - Find port capability 26 * @port: Port to find the capability for 27 * @cap: Capability to look 29 * Returns offset to start of capability or %-ENOENT if no such 30 * capability was found. Negative errno is returned if there was an 38 * DP out adapters claim to implement TMU capability but in in tb_port_find_cap() 40 * capability offset here. in tb_port_find_cap() 86 * tb_switch_find_vse_cap() - Find switch vendor specific capability 87 * @sw: Switch to find the capability for 88 * @vsec: Vendor specific capability to look [all …]
|
| D | tb_regs.h | 52 /* capability headers */ 57 u8 cap; /* if cap == 0x05 then we have a extended capability */ 61 * struct tb_cap_extended_short - Switch extended short capability 62 * @next: Pointer to the next capability. If @next and @length are zero 64 * @cap: Base capability ID (see &enum tb_switch_cap) 65 * @vsec_id: Vendor specific capability ID (see &enum switch_vse_cap) 66 * @length: Length of this capability 76 * struct tb_cap_extended_long - Switch extended long capability 78 * @cap: Base capability ID (see &enum tb_switch_cap) 79 * @vsec_id: Vendor specific capability ID (see &enum switch_vse_cap) [all …]
|
| /kernel/linux/linux-4.19/security/apparmor/ |
| D | capability.c | 4 * This file contains AppArmor capability mediation functions 15 #include <linux/capability.h> 21 #include "include/capability.h" 27 * Table of capability names: we generate it from capabilities.h. 44 * audit_cb - call back for capability components of audit struct 57 * audit_caps - audit a capability 60 * @cap: capability tested 63 * Do auditing of capability and handle, audit/complain/kill modes switching 110 * profile_capable - test if profile allows use of capability @cap 112 * @cap: capability to test if allowed [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
| D | rtl819x_HT.h | 6 * The HT Capability element is present in beacons, association request, 41 //HT capability info 65 //Extended HT Capability Info 127 u8 bRegBW40MHz; // Tx 40MHz channel capability 128 u8 bCurBW40MHz; // Tx 40MHz channel capability 136 u8 bRegSuppCCK; // Tx CCK rate capability 137 u8 bCurSuppCCK; // Tx CCK rate capability 151 u8 bAMSDU_Support; // This indicates Tx A-MSDU capability 152 u16 nAMSDU_MaxSize; // This indicates Tx A-MSDU capability 153 u8 bCurrent_AMSDU_Support; // This indicates Tx A-MSDU capability [all …]
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | mlxreg.h | 19 * TYPE3 is selected by WD capability bit. 52 * @capability: attribute capability register; 66 u32 capability; member 83 * @capability: group capability register; 95 u32 capability; member 112 * @capability: device capability register; 121 u32 capability; member 127 * @items: same type components with the hotplug capability; 130 * @counter: number of the components with the hotplug capability;
|
| /kernel/linux/linux-5.10/drivers/crypto/ccp/ |
| D | psp-dev.c | 80 unsigned int capability) in psp_check_sev_support() argument 83 if (!(capability & 1)) { in psp_check_sev_support() 92 unsigned int capability) in psp_check_tee_support() argument 95 if (!(capability & 2)) { in psp_check_tee_support() 104 unsigned int capability) in psp_check_support() argument 106 int sev_support = psp_check_sev_support(psp, capability); in psp_check_support() 107 int tee_support = psp_check_tee_support(psp, capability); in psp_check_support() 116 static int psp_init(struct psp_device *psp, unsigned int capability) in psp_init() argument 120 if (!psp_check_sev_support(psp, capability)) { in psp_init() 126 if (!psp_check_tee_support(psp, capability)) { in psp_init() [all …]
|
| /kernel/linux/linux-4.19/Documentation/virtual/kvm/ |
| D | api.txt | 75 Capability: which KVM extension provides this ioctl. Can be 'basic', 80 support this ioctl, there's no capability bit to check its 97 Capability: basic 113 Capability: basic 134 Capability: basic, KVM_CAP_GET_MSR_FEATURES for KVM_GET_MSR_FEATURE_INDEX_LIST 169 Capability: basic, KVM_CAP_CHECK_EXTENSION_VM for vm ioctl 187 Capability: basic 200 Capability: basic 211 Capability: basic 239 same partition.) The KVM_CAP_PPC_SMT capability indicates the number [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/kernel/ |
| D | cpu_errata.c | 79 * access on this CPU via the ARM64_HAS_CACHE_IDC capability. in has_mismatched_cache_type() 102 if (cap->capability == ARM64_WORKAROUND_1542419) in cpu_enable_trap_ctr_access() 359 .capability = ARM64_WORKAROUND_CLEAN_CACHE, 368 .capability = ARM64_WORKAROUND_DEVICE_LOAD_ACQUIRE, 378 .capability = ARM64_WORKAROUND_834220, 387 .capability = ARM64_WORKAROUND_843419, 396 .capability = ARM64_WORKAROUND_845719, 404 .capability = ARM64_WORKAROUND_CAVIUM_23154, 411 .capability = ARM64_WORKAROUND_CAVIUM_27456, 418 .capability = ARM64_WORKAROUND_CAVIUM_30115, [all …]
|
| /kernel/linux/linux-5.10/drivers/usb/host/ |
| D | xhci-ext-caps.h | 18 /* HCCPARAMS contains the first extended capability pointer */ 27 /* Capability Register */ 31 /* Extended capability register fields */ 35 /* Extended capability IDs - ID 0 reserved */ 45 /* USB Legacy Support Capability - section 7.1.1 */ 49 /* USB Legacy Support Capability - section 7.1.1 */ 60 /* USB 2.0 xHCI 0.96 L1C capability - section 7.2.2.1.3.2 */ 63 /* USB 2.0 xHCI 1.0 hardware LMP capability - section 7.2.2.1.3.2 */ 85 * Find the offset of the extended capabilities with capability ID id. 90 * @id Extended capability ID to search for, or 0 for the next [all …]
|
| /kernel/linux/linux-4.19/drivers/usb/host/ |
| D | xhci-ext-caps.h | 17 /* HCCPARAMS contains the first extended capability pointer */ 26 /* Capability Register */ 30 /* Extended capability register fields */ 34 /* Extended capability IDs - ID 0 reserved */ 44 /* USB Legacy Support Capability - section 7.1.1 */ 48 /* USB Legacy Support Capability - section 7.1.1 */ 59 /* USB 2.0 xHCI 0.96 L1C capability - section 7.2.2.1.3.2 */ 62 /* USB 2.0 xHCI 1.0 hardware LMP capability - section 7.2.2.1.3.2 */ 84 * Find the offset of the extended capabilities with capability ID id. 89 * @id Extended capability ID to search for, or 0 for the next [all …]
|
| /kernel/linux/linux-4.19/Documentation/media/uapi/v4l/ |
| D | vidioc-enum-freq-bands.rst | 41 This ioctl is supported if the ``V4L2_TUNER_CAP_FREQ_BANDS`` capability 74 - ``capability`` 75 - :cspan:`2` The tuner/modulator capability flags for this 76 frequency band, see :ref:`tuner-capability`. The 77 ``V4L2_TUNER_CAP_LOW`` or ``V4L2_TUNER_CAP_1HZ`` capability must 79 tuner/modulator. So either all bands have that capability set, or 80 none of them have that capability. 84 if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units 86 ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set. 90 or if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in [all …]
|
| /kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/ |
| D | vidioc-enum-freq-bands.rst | 40 This ioctl is supported if the ``V4L2_TUNER_CAP_FREQ_BANDS`` capability 72 - ``capability`` 73 - :cspan:`2` The tuner/modulator capability flags for this 74 frequency band, see :ref:`tuner-capability`. The 75 ``V4L2_TUNER_CAP_LOW`` or ``V4L2_TUNER_CAP_1HZ`` capability must 77 tuner/modulator. So either all bands have that capability set, or 78 none of them have that capability. 82 if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units 84 ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set. 88 or if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in [all …]
|
| /kernel/liteos_a/security/cap/ |
| D | capability.c | 45 UINT32 capability = OsCurrProcessGet()->capability; in IsCapPermit() local 51 return (capability & (CAPABILITY_GET_CAP_MASK(capIndex))); in IsCapPermit() 56 processCB->capability = CAPABILITY_INIT_STAT; in OsInitCapability() 64 to->capability = from->capability; in OsCopyCapability() 78 if (VALID_CAPS(caps, OsCurrProcessGet()->capability)) { in SysCapSet() 83 OsCurrProcessGet()->capability = caps; in SysCapSet() 110 kCaps = processCB->capability; in SysCapGet()
|
| /kernel/linux/linux-4.19/drivers/staging/rtl8192u/ieee80211/ |
| D | rtl819x_HT.h | 6 // The HT Capability element is present in beacons, association request, 93 //HT capability info 118 //Extended HT Capability Info 182 u8 bRegBW40MHz; // Tx 40MHz channel capability 183 u8 bCurBW40MHz; // Tx 40MHz channel capability 191 u8 bRegSuppCCK; // Tx CCK rate capability 192 u8 bCurSuppCCK; // Tx CCK rate capability 208 u8 bAMSDU_Support; // This indicates Tx A-MSDU capability 209 u16 nAMSDU_MaxSize; // This indicates Tx A-MSDU capability 210 u8 bCurrent_AMSDU_Support; // This indicates Tx A-MSDU capability [all …]
|
| /kernel/linux/linux-4.19/arch/arm64/kernel/ |
| D | cpu_errata.c | 76 if (entry->capability == ARM64_MISMATCHED_CACHE_TYPE) in has_mismatched_cache_type() 534 * of call backs, sharing the same capability bit. 550 * Take appropriate action for all matching entries in the shared capability 681 .capability = ARM64_WORKAROUND_CLEAN_CACHE, 690 .capability = ARM64_WORKAROUND_CLEAN_CACHE, 699 .capability = ARM64_WORKAROUND_DEVICE_LOAD_ACQUIRE, 709 .capability = ARM64_WORKAROUND_834220, 719 .capability = ARM64_WORKAROUND_843419, 728 .capability = ARM64_WORKAROUND_845719, 736 .capability = ARM64_WORKAROUND_CAVIUM_23154, [all …]
|
| /kernel/linux/linux-5.10/Documentation/virt/kvm/ |
| D | api.rst | 96 Capability: 102 support this ioctl, there's no capability bit to check its 124 :Capability: basic 141 :Capability: basic 181 is dependent on the CPU capability and the kernel configuration. The limit can 188 Please note that configuring the IPA size does not affect the capability 197 :Capability: basic, KVM_CAP_GET_MSR_FEATURES for KVM_GET_MSR_FEATURE_INDEX_LIST 239 :Capability: basic, KVM_CAP_CHECK_EXTENSION_VM for vm ioctl 258 :Capability: basic 272 :Capability: basic [all …]
|
| /kernel/linux/linux-4.19/drivers/media/radio/si4713/ |
| D | radio-platform-si4713.c | 68 struct v4l2_capability *capability) in radio_si4713_querycap() argument 70 strlcpy(capability->driver, "radio-si4713", sizeof(capability->driver)); in radio_si4713_querycap() 71 strlcpy(capability->card, "Silicon Labs Si4713 Modulator", in radio_si4713_querycap() 72 sizeof(capability->card)); in radio_si4713_querycap() 73 strlcpy(capability->bus_info, "platform:radio-si4713", in radio_si4713_querycap() 74 sizeof(capability->bus_info)); in radio_si4713_querycap() 75 capability->device_caps = V4L2_CAP_MODULATOR | V4L2_CAP_RDS_OUTPUT; in radio_si4713_querycap() 76 capability->capabilities = capability->device_caps | V4L2_CAP_DEVICE_CAPS; in radio_si4713_querycap()
|
| /kernel/linux/linux-5.10/drivers/xen/xen-pciback/ |
| D | conf_space_capability.c | 3 * PCI Backend - Handles the virtual fields found on the capability lists 18 int capability; member 20 /* If the device has the capability found above, add these fields */ 46 cap_offset = pci_find_capability(dev, cap->capability); in xen_pcibk_config_capability_add_fields() 48 dev_dbg(&dev->dev, "Found capability 0x%x at 0x%x\n", in xen_pcibk_config_capability_add_fields() 49 cap->capability, cap_offset); in xen_pcibk_config_capability_add_fields() 272 .capability = PCI_CAP_ID_PM, 276 .capability = PCI_CAP_ID_VPD, 280 .capability = PCI_CAP_ID_MSI, 284 .capability = PCI_CAP_ID_MSIX,
|