Searched refs:feat_id (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ena/ |
H A D | ena_admin.c | 618 const enahw_feature_id_t feat_id, const uint8_t feat_ver) in ena_set_feature() argument 624 if (!ena_is_feat_avail(ena, feat_id)) { in ena_set_feature() 626 " (0x%x)", feat_id, feat_ver, ena->ena_supported_features); in ena_set_feature() 631 cmd_sf->ecsf_comm.efc_id = feat_id; in ena_set_feature() 645 const enahw_feature_id_t feat_id, const uint8_t feat_ver) in ena_get_feature() argument 652 if (!ena_is_feat_avail(ena, feat_id)) { in ena_get_feature() 658 cmd_gf->ecgf_comm.efc_id = feat_id; in ena_get_feature()
|
H A D | ena.c | 424 ena_is_feat_avail(ena_t *ena, const enahw_feature_id_t feat_id) in ena_is_feat_avail() argument 426 VERIFY3U(feat_id, <=, ENAHW_FEAT_NUM); in ena_is_feat_avail() 427 uint32_t mask = 1U << feat_id; in ena_is_feat_avail() 433 if (feat_id == ENAHW_FEAT_DEVICE_ATTRIBUTES) in ena_is_feat_avail()
|