/linux-master/drivers/vhost/ |
H A D | vdpa.c | 435 u64 features; local 437 features = ops->get_device_features(vdpa); 439 if (copy_to_user(featurep, &features, sizeof(features))) 471 u64 features; local 475 * It's not allowed to change the features after they have 481 if (copy_from_user(&features, featurep, sizeof(features))) 484 if (vdpa_set_features(vdpa, features)) 774 u64 features; local [all...] |
/linux-master/drivers/scsi/sym53c8xx_2/ |
H A D | sym_hipd.c | 144 if (!(np->features & FE_ISTAT1) || !(INB(np, nc_istat1) & SCRUN)) 219 (np->features & FE_WIDE) ? "dp1,d15-8," : "", 250 if (np->features & FE_LCKFRQ) { 318 if (np->features & FE_C10) { 331 if (np->features & FE_C10) { 351 if (np->features & FE_C10) 442 if (np->features & FE_66MHZ) { 500 if ((np->features & (FE_C10|FE_U3EN)) == FE_C10) { 626 if (np->features & FE_C10) { /* Always large DMA fifo + ultra3 */ 647 if (np->features [all...] |
/linux-master/drivers/iommu/ |
H A D | ipmmu-vmsa.c | 60 const struct ipmmu_features *features; member in struct:ipmmu_vmsa_device 191 unsigned int base = mmu->features->ctx_offset_base; 196 return base + context_id * mmu->features->ctx_offset_stride + reg; 234 return mmu->features->utlb_offset_base + reg; 379 if (domain->mmu->features->twobit_imttbcr_sl0) 384 if (domain->mmu->features->cache_snoop) 395 if (domain->mmu->features->setup_imbuscr) 1020 mmu->features = of_device_get_match_data(&pdev->dev); 1021 memset(mmu->utlb_ctx, IPMMU_CTX_INVALID, mmu->features->num_utlbs); 1043 if (mmu->features [all...] |
/linux-master/drivers/s390/block/ |
H A D | dasd_devmap.c | 33 * dasd_devmap_t is used to store the features and the relation 46 unsigned short features; member in struct:dasd_devmap 177 * Read colon separated list of dasd features. 181 int features, len, rc; local 183 features = 0; 193 features |= DASD_FEATURE_READONLY; 195 features |= DASD_FEATURE_USEDIAG; 197 features |= DASD_FEATURE_USERAW; 199 features |= DASD_FEATURE_ERPLOG; 201 features | 311 int features; local 407 dasd_add_busid(const char *bus_id, int features) argument [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/dce/ |
H A D | dce_link_encoder.c | 727 max_pixel_clock = enc110->base.features.max_hdmi_pixel_clock; 768 enc110->base.features.max_hdmi_deep_color; 779 (adjusted_pix_clk_khz > enc110->base.features.max_hdmi_pixel_clock)) 783 if (!enc110->base.features.hdmi_ycbcr420_supported && 787 if ((!enc110->base.features.flags.bits.HDMI_6GB_EN || 828 enc110->base.features = *enc_features; 838 enc110->base.features.flags.bits. 893 enc110->base.features.flags.bits.HDMI_6GB_EN = 1; 898 /* Override features with DCE-specific values */ 900 enc110->base.features [all...] |
/linux-master/tools/virtio/ |
H A D | vhost_net_test.c | 208 static void vdev_info_init(struct vdev_info *dev, unsigned long long features) argument 213 dev->vdev.features = features; 251 r = ioctl(dev->control, VHOST_SET_FEATURES, &features); 477 unsigned long long features = (1ULL << VIRTIO_RING_F_INDIRECT_DESC) | local 493 features &= ~(1ULL << VIRTIO_RING_F_EVENT_IDX); 498 features &= ~(1ULL << VIRTIO_RING_F_INDIRECT_DESC); 501 features &= ~(1ULL << VIRTIO_F_VERSION_1); 523 vdev_info_init(&dev, features);
|
/linux-master/net/xfrm/ |
H A D | xfrm_device.c | 113 struct sk_buff *validate_xmit_xfrm(struct sk_buff *skb, netdev_features_t features, bool *again) argument 120 netdev_features_t esp_features = features; 128 if (!(features & NETIF_F_HW_ESP)) 129 esp_features = features & ~(NETIF_F_SG | NETIF_F_CSUM_MASK); 164 /* Packet got rerouted, fixup features and segment it. */ 488 if ((dev->features & NETIF_F_HW_ESP_TX_CSUM) && 489 !(dev->features & NETIF_F_HW_ESP)) 492 if ((dev->features & NETIF_F_HW_ESP) && 498 if (dev->features & (NETIF_F_HW_ESP | NETIF_F_HW_ESP_TX_CSUM)) 507 if (dev->features [all...] |
/linux-master/net/core/ |
H A D | dev.c | 1306 * netdev_features_change - device changes features 1309 * Called to indicate a device has changed features. 1588 if (unlikely(dev->features & NETIF_F_LRO)) 1609 if (unlikely(dev->features & NETIF_F_GRO_HW)) 3243 name, dev ? &dev->features : &null_features, 3382 if (!(dev->features & NETIF_F_HIGHDMA)) { 3394 /* If MPLS offload request, verify we are testing hardware MPLS features 3395 * instead of standard features for the netdev. 3399 netdev_features_t features, 3403 features 3398 net_mpls_features(struct sk_buff *skb, netdev_features_t features, __be16 type) argument 3408 net_mpls_features(struct sk_buff *skb, netdev_features_t features, __be16 type) argument 3416 harmonize_features(struct sk_buff *skb, netdev_features_t features) argument 3434 passthru_features_check(struct sk_buff *skb, struct net_device *dev, netdev_features_t features) argument 3442 dflt_features_check(struct sk_buff *skb, struct net_device *dev, netdev_features_t features) argument 3449 gso_features_check(const struct sk_buff *skb, struct net_device *dev, netdev_features_t features) argument 3492 netdev_features_t features = dev->features; local 3565 validate_xmit_vlan(struct sk_buff *skb, netdev_features_t features) argument 3574 skb_csum_hwoffload_help(struct sk_buff *skb, const netdev_features_t features) argument 3598 netdev_features_t features; local 9722 netdev_sync_upper_features(struct net_device *lower, struct net_device *upper, netdev_features_t features) argument 9742 netdev_sync_lower_features(struct net_device *upper, struct net_device *lower, netdev_features_t features) argument 9766 netdev_fix_features(struct net_device *dev, netdev_features_t features) argument 9869 netdev_features_t features; local [all...] |
/linux-master/include/net/bluetooth/ |
H A D | hci_core.h | 379 __u8 features[HCI_MAX_PAGES][8]; member in struct:hci_dev 715 __u8 features[HCI_MAX_PAGES][8]; member in struct:hci_conn 1838 #define lmp_encrypt_capable(dev) ((dev)->features[0][0] & LMP_ENCRYPT) 1839 #define lmp_rswitch_capable(dev) ((dev)->features[0][0] & LMP_RSWITCH) 1840 #define lmp_hold_capable(dev) ((dev)->features[0][0] & LMP_HOLD) 1841 #define lmp_sniff_capable(dev) ((dev)->features[0][0] & LMP_SNIFF) 1842 #define lmp_park_capable(dev) ((dev)->features[0][1] & LMP_PARK) 1843 #define lmp_inq_rssi_capable(dev) ((dev)->features[0][3] & LMP_RSSI_INQ) 1844 #define lmp_esco_capable(dev) ((dev)->features[0][3] & LMP_ESCO) 1845 #define lmp_bredr_capable(dev) (!((dev)->features[ [all...] |
/linux-master/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_core.c | 310 if ((ahc->features & AHC_ULTRA2) != 0) 635 if ((ahc->features & AHC_QUEUE_REGS) != 0) { 638 if ((ahc->features & AHC_AUTOPAUSE) == 0) 641 if ((ahc->features & AHC_AUTOPAUSE) == 0) 786 if (intstat == 0xFF && (ahc->features & AHC_REMOVABLE) != 0) { 836 if ((ahc->features & AHC_CMD_CHAN) != 0) { 1316 if ((ahc->features & AHC_DT) == 0) { 1423 if ((ahc->features & AHC_ULTRA2) != 0) { 1536 if ((ahc->features & AHC_TWIN) != 0 1543 if ((ahc->features [all...] |
/linux-master/drivers/net/ |
H A D | sungem_phy.c | 900 .features = MII_BASIC_FEATURES, 919 .features = MII_BASIC_FEATURES, 937 .features = MII_BASIC_FEATURES, 956 .features = MII_GBIT_FEATURES, 975 .features = MII_GBIT_FEATURES, 994 .features = MII_GBIT_FEATURES, 1014 .features = MII_GBIT_FEATURES, 1033 .features = MII_GBIT_FEATURES, 1052 .features = MII_GBIT_FEATURES, 1071 .features [all...] |
/linux-master/drivers/net/ipvlan/ |
H A D | ipvlan_main.c | 139 dev->features = phy_dev->features & IPVLAN_FEATURES; 140 dev->features |= IPVLAN_ALWAYS_ON; 143 dev->hw_enc_features |= dev->features; 239 netdev_features_t features) 243 features |= NETIF_F_ALL_FOR_ALL; 244 features &= (ipvlan->sfeatures | ~IPVLAN_FEATURES); 245 features = netdev_increment_features(ipvlan->phy_dev->features, 246 features, feature 238 ipvlan_fix_features(struct net_device *dev, netdev_features_t features) argument [all...] |
/linux-master/drivers/rtc/ |
H A D | rtc-m41t80.c | 147 unsigned long features; member in struct:m41t80_data 247 if (clientdata->features & M41T80_FEATURE_SQ_ALT) { 285 if (clientdata->features & M41T80_FEATURE_BL) { 444 int reg_sqw = (m41t80->features & M41T80_FEATURE_SQ_ALT) ? 476 int reg_sqw = (m41t80->features & M41T80_FEATURE_SQ_ALT) ? 644 if (clientdata->features & M41T80_FEATURE_WD) 720 * according to their available features. We only actually usefully support 900 m41t80_data->features = (unsigned long) 904 m41t80_data->features = id->driver_data; 932 clear_bit(RTC_FEATURE_ALARM, m41t80_data->rtc->features); [all...] |
/linux-master/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_main.c | 81 netdev_features_t features, bool force_change); 858 netdev_features_t features) 862 return set_features(nic_dev, nic_dev->netdev->features, 863 features, false); 867 netdev_features_t features) 872 if (!(features & NETIF_F_RXCSUM)) { 874 features &= ~NETIF_F_LRO; 877 return features; 929 netdev->features = netdev->hw_features | NETIF_F_HW_VLAN_CTAG_FILTER; 1049 netdev_features_t features, boo 857 hinic_set_features(struct net_device *netdev, netdev_features_t features) argument 866 hinic_fix_features(struct net_device *netdev, netdev_features_t features) argument 1047 set_features(struct hinic_dev *nic_dev, netdev_features_t pre_features, netdev_features_t features, bool force_change) argument [all...] |
/linux-master/include/net/ |
H A D | vxlan.h | 360 netdev_features_t features) 365 return features; 375 return features; 384 !can_checksum_protocol(features, inner_eth_hdr(skb)->h_proto)))) 385 return features & ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); 387 return features; 359 vxlan_features_check(struct sk_buff *skb, netdev_features_t features) argument
|
/linux-master/drivers/platform/x86/ |
H A D | ideapad-laptop.c | 148 } features; member in struct:ideapad_private 649 supported = priv->features.conservation_mode; 651 supported = priv->features.fan_mode; 653 supported = priv->features.fn_lock; 655 supported = priv->features.touchpad_ctrl_via_ec; 657 supported = priv->features.usb_charging; 884 if (!priv->features.dytc) 990 if (priv->features.hw_rfkill_switch) { 1424 if (!priv->features.kbd_bl) 1485 if (priv->features [all...] |
/linux-master/drivers/hwmon/ |
H A D | it87.c | 291 u32 features; member in struct:it87_devices 333 .features = FEAT_OLD_AUTOPWM | FEAT_FANCTL_ONOFF, 339 .features = FEAT_OLD_AUTOPWM | FEAT_VID | FEAT_FANCTL_ONOFF, 345 .features = FEAT_16BIT_FANS | FEAT_TEMP_OFFSET | FEAT_VID 352 .features = FEAT_16BIT_FANS | FEAT_TEMP_OFFSET | FEAT_VID 360 .features = FEAT_16BIT_FANS | FEAT_TEMP_OFFSET | FEAT_VID 368 .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS 378 .features = FEAT_NEWER_AUTOPWM | FEAT_12MV_ADC | FEAT_16BIT_FANS 387 .features = FEAT_NEWER_AUTOPWM | FEAT_16BIT_FANS 397 .features 579 u32 features; member in struct:it87_data [all...] |
/linux-master/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_main.c | 2237 * @prev_features: previous features used for comparison 2238 * @features: updated features used for configuration 2240 * Set the aq_required bit(s) based on the requested features passed in to 2248 netdev_features_t features) 2260 if (features & (NETIF_F_HW_VLAN_STAG_RX | NETIF_F_HW_VLAN_STAG_TX)) 2262 else if (features & (NETIF_F_HW_VLAN_CTAG_RX | NETIF_F_HW_VLAN_CTAG_TX)) 2271 if (!(features & (NETIF_F_HW_VLAN_STAG_RX | NETIF_F_HW_VLAN_CTAG_RX))) 2273 if (!(features & (NETIF_F_HW_VLAN_STAG_TX | NETIF_F_HW_VLAN_CTAG_TX))) 2516 /* Some features requir 2246 iavf_set_vlan_offload_features(struct iavf_adapter *adapter, netdev_features_t prev_features, netdev_features_t features) argument 4395 iavf_set_features(struct net_device *netdev, netdev_features_t features) argument 4425 iavf_features_check(struct sk_buff *skb, struct net_device *dev, netdev_features_t features) argument 4552 netdev_features_t features = 0; local 4758 iavf_fix_features(struct net_device *netdev, netdev_features_t features) argument [all...] |
/linux-master/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_hw.c | 1024 netdev_features_t features) 1029 features |= NETIF_F_RXCSUM | NETIF_F_IP_CSUM | 1034 features &= ~NETIF_F_TSO; 1036 features |= NETIF_F_TSO; 1039 features &= ~NETIF_F_TSO6; 1041 features |= NETIF_F_TSO6; 1044 features &= ~(NETIF_F_RXCSUM | 1049 features &= ~(NETIF_F_TSO | NETIF_F_TSO6); 1053 return features; 1057 netdev_features_t features) 1023 qlcnic_process_flags(struct qlcnic_adapter *adapter, netdev_features_t features) argument 1056 qlcnic_fix_features(struct net_device *netdev, netdev_features_t features) argument 1083 qlcnic_set_features(struct net_device *netdev, netdev_features_t features) argument [all...] |
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_common.c | 1991 netdev_features_t features) 1993 netdev_features_t changed = netdev->features ^ features; 1998 /* Assume this is not called with features we have not advertised */ 2003 if (features & NETIF_F_RXCSUM) 2010 if (features & (NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM)) 2017 if (features & (NETIF_F_TSO | NETIF_F_TSO6)) 2025 if (features & NETIF_F_HW_VLAN_CTAG_RX) 2033 if (features & NETIF_F_HW_VLAN_CTAG_TX) 2041 if (features 1990 nfp_net_set_features(struct net_device *netdev, netdev_features_t features) argument 2083 nfp_net_fix_features(struct net_device *netdev, netdev_features_t features) argument 2104 nfp_net_features_check(struct sk_buff *skb, struct net_device *dev, netdev_features_t features) argument [all...] |
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_selftest.c | 88 mlx4_en_update_loopback_state(priv->dev, priv->dev->features); 111 mlx4_en_update_loopback_state(priv->dev, priv->dev->features);
|
/linux-master/fs/orangefs/ |
H A D | upcall.h | 217 __u64 features; member in struct:orangefs_features_request_s 256 struct orangefs_features_request_s features; member in union:orangefs_upcall_s::__anon10429
|
/linux-master/include/linux/ceph/ |
H A D | msgr.h | 31 * messenger V2 features 118 #define CEPH_MSGR_TAG_FEATURES 12 /* insufficient features */ 128 __le64 features; /* supported feature bits */ member in struct:ceph_msg_connect 140 __le64 features; /* feature bits for this session */ member in struct:ceph_msg_connect_reply
|
/linux-master/drivers/thermal/ti-soc-thermal/ |
H A D | ti-bandgap.h | 98 * features. Please read TRMs for descriptive explanation on each bitfield. 270 * TI_BANDGAP_FEATURE_FREEZE_BIT - used when the bandgap device features 273 * TI_BANDGAP_FEATURE_COUNTER_DELAY - used when the bandgap device features 276 * TI_BANDGAP_FEATURE_HISTORY_BUFFER - used when the bandgap device features 301 ((b)->conf->features & TI_BANDGAP_FEATURE_ ## f) 305 * @features: a bitwise flag set to describe the device features 318 * of a bandgap device instance. It should describe which features this instance 324 unsigned int features; member in struct:ti_bandgap_data
|
/linux-master/drivers/clk/sunxi-ng/ |
H A D | ccu-sun50i-a100-r.c | 39 .features = CCU_FEATURE_VARIABLE_PREDIV, 74 .features = CCU_FEATURE_VARIABLE_PREDIV,
|