/device/soc/rockchip/common/sdk_linux/scripts/dtc/ |
H A D | checks.c | 61 check_msg(struct check *c, struct dt_info *dti, struct node *node, struct property *prop, const char *fmt, ...) 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, ...) \ 129 check_msg((c), dti, node, prop, __VA_ARGS__); \ 200 struct property *prop; in check_is_string() local 218 struct property *prop; check_is_string_list() local 244 struct property *prop; check_is_cell() local 279 struct property *prop, *prop2; check_duplicate_property_names() local 330 struct property *prop = get_property(node, "reg"); check_unit_address_vs_reg() local 358 struct property *prop; check_property_name_chars() local 372 struct property *prop; check_property_name_chars_strict() local 407 check_duplicate_label(struct check *c, struct dt_info *dti, const char *label, struct node *node, struct property *prop, struct marker *mark) check_duplicate_label() argument 436 struct property *prop; check_duplicate_label_node() local 454 struct property *prop; check_phandle_prop() local 534 struct property **pp, *prop = NULL; check_name_properties() local 571 struct property *prop; fixup_phandle_references() local 608 struct property *prop; fixup_path_references() local 648 struct property *prop; fixup_omit_unused_nodes() local 677 struct property *prop; check_names_is_string_list() local 694 struct property *prop; check_alias_paths() local 719 struct property *prop; fixup_addr_size_cells() local 768 struct property *prop; check_reg_format() local 800 struct property *prop; check_ranges_format() local 850 struct property *prop; check_pci_bridge() local 897 struct property *prop; check_pci_device_bus_num() local 929 struct property *prop; check_pci_device_reg() local 982 struct property *prop; node_is_compatible() local 1008 struct property *prop; check_simple_bus_reg() local 1089 struct property *prop; check_i2c_bus_reg() local 1155 struct property *prop; check_spi_bus_bridge() local 1190 struct property *prop; check_spi_bus_reg() local 1275 struct property *prop; check_avoid_unnecessary_addr_size() local 1303 struct property *prop; node_is_disabled() local 1377 struct property *prop; check_obsolete_chosen_interrupt_controller() local 1409 struct property *prop; check_chosen_node_bootargs() local 1427 struct property *prop; check_chosen_node_stdout_path() local 1453 check_property_phandle_args(struct check *c, struct dt_info *dti, struct node *node, struct property *prop, const struct provider *provider) check_property_phandle_args() argument 1525 struct property *prop; check_provider_cells_property() local 1555 prop_is_gpio(struct property *prop) prop_is_gpio() argument 1582 struct property *prop; check_gpios_property() local 1607 struct property *prop; check_deprecated_gpio_property() local 1629 struct property *prop; node_is_interrupt_provider() local 1646 struct property *prop; check_interrupt_provider() local 1668 struct property *irq_prop, *prop = NULL; check_interrupts_property() local 1775 struct property *prop = get_property(child, "reg"); check_graph_child_address() local 1796 struct property *prop; check_graph_reg() local 1841 struct property *prop; get_remote_endpoint() local [all...] |
/device/soc/rockchip/common/hardware/display/src/display_device/ |
H A D | drm_plane.cpp | 66 DrmProperty prop; in GetCrtcProp() local 68 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_X_ID, prop); in GetCrtcProp() 70 DISPLAY_LOGE("cat not get pane crtc_x prop id")); 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() 76 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() 102 DrmProperty prop; GetSrcProp() local 139 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() 48 DISPLAY_LOGE("cat not get out fence prop id")); in Init() 49 mOutFencePropId = prop.propId; in Init() 51 ret = drmDevice.GetCrtcProperty(*this, PROP_ACTIVE, prop); in Init() 53 DISPLAY_LOGE("cat not get out fence prop id")); in Init() 54 mActivePropId = prop in Init() [all...] |
H A 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() 100 return GetProperty(connector.GetId(), DRM_MODE_OBJECT_CONNECTOR, name, prop); in GetConnectorProperty() 103 int32_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 int32_t DrmDevice::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 in GetProperty() 97 GetConnectorProperty(const DrmConnector &connector, const std::string &name, DrmProperty &prop) GetConnectorProperty() argument [all...] |
/device/soc/rockchip/rk3399/hardware/display/src/display_device/ |
H A D | drm_plane.cpp | 65 DrmProperty prop; in GetCrtcProp() local 67 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_X_ID, prop); in GetCrtcProp() 68 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane crtc_x prop id")); 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() 73 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane crtc_y prop id")); 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() 97 DrmProperty prop; GetSrcProp() local 130 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...] |
/device/soc/rockchip/rk3566/hardware/display/src/display_device/ |
H A D | drm_plane.cpp | 65 DrmProperty prop; in GetCrtcProp() local 67 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_X_ID, prop); in GetCrtcProp() 68 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane crtc_x prop id")); 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() 73 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane crtc_y prop id")); 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() 97 DrmProperty prop; GetSrcProp() local 130 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...] |
/device/soc/rockchip/rk3568/hardware/display/src/display_device/ |
H A D | drm_plane.cpp | 65 DrmProperty prop; in GetCrtcProp() local 67 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_X_ID, prop); in GetCrtcProp() 68 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane crtc_x prop id")); 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() 73 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane crtc_y prop id")); 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() 97 DrmProperty prop; GetSrcProp() local 130 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...] |
/device/soc/rockchip/rk3588/hardware/display/src/display_device/ |
H A D | drm_plane.cpp | 55 DrmProperty prop;
in GetCrtcProp() local 57 ret = drmDevice.GetPlaneProperty(*this, PROP_CRTC_X_ID, prop);
in GetCrtcProp() 58 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane crtc_x prop id"));
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() 63 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get pane crtc_y prop id"));
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() 87 DrmProperty prop; GetSrcProp() local 119 DrmProperty prop; Init() local [all...] |
H A 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() 46 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("can not get mode prop id"));
in Init() 48 ret = drmDevice.GetCrtcProperty(*this, PROP_OUTFENCE, prop);
in Init() 49 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get out fence prop id"));
in Init() 50 mOutFencePropId = prop.propId;
in Init() 52 ret = drmDevice.GetCrtcProperty(*this, PROP_ACTIVE, prop);
in Init() 53 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("cat not get out fence prop id"));
in Init() 54 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...] |
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A 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/hisilicon/common/hal/display/source/display_device/src/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...] |
/device/soc/rockchip/common/sdk_linux/scripts/kconfig/ |
H A D | parser.y | 612 struct property *prop; 638 for (prop = sym->prop; prop; prop = prop->next) { 639 if (prop->menu != menu) 641 switch (prop->type) { 644 print_quoted_string(out, prop->text); 645 if (!expr_is_yes(prop [all...] |
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/drm_hal/ |
H A D | drm_hal_hdmitx.c | 207 hdmitx_translate_timing(attr->fmt, ¶m->prop.disp_fmt, ¶m->prop.video_timing, ¶m->prop.pix_clk); in hdmitx_attr_translate() 236 param.prop.enable_hdmi = HI_TRUE; in drm_hal_hdmitx_set_attr() 237 param.prop.enable_video = HI_TRUE; in drm_hal_hdmitx_set_attr() 238 param.prop.deep_color_mode = HDMI_DEEP_COLOR_24BIT; in drm_hal_hdmitx_set_attr() 239 param.prop.enable_avi_infoframe = HI_TRUE; in drm_hal_hdmitx_set_attr() 240 param.prop.enable_deep_clr_adapt = HI_FALSE; in drm_hal_hdmitx_set_attr() 241 param.prop.enable_vid_mode_adapt = HI_TRUE; in drm_hal_hdmitx_set_attr() 242 param.prop in drm_hal_hdmitx_set_attr() [all...] |
/device/soc/rockchip/common/sdk_linux/drivers/opp/ |
H A D | of.c | 345 struct property *prop; in _bandwidth_supported() local 368 prop = of_find_property(np, "opp-peak-kBps", NULL); in _bandwidth_supported() 370 if (!prop || !prop->length) { in _bandwidth_supported() 499 struct property *prop = NULL; in opp_parse_supplies() local 505 prop = of_find_property(opp->np, name, NULL); in opp_parse_supplies() 508 if (!prop) { in opp_parse_supplies() 511 prop = of_find_property(opp->np, name, NULL); in opp_parse_supplies() 513 if (!prop) { in opp_parse_supplies() 563 prop in opp_parse_supplies() 644 struct property *prop; _read_bw() local 907 const struct property *prop; _of_add_opp_table_v1() local [all...] |
/device/soc/rockchip/rk3568/hardware/omx_il/osal/ |
H A D | Rockchip_OSAL_Env.c | 32 char prop[PROP_VALUE_MAX + 1]; in Rockchip_OSAL_GetEnvU32() local 33 int len = __system_property_get(name, prop); in Rockchip_OSAL_GetEnvU32() 36 int base = (prop[0] == '0' && prop[1] == 'x') ? (16) : (10); in Rockchip_OSAL_GetEnvU32() 38 *value = strtoul(prop, &endptr, base); in Rockchip_OSAL_GetEnvU32() 39 if (errno || (prop == endptr)) { in Rockchip_OSAL_GetEnvU32()
|