/linux/drivers/thunderbolt/ |
H A D | cap.c | 50 * 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 …]
|
H A D | tb_regs.h | 60 /* capability headers */ 65 u8 cap; /* if cap == 0x05 then we have a extended capability */ 69 * struct tb_cap_extended_short - Switch extended short capability 70 * @next: Pointer to the next capability. If @next and @length are zero 72 * @cap: Base capability ID (see &enum tb_switch_cap) 73 * @vsec_id: Vendor specific capability ID (see &enum switch_vse_cap) 74 * @length: Length of this capability 84 * struct tb_cap_extended_long - Switch extended long capability 86 * @cap: Base capability ID (see &enum tb_switch_cap) 87 * @vsec_id: Vendor specific capability ID (see &enum switch_vse_cap) [all …]
|
/linux/kernel/ |
H A D | capability.c | 3 * linux/kernel/capability.c 14 #include <linux/capability.h> 46 * Version 2 capabilities worked fine, but the linux/capability.h file 68 * Version check. Return the number of u32s in each capability flag in warn_deprecated_v2() 130 * @header: pointer to struct that contains capability version and in cap_get_target_pid() 162 * capability values up. in SYSCALL_DEFINE2() 172 * implementations implicitly drop upper capability in SYSCALL_DEFINE2() 200 * @header: pointer to struct that contains capability version and in mk_kernel_cap() 266 * has_ns_capability - Does a task have a capability in a specific user ns in SYSCALL_DEFINE2() 269 * @cap: The capability t [all...] |
/linux/arch/arm64/kernel/ |
H A D | cpu_errata.c | 79 * 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 [all...] |
H A D | cpufeature.c | 26 * 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 1070 if (WARN(caps->capability >= ARM64_NCAPS, in init_cpucap_indirect_list_from_array() 1071 "Invalid capability %d\n", caps->capability)) in init_cpucap_indirect_list_from_array() 1073 if (WARN(cpucap_ptrs[caps->capability], in init_cpucap_indirect_list_from_array() 1074 "Duplicate entry for capability %d\n", in init_cpucap_indirect_list_from_array() 1075 caps->capability)) in init_cpucap_indirect_list_from_array() 1077 cpucap_ptrs[caps->capability] = caps; in init_cpucap_indirect_list_from_array() 2071 * unconditionally enable the capability to allow any late CPU in has_hw_dbm() 2122 * the capability to allow any late CPU to use the feature. in has_amu() [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-class-usb_power_delivery | 41 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/arch/arm64/include/asm/ |
H A D | cpufeature.h | 123 * 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/drivers/usb/host/ |
H A D | xhci-ext-caps.h | 18 /* 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 …]
|
H A D | xhci-caps.h | 48 /* 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 */ 86 /* true: HC support Extended TBC TRB Status Capability */ 88 /* true: HC support Get/Set Extended Property Capability */ [all...] |
/linux/Documentation/userspace-api/media/v4l/ |
H A D | vidioc-enum-freq-bands.rst | 40 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 …]
|
H A D | vidioc-g-tuner.rst | 86 - ``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 …]
|
/linux/Documentation/networking/devlink/ |
H A D | devlink-port.rst | 125 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/Documentation/networking/device_drivers/ethernet/mellanox/mlx5/ |
H A D | switchdev.rst | 175 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/Documentation/virt/kvm/ |
H A D | api.rst | 108 Capability: 135 :Capability: basic 152 :Capability: basic 205 is dependent on the CPU capability and the kernel configuration. The limit can 212 Please note that configuring the IPA size does not affect the capability 221 :Capability: basic, KVM_CAP_GET_MSR_FEATURES for KVM_GET_MSR_FEATURE_INDEX_LIST 265 :Capability: basic, KVM_CAP_CHECK_EXTENSION_VM for vm ioctl 284 :Capability: basic 310 :Capability: basic 338 same partition.) The KVM_CAP_PPC_SMT capability indicates the number [all …]
|
/linux/include/linux/platform_data/ |
H A D | mlxreg.h | 19 * 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/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | ipsec.c | 31 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/drivers/crypto/ccp/ |
H A D | hsti.c | 28 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/drivers/xen/xen-pciback/ |
H A D | conf_space_capability.c | 3 * 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/Documentation/userspace-api/media/ |
H A D | videodev2.h.rst.exceptions | 169 # V4L2 capability defines 405 replace define V4L2_TUNER_CAP_LOW tuner-capability 406 replace define V4L2_TUNER_CAP_NORM tuner-capability 407 replace define V4L2_TUNER_CAP_HWSEEK_BOUNDED tuner-capability 408 replace define V4L2_TUNER_CAP_HWSEEK_WRAP tuner-capability 409 replace define V4L2_TUNER_CAP_STEREO tuner-capability 410 replace define V4L2_TUNER_CAP_LANG2 tuner-capability 411 replace define V4L2_TUNER_CAP_SAP tuner-capability 412 replace define V4L2_TUNER_CAP_LANG1 tuner-capability 413 replace define V4L2_TUNER_CAP_RDS tuner-capability [all …]
|
/linux/drivers/usb/early/ |
H A D | xhci-dbc.h | 3 * 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/Documentation/driver-api/media/drivers/ccs/ |
H A D | ccs-regs.asc | 535 # 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 …]
|
/linux/Documentation/admin-guide/ |
H A D | perf-security.rst | 69 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 So unprivileged processes provided with CAP_SYS_PTRACE capability are 92 CAP_SYS_PTRACE capability is not required and CAP_PERFMON is enough to 99 CAP_SYSLOG capability permits reading kernel space memory addresses from 105 Mechanisms of capabilities, privileged capability-dumb files [6]_, 176 and other required capabilities into ambient capability set of the shell 198 in permitted, effective and ambient capability sets of an inherent process: 217 governed by CAP_PERFMON Linux capability. [all …]
|
/linux/security/ |
H A D | commoncap.c | 2 /* Common capabilities, needed by capability.o. 5 #include <linux/capability.h> 31 #include <trace/events/capability.h> 57 * capability. 61 * @cap: The capability to check for 63 * Determine whether the nominated task has the specified capability amongst 75 /* See if cred has the capability in the target user namespace in cap_capable_helper() 99 * If you have a capability in a parent user ns, then you have in cap_capable_helper() 109 * cap_capable - Determine whether a task has a particular effective capability 112 * @cap: The capability to check for [all …]
|
/linux/drivers/net/wwan/iosm/ |
H A D | iosm_ipc_flash.h | 35 /* 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/drivers/pci/ |
H A D | vc.c | 43 * @pos: starting position of VC capability (VC/VC9/MFVC) 66 * @pos: starting position of VC capability (VC/VC9/MFVC) 94 * @pos: starting position of VC capability (VC/VC9/MFVC) 174 * @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
|