Home
last modified time | relevance | path

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

12345678910>>...69

/Linux-v5.4/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-v5.4/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-v5.4/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-v5.4/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-v5.4/Documentation/virt/kvm/
Dapi.txt93 Capability: which KVM extension provides this ioctl. Can be 'basic',
98 support this ioctl, there's no capability bit to check its
115 Capability: basic
131 Capability: basic
171 is dependent on the CPU capability and the kernel configuration. The limit can
175 Please note that configuring the IPA size does not affect the capability
183 Capability: basic, KVM_CAP_GET_MSR_FEATURES for KVM_GET_MSR_FEATURE_INDEX_LIST
218 Capability: basic, KVM_CAP_CHECK_EXTENSION_VM for vm ioctl
236 Capability: basic
249 Capability: basic
[all …]
/Linux-v5.4/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-v5.4/drivers/thunderbolt/
Dcap.c58 * When reading from next capability pointer location in port in tb_port_dummy_read()
92 * tb_port_find_cap() - Find port capability
93 * @port: Port to find the capability for
94 * @cap: Capability to look
96 * Returns offset to start of capability or %-ENOENT if no such
97 * capability was found. Negative errno is returned if there was an
138 * tb_switch_find_vse_cap() - Find switch vendor specific capability
139 * @sw: Switch to find the capability for
140 * @vsec: Vendor specific capability to look
143 * and returns offset when capability matching @vsec is found. If no
[all …]
Dtb_regs.h53 /* capability headers */
58 u8 cap; /* if cap == 0x05 then we have a extended capability */
62 * struct tb_cap_extended_short - Switch extended short capability
63 * @next: Pointer to the next capability. If @next and @length are zero
65 * @cap: Base capability ID (see &enum tb_switch_cap)
66 * @vsec_id: Vendor specific capability ID (see &enum switch_vse_cap)
67 * @length: Length of this capability
77 * struct tb_cap_extended_long - Switch extended long capability
79 * @cap: Base capability ID (see &enum tb_switch_cap)
80 * @vsec_id: Vendor specific capability ID (see &enum switch_vse_cap)
[all …]
/Linux-v5.4/Documentation/media/uapi/v4l/
Dvidioc-enum-freq-bands.rst48 This ioctl is supported if the ``V4L2_TUNER_CAP_FREQ_BANDS`` capability
81 - ``capability``
82 - :cspan:`2` The tuner/modulator capability flags for this
83 frequency band, see :ref:`tuner-capability`. The
84 ``V4L2_TUNER_CAP_LOW`` or ``V4L2_TUNER_CAP_1HZ`` capability must
86 tuner/modulator. So either all bands have that capability set, or
87 none of them have that capability.
91 if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units
93 ``capability`` flag ``V4L2_TUNER_CAP_1HZ`` is set.
97 or if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in
[all …]
Dvidioc-g-tuner.rst94 - ``capability``
97 Tuner capability flags, see :ref:`tuner-capability`. Audio flags
105 If multiple frequency bands are supported, then ``capability`` is
106 the union of all ``capability`` fields of each struct
111 if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in units
112 of 62.5 Hz, or if the ``capability`` flag ``V4L2_TUNER_CAP_1HZ``
119 or if the ``capability`` flag ``V4L2_TUNER_CAP_LOW`` is set, in
120 units of 62.5 Hz, or if the ``capability`` flag
157 ``_SAP`` flag is cleared in the ``capability`` field, the
220 .. _tuner-capability:
[all …]
Dvidioc-s-hw-freq-seek.rst51 :c:type:`v4l2_tuner` ``capability`` field has the
63 This ioctl is supported if the ``V4L2_CAP_HW_FREQ_SEEK`` capability is
97 ``capability`` field will tell you what the hardware supports.
107 :c:type:`v4l2_tuner` ``capability`` field has the
109 struct :c:type:`v4l2_tuner` ``capability`` field has
116 :c:type:`v4l2_tuner` ``capability`` field has the
118 struct :c:type:`v4l2_tuner` ``capability`` field has
/Linux-v5.4/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()
193 .capability = PCI_CAP_ID_PM,
197 .capability = PCI_CAP_ID_VPD,
/Linux-v5.4/drivers/staging/uwb/include/
Dumc.h11 * The radio controller is not strictly a UMC capability but it's
29 * that you have registered for that capability code.
45 * UMC capability IDs.
55 * struct umc_dev - UMC capability device
57 * @version: version of the specification this capability conforms to.
58 * @cap_id: capability ID.
75 * struct umc_driver - UMC capability driver
76 * @cap_id: supported capability ID.
77 * @match: driver specific capability matching function.
/Linux-v5.4/Documentation/media/
Dvideodev2.h.rst.exceptions145 # V4L2 capability defines
368 replace define V4L2_TUNER_CAP_LOW tuner-capability
369 replace define V4L2_TUNER_CAP_NORM tuner-capability
370 replace define V4L2_TUNER_CAP_HWSEEK_BOUNDED tuner-capability
371 replace define V4L2_TUNER_CAP_HWSEEK_WRAP tuner-capability
372 replace define V4L2_TUNER_CAP_STEREO tuner-capability
373 replace define V4L2_TUNER_CAP_LANG2 tuner-capability
374 replace define V4L2_TUNER_CAP_SAP tuner-capability
375 replace define V4L2_TUNER_CAP_LANG1 tuner-capability
376 replace define V4L2_TUNER_CAP_RDS tuner-capability
[all …]
/Linux-v5.4/arch/arm64/kernel/
Dcpu_errata.c79 * access on this CPU via the ARM64_HAS_CACHE_IDC capability. in has_mismatched_cache_type()
779 .capability = ARM64_WORKAROUND_CLEAN_CACHE,
788 .capability = ARM64_WORKAROUND_DEVICE_LOAD_ACQUIRE,
798 .capability = ARM64_WORKAROUND_834220,
807 .capability = ARM64_WORKAROUND_843419,
816 .capability = ARM64_WORKAROUND_845719,
824 .capability = ARM64_WORKAROUND_CAVIUM_23154,
831 .capability = ARM64_WORKAROUND_CAVIUM_27456,
838 .capability = ARM64_WORKAROUND_CAVIUM_30115,
844 .capability = ARM64_MISMATCHED_CACHE_TYPE,
[all …]
Dcpufeature.c557 if (WARN(caps->capability >= ARM64_NCAPS, in init_cpu_hwcaps_indirect_list_from_array()
558 "Invalid capability %d\n", caps->capability)) in init_cpu_hwcaps_indirect_list_from_array()
560 if (WARN(cpu_hwcaps_ptrs[caps->capability], in init_cpu_hwcaps_indirect_list_from_array()
561 "Duplicate entry for capability %d\n", in init_cpu_hwcaps_indirect_list_from_array()
562 caps->capability)) in init_cpu_hwcaps_indirect_list_from_array()
564 cpu_hwcaps_ptrs[caps->capability] = caps; in init_cpu_hwcaps_indirect_list_from_array()
1128 * unconditionally enable the capability to allow any late CPU in has_hw_dbm()
1140 * the DBM on, as the capability is unconditionally enabled. in has_hw_dbm()
1272 .capability = ARM64_HAS_SYSREG_GIC_CPUIF,
1283 .capability = ARM64_HAS_PAN,
[all …]
/Linux-v5.4/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:
153 /* debug capability contexts */
/Linux-v5.4/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()
402 if (dw_dev->capability & DW_I2S_MASTER) in dw_i2s_runtime_suspend()
411 if (dw_dev->capability & DW_I2S_MASTER) in dw_i2s_runtime_resume()
420 if (dev->capability & DW_I2S_MASTER) in dw_i2s_suspend()
429 if (dev->capability & DW_I2S_MASTER) in dw_i2s_resume()
490 if (dev->capability & DWC_I2S_RECORD && in dw_configure_dai()
[all …]
/Linux-v5.4/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)
228 * in Port VC Capability Register 2 then save/restore it next. in pci_vc_do_save_buffer()
271 * Table Offset in each VC Resource Capability Register tells us if in pci_vc_do_save_buffer()
272 * it exists. The entry size is global from the Port VC Capability in pci_vc_do_save_buffer()
350 * For each type of VC capability, VC/VC9/MFVC, find the capability and
387 * For each type of VC capability, VC/VC9/MFVC, find the capability and
411 * For each type of VC capability, VC/VC9/MFVC, find the capability, size
/Linux-v5.4/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-v5.4/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
339 to implement capability based overrides of that policy, this is
340 the capability it should use to do so. */
347 to implement capability based checks on modifications to that
349 capability it should use to do so. */
[all …]
Dpci_regs.h55 #define PCI_STATUS_CAP_LIST 0x10 /* Support Capability List */
119 #define PCI_CAPABILITY_LIST 0x34 /* Offset of first capability list entry */
205 /* Capability lists */
207 #define PCI_CAP_LIST_ID 0 /* Capability ID */
229 #define PCI_CAP_LIST_NEXT 1 /* Next capability in the list */
230 #define PCI_CAP_FLAGS 2 /* Capability defined flags (16 bits) */
267 #define PCI_AGP_RFU 3 /* Rest of capability flags */
310 #define PCI_MSI_RFU 3 /* Rest of capability flags */
320 /* MSI-X registers (in MSI-X capability) */
367 #define PCI_EA_NUM_ENT 2 /* Number of Capability Entries */
[all …]
/Linux-v5.4/Documentation/PCI/
Dpci-iov-howto.rst19 capability which makes one physical device appear as multiple virtual
23 registers encapsulated in the capability. By default, this feature is
34 How can I enable SR-IOV capability
39 enabling and disabling of the capability via API provided by SR-IOV core.
40 If the hardware has SR-IOV capability, loading its PF driver would
66 To enable SR-IOV capability:
79 To disable SR-IOV capability:
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
/Linux-v5.4/drivers/media/radio/si4713/
Dradio-platform-si4713.c59 struct v4l2_capability *capability) in radio_si4713_querycap() argument
61 strscpy(capability->driver, "radio-si4713", sizeof(capability->driver)); in radio_si4713_querycap()
62 strscpy(capability->card, "Silicon Labs Si4713 Modulator", in radio_si4713_querycap()
63 sizeof(capability->card)); in radio_si4713_querycap()
64 strscpy(capability->bus_info, "platform:radio-si4713", in radio_si4713_querycap()
65 sizeof(capability->bus_info)); in radio_si4713_querycap()

12345678910>>...69