Home
last modified time | relevance | path

Searched full:capability (Results 1 – 25 of 1749) sorted by relevance

12345678910>>...70

/kernel/linux/linux-5.10/drivers/thunderbolt/
Dcap.c50 * 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 …]
Dtb_regs.h56 /* 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/
Dcapability.c3 * 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-5.10/security/apparmor/
Dcapability.c5 * 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/
Dcpufeature.h94 * 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-5.10/drivers/staging/rtl8192u/ieee80211/
Drtl819x_HT.h6 * 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/arch/arm64/kernel/
Dcpu_errata.c79 * 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()
371 .capability = ARM64_WORKAROUND_CLEAN_CACHE,
380 .capability = ARM64_WORKAROUND_DEVICE_LOAD_ACQUIRE,
390 .capability = ARM64_WORKAROUND_834220,
399 .capability = ARM64_WORKAROUND_843419,
408 .capability = ARM64_WORKAROUND_845719,
416 .capability = ARM64_WORKAROUND_CAVIUM_23154,
423 .capability = ARM64_WORKAROUND_CAVIUM_27456,
430 .capability = ARM64_WORKAROUND_CAVIUM_30115,
[all …]
/kernel/linux/linux-5.10/include/linux/platform_data/
Dmlxreg.h19 * 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/
Dpsp-dev.c80 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-5.10/drivers/usb/host/
Dxhci-ext-caps.h18 /* 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-5.10/Documentation/userspace-api/media/v4l/
Dvidioc-enum-freq-bands.rst40 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 …]
Dvidioc-g-tuner.rst86 - ``capability``
89 Tuner capability flags, see :ref:`tuner-capability`. Audio flags
97 If multiple frequency bands are supported, then ``capability`` is
98 the union of all ``capability`` fields of each struct
103 if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units
104 of 62.5 Hz, or if the ``capability`` flag ``V4L2_TUNER_CAP_1HZ``
111 or if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in
112 units of 62.5 Hz, or if the ``capability`` flag
149 ``_SAP`` flag is cleared in the ``capability`` field, the
210 .. _tuner-capability:
[all …]
Dvidioc-s-hw-freq-seek.rst43 :c:type:`v4l2_tuner` ``capability`` field has the
55 This ioctl is supported if the ``V4L2_CAP_HW_FREQ_SEEK`` capability is
88 ``capability`` field will tell you what the hardware supports.
98 :c:type:`v4l2_tuner` ``capability`` field has the
100 struct :c:type:`v4l2_tuner` ``capability`` field has
107 :c:type:`v4l2_tuner` ``capability`` field has the
109 struct :c:type:`v4l2_tuner` ``capability`` field has
/kernel/liteos_a/security/cap/
Dcapability.c45 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-5.10/Documentation/virt/kvm/
Dapi.rst96 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-5.10/drivers/xen/xen-pciback/
Dconf_space_capability.c3 * 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()
275 .capability = PCI_CAP_ID_PM,
279 .capability = PCI_CAP_ID_VPD,
283 .capability = PCI_CAP_ID_MSI,
287 .capability = PCI_CAP_ID_MSIX,
/kernel/linux/linux-5.10/Documentation/userspace-api/media/
Dvideodev2.h.rst.exceptions149 # V4L2 capability defines
379 replace define V4L2_TUNER_CAP_LOW tuner-capability
380 replace define V4L2_TUNER_CAP_NORM tuner-capability
381 replace define V4L2_TUNER_CAP_HWSEEK_BOUNDED tuner-capability
382 replace define V4L2_TUNER_CAP_HWSEEK_WRAP tuner-capability
383 replace define V4L2_TUNER_CAP_STEREO tuner-capability
384 replace define V4L2_TUNER_CAP_LANG2 tuner-capability
385 replace define V4L2_TUNER_CAP_SAP tuner-capability
386 replace define V4L2_TUNER_CAP_LANG1 tuner-capability
387 replace define V4L2_TUNER_CAP_RDS tuner-capability
[all …]
/kernel/linux/linux-5.10/drivers/usb/early/
Dxhci-dbc.h3 * xhci-dbc.h - xHCI debug capability early driver
17 * xHCI Debug Capability Register interfaces:
20 __le32 capability; member
30 __le64 dccp; /* Debug Capability Context Pointer */
53 * xHCI Debug Capability data structures:
107 * xHCI Debug Capability software state structures:
125 * OUT Transfer Ring and the IN Transfer Ring of a Debug Capability Context data
167 /* debug capability contexts */
/kernel/linux/linux-5.10/Documentation/driver-api/nvdimm/
Dfirmware-activate.rst18 capability.
47 firmware activation capability is detected.
49 Another property 'ndbusX/firmware/capability' indicates a value of
52 firmware. A capability value of 'quiesce' indicates that firmware does
56 application activity. The 'ndbusX/firmware/capability' property will be
57 elided completely if no firmware activation capability is detected.
/kernel/linux/linux-5.10/sound/soc/dwc/
Ddwc-i2s.c192 if (!(dev->capability & DWC_I2S_RECORD) && in dw_i2s_startup()
196 if (!(dev->capability & DWC_I2S_PLAY) && in dw_i2s_startup()
286 if (dev->capability & DW_I2S_MASTER) { in dw_i2s_hw_params()
361 if (dev->capability & DW_I2S_SLAVE) in dw_i2s_set_fmt()
367 if (dev->capability & DW_I2S_MASTER) in dw_i2s_set_fmt()
398 if (dw_dev->capability & DW_I2S_MASTER) in dw_i2s_runtime_suspend()
408 if (dw_dev->capability & DW_I2S_MASTER) { in dw_i2s_runtime_resume()
420 if (dev->capability & DW_I2S_MASTER) in dw_i2s_suspend()
431 if (dev->capability & DW_I2S_MASTER) { in dw_i2s_resume()
503 if (dev->capability & DWC_I2S_RECORD && in dw_configure_dai()
[all …]
/kernel/linux/linux-5.10/drivers/pci/
Dvc.c42 * @pos: starting position of VC capability (VC/VC9/MFVC)
65 * @pos: starting position of VC capability (VC/VC9/MFVC)
93 * @pos: starting position of VC capability (VC/VC9/MFVC)
173 * @pos: starting position of VC capability (VC/VC9/MFVC)
227 * in Port VC Capability Register 2 then save/restore it next. in pci_vc_do_save_buffer()
270 * Table Offset in each VC Resource Capability Register tells us if in pci_vc_do_save_buffer()
271 * it exists. The entry size is global from the Port VC Capability in pci_vc_do_save_buffer()
349 * For each type of VC capability, VC/VC9/MFVC, find the capability and
386 * For each type of VC capability, VC/VC9/MFVC, find the capability and
410 * For each type of VC capability, VC/VC9/MFVC, find the capability, size
Dats.c50 * pci_enable_ats - enable the ATS capability
91 * pci_disable_ats - disable the ATS capability
190 * pci_enable_pri - Enable PRI capability
203 * VFs must not implement the PRI Capability. If their PF in pci_enable_pri()
237 * pci_disable_pri - Disable PRI capability
292 * The PRI capability must be disabled before this function is called.
334 * Returns true if PRI capability is present, false otherwise.
353 * pci_enable_pasid - Enable the PASID capability
367 * VFs must not implement the PASID Capability, but if a PF in pci_enable_pasid()
404 * pci_disable_pasid - Disable the PASID capability
[all …]
/kernel/linux/linux-5.10/include/uapi/linux/
Dcapability.h3 * This is <linux/capability.h>
25 a set of three capability sets. The transposition of 3*the
165 * Transfer any capability in your permitted set to any pid,
166 * remove any capability in your permitted set from any pid
168 * Add any capability from current's capability bounding set
170 * Allow taking bits out of capability bounding set
346 to implement capability based overrides of that policy, this is
347 the capability it should use to do so. */
354 to implement capability based checks on modifications to that
356 capability it should use to do so. */
[all …]
/kernel/linux/linux-5.10/Documentation/admin-guide/
Dperf-security.rst69 Unprivileged processes with enabled CAP_PERFMON capability are treated
80 use cases is discouraged with respect to the CAP_PERFMON capability.
83 capabilities then providing the process with CAP_PERFMON capability singly
90 processes provided with CAP_SYS_PTRACE capability are effectively
96 CAP_SYSLOG capability permits reading kernel space memory addresses from
102 Mechanisms of capabilities, privileged capability-dumb files [6]_ and
187 [6]_ capability.
195 unprivileged processes with CAP_IPC_LOCK capability.
202 unprivileged processes with CAP_IPC_LOCK capability.
245 for processes with the CAP_IPC_LOCK capability. Thus, perf_events/Perf
[all …]
/kernel/linux/linux-5.10/Documentation/PCI/
Dpcieaer-howto.rst30 defines two error reporting paradigms: the baseline capability and
31 the Advanced Error Reporting capability. The baseline capability is
34 capability is implemented with a PCI Express advanced error reporting
35 extended capability structure providing more robust error reporting.
38 Express Advanced Error Reporting capability. The PCI Express AER
46 capability.
57 has to be compiled. Option CONFIG_PCIEAER supports this capability. It
100 the AER capability structure within its device and to provide callbacks.
126 capability structure. Error information being logged includes storing
138 Configure the AER capability structure

12345678910>>...70