Home
last modified time | relevance | path

Searched refs:features (Results 1 – 25 of 71) sorted by relevance

123

/include/linux/
A Dvirtio_features.h33 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 Dvirtio_pci_modern.h101 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 Ddevice-mapper.h199 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 Dpci-ats.h41 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 Dnetdev_features.h258 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 Dif_vlan.h332 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 Dvdpa.h402 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 Dvringh.h126 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 Dvirtio_pci_legacy.h23 u32 features);
A Dif_tap.h47 void (*update_features)(struct tap_dev *tap, netdev_features_t features);
A Dblkdev.h370 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 Dgso.h78 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 Dvxlan.h365 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 Dudp_tunnel.h368 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 Ddrm_drv.h530 u32 features) in drm_core_check_all_features() argument
534 return features && (supported & features) == features; in drm_core_check_all_features()
A Ddrm_kunit_helpers.h59 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 Dmock_file.h17 __u64 features; member
/include/linux/platform_data/
A Dhsmmc-omap.h65 unsigned features; member
A Dmmc-omap.h79 unsigned features; member
/include/net/bluetooth/
A Dhci_core.h376 __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 Dvirtio_snd.h145 __le32 features; member
238 __le32 features; member
262 __le32 features; member
/include/linux/pds/
A Dpds_adminq.h262 __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 Dmsgr.h128 __le64 features; /* supported feature bits */ member
140 __le64 features; /* feature bits for this session */ member
/include/net/libeth/
A Drx.h292 (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 Djedec.h32 __le16 features; member

Completed in 71 milliseconds

123