Home
last modified time | relevance | path

Searched refs:mAttributes (Results 1 – 15 of 15) sorted by relevance

/hardware/synaptics/wlan/synadhd/wifi_hal/
Dcpp_bindings.h30 struct nlattr *mAttributes[NL80211_ATTR_MAX_INTERNAL + 1]; variable
36 memset(mAttributes, 0, sizeof(mAttributes)); in WifiEvent()
73 return mAttributes; in attributes()
77 return mAttributes[attribute]; in get_attribute()
81 return mAttributes[attribute] ? nla_get_u8(mAttributes[attribute]) : 0; in get_u8()
85 return mAttributes[attribute] ? nla_get_u16(mAttributes[attribute]) : 0; in get_u16()
89 return mAttributes[attribute] ? nla_get_u32(mAttributes[attribute]) : 0; in get_u32()
93 return mAttributes[attribute] ? nla_get_u64(mAttributes[attribute]) : 0; in get_u64()
97 return mAttributes[attribute] ? nla_len(mAttributes[attribute]) : 0; in get_len()
101 return mAttributes[attribute] ? nla_data(mAttributes[attribute]) : NULL; in get_data()
[all …]
Dcpp_bindings.cpp543 if (mAttributes[i] != NULL) { in log()
561 int result = nla_parse(mAttributes, NL80211_ATTR_MAX_INTERNAL, genlmsg_attrdata(mHeader, 0), in parse()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcpp_bindings.h30 struct nlattr *mAttributes[NL80211_ATTR_MAX_INTERNAL + 1]; variable
36 memset(mAttributes, 0, sizeof(mAttributes)); in WifiEvent()
73 return mAttributes; in attributes()
77 return mAttributes[attribute]; in get_attribute()
81 return mAttributes[attribute] ? nla_get_u8(mAttributes[attribute]) : 0; in get_u8()
85 return mAttributes[attribute] ? nla_get_u16(mAttributes[attribute]) : 0; in get_u16()
89 return mAttributes[attribute] ? nla_get_u32(mAttributes[attribute]) : 0; in get_u32()
93 return mAttributes[attribute] ? nla_get_u64(mAttributes[attribute]) : 0; in get_u64()
97 return mAttributes[attribute] ? nla_len(mAttributes[attribute]) : 0; in get_len()
101 return mAttributes[attribute] ? nla_data(mAttributes[attribute]) : NULL; in get_data()
[all …]
Dcpp_bindings.cpp543 if (mAttributes[i] != NULL) { in log()
561 int result = nla_parse(mAttributes, NL80211_ATTR_MAX_INTERNAL, genlmsg_attrdata(mHeader, 0), in parse()
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dcpp_bindings.h30 struct nlattr *mAttributes[NL80211_ATTR_MAX_INTERNAL + 1]; variable
36 memset(mAttributes, 0, sizeof(mAttributes)); in WifiEvent()
73 return mAttributes; in attributes()
77 return mAttributes[attribute]; in get_attribute()
81 return mAttributes[attribute] ? nla_get_u8(mAttributes[attribute]) : 0; in get_u8()
85 return mAttributes[attribute] ? nla_get_u16(mAttributes[attribute]) : 0; in get_u16()
89 return mAttributes[attribute] ? nla_get_u32(mAttributes[attribute]) : 0; in get_u32()
93 return mAttributes[attribute] ? nla_get_u64(mAttributes[attribute]) : 0; in get_u64()
97 return mAttributes[attribute] ? nla_len(mAttributes[attribute]) : 0; in get_len()
101 return mAttributes[attribute] ? nla_data(mAttributes[attribute]) : NULL; in get_data()
Dcpp_bindings.cpp540 int result = nla_parse(mAttributes, NL80211_ATTR_MAX_INTERNAL, genlmsg_attrdata(mHeader, 0), in parse()
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dcpp_bindings.h36 struct nlattr *mAttributes[NL80211_ATTR_MAX_INTERNAL + 1]; variable
42 memset(mAttributes, 0, sizeof(mAttributes)); in WifiEvent()
79 return mAttributes; in attributes()
83 return mAttributes[attribute]; in get_attribute()
87 return mAttributes[attribute] ? nla_get_u8(mAttributes[attribute]) : 0; in get_u8()
91 return mAttributes[attribute] ? nla_get_u16(mAttributes[attribute]) : 0; in get_u16()
95 return mAttributes[attribute] ? nla_get_u32(mAttributes[attribute]) : 0; in get_u32()
99 return mAttributes[attribute] ? nla_get_u64(mAttributes[attribute]) : 0; in get_u64()
103 return mAttributes[attribute] ? nla_len(mAttributes[attribute]) : 0; in get_len()
107 return mAttributes[attribute] ? nla_data(mAttributes[attribute]) : NULL; in get_data()
Dcpp_bindings.cpp546 int result = nla_parse(mAttributes, NL80211_ATTR_MAX_INTERNAL, genlmsg_attrdata(mHeader, 0), in parse()
/hardware/google/graphics/common/libacryl/
Dacrylic_layer.cpp26 : mCompositor(compositor), mPixFormat(0), mNumBuffers(0), mFence(-1), mAttributes(ATTR_NONE), in AcrylicCanvas()
113 mAttributes = (attr & ATTR_ALL_MASK) | ATTR_SOLIDCOLOR; in setImageBuffer()
171 mAttributes = attr & ATTR_ALL_MASK; in setImageBuffer()
173 mFence, mMemoryType, mNumBuffers, mAttributes, canvasTypeName(mCanvasType)); in setImageBuffer()
223 mAttributes = attr & ATTR_ALL_MASK; in setImageBuffer()
226 mFence, mMemoryType, mNumBuffers, mAttributes, canvasTypeName(mCanvasType)); in setImageBuffer()
252 mAttributes = (attr & ATTR_ALL_MASK) | ATTR_OTF; in setImageOTFBuffer()
/hardware/google/graphics/common/libacryl/include/hardware/exynos/
Dacryl.h576 bool isProtected() { return !!(mAttributes & ATTR_PROTECTED); } in isProtected()
580 bool isCompressed() { return !!(mAttributes & ATTR_COMPRESSED); } in isCompressed()
583 bool isCompressedWideblk() { return !!(mAttributes & ATTR_COMPRESSED_WIDEBLK); } in isCompressedWideblk()
589 bool isUOrder() { return !!(mAttributes & ATTR_UORDER); } in isUOrder()
593 bool isOTF() { return !!(mAttributes & ATTR_OTF); } in isOTF()
597 bool isSolidColor() { return !!(mAttributes & ATTR_SOLIDCOLOR); } in isSolidColor()
708 uint32_t mAttributes; variable
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp1585 mAttributes[attribute] = value; in setAttribute()
1589 if (mAttributes.count(attribute) == 0) { in getAttribute()
1592 return mAttributes.at(attribute); in getAttribute()
1669 "%u x %u", mAttributes.at(HWC2::Attribute::Width), in toString()
1670 mAttributes.at(HWC2::Attribute::Height)); in toString()
1673 if (mAttributes.count(HWC2::Attribute::VsyncPeriod) != 0) { in toString()
1676 1e9 / mAttributes.at(HWC2::Attribute::VsyncPeriod)); in toString()
1680 if (mAttributes.count(HWC2::Attribute::DpiX) != 0 && in toString()
1681 mAttributes.at(HWC2::Attribute::DpiX) != -1) { in toString()
1685 static_cast<float>(mAttributes.at(HWC2::Attribute::DpiX)) / 1000.0f, in toString()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp1670 mAttributes[attribute] = value; in setAttribute()
1675 if (mAttributes.count(attribute) == 0) { in getAttribute()
1678 return mAttributes.at(attribute); in getAttribute()
1762 "%u x %u", mAttributes.at(HWC2::Attribute::Width), in toString()
1763 mAttributes.at(HWC2::Attribute::Height)); in toString()
1766 if (mAttributes.count(HWC2::Attribute::VsyncPeriod) != 0) { in toString()
1769 1e9 / mAttributes.at(HWC2::Attribute::VsyncPeriod)); in toString()
1773 if (mAttributes.count(HWC2::Attribute::DpiX) != 0 && in toString()
1774 mAttributes.at(HWC2::Attribute::DpiX) != -1) { in toString()
1778 mAttributes.at(HWC2::Attribute::DpiX) / 1000.0f, in toString()
[all …]
DHWC2On1Adapter.h251 mAttributes() {} in Config()
283 std::unordered_map<HWC2::Attribute, int32_t> mAttributes; variable
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h287 mAttributes() {} in Config()
319 std::unordered_map<HWC2::Attribute, int32_t> mAttributes; variable
/hardware/qcom/wlan/wcn6740/qcwcn/wpa_supplicant_8_lib/
Ddriver_cmd_nl80211.c810 struct nlattr *mAttributes[NL80211_ATTR_MAX_INTERNAL + 1]; in response_handler() local
817 nla_parse(mAttributes, NL80211_ATTR_MAX_INTERNAL, in response_handler()
821 if (mAttributes[NL80211_ATTR_VENDOR_DATA]) { in response_handler()
822 vendata = nla_data(mAttributes[NL80211_ATTR_VENDOR_DATA]); in response_handler()
823 datalen = nla_len(mAttributes[NL80211_ATTR_VENDOR_DATA]); in response_handler()
4612 struct nlattr *mAttributes[NL80211_ATTR_MAX_INTERNAL + 1]; in features_info_handler() local
4621 nla_parse(mAttributes, NL80211_ATTR_MAX_INTERNAL, in features_info_handler()
4625 if (mAttributes[NL80211_ATTR_VENDOR_DATA]) { in features_info_handler()
4626 vendata = nla_data(mAttributes[NL80211_ATTR_VENDOR_DATA]); in features_info_handler()
4627 datalen = nla_len(mAttributes[NL80211_ATTR_VENDOR_DATA]); in features_info_handler()