Home
last modified time | relevance | path

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

12345678910>>...73

/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 …]
/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 …]
/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 …]
/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 …]
/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 …]
/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;
/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()
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 …]
Dcpufeature.c26 * may result in a TAINT_CPU_OUT_OF_SPEC kernel taint, a capability mismatch
43 * - A "feature" is typically a 4-bit register field. A "capability" is the
803 if (WARN(caps->capability >= ARM64_NCAPS, in init_cpu_hwcaps_indirect_list_from_array()
804 "Invalid capability %d\n", caps->capability)) in init_cpu_hwcaps_indirect_list_from_array()
806 if (WARN(cpu_hwcaps_ptrs[caps->capability], in init_cpu_hwcaps_indirect_list_from_array()
807 "Duplicate entry for capability %d\n", in init_cpu_hwcaps_indirect_list_from_array()
808 caps->capability)) in init_cpu_hwcaps_indirect_list_from_array()
810 cpu_hwcaps_ptrs[caps->capability] = caps; in init_cpu_hwcaps_indirect_list_from_array()
1489 * unconditionally enable the capability to allow any late CPU in has_hw_dbm()
1501 * the DBM on, as the capability is unconditionally enabled. in has_hw_dbm()
[all …]
/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 …]
/linux-5.10/drivers/usb/host/
Dxhci-ext-caps.h17 /* 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 …]
/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
/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
185 Please note that configuring the IPA size does not affect the capability
194 :Capability: basic, KVM_CAP_GET_MSR_FEATURES for KVM_GET_MSR_FEATURE_INDEX_LIST
236 :Capability: basic, KVM_CAP_CHECK_EXTENSION_VM for vm ioctl
255 :Capability: basic
269 :Capability: basic
[all …]
/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()
272 .capability = PCI_CAP_ID_PM,
276 .capability = PCI_CAP_ID_VPD,
280 .capability = PCI_CAP_ID_MSI,
284 .capability = PCI_CAP_ID_MSIX,
/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 …]
/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 */
/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.
/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()
407 if (dw_dev->capability & DW_I2S_MASTER) in dw_i2s_runtime_resume()
416 if (dev->capability & DW_I2S_MASTER) in dw_i2s_suspend()
427 if (dev->capability & DW_I2S_MASTER) in dw_i2s_resume()
496 if (dev->capability & DWC_I2S_RECORD && in dw_configure_dai()
[all …]
/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 …]
/linux-5.10/security/
Dcommoncap.c2 /* Common capabilities, needed by capability.o.
5 #include <linux/capability.h>
51 * cap_capable - Determine whether a task has a particular effective capability
53 * @ns: The user namespace in which we need the capability
54 * @cap: The capability to check for
57 * Determine whether the nominated task has the specified capability amongst
62 * cap_has_capability() returns 0 when a task has a capability, but the
70 /* See if cred has the capability in the target user namespace in cap_capable()
94 * If you have a capability in a parent user ns, then you have in cap_capable()
126 * If we have the ptrace capability to the target user_ns, then ptrace
[all …]
/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
345 to implement capability based overrides of that policy, this is
346 the capability it should use to do so. */
353 to implement capability based checks on modifications to that
355 capability it should use to do so. */
[all …]
/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 …]

12345678910>>...73