/linux/drivers/gpu/drm/panfrost/ |
H A D | panfrost_gpu.c | 157 pfdev->features.revision >= 0x2000) in panfrost_gpu_init_quirks() 160 pfdev->features.coherency_features == COHERENCY_ACE) in panfrost_gpu_init_quirks() 180 u64 features; member 192 .features = hw_features_##_name, \ 254 pfdev->features.l2_features = gpu_read(pfdev, GPU_L2_FEATURES); in panfrost_gpu_init_features() 255 pfdev->features.core_features = gpu_read(pfdev, GPU_CORE_FEATURES); in panfrost_gpu_init_features() 256 pfdev->features.tiler_features = gpu_read(pfdev, GPU_TILER_FEATURES); in panfrost_gpu_init_features() 257 pfdev->features.mem_features = gpu_read(pfdev, GPU_MEM_FEATURES); in panfrost_gpu_init_features() 258 pfdev->features.mmu_features = gpu_read(pfdev, GPU_MMU_FEATURES); in panfrost_gpu_init_features() 259 pfdev->features.thread_features = gpu_read(pfdev, GPU_THREAD_FEATURES); in panfrost_gpu_init_features() [all …]
|
/linux/fs/btrfs/ |
H A D | fs.c | 141 u64 features; in __btrfs_set_fs_incompat() local 144 features = btrfs_super_incompat_flags(disk_super); in __btrfs_set_fs_incompat() 145 if (!(features & flag)) { in __btrfs_set_fs_incompat() 147 features = btrfs_super_incompat_flags(disk_super); in __btrfs_set_fs_incompat() 148 if (!(features & flag)) { in __btrfs_set_fs_incompat() 149 features |= flag; in __btrfs_set_fs_incompat() 150 btrfs_set_super_incompat_flags(disk_super, features); in __btrfs_set_fs_incompat() 164 u64 features; in __btrfs_clear_fs_incompat() local 167 features = btrfs_super_incompat_flags(disk_super); in __btrfs_clear_fs_incompat() 168 if (features & flag) { in __btrfs_clear_fs_incompat() [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | clock.c | 78 * ti_clk_init_features - init clock features struct for the SoC 80 * Initializes the clock features struct based on the SoC type. 84 struct ti_clk_features features = { 0 }; in ti_clk_init_features() local 87 features.fint_min = OMAP3430_DPLL_FINT_BAND1_MIN; in ti_clk_init_features() 88 features.fint_max = OMAP3430_DPLL_FINT_BAND2_MAX; in ti_clk_init_features() 89 features.fint_band1_max = OMAP3430_DPLL_FINT_BAND1_MAX; in ti_clk_init_features() 90 features.fint_band2_min = OMAP3430_DPLL_FINT_BAND2_MIN; in ti_clk_init_features() 92 features.fint_min = OMAP3PLUS_DPLL_FINT_MIN; in ti_clk_init_features() 93 features.fint_max = OMAP3PLUS_DPLL_FINT_MAX; in ti_clk_init_features() 98 features.dpll_bypass_vals |= in ti_clk_init_features() [all …]
|
/linux/drivers/hid/ |
H A D | wacom_sys.c | 108 struct wacom_features *features = &wacom_wac->features; in wacom_wac_pen_serial_enforce() local 113 if (wacom_wac->serial[0] || !(features->quirks & WACOM_QUIRK_TOOLSERIAL)) in wacom_wac_pen_serial_enforce() 176 if (wacom->wacom_wac.features.type == BOOTLOADER) in wacom_raw_event() 228 struct wacom_features *features = &wacom->wacom_wac.features; in wacom_hid_usage_quirk() local 250 if (features->type == HID_GENERIC && in wacom_hid_usage_quirk() 286 features->quirks |= WACOM_QUIRK_AESPEN; in wacom_hid_usage_quirk() 311 struct wacom_features *features = &wacom->wacom_wac.features; in wacom_feature_mapping() local 326 if (!features->touch_max) { in wacom_feature_mapping() 335 if (ret == n && features->type == HID_GENERIC) { in wacom_feature_mapping() 338 } else if (ret == 2 && features->type != HID_GENERIC) { in wacom_feature_mapping() [all …]
|
H A D | wacom_wac.c | 117 bool has_quirk = wacom_wac->features.quirks & WACOM_QUIRK_BATTERY; in wacom_notify_battery() 172 struct wacom_features *features = &wacom->features; in wacom_pl_irq() local 210 if (features->pressure_max > 255) in wacom_pl_irq() 212 pressure += (features->pressure_max + 1) / 2; in wacom_pl_irq() 343 struct wacom_features *features = &wacom->features; in wacom_graphire_irq() local 352 if (features->type == GRAPHIRE_BT) { in wacom_graphire_irq() 393 if (features->type == GRAPHIRE_BT) in wacom_graphire_irq() 405 if (features->type == WACOM_G4 || in wacom_graphire_irq() 406 features->type == WACOM_MO) { in wacom_graphire_irq() 409 } else if (features->type == GRAPHIRE_BT) { in wacom_graphire_irq() [all …]
|
/linux/Documentation/arch/x86/ |
H A D | xstate.rst | 1 Using XSTATE features in user space applications 6 evaluate which features have been enabled by the kernel XCR0. 8 Up to AVX-512 and PKRU states, these features are automatically enabled by 9 the kernel if available. Features like AMX TILE_DATA (XSTATE component 18) 14 The purpose for dynamic features 25 size of 2KB with existing applications is too small for new CPU features 30 Using dynamically enabled XSTATE features in user space applications 34 request the usage of such features. The arch_prctl(2) options related to 39 arch_prctl(ARCH_GET_XCOMP_SUPP, &features); 41 ARCH_GET_XCOMP_SUPP stores the supported features in userspace storage of [all …]
|
H A D | shstk.rst | 11 features that provide protection against control flow hijacking attacks. CET 37 At run time, /proc/cpuinfo shows CET features if the processor supports 51 or loaders must enable CET features using the interface described in section 4. 58 Elf features should be enabled by the loader using the below arch_prctl's. They 59 are only supported in 64 bit user applications. These operate on the features 72 arch_prctl(ARCH_SHSTK_LOCK, unsigned long features) 73 Lock in features at their current enabled or disabled status. 'features' 74 is a mask of all features to lock. All bits set are processed, unset bits 78 arch_prctl(ARCH_SHSTK_UNLOCK, unsigned long features) 79 Unlock features. 'features' is a mask of all features to unlock. All [all …]
|
/linux/drivers/gpu/drm/msm/disp/dpu1/catalog/ |
H A D | dpu_5_3_sm6150.h | 23 .features = 0, 38 .features = BIT(DPU_CTL_ACTIVE_CFG), 43 .features = BIT(DPU_CTL_ACTIVE_CFG), 48 .features = BIT(DPU_CTL_ACTIVE_CFG), 53 .features = BIT(DPU_CTL_ACTIVE_CFG), 58 .features = BIT(DPU_CTL_ACTIVE_CFG), 63 .features = BIT(DPU_CTL_ACTIVE_CFG), 72 .features = VIG_SDM845_MASK_SDMA, 80 .features = DMA_SDM845_MASK_SDMA, 88 .features = DMA_SDM845_MASK_SDMA, [all …]
|
H A D | dpu_1_7_msm8996.h | 25 .features = BIT(DPU_MDP_VSYNC_SEL), 66 .features = VIG_MSM8996_MASK, 74 .features = VIG_MSM8996_MASK, 82 .features = VIG_MSM8996_MASK, 90 .features = VIG_MSM8996_MASK, 98 .features = RGB_MSM8996_MASK, 106 .features = RGB_MSM8996_MASK, 114 .features = RGB_MSM8996_MASK, 122 .features = RGB_MSM8996_MASK, 130 .features = DMA_MSM8996_MASK, [all …]
|
H A D | dpu_3_2_sdm660.h | 25 .features = BIT(DPU_MDP_VSYNC_SEL), 40 .features = BIT(DPU_CTL_SPLIT_DISPLAY), 49 .features = BIT(DPU_CTL_SPLIT_DISPLAY), 66 .features = VIG_MSM8998_MASK, 74 .features = VIG_MSM8998_MASK, 82 .features = DMA_MSM8998_MASK, 90 .features = DMA_MSM8998_MASK, 98 .features = DMA_CURSOR_MSM8998_MASK, 110 .features = MIXER_MSM8998_MASK, 118 .features = MIXER_MSM8998_MASK, [all …]
|
H A D | dpu_3_3_sdm630.h | 25 .features = BIT(DPU_MDP_VSYNC_SEL), 39 .features = BIT(DPU_CTL_SPLIT_DISPLAY), 48 .features = BIT(DPU_CTL_SPLIT_DISPLAY), 65 .features = VIG_MSM8998_MASK, 73 .features = DMA_MSM8998_MASK, 81 .features = DMA_MSM8998_MASK, 89 .features = DMA_CURSOR_MSM8998_MASK, 101 .features = MIXER_MSM8998_MASK, 108 .features = MIXER_MSM8998_MASK, 118 .features = BIT(DPU_PINGPONG_DITHER), [all …]
|
/linux/Documentation/devicetree/bindings/powerpc/ |
H A D | ibm,powerpc-cpu-features.txt | 3 (skiboot/doc/device-tree/ibm,powerpc-cpu-features/binding.txt) 5 There is more complete overview and documentation of features in that 9 ibm,powerpc-cpu-features binding 12 This device tree binding describes CPU features available to software, with 16 found in design.txt, which also points to documentation of specific features. 19 /cpus/ibm,powerpc-cpu-features node binding 22 Node: ibm,powerpc-cpu-features 26 The node name must be "ibm,powerpc-cpu-features". 38 Definition: "ibm,powerpc-cpu-features" 66 /cpus/ibm,powerpc-cpu-features/example-feature node bindings [all …]
|
/linux/net/core/ |
H A D | gso.c | 10 * @features: features for the output path (see dev->features) 14 netdev_features_t features, __be16 type) in skb_eth_gso_segment() argument 22 segs = ptype->callbacks.gso_segment(skb, features); in skb_eth_gso_segment() 35 * @features: features for the output path (see dev->features) 38 netdev_features_t features) in skb_mac_gso_segment() argument 53 segs = ptype->callbacks.gso_segment(skb, features); in skb_mac_gso_segment() 78 * @features: features for the output path (see dev->features) 89 netdev_features_t features, bool tx_path) in __skb_gso_segment() argument 106 if (features & NETIF_F_GSO_PARTIAL) { in __skb_gso_segment() 110 partial_features |= dev->features & dev->gso_partial_features; in __skb_gso_segment() [all …]
|
/linux/arch/powerpc/kernel/ |
H A D | kvm.c | 405 u32 *features = data; in kvm_map_magic_page() local 415 *features = out[0]; in kvm_map_magic_page() 418 static void __init kvm_check_ins(u32 *inst, u32 features) in kvm_check_ins() argument 460 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 464 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 468 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 472 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 476 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 480 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() 484 if (features & KVM_MAGIC_FEAT_MAS0_TO_SPRG7) in kvm_check_ins() [all …]
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_flows.c | 390 req->features = BIT_ULL(NPC_DMAC); in otx2_do_add_macfilter() 556 req->features |= BIT_ULL(NPC_SIP_IPV4); in otx2_prepare_ipv4_flow() 563 req->features |= BIT_ULL(NPC_DIP_IPV4); in otx2_prepare_ipv4_flow() 568 req->features |= BIT_ULL(NPC_TOS); in otx2_prepare_ipv4_flow() 573 req->features |= BIT_ULL(NPC_IPPROTO_ICMP); in otx2_prepare_ipv4_flow() 576 req->features |= BIT_ULL(NPC_IPPROTO_TCP); in otx2_prepare_ipv4_flow() 579 req->features |= BIT_ULL(NPC_IPPROTO_UDP); in otx2_prepare_ipv4_flow() 582 req->features |= BIT_ULL(NPC_IPPROTO_SCTP); in otx2_prepare_ipv4_flow() 585 req->features |= BIT_ULL(NPC_IPPROTO_AH); in otx2_prepare_ipv4_flow() 588 req->features |= BIT_ULL(NPC_IPPROTO_ESP); in otx2_prepare_ipv4_flow() [all …]
|
/linux/drivers/input/touchscreen/ |
H A D | wacom_i2c.c | 58 struct wacom_features *features) in wacom_query_device() argument 93 features->x_max = get_unaligned_le16(&data[3]); in wacom_query_device() 94 features->y_max = get_unaligned_le16(&data[5]); in wacom_query_device() 95 features->pressure_max = get_unaligned_le16(&data[11]); in wacom_query_device() 96 features->fw_version = get_unaligned_le16(&data[13]); in wacom_query_device() 100 features->x_max, features->y_max, in wacom_query_device() 101 features->pressure_max, features->fw_version); in wacom_query_device() 170 struct wacom_features features = { 0 }; in wacom_i2c_probe() local 178 error = wacom_query_device(client, &features); in wacom_i2c_probe() 197 input->id.version = features.fw_version; in wacom_i2c_probe() [all …]
|
/linux/Documentation/trace/coresight/ |
H A D | coresight-config.rst | 29 Features section in Basic Concepts 46 the device itself is enabled. When the device is enabled then enabled features 76 A configuration defines a set of features that are to be used in a trace 80 The features defined may be on any type of device that is registered 81 to support system configuration. A configuration may select features to be 86 This will define the features that must be enabled as part of the configuration 94 Preset values are easily selectable sets of parameter values for the features 96 the sum of parameter values in the features used by the configuration. 98 e.g. a configuration consists of 3 features, one has 2 parameters, one has 133 Viewing Configurations and Features [all …]
|
/linux/Documentation/virt/kvm/arm/ |
H A D | vcpu-features.rst | 8 the CPU features presented to the guest. 14 (``struct kvm_vcpu_init::features``). Features enabled by this interface are 16 documentation of the features controlled by the ioctl. 18 Otherwise, all CPU features supported by KVM are described by the architected 25 of architectural features supported by the CPU implementation. KVM initializes 26 the guest's ID registers to the maximum set of CPU features supported by the 30 KVM allows userspace to *opt-out* of certain CPU features described by the ID 38 Userspace is allowed to *limit* or *mask* CPU features according to the rules
|
/linux/arch/arm/mm/ |
H A D | cache-tauros2.c | 180 static void enable_extra_feature(unsigned int features) in enable_extra_feature() argument 186 if (features & CACHE_TAUROS2_PREFETCH_ON) in enable_extra_feature() 191 (features & CACHE_TAUROS2_PREFETCH_ON) in enable_extra_feature() 194 if (features & CACHE_TAUROS2_LINEFILL_BURST8) in enable_extra_feature() 199 (features & CACHE_TAUROS2_LINEFILL_BURST8) in enable_extra_feature() 205 static void __init tauros2_internal_init(unsigned int features) in tauros2_internal_init() argument 209 enable_extra_feature(features); in tauros2_internal_init() 217 * located in the CPU Extra Features register. in tauros2_internal_init() 282 void __init tauros2_init(unsigned int features) in tauros2_init() argument 293 ret = of_property_read_u32(node, "marvell,tauros2-cache-features", &f); in tauros2_init() [all …]
|
/linux/drivers/platform/cznic/ |
H A D | turris-omnia-mcu-base.c | 112 return sysfs_emit(buf, "0x%x\n", mcu->features); in fw_features_show() 188 !(mcu->features & OMNIA_FEAT_BOARD_INFO)) in omnia_mcu_base_attrs_visible() 253 } features[] = { in omnia_mcu_read_features() local 281 /* try read 32-bit features */ in omnia_mcu_read_features() 283 &mcu->features); in omnia_mcu_read_features() 285 /* try read 16-bit features */ in omnia_mcu_read_features() 293 mcu->features = features16; in omnia_mcu_read_features() 295 if (mcu->features & OMNIA_FEAT_FROM_BIT_16_INVALID) in omnia_mcu_read_features() 296 mcu->features &= GENMASK(15, 0); in omnia_mcu_read_features() 306 (mcu->features & OMNIA_FEAT_PERIPH_MCU) ? in omnia_mcu_read_features() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn321/ |
H A D | dcn321_dio_link_encoder.c | 117 enc10->base.features.flags.bits.DP_IS_USB_C = 1; in dcn321_link_encoder_construct() 121 enc10->base.features = *enc_features; in dcn321_link_encoder_construct() 166 enc10->base.features.flags.bits.HDMI_6GB_EN = 1; in dcn321_link_encoder_construct() 172 /* Override features with DCE-specific values */ in dcn321_link_encoder_construct() 174 enc10->base.features.flags.bits.IS_HBR2_CAPABLE = in dcn321_link_encoder_construct() 176 enc10->base.features.flags.bits.IS_HBR3_CAPABLE = in dcn321_link_encoder_construct() 178 enc10->base.features.flags.bits.HDMI_6GB_EN = bp_cap_info.HDMI_6GB_EN; in dcn321_link_encoder_construct() 179 enc10->base.features.flags.bits.IS_DP2_CAPABLE = 1; in dcn321_link_encoder_construct() 180 enc10->base.features.flags.bits.IS_UHBR10_CAPABLE = bp_cap_info.DP_UHBR10_EN; in dcn321_link_encoder_construct() 181 enc10->base.features.flags.bits.IS_UHBR13_5_CAPABLE = bp_cap_info.DP_UHBR13_5_EN; in dcn321_link_encoder_construct() [all …]
|
/linux/include/linux/ |
H A D | netdev_features.h | 3 * Network device features. 97 * in Documentation/networking/netdev-features.rst. 190 /* Features valid for ethtool to change */ 203 /* List of IP checksum features. Note that NETIF_F_HW_CSUM should not be 204 * set in features when NETIF_F_IP_CSUM or NETIF_F_IPV6_CSUM are set-- 213 /* List of features with software fallbacks. */ 219 * If one device supports one of these features, then enable them 227 * If one device doesn't support one of these features, then disable it 233 * If upper/master device has these features disabled, they must be disabled 238 /* changeable features with no special hardware requirements */ [all …]
|
/linux/drivers/net/ethernet/atheros/atlx/ |
H A D | atlx.c | 208 static void __atlx_vlan_mode(netdev_features_t features, u32 *ctrl) in __atlx_vlan_mode() argument 210 if (features & NETIF_F_HW_VLAN_CTAG_RX) { in __atlx_vlan_mode() 220 netdev_features_t features) in atlx_vlan_mode() argument 229 __atlx_vlan_mode(features, &ctrl); in atlx_vlan_mode() 237 atlx_vlan_mode(adapter->netdev, adapter->netdev->features); in atlx_restore_vlan() 241 netdev_features_t features) in atlx_fix_features() argument 247 if (features & NETIF_F_HW_VLAN_CTAG_RX) in atlx_fix_features() 248 features |= NETIF_F_HW_VLAN_CTAG_TX; in atlx_fix_features() 250 features &= ~NETIF_F_HW_VLAN_CTAG_TX; in atlx_fix_features() 252 return features; in atlx_fix_features() [all …]
|
/linux/drivers/gpu/drm/imagination/ |
H A D | pvr_device_info.c | 115 .flag_offset = offsetof(struct pvr_device, features.has_##feature), \ 121 .flag_offset = offsetof(struct pvr_device, features.has_##feature), \ 122 .value_offset = offsetof(struct pvr_device, features.feature) \ 206 * pvr_device_info_set_features() - Set device features from device information in firmware 208 * @features: Pointer to features mask in device information. 209 * @features_size: Size of features mask, in u64s. 216 int pvr_device_info_set_features(struct pvr_device *pvr_dev, const u64 *features, u32 features_size, in pvr_device_info_set_features() argument 222 const u64 *feature_params = features + features_size; in pvr_device_info_set_features() 229 drm_warn(from_pvr_device(pvr_dev), "Unsupported features in firmware image"); in pvr_device_info_set_features() 234 if (features[features_size - 1] & invalid_mask) in pvr_device_info_set_features() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn30/ |
H A D | dcn30_dio_link_encoder.c | 113 enc10->base.features = *enc_features; in dcn30_link_encoder_construct() 123 enc10->base.features.flags.bits. in dcn30_link_encoder_construct() 180 enc10->base.features.flags.bits.HDMI_6GB_EN = 1; in dcn30_link_encoder_construct() 185 /* Override features with DCE-specific values */ in dcn30_link_encoder_construct() 187 enc10->base.features.flags.bits.IS_HBR2_CAPABLE = in dcn30_link_encoder_construct() 189 enc10->base.features.flags.bits.IS_HBR3_CAPABLE = in dcn30_link_encoder_construct() 191 enc10->base.features.flags.bits.HDMI_6GB_EN = bp_cap_info.HDMI_6GB_EN; in dcn30_link_encoder_construct() 192 enc10->base.features.flags.bits.IS_DP2_CAPABLE = bp_cap_info.IS_DP2_CAPABLE; in dcn30_link_encoder_construct() 193 enc10->base.features.flags.bits.IS_UHBR10_CAPABLE = bp_cap_info.DP_UHBR10_EN; in dcn30_link_encoder_construct() 194 enc10->base.features.flags.bits.IS_UHBR13_5_CAPABLE = bp_cap_info.DP_UHBR13_5_EN; in dcn30_link_encoder_construct() [all …]
|