Home
last modified time | relevance | path

Searched refs:attrs (Results 1 – 16 of 16) sorted by relevance

/hardware/google/pixel/thermal/utils/
Dthermal_watcher.cpp192 struct nlattr *attrs[THERMAL_GENL_ATTR_MAX + 1]; in handleEvent() local
195 genlmsg_parse(nlh, 0, attrs, THERMAL_GENL_ATTR_MAX, NULL); in handleEvent()
199 if (attrs[THERMAL_GENL_ATTR_TZ_ID]) { in handleEvent()
200 LOG(INFO) << "Thermal zone id: " << nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]); in handleEvent()
201 *tz_id = nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]); in handleEvent()
203 if (attrs[THERMAL_GENL_ATTR_TZ_TRIP_ID]) in handleEvent()
205 << nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_TRIP_ID]); in handleEvent()
210 if (attrs[THERMAL_GENL_ATTR_TZ_ID]) { in handleEvent()
211 LOG(INFO) << "Thermal zone id: " << nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]); in handleEvent()
212 *tz_id = nla_get_u32(attrs[THERMAL_GENL_ATTR_TZ_ID]); in handleEvent()
[all …]
/hardware/qcom/display/msm8998/gpu_tonemapper/
DEGLImageBuffer.cpp33 EGLint attrs[] = {EGL_IMAGE_PRESERVED_KHR, EGL_TRUE, in create_eglImage() local
39 (EGLClientBuffer)(graphicBuffer->getNativeBuffer()), attrs); in create_eglImage()
/hardware/qcom/display/msm8909/gpu_tonemapper/
DEGLImageBuffer.cpp33 EGLint attrs[] = {EGL_IMAGE_PRESERVED_KHR, EGL_TRUE, in create_eglImage() local
39 (EGLClientBuffer)(graphicBuffer->getNativeBuffer()), attrs); in create_eglImage()
/hardware/qcom/display/msm8909w_3100/gpu_tonemapper/
DEGLImageBuffer.cpp33 EGLint attrs[] = {EGL_IMAGE_PRESERVED_KHR, EGL_TRUE, in create_eglImage() local
39 (EGLClientBuffer)(graphicBuffer->getNativeBuffer()), attrs); in create_eglImage()
/hardware/qcom/sm8150/display/gpu_tonemapper/
DEGLImageBuffer.cpp33 EGLint attrs[] = {EGL_IMAGE_PRESERVED_KHR, EGL_TRUE, in create_eglImage() local
39 (EGLClientBuffer)(graphicBuffer->getNativeBuffer()), attrs); in create_eglImage()
/hardware/interfaces/uwb/aidl/default/src/
Duwb_chip.rs48 let mut attrs = termios::tcgetattr(fd)?; in makeraw() localVariable
50 termios::cfmakeraw(&mut attrs); in makeraw()
52 termios::tcsetattr(fd, termios::SetArg::TCSANOW, &attrs)?; in makeraw()
/hardware/qcom/sm7250/display/gpu_tonemapper/
DEGLImageBuffer.cpp33 EGLint attrs[] = {EGL_IMAGE_PRESERVED_KHR, EGL_TRUE, in create_eglImage() local
39 (EGLClientBuffer)(graphicBuffer->getNativeBuffer()), attrs); in create_eglImage()
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDeviceInterface.cpp80 std::unordered_set<unsigned long> attrs; in makeDPURestrictions() local
83 if (attrs.find(r.attr) != attrs.end()) in makeDPURestrictions()
86 attrs.insert(r.attr); in makeDPURestrictions()
/hardware/google/graphics/common/hwc3/
DComposerClient.h92 int64_t display, DisplayContentSamplingAttributes* attrs) override;
101 ReadbackBufferAttributes* attrs) override;
DComposerClient.cpp219 int64_t display, DisplayContentSamplingAttributes* attrs) { in getDisplayedContentSamplingAttributes() argument
221 auto err = mHal->getDisplayedContentSamplingAttributes(display, attrs); in getDisplayedContentSamplingAttributes()
258 ReadbackBufferAttributes* attrs) { in getReadbackBufferAttributes() argument
260 auto err = mHal->getReadbackBufferAttributes(display, attrs); in getReadbackBufferAttributes()
/hardware/google/graphics/common/hwc3/impl/
DHalImpl.h70 DisplayContentSamplingAttributes* attrs) override;
79 int32_t getReadbackBufferAttributes(int64_t display, ReadbackBufferAttributes* attrs) override;
DHalImpl.cpp435 [[maybe_unused]] DisplayContentSamplingAttributes* attrs) { in getDisplayedContentSamplingAttributes() argument
513 ReadbackBufferAttributes* attrs) { in getReadbackBufferAttributes() argument
521 h2a::translate(format, attrs->format); in getReadbackBufferAttributes()
522 h2a::translate(dataspace, attrs->dataspace); in getReadbackBufferAttributes()
/hardware/google/graphics/common/hwc3/include/
DIComposerHal.h142 int64_t display, DisplayContentSamplingAttributes* attrs) = 0;
152 ReadbackBufferAttributes* attrs) = 0;
/hardware/libhardware/tests/hwc/
Dcnativewindow.c365 uint32_t attrs[] = { variable
411 if ((r = hwc->getDisplayAttributes(hwc, 0, configs[0], attrs, values))) { in hwc_init()
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dwifilogger_diag.cpp2655 struct nlattr *attrs[CLD80211_ATTR_MAX + 1]; in diag_message_handler() local
2667 int result = nla_parse(attrs, CLD80211_ATTR_MAX, genlmsg_attrdata(genlh, 0), in diag_message_handler()
2670 if (!result && attrs[CLD80211_ATTR_VENDOR_DATA]) { in diag_message_handler()
2672 (struct nlattr *)nla_data(attrs[CLD80211_ATTR_VENDOR_DATA]), in diag_message_handler()
2673 nla_len(attrs[CLD80211_ATTR_VENDOR_DATA]), NULL); in diag_message_handler()
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dwifilogger_diag.cpp2678 struct nlattr *attrs[CLD80211_ATTR_MAX + 1]; in diag_message_handler() local
2690 int result = nla_parse(attrs, CLD80211_ATTR_MAX, genlmsg_attrdata(genlh, 0), in diag_message_handler()
2693 if (!result && attrs[CLD80211_ATTR_VENDOR_DATA]) { in diag_message_handler()
2695 (struct nlattr *)nla_data(attrs[CLD80211_ATTR_VENDOR_DATA]), in diag_message_handler()
2696 nla_len(attrs[CLD80211_ATTR_VENDOR_DATA]), NULL); in diag_message_handler()