Home
last modified time | relevance | path

Searched full:features (Results 1 – 25 of 2368) sorted by relevance

12345678910>>...95

/linux/arch/arm/mach-omap2/
H A Dclock.c78 * 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 Dwacom_sys.c108 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 Dwacom_wac.c117 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 Dxstate.rst1 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 …]
/linux/include/linux/
H A Dvirtio_features.h26 * will fail before any bad features access in virtio_features_chk_bit()
36 static inline bool virtio_features_test_bit(const u64 *features, in virtio_features_test_bit() argument
40 !!(features[VIRTIO_U64(bit)] & VIRTIO_BIT(bit)); in virtio_features_test_bit()
43 static inline void virtio_features_set_bit(u64 *features, in virtio_features_set_bit() argument
47 features[VIRTIO_U64(bit)] |= VIRTIO_BIT(bit); in virtio_features_set_bit()
50 static inline void virtio_features_clear_bit(u64 *features, in virtio_features_clear_bit() argument
54 features[VIRTIO_U64(bit)] &= ~VIRTIO_BIT(bit); in virtio_features_clear_bit()
57 static inline void virtio_features_zero(u64 *features) in virtio_features_zero() argument
59 memset(features, 0, sizeof(features[0]) * VIRTIO_FEATURES_U64S); in virtio_features_zero()
62 static inline void virtio_features_from_u64(u64 *features, u64 from) in virtio_features_from_u64() argument
[all …]
/linux/Documentation/devicetree/bindings/powerpc/
H A Dibm,powerpc-cpu-features.txt3 (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 Dgso.c10 * @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 Dkvm.c405 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 Dotx2_flows.c390 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/arch/x86/include/asm/fpu/
H A Dtypes.h102 * List of XSAVE features Linux knows about:
543 * @xfeatures: xfeature bitmap of features which are
573 * Includes all supported features except independent managed
574 * features and features which have to be requested by user space
580 * @features:
582 * The default supported features bitmap in guest FPUs. Does not
583 * include independent managed features and features which have to
586 u64 features; member
597 * supported features except independent managed features.
605 * supported features except independent managed features,
[all …]
H A Dxstate.h25 /* All currently supported user features */
39 * Features which are restored when returning to user space.
46 /* Features which are dynamically enabled for a process on request */
49 /* Supervisor features which are enabled only in guest FPUs */
52 /* All currently supported supervisor features */
62 * on demand. The on-demand supervisor features are set in this mask.
64 * Unlike the existing supported supervisor features, an independent supervisor
79 * Unsupported supervisor features. When a supervisor feature in this mask is
98 * Features in this mask have space allocated in the signal frame, but may not
/linux/drivers/input/touchscreen/
H A Dwacom_i2c.c58 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 Dcoresight-config.rst29 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/ABI/testing/
H A Dsysfs-class-intel_pmt-features1 What: /sys/class/intel_pmt/features-<PCI BDF>/
6 The `features-<PCI BDF>/` directory represents the "features"
16 /sys/class/intel_pmt/features-<PCI BDF>/
24 ├── tracing/ # PMT tracing features
68 /sys/class/intel_pmt/features-0000:00:03.1/
108 the capability (e.g., `max_command_size` for MCTP-capable features).
109 - Features supporting RMIDs include `num_rmids`.
110 - Features supporting the watcher API include `min_watcher_period_ms`.
116 /sys/class/intel_pmt/features-0000:00:03.1/
/linux/Documentation/virt/kvm/arm/
H A Dvcpu-features.rst8 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/drivers/gpu/drm/msm/disp/dpu1/catalog/
H A Ddpu_12_2_glymur.h68 .features = VIG_SDM845_MASK_SDMA,
75 .features = VIG_SDM845_MASK_SDMA,
82 .features = VIG_SDM845_MASK_SDMA,
89 .features = VIG_SDM845_MASK_SDMA,
96 .features = DMA_SDM845_MASK_SDMA,
103 .features = DMA_SDM845_MASK_SDMA,
110 .features = DMA_SDM845_MASK_SDMA,
117 .features = DMA_SDM845_MASK_SDMA,
124 .features = DMA_CURSOR_SDM845_MASK_SDMA,
131 .features = DMA_CURSOR_SDM845_MASK_SDMA,
[all …]
/linux/net/ipv4/
H A Desp4_offload.c123 netdev_features_t features) in xfrm4_tunnel_gso_segment() argument
130 return skb_eth_gso_segment(skb, features, type); in xfrm4_tunnel_gso_segment()
135 netdev_features_t features) in xfrm4_transport_gso_segment() argument
144 segs = ops->callbacks.gso_segment(skb, features); in xfrm4_transport_gso_segment()
151 netdev_features_t features) in xfrm4_beet_gso_segment() argument
185 segs = ops->callbacks.gso_segment(skb, features); in xfrm4_beet_gso_segment()
192 netdev_features_t features) in xfrm4_outer_mode_gso_segment() argument
196 return xfrm4_tunnel_gso_segment(x, skb, features); in xfrm4_outer_mode_gso_segment()
198 return xfrm4_transport_gso_segment(x, skb, features); in xfrm4_outer_mode_gso_segment()
200 return xfrm4_beet_gso_segment(x, skb, features); in xfrm4_outer_mode_gso_segment()
[all …]
/linux/net/ipv6/
H A Desp6_offload.c159 netdev_features_t features) in xfrm6_tunnel_gso_segment() argument
166 return skb_eth_gso_segment(skb, features, type); in xfrm6_tunnel_gso_segment()
171 netdev_features_t features) in xfrm6_transport_gso_segment() argument
180 segs = ops->callbacks.gso_segment(skb, features); in xfrm6_transport_gso_segment()
187 netdev_features_t features) in xfrm6_beet_gso_segment() argument
225 segs = ops->callbacks.gso_segment(skb, features); in xfrm6_beet_gso_segment()
232 netdev_features_t features) in xfrm6_outer_mode_gso_segment() argument
236 return xfrm6_tunnel_gso_segment(x, skb, features); in xfrm6_outer_mode_gso_segment()
238 return xfrm6_transport_gso_segment(x, skb, features); in xfrm6_outer_mode_gso_segment()
240 return xfrm6_beet_gso_segment(x, skb, features); in xfrm6_outer_mode_gso_segment()
[all …]
/linux/arch/arm/mm/
H A Dcache-tauros2.c180 static void __init 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 Dturris-omnia-mcu-base.c112 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/net/ethernet/atheros/atlx/
H A Datlx.c208 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/arch/x86/kernel/
H A Dshstk.c31 static bool features_enabled(unsigned long features) in features_enabled() argument
33 return current->thread.features & features; in features_enabled()
36 static void features_set(unsigned long features) in features_set() argument
38 current->thread.features |= features; in features_set()
41 static void features_clr(unsigned long features) in features_clr() argument
43 current->thread.features &= ~features; in features_clr()
190 current->thread.features = 0; in reset_thread_features()
577 unsigned long features = arg2; in shstk_prctl() local
580 return put_user(task->thread.features, (unsigned long __user *)arg2); in shstk_prctl()
584 task->thread.features_locked |= features; in shstk_prctl()
[all …]
/linux/drivers/rtc/
H A Drtc-optee.c125 u64 features; member
137 * @features: Bitfield of RTC features
147 u64 features; member
234 if (!(priv->features & TA_RTC_FEATURE_CORRECTION)) in optee_rtc_readoffset()
259 if (!(priv->features & TA_RTC_FEATURE_CORRECTION)) in optee_rtc_setoffset()
284 if (!(priv->features & TA_RTC_FEATURE_ALARM)) in optee_rtc_read_alarm()
331 if (!(priv->features & TA_RTC_FEATURE_ALARM)) in optee_rtc_set_alarm()
370 if (!(priv->features & TA_RTC_FEATURE_ALARM)) in optee_rtc_enable_alarm()
404 if (!(priv->features & TA_RTC_FEATURE_ALARM)) in optee_rtc_wait_alarm()
429 if (!(priv->features & TA_RTC_FEATURE_ALARM)) in optee_rtc_cancel_wait_alarm()
[all …]
/linux/drivers/gpu/drm/imagination/
H A Dpvr_device_info.c115 .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/scsi/aic7xxx/
H A Daic7xxx.seq78 if ((ahc->features & AHC_ULTRA2) != 0) {
82 if ((ahc->features & AHC_TWIN) != 0) {
88 if ((ahc->features & AHC_TWIN) != 0) {
95 if ((ahc->features & AHC_QUEUE_REGS) != 0) {
138 if ((ahc->features & AHC_QUEUE_REGS) != 0) {
167 if ((ahc->features & AHC_DT) == 0) {
199 if ((ahc->features & AHC_CMD_CHAN) != 0) {
212 if ((ahc->features & AHC_MULTI_TID) != 0) {
214 } else if ((ahc->features & AHC_ULTRA2) != 0) {
220 if ((ahc->features & AHC_TWIN) != 0) {
[all …]

12345678910>>...95