Home
last modified time | relevance | path

Searched refs:property (Results 1 - 25 of 79) sorted by relevance

1234

/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/
H A Ddrm_atomic_uapi.c59 * the enable property.
100 * @blob: pointer to blob property to use for mode
102 * Set a mode (originating from a blob property) on the desired CRTC state.
103 * This function will take a reference on the blob property for the CRTC state,
104 * and release the reference held on the state's existing mode property, if any
391 struct drm_property *property, uint64_t val) in drm_atomic_crtc_set_property()
398 if (property == config->prop_active) { in drm_atomic_crtc_set_property()
400 } else if (property == config->prop_mode_id) { in drm_atomic_crtc_set_property()
405 } else if (property == config->prop_vrr_enabled) { in drm_atomic_crtc_set_property()
407 } else if (property in drm_atomic_crtc_set_property()
390 drm_atomic_crtc_set_property(struct drm_crtc *crtc, struct drm_crtc_state *state, struct drm_property *property, uint64_t val) drm_atomic_crtc_set_property() argument
452 drm_atomic_crtc_get_property(struct drm_crtc *crtc, const struct drm_crtc_state *state, struct drm_property *property, uint64_t *val) drm_atomic_crtc_get_property() argument
485 drm_atomic_plane_set_property(struct drm_plane *plane, struct drm_plane_state *state, struct drm_file *file_priv, struct drm_property *property, uint64_t val) drm_atomic_plane_set_property() argument
568 drm_atomic_plane_get_property(struct drm_plane *plane, const struct drm_plane_state *state, struct drm_property *property, uint64_t *val) drm_atomic_plane_get_property() argument
637 drm_atomic_connector_set_property(struct drm_connector *connector, struct drm_connector_state *state, struct drm_file *file_priv, struct drm_property *property, uint64_t val) drm_atomic_connector_set_property() argument
744 drm_atomic_connector_get_property(struct drm_connector *connector, const struct drm_connector_state *state, struct drm_property *property, uint64_t *val) drm_atomic_connector_get_property() argument
814 drm_atomic_get_property(struct drm_mode_object *obj, struct drm_property *property, uint64_t *val) drm_atomic_get_property() argument
[all...]
/device/soc/rockchip/common/sdk_linux/scripts/dtc/
H A Dchecks.c61 check_msg(struct check *c, struct dt_info *dti, struct node *node, struct property *prop, const char *fmt, ...) in check_msg()
200 struct property *prop; in check_is_string()
209 FAIL_PROP(c, dti, node, prop, "property is not a string"); in check_is_string()
218 struct property *prop; in check_is_string_list()
232 FAIL_PROP(c, dti, node, prop, "property is not a string list"); in check_is_string_list()
244 struct property *prop; in check_is_cell()
253 FAIL_PROP(c, dti, node, prop, "property is not a single cell"); in check_is_cell()
279 struct property *prop, *prop2; in check_duplicate_property_names()
288 FAIL_PROP(c, dti, node, prop, "Duplicate property name"); in check_duplicate_property_names()
330 struct property *pro in check_unit_address_vs_reg()
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/histreaming_server/src/
H A Dhistreaming_client_server.c93 * @param const char* property: client property
97 static int DoGET(struct LinkService* ar, const char* property, char* value, int len) in DoGET() argument
99 printf("Receive property: %s(value=%s)\n", property, value); in DoGET()
101 if (strcmp(property, "Status") == 0) { in DoGET()
120 * @berf Client puts property status and value
122 * @param const char* property: client property
126 static int DoPUT(struct LinkService* ar, const char* property, cha argument
[all...]
/device/qemu/riscv32_virt/liteos_m/board/driver/cfiflash/
H A Dhdf_cfi.c28 if (deviceObject == NULL || deviceObject->property == NULL) { in HdfCfiDriverInit()
29 HDF_LOGE("[%s]deviceObject or property is null", __func__); in HdfCfiDriverInit()
33 if ((ret = p->GetUint32(deviceObject->property, "pbase0", &pbase, 0))) { in HdfCfiDriverInit()
42 if ((ret = p->GetUint32(deviceObject->property, "pbase1", &pbase, 0))) { in HdfCfiDriverInit()
/device/soc/rockchip/common/sdk_linux/include/drm/
H A Ddrm_mode_object.h65 * struct drm_object_properties - property tracking for &drm_mode_object
79 * a better job of detaching property from mode objects to avoid
80 * dangling property pointers:
85 * @values: Array to store the property values, matching @properties. Do
122 int drm_object_property_set_value(struct drm_mode_object *obj, struct drm_property *property, uint64_t val);
123 int drm_object_property_get_value(struct drm_mode_object *obj, struct drm_property *property, uint64_t *value);
125 void drm_object_attach_property(struct drm_mode_object *obj, struct drm_property *property, uint64_t init_val);
H A Ddrm_crtc.h610 * This is the legacy entry point to update a property attached to the
615 * property handling is done entirely in the DRM core.
621 int (*set_property)(struct drm_crtc *crtc, struct drm_property *property, uint64_t val);
669 * Decode a driver-private property value and store the decoded value
701 * 0 if the property has been found, -EINVAL if the property isn't
704 * allowed by the driver. The core already checks that the property
706 * set when registering the property.
708 int (*atomic_set_property)(struct drm_crtc *crtc, struct drm_crtc_state *state, struct drm_property *property,
713 * Reads out the decoded driver-private property
[all...]
H A Ddrm_connector.h265 * enum drm_link_status - connector's link_status property value
267 * This enum is used as the connector's link status property value.
329 * a property with the subset of this list (supported by that
331 * a colorspace property which will be created and exposed to
507 * @panel_orientation: Read only connector property for built-in panels,
719 * @picture_aspect_ratio: Connector property to control the
728 * @content_type: Connector property to control the
736 * @hdcp_content_type: Connector property to pass the type of
742 * @scaling_mode: Connector property to control the
748 * @content_protection: Connector property t
[all...]
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/histreaming_server/include/
H A Dlink_service.h24 int (*get)(struct LinkService* ar, const char* property, char* value, int len);
25 int (*modify)(struct LinkService* ar, const char* property, char* value, int len);
H A Dlink_service_agent.h25 * this funtion to get device's property value.
27 * property : device's property name
28 * value : a json string of device's property value
34 int (*get)(struct LinkServiceAgent* s, const char* property, char* value, int len);
36 * this funtion to modify device's property
38 * property : device's property name
39 * value : a json string of device's property
45 int (*modify)(struct LinkServiceAgent* s, const char* property, cha
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/components/histreaming/src/
H A Dlink_service.h24 int (*get)(struct LinkService* ar, const char* property, char* value, int len);
25 int (*modify)(struct LinkService* ar, const char* property, char* value, int len);
H A Dlink_service_agent.h25 * this funtion to get device's property value.
27 * property : device's property name
28 * value : a json string of device's property value
34 int (*get)(struct LinkServiceAgent* s, const char* property, char* value, int len);
36 * this funtion to modify device's property
38 * property : device's property name
39 * value : a json string of device's property
45 int (*modify)(struct LinkServiceAgent* s, const char* property, cha
[all...]
/device/soc/rockchip/common/sdk_linux/include/linux/
H A Dpower_supply.h389 extern struct power_supply *power_supply_get_by_phandle(struct device_node *np, const char *property);
390 extern int power_supply_get_by_phandle_array(struct device_node *np, const char *property, struct power_supply **psy,
392 extern struct power_supply *devm_power_supply_get_by_phandle(struct device *dev, const char *property);
394 static inline struct power_supply *power_supply_get_by_phandle(struct device_node *np, const char *property) in power_supply_get_by_phandle() argument
398 static inline int power_supply_get_by_phandle_array(struct device_node *np, const char *property, in power_supply_get_by_phandle_array() argument
403 static inline struct power_supply *devm_power_supply_get_by_phandle(struct device *dev, const char *property) in devm_power_supply_get_by_phandle() argument
/device/soc/hisilicon/common/platform/pin/
H A Dpin_hi35xx.c295 ret = drsOps->GetUint16(device->property, "number", &hi35xx->number, 0); in Hi35xxPinCntlrInit()
300 ret = drsOps->GetUint32(device->property, "regStartBasePhy", &hi35xx->regStartBasePhy, 0); in Hi35xxPinCntlrInit()
305 ret = drsOps->GetUint32(device->property, "regSize", &hi35xx->regSize, 0); in Hi35xxPinCntlrInit()
310 ret = drsOps->GetUint32(device->property, "pinCount", &hi35xx->pinCount, 0); in Hi35xxPinCntlrInit()
366 DEV_RES_NODE_FOR_EACH_CHILD_NODE(device->property, childNode) { in Hi35xxPinInit()
395 if (device == NULL || device->property == NULL) { in Hi35xxPinRelease()
396 HDF_LOGE("%s: device or property is null", __func__); in Hi35xxPinRelease()
405 ret = drsOps->GetUint16(device->property, "number", &number, 0); in Hi35xxPinRelease()
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hdmi/src/mkp/
H A Ddrv_hdmi_intf_k.c37 drv_hdmi_property property = {0}; in hdmi_hot_plug_process() local
63 property.hdmi_id = hdmi_id; in hdmi_hot_plug_process()
64 ret = hdmi_ext_ioctl(CMD_HDMI_GET_ATTR, &property); in hdmi_hot_plug_process()
70 ret = hdmi_ext_ioctl(CMD_HDMI_SET_ATTR, &property); in hdmi_hot_plug_process()
/device/soc/hisilicon/common/platform/watchdog/
H A Dwatchdog_hi35xx.c213 if (device == NULL || device->property == NULL) { in Hi35xxWatchdogBind()
214 HDF_LOGE("%s: device or property is null!", __func__); in Hi35xxWatchdogBind()
224 ret = Hi35xxWatchdogReadDrs(hwdt, device->property); in Hi35xxWatchdogBind()
238 hwdt->wdt.priv = (void *)device->property; in Hi35xxWatchdogBind()
/device/soc/rockchip/rk2206/hdf_driver/gpio/
H A Dgpio_driver.c233 if ((device == NULL) || (device->property == NULL)) { in iodrv_init()
234 PRINT_ERR("%s: device or property is null!", __func__); in iodrv_init()
238 ret = iodrv_readdrs(device->property, &m_groupNum, &m_bitNum); in iodrv_init()
261 cntlr->priv = (void *)device->property; in iodrv_init()
/device/soc/hisilicon/common/platform/adc/
H A Dadc_hi35xx.c363 if (device == NULL || device->property == NULL) { in Hi35xxAdcInit()
364 HDF_LOGE("%s: device or property is null", __func__); in Hi35xxAdcInit()
369 DEV_RES_NODE_FOR_EACH_CHILD_NODE(device->property, childNode) { in Hi35xxAdcInit()
415 if (device == NULL || device->property == NULL) { in Hi35xxAdcRelease()
416 HDF_LOGE("%s: device or property is null", __func__); in Hi35xxAdcRelease()
419 DEV_RES_NODE_FOR_EACH_CHILD_NODE(device->property, childNode) { in Hi35xxAdcRelease()
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/rockchip/
H A Ddw_hdmi-rockchip.c2088 struct drm_property *property = hdmi->next_hdr_sink_data_property; in dw_hdmi_rockchip_get_next_hdr_data() local
2097 ret = drm_property_replace_global_blob(connector->dev, &blob, size, sink_data, &connector->base, property); in dw_hdmi_rockchip_get_next_hdr_data()
2336 struct drm_property *property, u64 val, void *data) in dw_hdmi_rockchip_set_property()
2341 if (property == hdmi->color_depth_property) { in dw_hdmi_rockchip_set_property()
2351 } else if (property == hdmi->hdmi_output_property) { in dw_hdmi_rockchip_set_property()
2360 } else if (property == hdmi->quant_range) { in dw_hdmi_rockchip_set_property()
2368 } else if (property == config->hdr_output_metadata_property) { in dw_hdmi_rockchip_set_property()
2370 } else if (property == hdmi->colorimetry_property) { in dw_hdmi_rockchip_set_property()
2373 } else if (property == hdmi->output_hdmi_dvi) { in dw_hdmi_rockchip_set_property()
2382 DRM_ERROR("Unknown property [PRO in dw_hdmi_rockchip_set_property()
2335 dw_hdmi_rockchip_set_property(struct drm_connector *connector, struct drm_connector_state *state, struct drm_property *property, u64 val, void *data) dw_hdmi_rockchip_set_property() argument
2387 dw_hdmi_rockchip_get_property(struct drm_connector *connector, const struct drm_connector_state *state, struct drm_property *property, u64 *val, void *data) dw_hdmi_rockchip_get_property() argument
[all...]
H A Drockchip_drm_vop.c2163 struct drm_property *property, uint64_t val) in vop_atomic_plane_set_property()
2169 if (property == private->eotf_prop) { in vop_atomic_plane_set_property()
2174 if (property == private->color_space_prop) { in vop_atomic_plane_set_property()
2179 if (property == private->async_commit_prop) { in vop_atomic_plane_set_property()
2184 if (property == win->color_key_prop) { in vop_atomic_plane_set_property()
2189 DRM_ERROR("failed to set vop plane property id:%d, name:%s\n", property->base.id, property->name); in vop_atomic_plane_set_property()
2195 struct drm_property *property, uint64_t *val) in vop_atomic_plane_get_property()
2201 if (property in vop_atomic_plane_get_property()
2162 vop_atomic_plane_set_property(struct drm_plane *plane, struct drm_plane_state *state, struct drm_property *property, uint64_t val) vop_atomic_plane_set_property() argument
2194 vop_atomic_plane_get_property(struct drm_plane *plane, const struct drm_plane_state *state, struct drm_property *property, uint64_t *val) vop_atomic_plane_get_property() argument
3903 vop_crtc_atomic_get_property(struct drm_crtc *crtc, const struct drm_crtc_state *state, struct drm_property *property, uint64_t *val) vop_crtc_atomic_get_property() argument
3952 vop_crtc_atomic_set_property(struct drm_crtc *crtc, struct drm_crtc_state *state, struct drm_property *property, uint64_t val) vop_crtc_atomic_set_property() argument
[all...]
/device/soc/rockchip/common/sdk_linux/include/drm/bridge/
H A Ddw_hdmi.h156 struct drm_property *property, u64 val, void *data);
158 struct drm_property *property, u64 *val, void *data);
/device/board/hisilicon/hispark_taurus/audio_drivers/soc/src/
H A Dhi3516_dai_adapter.c69 const struct DeviceResourceNode *node = device->property; in DaiGetServiceName()
/device/board/hihope/dayu210/audio_drivers/accessory/es8323/src/
H A Des8323_adapter.c44 node = device->property; in GetServiceName()
/device/soc/hisilicon/common/platform/timer/
H A Dtimer_hi35xx.c590 if (device == NULL || device->property == NULL) { in TimerHi35xxDeviceInit()
591 HDF_LOGE("%s: device or property is NULL", __func__); in TimerHi35xxDeviceInit()
595 DEV_RES_NODE_FOR_EACH_CHILD_NODE(device->property, childNode) { in TimerHi35xxDeviceInit()
640 if (device == NULL || device->property == NULL) { in TimerHi35xxDeviceRelease()
645 DEV_RES_NODE_FOR_EACH_CHILD_NODE(device->property, childNode) { in TimerHi35xxDeviceRelease()
/device/soc/rockchip/common/sdk_linux/drivers/power/supply/
H A Dpower_supply_core.c22 #include <linux/property.h>
511 * @np: Pointer to device node holding phandle property
512 * @property: Name of property holding a power supply name
519 * matching name equals to value under @property, NULL or ERR_PTR otherwise.
521 struct power_supply *power_supply_get_by_phandle(struct device_node *np, const char *property) in power_supply_get_by_phandle() argument
527 power_supply_np = of_parse_phandle(np, property, 0); in power_supply_get_by_phandle()
571 * @np: Pointer to device node holding phandle property.
572 * @property: Name of property holdin
587 power_supply_get_by_phandle_array(struct device_node *np, const char *property, struct power_supply **psy, ssize_t size) power_supply_get_by_phandle_array() argument
631 devm_power_supply_get_by_phandle(struct device *dev, const char *property) devm_power_supply_get_by_phandle() argument
[all...]
H A Dpower_supply_sysfs.c255 dev_dbg(dev, "driver has no data for `%s' property\n", attr->attr.name); in power_supply_show_property()
257 dev_err_ratelimited(dev, "driver failed to report `%s' property: %zd\n", attr->attr.name, ret); in power_supply_show_property()
333 int property = psy->desc->properties[i]; in power_supply_attr_is_visible() local
335 if (property == attrno) { in power_supply_attr_is_visible()
336 if (psy->desc->property_is_writeable && psy->desc->property_is_writeable(psy, property) > 0) { in power_supply_attr_is_visible()
405 * send the uevent with at least the the PRESENT=0 property in add_prop_uevent()

Completed in 23 milliseconds

1234