/linux-master/arch/powerpc/kvm/ |
H A D | e500.c | 366 sregs->u.e.features |= KVM_SREGS_E_ARCH206_MMU | KVM_SREGS_E_SPE | 370 sregs->u.e.impl.fsl.features = 0; 402 if (!(sregs->u.e.features & KVM_SREGS_E_IVOR)) 405 if (sregs->u.e.features & KVM_SREGS_E_SPE) { 414 if (sregs->u.e.features & KVM_SREGS_E_PM) {
|
H A D | e500mc.c | 224 sregs->u.e.features |= KVM_SREGS_E_ARCH206_MMU | KVM_SREGS_E_PM | 228 sregs->u.e.impl.fsl.features = 0; 259 if (!(sregs->u.e.features & KVM_SREGS_E_IVOR)) 262 if (sregs->u.e.features & KVM_SREGS_E_PM) { 267 if (sregs->u.e.features & KVM_SREGS_E_PC) {
|
/linux-master/kernel/time/ |
H A D | clockevents.c | 94 if (dev->features & CLOCK_EVT_FEAT_DUMMY) 109 if (!(dev->features & CLOCK_EVT_FEAT_PERIODIC)) 117 if (!(dev->features & CLOCK_EVT_FEAT_ONESHOT)) 323 if (dev->features & CLOCK_EVT_FEAT_KTIME) 475 if (!(dev->features & CLOCK_EVT_FEAT_ONESHOT))
|
/linux-master/drivers/net/wwan/t7xx/ |
H A D | t7xx_netdev.c | 235 dev->features = NETIF_F_VLAN_CHALLENGED; 237 dev->features |= NETIF_F_SG; 240 dev->features |= NETIF_F_HW_CSUM; 243 dev->features |= NETIF_F_RXCSUM; 246 dev->features |= NETIF_F_GRO;
|
/linux-master/include/net/ |
H A D | udp.h | 176 netdev_features_t features, bool is_ipv6); 292 netdev_features_t features, 460 netdev_features_t features = NETIF_F_SG; local 467 features |= NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM; 483 segs = __skb_gso_segment(skb, features, false);
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_ec_proto.c | 893 * cros_ec_check_features() - Test for the presence of EC features 905 struct ec_response_get_features *features = &ec->features; local 908 if (features->flags[0] == -1U && features->flags[1] == -1U) { 909 /* features bitmap not read yet */ 911 NULL, 0, features, sizeof(*features)); 913 dev_warn(ec->dev, "cannot get EC features: %d\n", ret); 914 memset(features, [all...] |
/linux-master/drivers/pci/controller/ |
H A D | vmd.c | 728 * control features that the OS is allowed to control on the physical PCI bus. 746 unsigned long features = *(unsigned long *)userdata; local 751 if (!(features & VMD_FEAT_BIOS_PM_QUIRK)) 781 static int vmd_enable_domain(struct vmd_dev *vmd, unsigned long features) argument 800 if (features & VMD_FEAT_HAS_MEMBAR_SHADOW) { 805 } else if (features & VMD_FEAT_HAS_MEMBAR_SHADOW_VSCAP) { 815 if (features & VMD_FEAT_HAS_BUS_RESTRICTIONS) { 885 if (!(features & VMD_FEAT_CAN_BYPASS_MSI_REMAP) || 954 pci_walk_bus(vmd->bus, vmd_pm_enable_quirk, &features); 975 unsigned long features local [all...] |
/linux-master/net/8021q/ |
H A D | vlan_dev.c | 572 dev->features |= dev->hw_features | NETIF_F_LLTX; 574 if (dev->features & NETIF_F_VLAN_FEATURES) 575 netdev_warn(real_dev, "VLAN features are set incorrectly. Q-in-Q configurations may not work correctly.\n"); 596 if (vlan_hw_offload_capable(real_dev->features, vlan->vlan_proto)) { 641 netdev_features_t features) 644 netdev_features_t old_features = features; 649 real_dev->features); 656 features = netdev_intersect_features(features, lower_features); 657 features | 640 vlan_dev_fix_features(struct net_device *dev, netdev_features_t features) argument [all...] |
/linux-master/drivers/net/ethernet/qualcomm/emac/ |
H A D | emac.c | 175 netdev_features_t features) 177 netdev_features_t changed = features ^ netdev->features; 180 /* We only need to reprogram the hardware if the VLAN tag features 189 /* emac_mac_mode_config() uses netdev->features to configure the EMAC, 192 netdev->features = features; 666 /* set hw features */ 667 netdev->features = NETIF_F_SG | NETIF_F_HW_CSUM | NETIF_F_RXCSUM | 670 netdev->hw_features = netdev->features; 174 emac_set_features(struct net_device *netdev, netdev_features_t features) argument [all...] |
/linux-master/arch/powerpc/sysdev/ |
H A D | fsl_msi.c | 399 const struct fsl_msi_feature *features; local 404 features = device_get_match_data(&dev->dev); 428 if ((features->fsl_pic_ip & FSL_PIC_IP_MASK) != FSL_PIC_IP_VMPIC) { 444 features->msiir_offset + (res.start & 0xfffff); 451 msi->msiir_offset = features->msiir_offset + 457 msi->feature = features->fsl_pic_ip; 460 if ((features->fsl_pic_ip & FSL_PIC_IP_MASK) == FSL_PIC_IP_MPIC
|
/linux-master/drivers/net/ethernet/wangxun/ngbe/ |
H A D | ngbe_main.c | 583 netdev->features = NETIF_F_SG | NETIF_F_IP_CSUM | 586 netdev->features |= NETIF_F_SCTP_CRC | NETIF_F_TSO_MANGLEID; 587 netdev->vlan_features |= netdev->features; 588 netdev->features |= NETIF_F_IPV6_CSUM | NETIF_F_VLAN_FEATURES; 589 /* copy netdev features into list of user selectable features */ 590 netdev->hw_features |= netdev->features | NETIF_F_RXALL; 592 netdev->features |= NETIF_F_HIGHDMA; 594 netdev->features |= NETIF_F_GRO;
|
/linux-master/drivers/net/ |
H A D | tap.c | 326 netdev_features_t features = TAP_FEATURES; local 344 features |= tap->tap_features; 345 if (netif_needs_gso(skb, features)) { 346 struct sk_buff *segs = __skb_gso_segment(skb, features, false); 379 !(features & NETIF_F_CSUM_MASK) && 551 if ((tap->dev->features & NETIF_F_HIGHDMA) && (tap->dev->features & NETIF_F_SG)) 955 netdev_features_t features; local 962 features = tap->dev->features; [all...] |
/linux-master/drivers/clk/sunxi-ng/ |
H A D | ccu-sun9i-a80.c | 42 .features = CCU_FEATURE_LOCK_REG, 56 .features = CCU_FEATURE_LOCK_REG, 78 .features = CCU_FEATURE_LOCK_REG, 94 .features = CCU_FEATURE_LOCK_REG, 110 .features = CCU_FEATURE_LOCK_REG, 126 .features = CCU_FEATURE_LOCK_REG, 141 .features = CCU_FEATURE_LOCK_REG, 157 .features = CCU_FEATURE_LOCK_REG, 173 .features = CCU_FEATURE_LOCK_REG, 189 .features [all...] |
/linux-master/drivers/net/ethernet/ibm/ |
H A D | ibmveth.c | 773 netdev_features_t features) 784 if (!(features & NETIF_F_RXCSUM)) 785 features &= ~NETIF_F_CSUM_MASK; 787 return features; 833 dev->features &= ~NETIF_F_IP_CSUM; 851 dev->features &= ~NETIF_F_IPV6_CSUM; 909 dev->features &= ~(NETIF_F_TSO | NETIF_F_TSO6); 921 dev->features &= ~NETIF_F_TSO6; 934 netdev_features_t features) 937 int rx_csum = !!(features 772 ibmveth_fix_features(struct net_device *dev, netdev_features_t features) argument 933 ibmveth_set_features(struct net_device *dev, netdev_features_t features) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_main.c | 3937 #define MLX5E_SET_FEATURE(features, feature, enable) \ 3940 *features |= feature; \ 3942 *features &= ~feature; \ 4213 netdev_features_t *features, 4217 netdev_features_t changes = *features ^ netdev->features; 4218 bool enable = !!(*features & feature); 4226 MLX5E_SET_FEATURE(features, feature, !enable); 4254 int mlx5e_set_features(struct net_device *netdev, netdev_features_t features) argument 4256 netdev_features_t oper_features = features; 4212 mlx5e_handle_feature(struct net_device *netdev, netdev_features_t *features, netdev_features_t feature, mlx5e_feature_handler feature_handler) argument 4286 mlx5e_fix_uplink_rep_features(struct net_device *netdev, netdev_features_t features) argument 4312 mlx5e_fix_features(struct net_device *netdev, netdev_features_t features) argument 4842 mlx5e_tunnel_features_check(struct mlx5e_priv *priv, struct sk_buff *skb, netdev_features_t features) argument 4897 mlx5e_features_check(struct sk_buff *skb, struct net_device *netdev, netdev_features_t features) argument 5525 enum mlx5e_rx_res_features features; local [all...] |
/linux-master/drivers/video/fbdev/matrox/ |
H A D | matroxfb_misc.c | 547 minfo->features.pll.ref_freq = 14318; 557 minfo->features.pll.ref_freq = 14318; 571 minfo->features.pll.ref_freq = 14318; 582 minfo->features.pll.ref_freq = 14318; 599 minfo->features.pll.ref_freq = (bd->pins[52] & 0x20) ? 14318 : 27000; 612 minfo->features.pll.ref_freq = 27000; 630 minfo->features.pll.ref_freq = (bd->pins[ 92] & 0x01) ? 14318 : 27000; 644 minfo->features.pll.ref_freq = 27000; 668 minfo->features.pll.ref_freq = (bd->pins[110] & 0x01) ? 14318 : 27000; 705 minfo->features [all...] |
/linux-master/drivers/vdpa/ifcvf/ |
H A D | ifcvf_main.c | 370 u64 features; local 373 features = ifcvf_get_dev_features(vf); 375 features = 0; 379 return features; 382 static int ifcvf_vdpa_set_driver_features(struct vdpa_device *vdpa_dev, u64 features) argument 387 ret = ifcvf_verify_min_features(vf, features); 391 ifcvf_set_driver_features(vf, features); 399 u64 features; local 401 features = ifcvf_get_driver_features(vf); 403 return features; [all...] |
/linux-master/drivers/net/ethernet/xilinx/ |
H A D | ll_temac_main.c | 1401 ndev->features = NETIF_F_SG; 1405 ndev->features |= NETIF_F_IP_CSUM; /* Can checksum TCP/UDP over IPv4. */ 1406 ndev->features |= NETIF_F_HW_CSUM; /* Can checksum all the packets. */ 1407 ndev->features |= NETIF_F_IPV6_CSUM; /* Can checksum IPV6 TCP/UDP */ 1408 ndev->features |= NETIF_F_HIGHDMA; /* Can DMA to high memory. */ 1409 ndev->features |= NETIF_F_HW_VLAN_CTAG_TX; /* Transmit VLAN hw accel */ 1410 ndev->features |= NETIF_F_HW_VLAN_CTAG_RX; /* Receive VLAN hw acceleration */ 1411 ndev->features |= NETIF_F_HW_VLAN_CTAG_FILTER; /* Receive VLAN filtering */ 1412 ndev->features |= NETIF_F_VLAN_CHALLENGED; /* cannot handle VLAN pkts */ 1413 ndev->features | [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb/ |
H A D | cxgb2.c | 262 t1_vlan_mode(adapter, dev->features); 866 netdev_features_t features) 872 if (features & NETIF_F_HW_VLAN_CTAG_RX) 873 features |= NETIF_F_HW_VLAN_CTAG_TX; 875 features &= ~NETIF_F_HW_VLAN_CTAG_TX; 877 return features; 880 static int t1_set_features(struct net_device *dev, netdev_features_t features) argument 882 netdev_features_t changed = dev->features ^ features; 886 t1_vlan_mode(adapter, features); 865 t1_fix_features(struct net_device *dev, netdev_features_t features) argument [all...] |
/linux-master/arch/x86/kernel/apic/ |
H A D | apic.c | 437 if (evt->features & CLOCK_EVT_FEAT_DUMMY) 451 if (evt->features & CLOCK_EVT_FEAT_DUMMY) 484 .features = CLOCK_EVT_FEAT_PERIODIC | 564 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_C3STOP; 574 levt->features &= ~(CLOCK_EVT_FEAT_PERIODIC | 801 lapic_clockevent.features &= ~CLOCK_EVT_FEAT_DUMMY; 906 levt->features &= ~CLOCK_EVT_FEAT_DUMMY; 941 levt->features |= CLOCK_EVT_FEAT_DUMMY; 945 if (levt->features & CLOCK_EVT_FEAT_DUMMY) { 988 lapic_clockevent.features 1943 u32 features, h, l; local [all...] |
/linux-master/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_main.c | 299 static void __atl1e_rx_mode(netdev_features_t features, u32 *mac_ctrl_data) argument 302 if (features & NETIF_F_RXALL) { 312 netdev_features_t features) 321 __atl1e_rx_mode(features, &mac_ctrl_data); 327 static void __atl1e_vlan_mode(netdev_features_t features, u32 *mac_ctrl_data) argument 329 if (features & NETIF_F_HW_VLAN_CTAG_RX) { 339 netdev_features_t features) 348 __atl1e_vlan_mode(features, &mac_ctrl_data); 356 atl1e_vlan_mode(adapter->netdev, adapter->netdev->features); 386 netdev_features_t features) 311 atl1e_rx_mode(struct net_device *netdev, netdev_features_t features) argument 338 atl1e_vlan_mode(struct net_device *netdev, netdev_features_t features) argument 385 atl1e_fix_features(struct net_device *netdev, netdev_features_t features) argument 400 atl1e_set_features(struct net_device *netdev, netdev_features_t features) argument [all...] |
/linux-master/tools/testing/selftests/x86/ |
H A D | amx.c | 247 uint64_t features; local 268 * XTILEDATA (features >=19) can be present in the buffer. 277 features = get_fpx_sw_bytes_features(xbuf); 282 if ((features & XFEATURE_MASK_XTILEDATA) == 0) { 917 unsigned long features; local 920 rc = syscall(SYS_arch_prctl, ARCH_GET_XCOMP_SUPP, &features); 921 if (rc || (features & XFEATURE_MASK_XTILE) != XFEATURE_MASK_XTILE) {
|
/linux-master/arch/sparc/kernel/ |
H A D | sun4m_irq.c | 390 sparc_config.features |= FEAT_L14_ONESHOT; 393 sparc_config.features |= FEAT_L10_CLOCKEVENT; 395 sparc_config.features |= FEAT_L10_CLOCKSOURCE;
|
/linux-master/drivers/input/tablet/ |
H A D | aiptek.c | 293 struct aiptek_features features; /* tablet's array of features */ member in struct:aiptek 960 aiptek->features.modelCode = ret & 0xff; 965 aiptek->features.odmCode = ret; 970 aiptek->features.firmwareCode = ret; 1589 return sysfs_emit(buf, "0x%04x\n", aiptek->features.odmCode); 1602 return sysfs_emit(buf, "0x%04x\n", aiptek->features.modelCode); 1615 return sysfs_emit(buf, "%04x\n", aiptek->features.firmwareCode); 1735 usb_make_path(usbdev, aiptek->features.usbPath, 1736 sizeof(aiptek->features [all...] |
/linux-master/drivers/gpu/drm/panfrost/ |
H A D | panfrost_perfcnt.c | 292 ncoregroups = hweight64(pfdev->features.l2_present); 302 nl2c = ((pfdev->features.mem_features >> 8) & GENMASK(3, 0)) + 1; 309 ncores = fls64(pfdev->features.shader_present);
|