| /include/linux/ |
| A D | virtio_features.h | 33 static inline bool virtio_features_test_bit(const u64 *features, in virtio_features_test_bit() argument 37 !!(features[VIRTIO_DWORD(bit)] & VIRTIO_BIT(bit)); in virtio_features_test_bit() 40 static inline void virtio_features_set_bit(u64 *features, in virtio_features_set_bit() argument 44 features[VIRTIO_DWORD(bit)] |= VIRTIO_BIT(bit); in virtio_features_set_bit() 47 static inline void virtio_features_clear_bit(u64 *features, in virtio_features_clear_bit() argument 51 features[VIRTIO_DWORD(bit)] &= ~VIRTIO_BIT(bit); in virtio_features_clear_bit() 54 static inline void virtio_features_zero(u64 *features) in virtio_features_zero() argument 56 memset(features, 0, sizeof(features[0]) * VIRTIO_FEATURES_DWORDS); in virtio_features_zero() 59 static inline void virtio_features_from_u64(u64 *features, u64 from) in virtio_features_from_u64() argument 61 virtio_features_zero(features); in virtio_features_from_u64() [all …]
|
| A D | virtio_pci_modern.h | 101 u64 *features); 103 u64 *features); 105 const u64 *features); 129 vp_modern_set_features(struct virtio_pci_modern_device *mdev, u64 features) in vp_modern_set_features() argument 133 virtio_features_from_u64(features_array, features); in vp_modern_set_features()
|
| A D | device-mapper.h | 199 uint64_t features; member 238 #define dm_target_needs_singleton(type) ((type)->features & DM_TARGET_SINGLETON) 245 ((type)->features & DM_TARGET_ALWAYS_WRITEABLE) 252 #define dm_target_is_immutable(type) ((type)->features & DM_TARGET_IMMUTABLE) 259 #define dm_target_is_wildcard(type) ((type)->features & DM_TARGET_WILDCARD) 265 #define dm_target_has_integrity(type) ((type)->features & DM_TARGET_INTEGRITY) 271 #define dm_target_passes_integrity(type) ((type)->features & DM_TARGET_PASSES_INTEGRITY) 282 #define dm_target_supports_zoned_hm(type) ((type)->features & DM_TARGET_ZONED_HM) 292 #define dm_target_supports_nowait(type) ((type)->features & DM_TARGET_NOWAIT) 298 #define dm_target_passes_crypto(type) ((type)->features & DM_TARGET_PASSES_CRYPTO) [all …]
|
| A D | pci-ats.h | 41 int pci_enable_pasid(struct pci_dev *pdev, int features); 47 static inline int pci_enable_pasid(struct pci_dev *pdev, int features) in pci_enable_pasid() argument
|
| A D | netdev_features.h | 258 static inline netdev_features_t netdev_base_features(netdev_features_t features) in netdev_base_features() argument 260 features &= ~NETIF_F_ONE_FOR_ALL; in netdev_base_features() 261 features |= NETIF_F_ALL_FOR_ALL; in netdev_base_features() 262 return features; in netdev_base_features()
|
| A D | if_vlan.h | 332 static inline bool vlan_hw_offload_capable(netdev_features_t features, in vlan_hw_offload_capable() argument 335 if (proto == htons(ETH_P_8021Q) && features & NETIF_F_HW_VLAN_CTAG_TX) in vlan_hw_offload_capable() 337 if (proto == htons(ETH_P_8021AD) && features & NETIF_F_HW_VLAN_STAG_TX) in vlan_hw_offload_capable() 589 if (skb->dev->features & NETIF_F_HW_VLAN_CTAG_TX) { in vlan_get_tag() 802 netdev_features_t features) in vlan_features_check() argument 810 features &= NETIF_F_SG | NETIF_F_HIGHDMA | NETIF_F_HW_CSUM | in vlan_features_check() 815 return features; in vlan_features_check()
|
| A D | vdpa.h | 402 int (*set_driver_features)(struct vdpa_device *vdev, u64 features); 543 static inline int vdpa_set_features_unlocked(struct vdpa_device *vdev, u64 features) in vdpa_set_features_unlocked() argument 549 ret = ops->set_driver_features(vdev, features); in vdpa_set_features_unlocked() 554 static inline int vdpa_set_features(struct vdpa_device *vdev, u64 features) in vdpa_set_features() argument 559 ret = vdpa_set_features_unlocked(vdev, features); in vdpa_set_features()
|
| A D | vringh.h | 126 int vringh_init_user(struct vringh *vrh, u64 features, 185 int vringh_init_kern(struct vringh *vrh, u64 features, 290 int vringh_init_iotlb(struct vringh *vrh, u64 features, 296 int vringh_init_iotlb_va(struct vringh *vrh, u64 features,
|
| A D | virtio_pci_legacy.h | 23 u32 features);
|
| A D | if_tap.h | 47 void (*update_features)(struct tap_dev *tap, netdev_features_t features);
|
| A D | blkdev.h | 370 blk_features_t features; member 672 #define blk_queue_nonrot(q) (!((q)->limits.features & BLK_FEAT_ROTATIONAL)) 673 #define blk_queue_io_stat(q) ((q)->limits.features & BLK_FEAT_IO_STAT) 676 #define blk_queue_dax(q) ((q)->limits.features & BLK_FEAT_DAX) 693 ((q)->limits.features & BLK_FEAT_SKIP_TAGSET_QUIESCE) 728 (q->limits.features & BLK_FEAT_ZONED); in blk_queue_is_zoned() 1450 return bdev->bd_disk->queue->limits.features & BLK_FEAT_SYNCHRONOUS; in bdev_synchronous() 1460 return q->limits.features & BLK_FEAT_STABLE_WRITES; in bdev_stable_writes() 1465 return (q->limits.features & BLK_FEAT_WRITE_CACHE) && in blk_queue_write_cache() 1476 return bdev_limits(bdev)->features & BLK_FEAT_FUA; in bdev_fua() [all …]
|
| /include/net/ |
| A D | gso.h | 78 netdev_features_t features, bool tx_path); 81 netdev_features_t features) in skb_gso_segment() argument 83 return __skb_gso_segment(skb, features, true); in skb_gso_segment() 87 netdev_features_t features, __be16 type); 90 netdev_features_t features);
|
| A D | vxlan.h | 365 netdev_features_t features) in vxlan_features_check() argument 370 return features; in vxlan_features_check() 380 return features; in vxlan_features_check() 389 !can_checksum_protocol(features, inner_eth_hdr(skb)->h_proto)))) in vxlan_features_check() 390 return features & ~(NETIF_F_CSUM_MASK | NETIF_F_GSO_MASK); in vxlan_features_check() 392 return features; in vxlan_features_check()
|
| A D | udp_tunnel.h | 368 if (!(dev->features & NETIF_F_RX_UDP_TUNNEL_PORT)) in udp_tunnel_nic_add_port() 377 if (!(dev->features & NETIF_F_RX_UDP_TUNNEL_PORT)) in udp_tunnel_nic_del_port() 435 if (!(dev->features & NETIF_F_RX_UDP_TUNNEL_PORT)) in udp_tunnel_get_rx_info() 444 if (!(dev->features & NETIF_F_RX_UDP_TUNNEL_PORT)) in udp_tunnel_drop_rx_info()
|
| /include/drm/ |
| A D | drm_drv.h | 530 u32 features) in drm_core_check_all_features() argument 534 return features && (supported & features) == features; in drm_core_check_all_features()
|
| A D | drm_kunit_helpers.h | 59 u32 features) in __drm_kunit_helper_alloc_drm_device() argument 66 driver->driver_features = features; in __drm_kunit_helper_alloc_drm_device()
|
| /include/uapi/linux/io_uring/ |
| A D | mock_file.h | 17 __u64 features; member
|
| /include/linux/platform_data/ |
| A D | hsmmc-omap.h | 65 unsigned features; member
|
| A D | mmc-omap.h | 79 unsigned features; member
|
| /include/net/bluetooth/ |
| A D | hci_core.h | 376 __u8 features[HCI_MAX_PAGES][8]; member 699 __u8 features[HCI_MAX_PAGES][8]; member 1872 #define lmp_hold_capable(dev) ((dev)->features[0][0] & LMP_HOLD) 1873 #define lmp_sniff_capable(dev) ((dev)->features[0][0] & LMP_SNIFF) 1874 #define lmp_park_capable(dev) ((dev)->features[0][1] & LMP_PARK) 1875 #define lmp_sco_capable(dev) ((dev)->features[0][1] & LMP_SCO) 1877 #define lmp_esco_capable(dev) ((dev)->features[0][3] & LMP_ESCO) 1879 #define lmp_le_capable(dev) ((dev)->features[0][4] & LMP_LE) 1887 #define lmp_lsto_capable(dev) ((dev)->features[0][7] & LMP_LSTO) 1901 #define lmp_sc_capable(dev) ((dev)->features[2][1] & LMP_SC) [all …]
|
| /include/uapi/linux/ |
| A D | virtio_snd.h | 145 __le32 features; member 238 __le32 features; member 262 __le32 features; member
|
| /include/linux/pds/ |
| A D | pds_adminq.h | 262 __le64 features; member 299 __le64 features; member 422 __le64 features; member 442 __le64 features; member 476 __le64 features; member 497 __le64 features; member 817 __le64 features; member 1252 __le64 features; member
|
| /include/linux/ceph/ |
| A D | msgr.h | 128 __le64 features; /* supported feature bits */ member 140 __le64 features; /* feature bits for this session */ member
|
| /include/net/libeth/ |
| A D | rx.h | 292 (dev->features & NETIF_F_RXCSUM)); in libeth_rx_pt_has_checksum() 299 (dev->features & NETIF_F_RXHASH)); in libeth_rx_pt_has_hash()
|
| /include/linux/mtd/ |
| A D | jedec.h | 32 __le16 features; member
|