| /linux/arch/arm/mach-omap2/ |
| H A D | clock.c | 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() 102 features.dpll_bypass_vals |= in ti_clk_init_features() 107 features.dpll_bypass_vals |= in ti_clk_init_features() [all …]
|
| /linux/drivers/hid/ |
| 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/include/linux/ |
| H A D | virtio_features.h | 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 64 virtio_features_zero(features); in virtio_features_from_u64() [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/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/gpu/drm/msm/disp/dpu1/catalog/ |
| H A D | dpu_12_2_glymur.h | 68 .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/arch/arm/mm/ |
| H A D | cache-tauros2.c | 180 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() 282 void __init tauros2_init(unsigned int features) in tauros2_init() argument 297 features = 0; in tauros2_init() 299 features = f; in tauros2_init() [all …]
|
| /linux/arch/x86/kernel/ |
| H A D | shstk.c | 31 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/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/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 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 46 arch_prctl(ARCH_GET_XCOMP_PERM, &features); [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/net/ipv4/ |
| H A D | esp4_offload.c | 123 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 D | esp6_offload.c | 159 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/net/core/ |
| H A D | gso.c | 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() 38 netdev_features_t features) in skb_mac_gso_segment() argument 53 segs = ptype->callbacks.gso_segment(skb, features); in skb_mac_gso_segment() 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() 111 if (!skb_gso_ok(skb, features | partial_features)) in __skb_gso_segment() 112 features &= ~NETIF_F_GSO_PARTIAL; in __skb_gso_segment() 124 segs = skb_mac_gso_segment(skb, features); in __skb_gso_segment()
|
| /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 283 &mcu->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() 311 if (mcu->features & OMNIA_FEAT_BOOTLOADER) in omnia_mcu_read_features() 317 for (unsigned int i = 0; i < ARRAY_SIZE(features); i++) { in omnia_mcu_read_features() [all …]
|
| /linux/drivers/scsi/aic7xxx/ |
| H A D | aic7xxx_pci.c | 788 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_pci_config() 804 if ((ahc->features & AHC_DT) != 0) { in ahc_pci_config() 821 if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_pci_config() 859 if ((ahc->features & AHC_ULTRA) != 0) { in ahc_pci_config() 865 ahc->features &= ~AHC_ULTRA; in ahc_pci_config() 877 if ((ahc->features & AHC_ULTRA2) != 0) { in ahc_pci_config() 935 if ((ahc->features & AHC_DT) != 0) { in ahc_pci_config() 946 if ((ahc->features & AHC_MULTI_FUNC) != 0) in ahc_pci_config() 949 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_pci_config() 981 if ((ahc->features & AHC_ULTRA2) != 0) in ahc_ext_scbram_present() [all …]
|
| /linux/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu_npc_fs.c | 60 bool npc_is_feature_supported(struct rvu *rvu, u64 features, u8 intf) in npc_is_feature_supported() argument 67 unsupported = (mcam_features ^ features) & ~mcam_features; in npc_is_feature_supported() 345 u64 *features; in npc_handle_multi_layer_fields() local 350 features = &mcam->rx_features; in npc_handle_multi_layer_fields() 354 features = &mcam->tx_features; in npc_handle_multi_layer_fields() 418 *features |= BIT_ULL(NPC_ETYPE); in npc_handle_multi_layer_fields() 448 *features |= BIT_ULL(NPC_OUTER_VID); in npc_handle_multi_layer_fields() 453 *features |= BIT_ULL(NPC_INNER_VID); in npc_handle_multi_layer_fields() 563 u64 *features = &mcam->rx_features; in npc_set_features() local 568 features = &mcam->tx_features; in npc_set_features() [all …]
|
| /linux/scripts/ |
| H A D | generate_rust_target.rs | 206 let mut features = "-mmx,+soft-float".to_string(); in main() localVariable 213 features += ",+retpoline-external-thunk"; in main() 214 features += ",+retpoline-indirect-branches"; in main() 215 features += ",+retpoline-indirect-calls"; in main() 222 features += ",+harden-sls-ijmp"; in main() 223 features += ",+harden-sls-ret"; in main() 225 ts.push("features", features); in main() 246 let mut features = "-mmx,+soft-float".to_string(); in main() localVariable 248 features += ",+retpoline-external-thunk"; in main() 250 ts.push("features", features); in main()
|
| /linux/drivers/net/ |
| H A D | tun_vnet.h | 112 static inline unsigned int tun_vnet_parse_size(netdev_features_t features) in tun_vnet_parse_size() argument 114 if (!(features & NETIF_F_GSO_UDP_TUNNEL)) in tun_vnet_parse_size() 121 netdev_features_t features, in __tun_vnet_hdr_get() argument 125 unsigned int parsed_size = tun_vnet_parse_size(features); in __tun_vnet_hdr_get() 156 static inline int __tun_vnet_hdr_put(int sz, netdev_features_t features, in __tun_vnet_hdr_put() argument 160 unsigned int parsed_size = tun_vnet_parse_size(features); in __tun_vnet_hdr_put() 198 tun_vnet_hdr_tnl_to_skb(unsigned int flags, netdev_features_t features, in tun_vnet_hdr_tnl_to_skb() argument 203 features & NETIF_F_GSO_UDP_TUNNEL, in tun_vnet_hdr_tnl_to_skb() 204 features & NETIF_F_GSO_UDP_TUNNEL_CSUM, in tun_vnet_hdr_tnl_to_skb() 242 bool has_tnl_offload = !!(dev->features & NETIF_F_GSO_UDP_TUNNEL); in tun_vnet_hdr_tnl_from_skb()
|
| /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/drivers/input/tablet/ |
| H A D | hanwang.c | 53 const struct hanwang_features *features; member 109 enum hanwang_tablet_type type = hanwang->features->type; in hanwang_parse_packet() 197 hanwang->features->pid); in hanwang_parse_packet() 304 hanwang->features = &features_array[i]; in get_features() 337 hanwang->data = usb_alloc_coherent(dev, hanwang->features->pkg_len, in hanwang_probe() 356 strscpy(hanwang->name, hanwang->features->name, sizeof(hanwang->name)); in hanwang_probe() 380 0, hanwang->features->max_x, 4, 0); in hanwang_probe() 382 0, hanwang->features->max_y, 4, 0); in hanwang_probe() 384 0, hanwang->features->max_tilt_x, 0, 0); in hanwang_probe() 386 0, hanwang->features->max_tilt_y, 0, 0); in hanwang_probe() [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/kernel/time/ |
| H A D | tick-broadcast.c | 89 if ((newdev->features & CLOCK_EVT_FEAT_DUMMY) || in tick_check_broadcast_device() 90 (newdev->features & CLOCK_EVT_FEAT_PERCPU) || in tick_check_broadcast_device() 91 (newdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_check_broadcast_device() 95 !(newdev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_check_broadcast_device() 124 if ((newdev->features & CLOCK_EVT_FEAT_DUMMY) || in tick_set_oneshot_wakeup_device() 125 (newdev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_set_oneshot_wakeup_device() 128 if (!(newdev->features & CLOCK_EVT_FEAT_PERCPU) || in tick_set_oneshot_wakeup_device() 129 !(newdev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_set_oneshot_wakeup_device() 183 if (!(dev->features & CLOCK_EVT_FEAT_ONESHOT)) in tick_install_broadcast_device() 275 if (!(dev->features & CLOCK_EVT_FEAT_C3STOP)) in tick_device_uses_broadcast() [all …]
|
| /linux/drivers/vhost/ |
| H A D | test.c | 247 static int vhost_test_set_features(struct vhost_test *n, u64 features) in vhost_test_set_features() argument 252 if ((features & (1 << VHOST_F_LOG_ALL)) && in vhost_test_set_features() 259 vq->acked_features = features; in vhost_test_set_features() 325 u64 features; in vhost_test_ioctl() local 337 features = VHOST_TEST_FEATURES; in vhost_test_ioctl() 338 if (copy_to_user(featurep, &features, sizeof features)) in vhost_test_ioctl() 342 if (copy_from_user(&features, featurep, sizeof features)) in vhost_test_ioctl() 344 if (features & ~VHOST_TEST_FEATURES) in vhost_test_ioctl() 346 return vhost_test_set_features(n, features); in vhost_test_ioctl()
|
| /linux/arch/sparc/kernel/ |
| H A D | time_32.c | 126 ce->features = CLOCK_EVT_FEAT_PERIODIC; in setup_timer_ce() 214 unsigned int features = CLOCK_EVT_FEAT_PERIODIC; in register_percpu_ce() local 216 if (sparc_config.features & FEAT_L14_ONESHOT) in register_percpu_ce() 217 features |= CLOCK_EVT_FEAT_ONESHOT; in register_percpu_ce() 221 ce->features = features; in register_percpu_ce() 331 if (sparc_config.features & FEAT_L10_CLOCKEVENT) in sparc32_late_time_init() 333 if (sparc_config.features & FEAT_L10_CLOCKSOURCE) in sparc32_late_time_init() 348 sparc_config.features = 0; in time_init()
|