/drivers/peripheral/display/composer/vdi_base/src/ |
H A D | drm_plane.cpp | 68 DrmProperty prop; in GetCrtcProp() local 70 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_X_ID, prop); in GetCrtcProp() 71 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane crtc_x prop id")); in GetCrtcProp() 72 mPropCrtc_xId = prop.propId; in GetCrtcProp() 73 crtc_x = prop.value; in GetCrtcProp() 75 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_Y_ID, prop); in GetCrtcProp() 76 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane crtc_y prop id")); in GetCrtcProp() 77 mPropCrtc_yId = prop.propId; in GetCrtcProp() 78 crtc_y = prop.value; in GetCrtcProp() 80 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_W_ID, prop); in GetCrtcProp() 103 DrmProperty prop; GetSrcProp() local 134 DrmProperty prop; GetNameProp() local 165 DrmProperty prop; Init() local [all...] |
H A D | drm_crtc.cpp | 41 DrmProperty prop; in Init() local 42 ret = drmDevice.GetCrtcProperty(*this, PROP_MODEID, prop); in Init() 43 mModePropId = prop.propId; in Init() 44 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("can not get mode prop id")); in Init() 46 ret = drmDevice.GetCrtcProperty(*this, PROP_OUTFENCE, prop); in Init() 47 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get out fence prop id")); in Init() 48 mOutFencePropId = prop.propId; in Init() 50 ret = drmDevice.GetCrtcProperty(*this, PROP_ACTIVE, prop); in Init() 51 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get out fence prop id")); in Init() 52 mActivePropId = prop in Init() [all...] |
H A D | drm_device.cpp | 90 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 int32_t DrmDevice::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 int32_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 int32_t DrmDevice::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() 116 prop in GetProperty() [all...] |
H A D | drm_connector.cpp | 79 DrmProperty prop; in Init() local 83 // find dpms prop in Init() 84 ret = drmDevice.GetConnectorProperty(*this, PROP_DPMS, prop); in Init() 85 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("can not get mode prop id")); in Init() 86 mPropDpmsId = prop.propId; in Init() 87 mDpmsState = prop.value; in Init() 90 ret = drmDevice.GetConnectorProperty(*this, PROP_CRTCID, prop); in Init() 91 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get out fence prop id")); in Init() 92 mPropCrtcId = prop.propId; in Init() 96 ret = drmDevice.GetConnectorProperty(*this, PROP_BRIGHTNESS, prop); in Init() [all...] |
/drivers/peripheral/display/hal/default_standard/src/display_device/drm/ |
H A D | drm_plane.cpp | 35 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() 40 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get plane in fence prop id"));
in Init() 41 mPropFenceInId = prop.propId;
in Init() 42 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_ID, prop);
in Init() 43 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane crtc prop id"));
in Init() 44 mPropCrtcId = prop.propId;
in Init() 45 ret = drmDevice.GetPlaneProperty(*this, PROP_TYPE, prop);
in Init() [all...] |
H A D | drm_crtc.cpp | 29 DrmProperty prop;
in Init() local 30 ret = drmDevice.GetCrtcProperty(*this, PROP_MODEID, prop);
in Init() 31 mModePropId = prop.propId;
in Init() 32 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("can not get mode prop id"));
in Init() 34 ret = drmDevice.GetCrtcProperty(*this, PROP_OUTFENCE, prop);
in Init() 35 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get out fence prop id"));
in Init() 36 mOutFencePropId = prop.propId;
in Init() 38 ret = drmDevice.GetCrtcProperty(*this, PROP_ACTIVE, prop);
in Init() 39 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get out fence prop id"));
in Init() 40 mActivePropId = prop in Init() [all...] |
H A D | drm_device.h | 49 int32_t GetCrtcProperty(const DrmCrtc &crtc, const std::string &name, DrmProperty &prop);
50 int32_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);
|
H A D | drm_connector.cpp | 74 DrmProperty prop;
in Init() local 78 // find dpms prop
in Init() 79 int32_t ret = drmDevice.GetConnectorProperty(*this, PROP_DPMS, prop);
in Init() 80 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("can not get mode prop id"));
in Init() 81 mPropDpmsId = prop.propId;
in Init() 82 mDpmsState = prop.value;
in Init() 85 ret = drmDevice.GetConnectorProperty(*this, PROP_CRTCID, prop);
in Init() 86 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get out fence prop id"));
in Init() 87 mPropCrtcId = prop.propId;
in Init() 91 ret = drmDevice.GetConnectorProperty(*this, PROP_BRIGHTNESS, prop);
in Init() [all...] |
H A D | drm_device.cpp | 90 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 int32_t DrmDevice::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 int32_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 int32_t DrmDevice::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/ |
H A D | hcs_macro.h | 98 * @param prop Indicates the node attribute to check.
101 #define HCS_NODE_HAS_PROP(node, prop) HCS_CAT(node, _##prop##_exists)
107 * @param prop Indicates the attribute name.
110 #define HCS_PROP(node, prop) HCS_CAT(node, _##prop)
|
/drivers/peripheral/display/composer/vdi_base/include/ |
H A D | drm_device.h | 67 int32_t GetCrtcProperty(const DrmCrtc &crtc, const std::string &name, DrmProperty &prop); 68 int32_t GetConnectorProperty(const DrmConnector &connector, const std::string &name, DrmProperty &prop); 69 int32_t GetPlaneProperty(const DrmPlane &plane, const std::string &name, DrmProperty &prop); 71 int32_t GetProperty(uint32_t objId, uint32_t objType, const std::string &name, DrmProperty &prop);
|
/drivers/peripheral/usb/ddk/device/include/ |
H A D | adapter_if.h | 107 struct FconfigProp prop; member 112 struct FconfigPropSting prop; member
|
/drivers/peripheral/usb/ddk/device/src/ |
H A D | adapter_if_liteos.c | 971 info.prop.propName = propName; in UsbFnWriteProp() 972 info.prop.propValue = (uint32_t)propValue; in UsbFnWriteProp() 1006 info.prop.lang = lang; in UsbFnWriteDesString() 1007 info.prop.propName = stringName; in UsbFnWriteDesString() 1008 info.prop.propValue = stringValue; in UsbFnWriteDesString()
|