/device/soc/rockchip/common/sdk_linux/scripts/dtc/ |
D | checks.c | 61 …check_msg(struct check *c, struct dt_info *dti, struct node *node, struct property *prop, const ch… in check_msg() argument 72 if (prop && prop->srcpos) { in check_msg() 73 pos = prop->srcpos; in check_msg() 91 if (prop) { in check_msg() 92 xasprintf_append(&str, "%s:%s: ", node->fullpath, prop->name); in check_msg() 104 if (!prop && pos) { in check_msg() 125 #define FAIL_PROP(c, dti, node, prop, ...) … argument 129 …check_msg((c), dti, node, prop, __VA_ARGS__); … 200 struct property *prop; in check_is_string() local 203 prop = get_property(node, propname); in check_is_string() [all …]
|
/device/soc/rockchip/rk3588/hardware/display/src/display_device/ |
D | drm_plane.cpp | 55 DrmProperty prop; in GetCrtcProp() local 57 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_X_ID, prop); in GetCrtcProp() 59 mPropCrtc_xId = prop.propId; in GetCrtcProp() 60 crtc_x = prop.value; in GetCrtcProp() 62 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_Y_ID, prop); in GetCrtcProp() 64 mPropCrtc_yId = prop.propId; in GetCrtcProp() 65 crtc_y = prop.value; in GetCrtcProp() 67 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_W_ID, prop); in GetCrtcProp() 69 mPropCrtc_wId = prop.propId; in GetCrtcProp() 70 crtc_w = prop.value; in GetCrtcProp() [all …]
|
D | drm_crtc.cpp | 43 DrmProperty prop; in Init() local 44 ret = drmDevice.GetCrtcProperty(*this, PROP_MODEID, prop); in Init() 45 mModePropId = prop.propId; in Init() 48 ret = drmDevice.GetCrtcProperty(*this, PROP_OUTFENCE, prop); in Init() 50 mOutFencePropId = prop.propId; in Init() 52 ret = drmDevice.GetCrtcProperty(*this, PROP_ACTIVE, prop); in Init() 54 mActivePropId = prop.propId; in Init() 58 ret = drmDevice.GetCrtcProperty(*this, "PLANE_MASK", prop); in Init() 63 for (auto &drmEnum : prop.enums) { in Init() 65 … strlen(drmEnum.name.c_str())) && (prop.value & (1LL << drmEnum.value)) > 0) { in Init()
|
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 …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() 116 prop.name = p->name; in GetProperty() [all …]
|
/device/soc/rockchip/rk3568/hardware/display/src/display_device/ |
D | drm_plane.cpp | 65 DrmProperty prop; in GetCrtcProp() local 67 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_X_ID, prop); in GetCrtcProp() 69 mPropCrtc_xId = prop.propId; in GetCrtcProp() 70 crtc_x = prop.value; in GetCrtcProp() 72 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_Y_ID, prop); in GetCrtcProp() 74 mPropCrtc_yId = prop.propId; in GetCrtcProp() 75 crtc_y = prop.value; in GetCrtcProp() 77 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_W_ID, prop); in GetCrtcProp() 79 mPropCrtc_wId = prop.propId; in GetCrtcProp() 80 crtc_w = prop.value; in GetCrtcProp() [all …]
|
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() 46 ret = drmDevice.GetCrtcProperty(*this, PROP_OUTFENCE, prop); in Init() 48 mOutFencePropId = prop.propId; in Init() 50 ret = drmDevice.GetCrtcProperty(*this, PROP_ACTIVE, prop); in Init() 52 mActivePropId = prop.propId; in Init() 56 ret = drmDevice.GetCrtcProperty(*this, "PLANE_MASK", prop); in Init() 61 for (auto &drmEnum : prop.enums) { in Init() 63 … strlen(drmEnum.name.c_str())) && (prop.value & (1LL << drmEnum.value)) > 0) { in Init()
|
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 …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() 116 prop.name = p->name; in GetProperty() [all …]
|
/device/soc/rockchip/rk3566/hardware/display/src/display_device/ |
D | drm_plane.cpp | 65 DrmProperty prop; in GetCrtcProp() local 67 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_X_ID, prop); in GetCrtcProp() 69 mPropCrtc_xId = prop.propId; in GetCrtcProp() 70 crtc_x = prop.value; in GetCrtcProp() 72 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_Y_ID, prop); in GetCrtcProp() 74 mPropCrtc_yId = prop.propId; in GetCrtcProp() 75 crtc_y = prop.value; in GetCrtcProp() 77 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_W_ID, prop); in GetCrtcProp() 79 mPropCrtc_wId = prop.propId; in GetCrtcProp() 80 crtc_w = prop.value; in GetCrtcProp() [all …]
|
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() 46 ret = drmDevice.GetCrtcProperty(*this, PROP_OUTFENCE, prop); in Init() 48 mOutFencePropId = prop.propId; in Init() 50 ret = drmDevice.GetCrtcProperty(*this, PROP_ACTIVE, prop); in Init() 52 mActivePropId = prop.propId; in Init() 56 ret = drmDevice.GetCrtcProperty(*this, "PLANE_MASK", prop); in Init() 61 for (auto &drmEnum : prop.enums) { in Init() 63 … strlen(drmEnum.name.c_str())) && (prop.value & (1LL << drmEnum.value)) > 0) { in Init()
|
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 …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() 116 prop.name = p->name; in GetProperty() [all …]
|
/device/soc/rockchip/rk3399/hardware/display/src/display_device/ |
D | drm_plane.cpp | 65 DrmProperty prop; in GetCrtcProp() local 67 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_X_ID, prop); in GetCrtcProp() 69 mPropCrtc_xId = prop.propId; in GetCrtcProp() 70 crtc_x = prop.value; in GetCrtcProp() 72 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_Y_ID, prop); in GetCrtcProp() 74 mPropCrtc_yId = prop.propId; in GetCrtcProp() 75 crtc_y = prop.value; in GetCrtcProp() 77 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_W_ID, prop); in GetCrtcProp() 79 mPropCrtc_wId = prop.propId; in GetCrtcProp() 80 crtc_w = prop.value; in GetCrtcProp() [all …]
|
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() 46 ret = drmDevice.GetCrtcProperty(*this, PROP_OUTFENCE, prop); in Init() 48 mOutFencePropId = prop.propId; in Init() 50 ret = drmDevice.GetCrtcProperty(*this, PROP_ACTIVE, prop); in Init() 52 mActivePropId = prop.propId; in Init() 56 ret = drmDevice.GetCrtcProperty(*this, "PLANE_MASK", prop); in Init() 61 for (auto &drmEnum : prop.enums) { in Init() 63 … strlen(drmEnum.name.c_str())) && (prop.value & (1LL << drmEnum.value)) > 0) { in Init()
|
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 …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() 116 prop.name = p->name; in GetProperty() [all …]
|
/device/soc/rockchip/common/hardware/display/src/display_device/ |
D | drm_plane.cpp | 66 DrmProperty prop; in GetCrtcProp() local 68 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_X_ID, prop); in GetCrtcProp() 71 mPropCrtc_xId = prop.propId; in GetCrtcProp() 72 crtc_x = prop.value; in GetCrtcProp() 74 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_Y_ID, prop); 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() 83 mPropCrtc_wId = prop.propId; in GetCrtcProp() 84 crtc_w = prop.value; in GetCrtcProp() [all …]
|
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() 46 ret = drmDevice.GetCrtcProperty(*this, PROP_OUTFENCE, prop); in Init() 49 mOutFencePropId = prop.propId; in Init() 51 ret = drmDevice.GetCrtcProperty(*this, PROP_ACTIVE, prop); in Init() 54 mActivePropId = prop.propId; in Init() 58 ret = drmDevice.GetCrtcProperty(*this, "PLANE_MASK", prop); in Init() 63 for (auto &drmEnum : prop.enums) { in Init() 66 (prop.value & (1LL << drmEnum.value)) > 0) { in Init()
|
D | drm_device.cpp | 92 …int32_t DrmDevice::GetCrtcProperty(const DrmCrtc &crtc, const std::string &name, DrmProperty &prop) in GetCrtcProperty() argument 94 return GetProperty(crtc.GetId(), DRM_MODE_OBJECT_CRTC, name, prop); in GetCrtcProperty() 98 DrmProperty &prop) in GetConnectorProperty() argument 100 return GetProperty(connector.GetId(), DRM_MODE_OBJECT_CONNECTOR, name, prop); in GetConnectorProperty() 103 …32_t DrmDevice::GetPlaneProperty(const DrmPlane &plane, const std::string &name, DrmProperty &prop) in GetPlaneProperty() argument 105 return GetProperty(plane.GetId(), DRM_MODE_OBJECT_PLANE, name, prop); in GetPlaneProperty() 108 …rmDevice::GetProperty(uint32_t objId, uint32_t objType, const std::string &name, DrmProperty &prop) in GetProperty() argument 117 prop.propId = p->prop_id; in GetProperty() 118 prop.value = props->prop_values[i]; in GetProperty() 119 prop.name = p->name; in GetProperty() [all …]
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
D | drm_mode_config.c | 218 struct drm_property *prop; in drm_mode_create_standard_properties() local 226 prop = drm_property_create_enum(dev, DRM_MODE_PROP_IMMUTABLE, "type", drm_plane_type_enum_list, in drm_mode_create_standard_properties() 228 if (!prop) { in drm_mode_create_standard_properties() 231 dev->mode_config.plane_type_property = prop; in drm_mode_create_standard_properties() 233 prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, "SRC_X", 0, UINT_MAX); in drm_mode_create_standard_properties() 234 if (!prop) { in drm_mode_create_standard_properties() 237 dev->mode_config.prop_src_x = prop; in drm_mode_create_standard_properties() 239 prop = drm_property_create_range(dev, DRM_MODE_PROP_ATOMIC, "SRC_Y", 0, UINT_MAX); in drm_mode_create_standard_properties() 240 if (!prop) { in drm_mode_create_standard_properties() 243 dev->mode_config.prop_src_y = prop; in drm_mode_create_standard_properties() [all …]
|
/device/soc/amlogic/a311d/hardware/display/src/display_device/ |
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() 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_SRC_W, prop); in Init() 47 mPropSrcWId = prop.propId; in Init() 48 ret = drmDevice.GetPlaneProperty(*this, PROP_SRC_H, prop); in Init() [all …]
|
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() 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()
|
/device/soc/allwinner/t507/hardware/display/src/display_device/ |
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() 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 …]
|
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() 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()
|
/device/soc/nxp/hardware/display/src/display_device/drm/ |
D | drm_plane.cpp | 38 DrmProperty prop; in Init() local 39 ret = drmDevice.GetPlaneProperty(*this, PROP_FBID, prop); in Init() 40 mPropFbId = prop.propId; in Init() 42 ret = drmDevice.GetPlaneProperty(*this, PROP_IN_FENCE_FD, prop); in Init() 44 mPropFenceInId = prop.propId; in Init() 45 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_ID, prop); in Init() 47 mPropCrtcId = prop.propId; in Init() 48 ret = drmDevice.GetPlaneProperty(*this, PROP_TYPE, prop); in Init() 50 switch (prop.value) { in Init() 54 mType = static_cast<uint32_t>(prop.value); in Init() [all …]
|
D | drm_crtc.cpp | 32 DrmProperty prop; in Init() local 33 ret = drmDevice.GetCrtcProperty(*this, PROP_MODEID, prop); in Init() 34 mModePropId = prop.propId; in Init() 37 ret = drmDevice.GetCrtcProperty(*this, PROP_OUTFENCE, prop); in Init() 39 mOutFencePropId = prop.propId; in Init() 41 ret = drmDevice.GetCrtcProperty(*this, PROP_ACTIVE, prop); in Init() 43 mActivePropId = prop.propId; in Init()
|
/device/soc/hisilicon/common/hal/display/source/display_device/src/drm/ |
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() 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 …]
|
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/ |
D | amlsd.h | 82 #define SD_PARSE_U32_PROP_HEX(node, prop_name, prop, value) do { \ argument 83 if (!of_property_read_u32(node, prop_name, &prop)) {\ 84 value = prop;\ 85 prop = 0;\ 93 #define SD_PARSE_U32_PROP_DEC(node, prop_name, prop, value) do { \ argument 94 if (!of_property_read_u32(node, prop_name, &prop)) {\ 95 value = prop;\ 96 prop = 0;\ 116 #define SD_PARSE_STRING_PROP(node, prop_name, str, prop) {\ argument 118 strcpy(prop, str);\ [all …]
|