Home
last modified time | relevance | path

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

12345678910>>...86

/linux-6.12.1/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 …]
/linux-6.12.1/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 …]
/linux-6.12.1/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()
474 .capability = ARM64_WORKAROUND_CLEAN_CACHE,
483 .capability = ARM64_WORKAROUND_DEVICE_LOAD_ACQUIRE,
493 .capability = ARM64_WORKAROUND_834220,
502 .capability = ARM64_WORKAROUND_843419,
511 .capability = ARM64_WORKAROUND_845719,
518 .capability = ARM64_WORKAROUND_CAVIUM_23154,
526 .capability = ARM64_WORKAROUND_CAVIUM_27456,
533 .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
1038 if (WARN(caps->capability >= ARM64_NCAPS, in init_cpucap_indirect_list_from_array()
1039 "Invalid capability %d\n", caps->capability)) in init_cpucap_indirect_list_from_array()
1041 if (WARN(cpucap_ptrs[caps->capability], in init_cpucap_indirect_list_from_array()
1042 "Duplicate entry for capability %d\n", in init_cpucap_indirect_list_from_array()
1043 caps->capability)) in init_cpucap_indirect_list_from_array()
1045 cpucap_ptrs[caps->capability] = caps; in init_cpucap_indirect_list_from_array()
2039 * unconditionally enable the capability to allow any late CPU in has_hw_dbm()
2090 * the capability to allow any late CPU to use the feature. in has_amu()
[all …]
/linux-6.12.1/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
108 * profile_capable - test if profile allows use of capability @cap
110 * @cap: capability to test if allowed
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/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 */
46 /* USB Legacy Support Capability - section 7.1.1 */
50 /* USB Legacy Support Capability - section 7.1.1 */
61 /* USB 2.0 xHCI 0.96 L1C capability - section 7.2.2.1.3.2 */
64 /* USB 2.0 xHCI 1.0 hardware LMP capability - section 7.2.2.1.3.2 */
68 /* Intel SPR shadow capability */
89 * @revision: major revision, minor revision, capability ID,
[all …]
Dxhci-caps.h48 /* true: HC has Light HC Reset Capability */
56 /* true: HC has Contiguous Frame ID Capability */
72 /* true: HC supports U3 entry Capability */
76 /* true: HC supports Force Save context Capability */
78 /* true: HC supports Compliance Transition Capability */
80 /* true: HC support Large ESIT payload Capability > 48k */
82 /* true: HC support Configuration Information Capability */
84 /* true: HC support Extended TBC Capability, Isoc burst count > 65535 */
/linux-6.12.1/arch/arm64/include/asm/
Dcpufeature.h123 * Each capability has the following list of attributes :
125 * 1) Scope of Detection : The system detects a given capability by
128 * model. The capability provides a call back ( @matches() ) to
135 * capability is finalised. (See section 2 below)
139 * system decides to finalise the state of the capability. If the
140 * capability relies on a field in one of the CPU ID feature
149 * The process of detection is usually denoted by "update" capability
153 * capability at some point during its execution and take necessary
160 * changes to the state of a capability once it finalises the capability
162 * safely. A CPU brought up after a capability is "finalised" is
[all …]
/linux-6.12.1/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-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
Dmlx5hws_cmd.c1029 capability.cmd_hca_cap.wqe_based_flow_table_update_cap); in mlx5hws_cmd_query_caps()
1032 capability.cmd_hca_cap.eswitch_manager); in mlx5hws_cmd_query_caps()
1035 capability.cmd_hca_cap.flex_parser_protocols); in mlx5hws_cmd_query_caps()
1040 capability.cmd_hca_cap.flex_parser_id_geneve_tlv_option_0); in mlx5hws_cmd_query_caps()
1045 capability.cmd_hca_cap.flex_parser_id_outer_first_mpls_over_gre); in mlx5hws_cmd_query_caps()
1050 capability.cmd_hca_cap.flex_parser_id_outer_first_mpls_over_udp_label); in mlx5hws_cmd_query_caps()
1054 capability.cmd_hca_cap.log_header_modify_argument_granularity); in mlx5hws_cmd_query_caps()
1058 capability.cmd_hca_cap.log_header_modify_argument_granularity_offset); in mlx5hws_cmd_query_caps()
1062 capability.cmd_hca_cap.log_header_modify_argument_max_alloc); in mlx5hws_cmd_query_caps()
1066 capability.cmd_hca_cap.match_definer_format_supported); in mlx5hws_cmd_query_caps()
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/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
180 RoCE capability setup
182 Not all PCI VFs/SFs require RoCE capability.
184 When RoCE capability is disabled, it saves system memory per PCI VF/SF.
186 When user disables RoCE capability for a VF/SF, user application cannot send or
190 When RoCE capability is disabled in the device using port function attribute,
193 - Get RoCE capability of the VF device::
200 - Set RoCE capability of the VF device::
[all …]
/linux-6.12.1/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;
/linux-6.12.1/Documentation/virt/kvm/
Dapi.rst96 Capability:
102 support this ioctl, there's no capability bit to check its
124 :Capability: basic
141 :Capability: basic
194 is dependent on the CPU capability and the kernel configuration. The limit can
201 Please note that configuring the IPA size does not affect the capability
210 :Capability: basic, KVM_CAP_GET_MSR_FEATURES for KVM_GET_MSR_FEATURE_INDEX_LIST
252 :Capability: basic, KVM_CAP_CHECK_EXTENSION_VM for vm ioctl
271 :Capability: basic
297 :Capability: basic
[all …]
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dipsec.c31 hca_cap = MLX5_ADDR_OF(query_hca_cap_out, query_cap, capability); in esw_ipsec_vf_query_generic()
71 hca_cap = MLX5_ADDR_OF(query_hca_cap_out, query_cap, capability); in mlx5_esw_ipsec_vf_offload_get()
102 cap = MLX5_ADDR_OF(set_hca_cap_in, hca_cap, capability); in esw_ipsec_vf_set_generic()
103 memcpy(cap, MLX5_ADDR_OF(query_hca_cap_out, query_cap, capability), in esw_ipsec_vf_set_generic()
142 cap = MLX5_ADDR_OF(set_hca_cap_in, hca_cap, capability); in esw_ipsec_vf_set_bytype()
143 memcpy(cap, MLX5_ADDR_OF(query_hca_cap_out, query_cap, capability), in esw_ipsec_vf_set_bytype()
190 cap = MLX5_ADDR_OF(set_hca_cap_in, hca_cap, capability); in esw_ipsec_vf_crypto_aux_caps_set()
191 memcpy(cap, MLX5_ADDR_OF(query_hca_cap_out, query_cap, capability), in esw_ipsec_vf_crypto_aux_caps_set()
275 hca_cap = MLX5_ADDR_OF(query_hca_cap_out, query_cap, capability); in esw_ipsec_offload_supported()
285 /* Old firmware doesn't support ipsec_offload capability for VFs. This in mlx5_esw_ipsec_vf_offload_supported()
[all …]
/linux-6.12.1/drivers/misc/pvpanic/
Dpvpanic.c37 unsigned int capability; member
55 if (event & pi_cur->capability & pi_cur->events) in pvpanic_send_event()
137 return sysfs_emit(buf, "%x\n", pi->capability); in capability_show()
139 static DEVICE_ATTR_RO(capability);
159 if ((tmp & pi->capability) != tmp) in events_store()
197 pi->capability = PVPANIC_PANICKED | PVPANIC_CRASH_LOADED | PVPANIC_SHUTDOWN; in devm_pvpanic_probe()
199 /* initlize capability by RDPT */ in devm_pvpanic_probe()
200 pi->capability &= ioread8(base); in devm_pvpanic_probe()
201 pi->events = pi->capability; in devm_pvpanic_probe()
/linux-6.12.1/drivers/crypto/ccp/
Dhsti.c28 return sysfs_emit(buf, "%d\n", psp->capability.name); \
66 if (psp && psp->capability.security_reporting) in psp_security_is_visible()
83 if (psp->capability.security_reporting) in psp_poulate_hsti()
103 psp->capability.security_reporting = 1; in psp_poulate_hsti()
104 psp->capability.raw |= req->hsti << PSP_CAPABILITY_PSP_SECURITY_OFFSET; in psp_poulate_hsti()
127 if (!psp->capability.security_reporting) in psp_init_hsti()
130 if (psp->capability.tsme_status) { in psp_init_hsti()
/linux-6.12.1/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()
281 .capability = PCI_CAP_ID_PM,
285 .capability = PCI_CAP_ID_VPD,
289 .capability = PCI_CAP_ID_MSI,
293 .capability = PCI_CAP_ID_MSIX,
/linux-6.12.1/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-6.12.1/Documentation/userspace-api/media/
Dvideodev2.h.rst.exceptions169 # V4L2 capability defines
404 replace define V4L2_TUNER_CAP_LOW tuner-capability
405 replace define V4L2_TUNER_CAP_NORM tuner-capability
406 replace define V4L2_TUNER_CAP_HWSEEK_BOUNDED tuner-capability
407 replace define V4L2_TUNER_CAP_HWSEEK_WRAP tuner-capability
408 replace define V4L2_TUNER_CAP_STEREO tuner-capability
409 replace define V4L2_TUNER_CAP_LANG2 tuner-capability
410 replace define V4L2_TUNER_CAP_SAP tuner-capability
411 replace define V4L2_TUNER_CAP_LANG1 tuner-capability
412 replace define V4L2_TUNER_CAP_RDS tuner-capability
[all …]
/linux-6.12.1/drivers/net/wwan/iosm/
Diosm_ipc_flash.h35 /* SWID capability for packed swid type */
109 * enum iosm_ebl_caps - EBL capability settings
110 * @IOSM_CAP_NOT_ENHANCED: If capability not supported
111 * @IOSM_CAP_USE_EXT_CAP: To be set if extended capability is set
112 * @IOSM_EXT_CAP_ERASE_ALL: Set Erase all capability
113 * @IOSM_EXT_CAP_COMMIT_ALL: Set the commit all capability
124 * @EBL_CAPS_FLAG: EBL capability flag
127 * @EBL_EXT_CAPS_HANDLED: EBL extended capability handled flag
/linux-6.12.1/Documentation/driver-api/media/drivers/ccs/
Dccs-regs.asc535 # data pedestal capability registers
538 # adc capability registers
561 # video timing set-up capability registers
598 # output clock set-up capability registers
712 # usl capability register
735 # image compression capability registers
739 # test mode capability registers
757 # fifo capability registers
763 # csi-2 capability registers
928 # binning capability registers
[all …]

12345678910>>...86