Home
last modified time | relevance | path

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

12345678910>>...139

/kernel/linux/linux-6.6/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 …]
/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 …]
/kernel/linux/linux-6.6/kernel/
Dcapability.c3 * linux/kernel/capability.c
14 #include <linux/capability.h>
48 * Version 2 capabilities worked fine, but the linux/capability.h file
72 * Version check. Return the number of u32s in each capability flag
134 * @header: pointer to struct that contains capability version and
166 * capability values up. in SYSCALL_DEFINE2()
176 * implementations implicitly drop upper capability in SYSCALL_DEFINE2()
204 * @header: pointer to struct that contains capability version and
270 * has_ns_capability - Does a task have a capability in a specific user ns
273 * @cap: The capability to be tested for
[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-6.6/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()
490 .capability = ARM64_WORKAROUND_CLEAN_CACHE,
499 .capability = ARM64_WORKAROUND_DEVICE_LOAD_ACQUIRE,
509 .capability = ARM64_WORKAROUND_834220,
518 .capability = ARM64_WORKAROUND_843419,
527 .capability = ARM64_WORKAROUND_845719,
534 .capability = ARM64_WORKAROUND_CAVIUM_23154,
542 .capability = ARM64_WORKAROUND_CAVIUM_27456,
549 .capability = ARM64_WORKAROUND_CAVIUM_30115,
[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-6.6/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
110 * profile_capable - test if profile allows use of capability @cap
112 * @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-6.6/arch/arm64/include/asm/
Dcpufeature.h121 * Each capability has the following list of attributes :
123 * 1) Scope of Detection : The system detects a given capability by
126 * model. The capability provides a call back ( @matches() ) to
133 * capability is finalised. (See section 2 below)
137 * system decides to finalise the state of the capability. If the
138 * capability relies on a field in one of the CPU ID feature
147 * The process of detection is usually denoted by "update" capability
151 * capability at some point during its execution and take necessary
158 * changes to the state of a capability once it finalises the capability
160 * 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-6.6/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-6.6/Documentation/ABI/testing/
Dsysfs-class-usb_power_delivery41 The sink capability message "Sink_Capabilities" contains a set
46 The order of the objects in the sink capability message is the
51 What: /sys/class/usb_power_delivery/.../<capability>/<position>:fixed_supply
65 What: /sys/class/usb_power_delivery/.../<capability>/1:fixed_supply/dual_role_power
85 This file shows the value of the Higher capability bit in
90 What: /sys/class/usb_power_delivery/.../<capability>/1:fixed_supply/unconstrained_power
99 What: /sys/class/usb_power_delivery/.../<capability>/1:fixed_supply/usb_communication_capable
106 What: /sys/class/usb_power_delivery/.../<capability>/1:fixed_supply/dual_role_data
114 What: /sys/class/usb_power_delivery/.../<capability>/1:fixed_supply/unchunked_extended_messages_su…
121 What: /sys/class/usb_power_delivery/.../<capability>/<position>:fixed_supply/voltage
[all …]
/kernel/linux/linux-6.6/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/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-6.6/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 …]
/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 …]
/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-6.6/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/
Dswitchdev.rst175 RoCE capability setup
177 Not all mlx5 PCI devices/SFs require RoCE capability.
179 When RoCE capability is disabled, it saves 1 Mbytes worth of system memory per
183 capability. (refer to Documentation/networking/devlink/devlink-port.rst)
185 migratable capability setup
188 explicitly enable the VF migratable capability.
191 capability. (refer to Documentation/networking/devlink/devlink-port.rst)
193 IPsec crypto capability setup
196 to explicitly enable the VF ipsec_crypto capability. Enabling IPsec capability
198 IPsec capability enabled, any IPsec offloading is blocked on the PF.
[all …]
/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-6.6/Documentation/networking/devlink/
Ddevlink-port.rst125 Users may also set the RoCE capability of the function using
131 Users may also set the IPsec crypto capability of the function using
134 Users may also set the IPsec packet capability of the function using
177 RoCE capability setup
179 Not all PCI VFs/SFs require RoCE capability.
181 When RoCE capability is disabled, it saves system memory per PCI VF/SF.
183 When user disables RoCE capability for a VF/SF, user application cannot send or
187 When RoCE capability is disabled in the device using port function attribute,
190 - Get RoCE capability of the VF device::
197 - Set RoCE capability of the VF device::
[all …]
/kernel/linux/linux-6.6/include/linux/platform_data/
Dmlxreg.h19 * TYPE3 is selected by WD capability bit.
120 * @capability: attribute capability register;
140 u32 capability; member
164 * @capability: group capability register;
177 u32 capability; member
194 * @capability: device capability register;
203 u32 capability; member
209 * @items: same type components with the hotplug capability;
212 * @counter: number of the components with the hotplug capability;
/kernel/linux/linux-6.6/drivers/misc/pvpanic/
Dpvpanic.c32 unsigned int capability; member
49 if (event & pi_cur->capability & pi_cur->events) in pvpanic_send_event()
96 return sysfs_emit(buf, "%x\n", pi->capability); in capability_show()
98 static DEVICE_ATTR_RO(capability);
118 if ((tmp & pi->capability) != tmp) in events_store()
155 pi->capability = PVPANIC_PANICKED | PVPANIC_CRASH_LOADED; in devm_pvpanic_probe()
157 /* initlize capability by RDPT */ in devm_pvpanic_probe()
158 pi->capability &= ioread8(base); in devm_pvpanic_probe()
159 pi->events = pi->capability; in devm_pvpanic_probe()

12345678910>>...139