Home
last modified time | relevance | path

Searched refs:prop (Results 1 – 8 of 8) sorted by relevance

/drivers/peripheral/display/hal/default_standard/src/display_device/drm/
Ddrm_plane.cpp35 DrmProperty prop; in Init() local
36 ret = drmDevice.GetPlaneProperty(*this, PROP_FBID, prop); in Init()
37 mPropFbId = prop.propId; in Init()
39 ret = drmDevice.GetPlaneProperty(*this, PROP_IN_FENCE_FD, prop); in Init()
41 mPropFenceInId = prop.propId; in Init()
42 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_ID, prop); in Init()
44 mPropCrtcId = prop.propId; in Init()
45 ret = drmDevice.GetPlaneProperty(*this, PROP_TYPE, prop); in Init()
47 switch (prop.value) { in Init()
51 mType = static_cast<uint32_t>(prop.value); in Init()
[all …]
Ddrm_crtc.cpp29 DrmProperty prop; in Init() local
30 ret = drmDevice.GetCrtcProperty(*this, PROP_MODEID, prop); in Init()
31 mModePropId = prop.propId; in Init()
34 ret = drmDevice.GetCrtcProperty(*this, PROP_OUTFENCE, prop); in Init()
36 mOutFencePropId = prop.propId; in Init()
38 ret = drmDevice.GetCrtcProperty(*this, PROP_ACTIVE, prop); in Init()
40 mActivePropId = prop.propId; in Init()
Ddrm_device.h49 int32_t GetCrtcProperty(const DrmCrtc &crtc, const std::string &name, DrmProperty &prop);
50 …_t GetConnectorProperty(const DrmConnector &connector, const std::string &name, DrmProperty &prop);
51 int32_t GetPlaneProperty(const DrmPlane &plane, const std::string &name, DrmProperty &prop);
53 … int32_t GetProperty(uint32_t objId, uint32_t objType, const std::string &name, DrmProperty &prop);
Ddrm_connector.cpp74 DrmProperty prop; in Init() local
79 int32_t ret = drmDevice.GetConnectorProperty(*this, PROP_DPMS, prop); in Init()
81 mPropDpmsId = prop.propId; in Init()
82 mDpmsState = prop.value; in Init()
85 ret = drmDevice.GetConnectorProperty(*this, PROP_CRTCID, prop); in Init()
87 mPropCrtcId = prop.propId; in Init()
91 ret = drmDevice.GetConnectorProperty(*this, PROP_BRIGHTNESS, prop); in Init()
93 mPropBrightnessId = prop.propId; in Init()
94 mBrightnessLevel = static_cast<uint32_t>(prop.value); in Init()
Ddrm_device.cpp90 int32_t DrmDevice::GetCrtcProperty(const DrmCrtc &crtc, const std::string &name, DrmProperty &prop) in GetCrtcProperty() argument
92 return GetProperty(crtc.GetId(), DRM_MODE_OBJECT_CRTC, name, prop); in GetCrtcProperty()
95 …ce::GetConnectorProperty(const DrmConnector &connector, const std::string &name, DrmProperty &prop) in GetConnectorProperty() argument
97 return GetProperty(connector.GetId(), DRM_MODE_OBJECT_CONNECTOR, name, prop); in GetConnectorProperty()
100 …32_t DrmDevice::GetPlaneProperty(const DrmPlane &plane, const std::string &name, DrmProperty &prop) in GetPlaneProperty() argument
102 return GetProperty(plane.GetId(), DRM_MODE_OBJECT_PLANE, name, prop); in GetPlaneProperty()
105 …rmDevice::GetProperty(uint32_t objId, uint32_t objType, const std::string &name, DrmProperty &prop) in GetProperty() argument
114 prop.propId = p->prop_id; in GetProperty()
115 prop.value = props->prop_values[i]; in GetProperty()
/drivers/hdf_core/framework/include/utils/
Dhcs_macro.h101 #define HCS_NODE_HAS_PROP(node, prop) HCS_CAT(node, _##prop##_exists) argument
110 #define HCS_PROP(node, prop) HCS_CAT(node, _##prop) argument
/drivers/peripheral/usb/ddk/device/include/
Dadapter_if.h107 struct FconfigProp prop; member
112 struct FconfigPropSting prop; member
/drivers/peripheral/usb/ddk/device/src/
Dadapter_if_liteos.c959 info.prop.propName = propName; in UsbFnWriteProp()
960 info.prop.propValue = (uint32_t)propValue; in UsbFnWriteProp()
994 info.prop.lang = lang; in UsbFnWriteDesString()
995 info.prop.propName = stringName; in UsbFnWriteDesString()
996 info.prop.propValue = stringValue; in UsbFnWriteDesString()