Searched refs:features (Results 426 - 450 of 1436) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/net/hyperv/
H A Dnetvsc_drv.c850 if ((ppi_flags & NVSC_RSC_CSUM_INFO) && (net->features & NETIF_F_RXCSUM)) {
856 if ((ppi_flags & NVSC_RSC_HASH_INFO) && (net->features & NETIF_F_RXHASH))
1169 dev->features = NETIF_F_LRO;
1910 netdev_features_t features)
1916 return features;
1918 if ((features & NETIF_F_LRO) && netvsc_xdp_get(nvdev)) {
1919 features ^= NETIF_F_LRO;
1923 return features;
1927 netdev_features_t features)
1929 netdev_features_t change = features
1909 netvsc_fix_features(struct net_device *ndev, netdev_features_t features) argument
1926 netvsc_set_features(struct net_device *ndev, netdev_features_t features) argument
[all...]
/linux-master/drivers/md/
H A Ddm-cache-target.c385 * Cache features such as write-through.
387 struct cache_features features; member in struct:cache
434 return cache->features.io_mode == CM_IO_WRITETHROUGH;
439 return cache->features.io_mode == CM_IO_WRITEBACK;
444 return unlikely(cache->features.io_mode == CM_IO_PASSTHROUGH);
850 return cache->features.mode;
906 cache->features.mode = new_mode;
1797 if (cache->features.discard_passdown) {
2014 struct cache_features features; member in struct:cache_args
2152 struct cache_features *cf = &ca->features;
[all...]
/linux-master/drivers/pcmcia/
H A Dcistpl.c92 if (!(s->features & SS_CAP_STATIC_MAP) && (mem->res == NULL)) {
102 if (!(s->features & SS_CAP_STATIC_MAP) && (!s->cis_virt))
115 if (s->features & SS_CAP_STATIC_MAP) {
1081 u_char *p, *q, features; local
1104 /* Process optional features */
1107 features = *p; p++;
1110 if ((features & 3) > 0) {
1116 if ((features & 3) > 1) {
1122 if ((features & 3) > 2) {
1130 if (features
[all...]
/linux-master/drivers/pinctrl/intel/
H A Dpinctrl-intel.c156 nregs = (community->features & PINCTRL_FEATURE_DEBOUNCE) ? 4 : 2;
585 if (!(community->features & PINCTRL_FEATURE_1K_PD))
590 if (!(community->features & PINCTRL_FEATURE_1K_PD))
724 if (!(community->features & PINCTRL_FEATURE_1K_PD))
729 if (!(community->features & PINCTRL_FEATURE_1K_PD))
1497 if (!(community->features & PINCTRL_FEATURE_PWM))
1545 * Determine community features based on the revision.
1552 community->features |= PINCTRL_FEATURE_DEBOUNCE;
1553 community->features |= PINCTRL_FEATURE_1K_PD;
1556 /* Determine community features base
[all...]
/linux-master/drivers/net/
H A Dveth.c339 return !(dev->features & NETIF_F_ALL_TSO) ||
341 rcv->features & (NETIF_F_GRO_FRAGLIST | NETIF_F_GRO_UDP_FWD));
1326 /* update XDP supported features */
1456 netdev_features_t features)
1466 features &= ~NETIF_F_GSO_SOFTWARE;
1469 return features;
1473 netdev_features_t features)
1475 netdev_features_t changed = features ^ dev->features;
1484 if (features
1455 veth_fix_features(struct net_device *dev, netdev_features_t features) argument
1472 veth_set_features(struct net_device *dev, netdev_features_t features) argument
[all...]
/linux-master/drivers/net/ethernet/intel/idpf/
H A Didpf_lib.c831 netdev->features |= dflt_features;
2150 * @features: the feature set that the stack is suggesting
2153 netdev_features_t features)
2155 netdev_features_t changed = netdev->features ^ features;
2166 dev_err(&adapter->pdev->dev, "Device is resetting, changing netdev features temporarily unavailable.\n");
2172 netdev->features ^= NETIF_F_RXHASH;
2179 netdev->features ^= NETIF_F_GRO_HW;
2186 netdev->features ^= NETIF_F_LOOPBACK;
2251 * @features
2152 idpf_set_features(struct net_device *netdev, netdev_features_t features) argument
2253 idpf_features_check(struct sk_buff *skb, struct net_device *netdev, netdev_features_t features) argument
[all...]
/linux-master/drivers/video/fbdev/matrox/
H A Dmatroxfb_Ti3026.c546 minfo->features.pll.vco_freq_min = 110000;
547 minfo->features.pll.ref_freq = 114545;
548 minfo->features.pll.feed_div_min = 2;
549 minfo->features.pll.feed_div_max = 24;
550 minfo->features.pll.in_div_min = 2;
551 minfo->features.pll.in_div_max = 63;
552 minfo->features.pll.post_shift_max = 3;
H A Dg450_pll.c35 return (minfo->features.pll.ref_freq * n + (m >> 1)) / m;
99 n = ((tvco * (m+1) + minfo->features.pll.ref_freq) / (minfo->features.pll.ref_freq * 2)) - 2;
/linux-master/tools/virtio/
H A Dvringh_test.c136 static int parallel_test(u64 features, argument
189 vringh_init_user(&vrh, features, RINGSIZE, true,
309 gvdev.vdev.features = features;
457 vdev.features = 0;
480 return parallel_test(vdev.features, getrange, fast_vringh);
495 vringh_init_user(&vrh, vdev.features, RINGSIZE, true,
/linux-master/drivers/hwmon/pmbus/
H A Dltc2978.c128 u32 features; member in struct:ltc2978_data
135 #define has_clear_peaks(d) ((d)->features & FEAT_CLEAR_PEAKS)
136 #define needs_polling(d) ((d)->features & FEAT_NEEDS_POLLING)
794 data->features |= FEAT_CLEAR_PEAKS | FEAT_NEEDS_POLLING;
809 data->features |= FEAT_CLEAR_PEAKS | FEAT_NEEDS_POLLING;
824 data->features |= FEAT_CLEAR_PEAKS | FEAT_NEEDS_POLLING;
843 data->features |= FEAT_CLEAR_PEAKS | FEAT_NEEDS_POLLING;
/linux-master/drivers/net/ethernet/sfc/siena/
H A Defx.c996 /* Determine netdevice features */
997 net_dev->features |= (efx->type->offload_features | NETIF_F_SG |
1000 net_dev->features |= NETIF_F_TSO6;
1003 net_dev->features &= ~NETIF_F_ALL_TSO;
1004 /* Mask for features that also apply to VLAN devices */
1009 net_dev->hw_features |= net_dev->features & ~efx->fixed_features;
1012 net_dev->features &= ~NETIF_F_RXALL;
1018 net_dev->features &= ~NETIF_F_HW_VLAN_CTAG_FILTER;
1019 net_dev->features |= efx->fixed_features;
/linux-master/tools/testing/selftests/mm/
H A Duffd-unit-tests.c146 uffdio_api.features = 0;
154 uffdio_api.features = BIT_ULL(63);
162 uffdio_api.features = 0;
169 uffdio_api.features = BIT_ULL(0);
211 uint64_t features; local
213 if (uffd_get_features(&features))
216 return (features & test->uffd_feature_required) ==
/linux-master/net/bluetooth/
H A Dmsft.c26 __le64 features; member in struct:msft_rp_read_supported_features
125 __u64 features; member in struct:msft_data
154 bt_dev_err(hdev, "Failed to read MSFT supported features (%ld)",
160 bt_dev_err(hdev, "MSFT supported features length mismatch");
177 msft->features = __le64_to_cpu(rp->features);
179 if (msft->features & MSFT_FEATURE_MASK_CURVE_VALIDITY)
650 msft->features = 0;
1121 return msft ? msft->features : 0;
/linux-master/drivers/net/ethernet/ibm/emac/
H A Dcore.c2045 supported = dev->phy.features;
2069 u32 f = dev->phy.features;
2157 if ((dev->phy.features & SUPPORTED_Autoneg) &&
2652 ethtool_convert_link_mode_to_legacy_u32(&dev->phy.features,
2697 dev->phy.features = SUPPORTED_MII;
2699 dev->phy.features |= SUPPORTED_1000baseT_Full;
2701 dev->phy.features |= SUPPORTED_100baseT_Full;
2817 /* Disable any PHY features not supported by the platform */
2818 dev->phy.def->features &= ~dev->phy_feat_exc;
2819 dev->phy.features
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_cmn.c415 if ((bp->dev->features & NETIF_F_RXHASH) &&
1089 if (bp->dev->features & NETIF_F_RXCSUM)
2510 if (bp->dev->features & NETIF_F_LRO)
2512 else if (bp->dev->features & NETIF_F_GRO_HW)
4908 dev->features &= ~NETIF_F_GRO_HW;
4917 netdev_features_t features)
4922 netdev_features_t changed = dev->features ^ features;
4924 /* Revert the requested changes in features if they
4927 if (!(features
4916 bnx2x_fix_features(struct net_device *dev, netdev_features_t features) argument
4950 bnx2x_set_features(struct net_device *dev, netdev_features_t features) argument
[all...]
/linux-master/drivers/virtio/
H A Dvirtio_mmio.c112 u64 features; local
115 features = readl(vm_dev->base + VIRTIO_MMIO_DEVICE_FEATURES);
116 features <<= 32;
119 features |= readl(vm_dev->base + VIRTIO_MMIO_DEVICE_FEATURES);
121 return features;
128 /* Give virtio_ring a chance to accept features. */
139 writel((u32)(vdev->features >> 32),
143 writel((u32)vdev->features,
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic_if.h370 * Common features use bits 0-15. Per-queue-type features use higher bits.
399 * Per-queue-type features use bits 16 and higher.
410 * Per-queue-type features use bits 16 and higher.
461 * @features: Features (enum ionic_eth_hw_features)
472 __le64 features; member in struct:ionic_lif_config::__anon1786
491 * @config: LIF config struct with features, mtu, mac, q counts
618 * @features: Queue features (enum ionic_q_feature, etc)
630 __le64 features; member in struct:ionic_q_identity::__anon1790
695 __le64 features; member in struct:ionic_q_init_cmd
1657 __le64 features; member in union:ionic_dev_setattr_cmd::__anon1797
1672 __le64 features; member in union:ionic_dev_setattr_comp::__anon1798
1699 __le64 features; member in union:ionic_dev_getattr_comp::__anon1799
1767 __le64 features; member in union:ionic_lif_setattr_cmd::__anon1800
1792 __le64 features; member in union:ionic_lif_setattr_comp::__anon1802
1831 __le64 features; member in union:ionic_lif_getattr_comp::__anon1803
[all...]
/linux-master/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.c709 netdev_features_t features)
711 netdev_features_t changed = ndev->features ^ features;
716 err = enetc_set_psfp(ndev, !!(features & NETIF_F_HW_TC));
724 if (!!(features & NETIF_F_HW_VLAN_CTAG_FILTER))
731 enetc_set_loopback(ndev, !!(features & NETIF_F_LOOPBACK));
733 enetc_set_features(ndev, features);
799 ndev->features = NETIF_F_HIGHDMA | NETIF_F_SG | NETIF_F_RXCSUM |
816 ndev->features |= NETIF_F_HW_TC;
708 enetc_pf_set_features(struct net_device *ndev, netdev_features_t features) argument
/linux-master/drivers/net/ethernet/asix/
H A Dax88796c_main.c411 if (!(ndev->features & NETIF_F_RXCSUM))
777 if (ndev->features & NETIF_F_RXCSUM) {
785 if (ndev->features & NETIF_F_HW_CSUM) {
918 ax88796c_set_features(struct net_device *ndev, netdev_features_t features) argument
921 netdev_features_t changed = features ^ ndev->features;
926 ndev->features = features;
1027 ndev->features |= NETIF_F_HW_CSUM | NETIF_F_RXCSUM;
/linux-master/arch/um/drivers/
H A Dvector_transports.c410 vp->dev->features |=
430 vp->dev->features |=
455 vp->dev->features |=
/linux-master/drivers/parport/
H A Dparport_ip32.c115 * @features: bit mask of features to enable/disable
124 static unsigned int features = ~0U; variable
2069 features &= ~PARPORT_IP32_ENABLE_SPP;
2070 features &= ~PARPORT_IP32_ENABLE_ECP;
2072 features &= ~PARPORT_IP32_ENABLE_DMA;
2076 if (features & PARPORT_IP32_ENABLE_IRQ) {
2081 features &= ~PARPORT_IP32_ENABLE_DMA;
2090 if (features & PARPORT_IP32_ENABLE_DMA) {
2100 if (features
[all...]
/linux-master/arch/x86/xen/
H A Dtime.c26 #include <xen/features.h>
233 .features = CLOCK_EVT_FEAT_ONESHOT,
294 .features = CLOCK_EVT_FEAT_ONESHOT,
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-mac.c30 mac->features = 0;
34 mac->features |= DPAA2_MAC_FEATURE_PROTOCOL_CHANGE;
383 if (mac->features & DPAA2_MAC_FEATURE_PROTOCOL_CHANGE &&
/linux-master/drivers/rtc/
H A Drtc-loongson.c339 clear_bit(RTC_FEATURE_ALARM, priv->rtcdev->features);
343 clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, priv->rtcdev->features);
356 if (!test_bit(RTC_FEATURE_ALARM, priv->rtcdev->features))
/linux-master/drivers/net/vmxnet3/
H A Dvmxnet3_int.h517 vmxnet3_fix_features(struct net_device *netdev, netdev_features_t features);
521 struct net_device *netdev, netdev_features_t features);
524 vmxnet3_set_features(struct net_device *netdev, netdev_features_t features);

Completed in 414 milliseconds

<<11121314151617181920>>