Home
last modified time | relevance | path

Searched refs:props (Results 1 – 25 of 141) sorted by relevance

123456

/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/taurus/doc/
D6.3.修改后的darknet2caffe 中prototxt.py代码.md59 props = OrderedDict()
72 if props.has_key(key):
73 if type(props[key]) == list:
74 props[key].append(value)
76 props[key] = [props[key], value]
78 props[key] = value
85 props[key] = parse_block(fp)
90 net_info['props'] = props
94 return props
128 props = net_info['props']
[all …]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/paho.mqtt.c/include/mqtt/
DMQTTProperties.h133 int MQTTProperties_len(MQTTProperties* props);
141 DLLExport int MQTTProperties_add(MQTTProperties* props, const MQTTProperty* prop);
171 DLLExport MQTTProperties MQTTProperties_copy(const MQTTProperties* props);
179 DLLExport int MQTTProperties_hasProperty(MQTTProperties *props, enum MQTTPropertyCodes propid);
188 DLLExport int MQTTProperties_propertyCount(MQTTProperties *props, enum MQTTPropertyCodes propid);
196 DLLExport int MQTTProperties_getNumericValue(MQTTProperties *props, enum MQTTPropertyCodes propid);
206 DLLExport int MQTTProperties_getNumericValueAt(MQTTProperties *props, enum MQTTPropertyCodes propid…
214 DLLExport MQTTProperty* MQTTProperties_getProperty(MQTTProperties *props, enum MQTTPropertyCodes pr…
223 DLLExport MQTTProperty* MQTTProperties_getPropertyAt(MQTTProperties *props, enum MQTTPropertyCodes …
/device/soc/rockchip/common/kernel/drivers/gpu/arm/midgard/
Dmali_kbase_gpuprops.c67 if (gpu_speed_khz < kctx->kbdev->gpu_props.props.core_props.gpu_freq_khz_min || in kbase_gpuprops_uk_get_props()
68 gpu_speed_khz > kctx->kbdev->gpu_props.props.core_props.gpu_freq_khz_max) in kbase_gpuprops_uk_get_props()
71 (unsigned long)kctx->kbdev->gpu_props.props.core_props.gpu_freq_khz_min, in kbase_gpuprops_uk_get_props()
72 (unsigned long)kctx->kbdev->gpu_props.props.core_props.gpu_freq_khz_max); in kbase_gpuprops_uk_get_props()
81 gpu_speed_mhz = kctx->kbdev->gpu_props.props.core_props.gpu_freq_khz_max / 1000; in kbase_gpuprops_uk_get_props()
83 kctx->kbdev->gpu_props.props.core_props.gpu_speed_mhz = gpu_speed_mhz; in kbase_gpuprops_uk_get_props()
85 memcpy(&kbase_props->props, &kctx->kbdev->gpu_props.props, sizeof(kbase_props->props)); in kbase_gpuprops_uk_get_props()
89 kbase_props->props.raw_props.suspend_size = 0; in kbase_gpuprops_uk_get_props()
94 static void kbase_gpuprops_construct_coherent_groups(base_gpu_props * const props) in kbase_gpuprops_construct_coherent_groups() argument
102 KBASE_DEBUG_ASSERT(NULL != props); in kbase_gpuprops_construct_coherent_groups()
[all …]
Dmali_kbase_hw.c36 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_set_features_mask()
167 u32 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_get_issues_for_new_id()
228 kbdev->gpu_props.props.raw_props.gpu_id = gpu_id; in kbase_hw_get_issues_for_new_id()
230 kbase_gpuprops_update_core_props_gpu_id(&kbdev->gpu_props.props); in kbase_hw_get_issues_for_new_id()
243 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_set_issues_mask()
246 impl_tech = kbdev->gpu_props.props.thread_props.impl_tech; in kbase_hw_set_issues_mask()
259 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_set_issues_mask()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/midgard/
Dmali_kbase_gpuprops.c62 if (gpu_speed_khz < kctx->kbdev->gpu_props.props.core_props.gpu_freq_khz_min || in kbase_gpuprops_uk_get_props()
63 gpu_speed_khz > kctx->kbdev->gpu_props.props.core_props.gpu_freq_khz_max) { in kbase_gpuprops_uk_get_props()
67 (unsigned long)kctx->kbdev->gpu_props.props.core_props.gpu_freq_khz_min, in kbase_gpuprops_uk_get_props()
68 (unsigned long)kctx->kbdev->gpu_props.props.core_props.gpu_freq_khz_max); in kbase_gpuprops_uk_get_props()
78 gpu_speed_mhz = kctx->kbdev->gpu_props.props.core_props.gpu_freq_khz_max / 0x3E8; in kbase_gpuprops_uk_get_props()
81 kctx->kbdev->gpu_props.props.core_props.gpu_speed_mhz = gpu_speed_mhz; in kbase_gpuprops_uk_get_props()
83 memcpy(&kbase_props->props, &kctx->kbdev->gpu_props.props, sizeof(kbase_props->props)); in kbase_gpuprops_uk_get_props()
87 kbase_props->props.raw_props.suspend_size = 0; in kbase_gpuprops_uk_get_props()
93 static void kbase_gpuprops_construct_coherent_groups(base_gpu_props *const props) in kbase_gpuprops_construct_coherent_groups() argument
101 KBASE_DEBUG_ASSERT(props != NULL); in kbase_gpuprops_construct_coherent_groups()
[all …]
Dmali_kbase_hw.c31 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_set_features_mask()
156 u32 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_get_issues_for_new_id()
208 kbdev->gpu_props.props.raw_props.gpu_id = gpu_id; in kbase_hw_get_issues_for_new_id()
210 kbase_gpuprops_update_core_props_gpu_id(&kbdev->gpu_props.props); in kbase_hw_get_issues_for_new_id()
223 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_set_issues_mask()
226 impl_tech = kbdev->gpu_props.props.thread_props.impl_tech; in kbase_hw_set_issues_mask()
238 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_set_issues_mask()
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
Dmali_kbase_gpuprops.c39 static void kbase_gpuprops_construct_coherent_groups(struct base_gpu_props *const props) in kbase_gpuprops_construct_coherent_groups() argument
47 KBASE_DEBUG_ASSERT(props != NULL); in kbase_gpuprops_construct_coherent_groups()
49 props->coherency_info.coherency = props->raw_props.mem_features; in kbase_gpuprops_construct_coherent_groups()
50 props->coherency_info.num_core_groups = hweight64(props->raw_props.l2_present); in kbase_gpuprops_construct_coherent_groups()
52 if (props->coherency_info.coherency & GROUPS_L2_COHERENT) { in kbase_gpuprops_construct_coherent_groups()
54 group_present = props->raw_props.l2_present; in kbase_gpuprops_construct_coherent_groups()
57 group_present = props->raw_props.shader_present; in kbase_gpuprops_construct_coherent_groups()
82 current_group = props->coherency_info.group; in kbase_gpuprops_construct_coherent_groups()
93 current_group->core_mask = group_mask & props->raw_props.shader_present; in kbase_gpuprops_construct_coherent_groups()
104 props->coherency_info.num_groups = num_groups; in kbase_gpuprops_construct_coherent_groups()
[all …]
Dmali_kbase_hw.c38 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_set_features_mask()
228 u32 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_get_issues_for_new_id()
292 kbdev->gpu_props.props.raw_props.gpu_id = gpu_id; in kbase_hw_get_issues_for_new_id()
294 kbase_gpuprops_update_core_props_gpu_id(&kbdev->gpu_props.props); in kbase_hw_get_issues_for_new_id()
306 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_set_issues_mask()
307 impl_tech = kbdev->gpu_props.props.thread_props.impl_tech; in kbase_hw_set_issues_mask()
319 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_set_issues_mask()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
Dmali_kbase_gpuprops.c39 struct base_gpu_props * const props) in kbase_gpuprops_construct_coherent_groups() argument
47 KBASE_DEBUG_ASSERT(props != NULL); in kbase_gpuprops_construct_coherent_groups()
49 props->coherency_info.coherency = props->raw_props.mem_features; in kbase_gpuprops_construct_coherent_groups()
50 props->coherency_info.num_core_groups = hweight64(props->raw_props.l2_present); in kbase_gpuprops_construct_coherent_groups()
52 if (props->coherency_info.coherency & GROUPS_L2_COHERENT) { in kbase_gpuprops_construct_coherent_groups()
54 group_present = props->raw_props.l2_present; in kbase_gpuprops_construct_coherent_groups()
57 group_present = props->raw_props.shader_present; in kbase_gpuprops_construct_coherent_groups()
82 current_group = props->coherency_info.group; in kbase_gpuprops_construct_coherent_groups()
93 current_group->core_mask = group_mask & props->raw_props.shader_present; in kbase_gpuprops_construct_coherent_groups()
103 props->coherency_info.num_groups = num_groups; in kbase_gpuprops_construct_coherent_groups()
[all …]
Dmali_kbase_hw.c37 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_set_features_mask()
243 u32 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_get_issues_for_new_id()
317 kbdev->gpu_props.props.raw_props.gpu_id = gpu_id; in kbase_hw_get_issues_for_new_id()
320 &kbdev->gpu_props.props); in kbase_hw_get_issues_for_new_id()
332 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_set_issues_mask()
333 impl_tech = kbdev->gpu_props.props.thread_props.impl_tech; in kbase_hw_set_issues_mask()
347 gpu_id = kbdev->gpu_props.props.raw_props.gpu_id; in kbase_hw_set_issues_mask()
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tl/backend/
Dmali_kbase_timeline_csf.c39 (kbdev->gpu_props.props.raw_props.gpu_features & in kbase_create_timeline_objects()
43 u32 const arch_maj = (kbdev->gpu_props.props.raw_props.gpu_id & in kbase_create_timeline_objects()
61 kbdev->gpu_props.props.raw_props.gpu_id, in kbase_create_timeline_objects()
71 __kbase_tlstream_tl_kbase_new_device(summary, kbdev->gpu_props.props.raw_props.gpu_id, in kbase_create_timeline_objects()
97 kbdev->gpu_props.props.raw_props.gpu_id, in kbase_create_timeline_objects()
139 kbdev->gpu_props.props.raw_props.gpu_id); in kbase_create_timeline_objects()
Dmali_kbase_timeline_jm.c40 &kbdev->gpu_props.props.raw_props.js_features[lpu_id]; in kbase_create_timeline_objects()
51 kbdev->gpu_props.props.raw_props.gpu_id, in kbase_create_timeline_objects()
56 &kbdev->gpu_props.props.raw_props.js_features[lpu_id]; in kbase_create_timeline_objects()
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/drm/sunxi_device/
Dsunxi_backlight.c558 bd->props.brightness, bd->props.max_brightness); in sunxi_backlight_device_update_status()
561 if (bd->props.power != FB_BLANK_POWERDOWN) { in sunxi_backlight_device_update_status()
564 sunxi_panel_set_backlight(bl, bd->props.brightness, in sunxi_backlight_device_update_status()
565 bd->props.max_brightness); in sunxi_backlight_device_update_status()
568 bd->props.max_brightness); in sunxi_backlight_device_update_status()
603 struct backlight_properties props; in sunxi_backlight_device_register() local
615 memset(&props, 0, sizeof(props)); in sunxi_backlight_device_register()
616 props.type = BACKLIGHT_RAW; in sunxi_backlight_device_register()
637 props.max_brightness = 255; in sunxi_backlight_device_register()
638 props.brightness = bl->bright; in sunxi_backlight_device_register()
[all …]
/device/board/isoftstone/yangfan/kernel/src/driv/gpu/rockchip/
Drockchip_drm_backlight.c348 int brightness = backlight->props.brightness; in rockchip_drm_backlight_update_status()
354 if (backlight->props.power != FB_BLANK_UNBLANK || in rockchip_drm_backlight_update_status()
355 backlight->props.fb_blank != FB_BLANK_UNBLANK || in rockchip_drm_backlight_update_status()
356 backlight->props.state & BL_CORE_FBBLANK) in rockchip_drm_backlight_update_status()
420 struct backlight_properties props; in rockchip_drm_backlight_probe() local
459 memset(&props, 0, sizeof(props)); in rockchip_drm_backlight_probe()
460 props.type = BACKLIGHT_RAW; in rockchip_drm_backlight_probe()
461 props.max_brightness = bl->max_brightness; in rockchip_drm_backlight_probe()
463 &rockchip_drm_backlight_ops, &props); in rockchip_drm_backlight_probe()
470 bl->bd->props.brightness = bl->dft_brightness; in rockchip_drm_backlight_probe()
[all …]
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/tl/backend/
Dmali_kbase_timeline_jm.c39 u32 *lpu = &kbdev->gpu_props.props.raw_props.js_features[lpu_id]; in kbase_create_timeline_objects()
49 mali_kbase_kbase_tlstream_tl_new_gpu(summary, kbdev, kbdev->gpu_props.props.raw_props.gpu_id, in kbase_create_timeline_objects()
53 void *lpu = &kbdev->gpu_props.props.raw_props.js_features[lpu_id]; in kbase_create_timeline_objects()
/device/soc/rockchip/common/sdk_linux/drivers/video/backlight/
Dpwm_bl.c465 struct backlight_properties props; in pwm_backlight_probe() local
553 memset(&props, 0, sizeof(struct backlight_properties)); in pwm_backlight_probe()
570 props.scale = BACKLIGHT_SCALE_LINEAR; in pwm_backlight_probe()
572 props.scale = BACKLIGHT_SCALE_NON_LINEAR; in pwm_backlight_probe()
600 props.scale = BACKLIGHT_SCALE_NON_LINEAR; in pwm_backlight_probe()
613 props.type = BACKLIGHT_RAW; in pwm_backlight_probe()
614 props.max_brightness = data->max_brightness; in pwm_backlight_probe()
615 … bl = backlight_device_register(dev_name(&pdev->dev), &pdev->dev, pb, &pwm_backlight_ops, &props); in pwm_backlight_probe()
631 bl->props.brightness = data->dft_brightness; in pwm_backlight_probe()
632 bl->props.power = pwm_backlight_initial_power_state(pb); in pwm_backlight_probe()
/device/soc/allwinner/t507/hardware/display/src/display_device/
Ddrm_device.cpp107 drmModeObjectPropertiesPtr props = drmModeObjectGetProperties(GetDrmFd(), objId, objType); in GetProperty() local
108 DISPLAY_CHK_RETURN((!props), DISPLAY_FAILURE, DISPLAY_LOGE("can not get properties")); in GetProperty()
110 for (uint32_t i = 0; i < props->count_props; i++) { in GetProperty()
111 drmModePropertyPtr p = drmModeGetProperty(GetDrmFd(), props->props[i]); in GetProperty()
115 prop.value = props->prop_values[i]; in GetProperty()
119 drmModeFreeObjectProperties(props); in GetProperty()
/device/soc/nxp/hardware/display/src/display_device/drm/
Ddrm_device.cpp110 drmModeObjectPropertiesPtr props = drmModeObjectGetProperties(GetDrmFd(), objId, objType); in GetProperty() local
111 DISPLAY_CHK_RETURN((!props), DISPLAY_FAILURE, DISPLAY_LOGE("can not get properties")); in GetProperty()
113 for (uint32_t i = 0; i < props->count_props; i++) { in GetProperty()
114 drmModePropertyPtr p = drmModeGetProperty(GetDrmFd(), props->props[i]); in GetProperty()
118 prop.value = props->prop_values[i]; in GetProperty()
122 drmModeFreeObjectProperties(props); in GetProperty()
/device/soc/hisilicon/common/hal/display/source/display_device/src/drm/
Ddrm_device.cpp107 drmModeObjectPropertiesPtr props = drmModeObjectGetProperties(GetDrmFd(), objId, objType); in GetProperty() local
108 DISPLAY_CHK_RETURN((!props), DISPLAY_FAILURE, DISPLAY_LOGE("can not get properties")); in GetProperty()
110 for (uint32_t i = 0; i < props->count_props; i++) { in GetProperty()
111 drmModePropertyPtr p = drmModeGetProperty(GetDrmFd(), props->props[i]); in GetProperty()
115 prop.value = props->prop_values[i]; in GetProperty()
119 drmModeFreeObjectProperties(props); in GetProperty()
/device/soc/amlogic/a311d/hardware/display/src/display_device/
Ddrm_device.cpp107 drmModeObjectPropertiesPtr props = drmModeObjectGetProperties(GetDrmFd(), objId, objType); in GetProperty() local
108 DISPLAY_CHK_RETURN((!props), DISPLAY_FAILURE, DISPLAY_LOGE("can not get properties")); in GetProperty()
110 for (uint32_t i = 0; i < props->count_props; i++) { in GetProperty()
111 drmModePropertyPtr p = drmModeGetProperty(GetDrmFd(), props->props[i]); in GetProperty()
115 prop.value = props->prop_values[i]; in GetProperty()
119 drmModeFreeObjectProperties(props); in GetProperty()
/device/soc/rockchip/rk3566/hardware/display/src/display_device/
Ddrm_device.cpp107 drmModeObjectPropertiesPtr props = drmModeObjectGetProperties(GetDrmFd(), objId, objType); in GetProperty() local
108 DISPLAY_CHK_RETURN((!props), DISPLAY_FAILURE, DISPLAY_LOGE("can not get properties")); in GetProperty()
110 for (uint32_t i = 0; i < props->count_props; i++) { in GetProperty()
111 drmModePropertyPtr p = drmModeGetProperty(GetDrmFd(), props->props[i]); in GetProperty()
115 prop.value = props->prop_values[i]; in GetProperty()
143 drmModeFreeObjectProperties(props); in GetProperty()
/device/soc/rockchip/rk3568/hardware/display/src/display_device/
Ddrm_device.cpp107 drmModeObjectPropertiesPtr props = drmModeObjectGetProperties(GetDrmFd(), objId, objType); in GetProperty() local
108 DISPLAY_CHK_RETURN((!props), DISPLAY_FAILURE, DISPLAY_LOGE("can not get properties")); in GetProperty()
110 for (uint32_t i = 0; i < props->count_props; i++) { in GetProperty()
111 drmModePropertyPtr p = drmModeGetProperty(GetDrmFd(), props->props[i]); in GetProperty()
115 prop.value = props->prop_values[i]; in GetProperty()
143 drmModeFreeObjectProperties(props); in GetProperty()
/device/soc/rockchip/rk3399/hardware/display/src/display_device/
Ddrm_device.cpp107 drmModeObjectPropertiesPtr props = drmModeObjectGetProperties(GetDrmFd(), objId, objType); in GetProperty() local
108 DISPLAY_CHK_RETURN((!props), DISPLAY_FAILURE, DISPLAY_LOGE("can not get properties")); in GetProperty()
110 for (uint32_t i = 0; i < props->count_props; i++) { in GetProperty()
111 drmModePropertyPtr p = drmModeGetProperty(GetDrmFd(), props->props[i]); in GetProperty()
115 prop.value = props->prop_values[i]; in GetProperty()
143 drmModeFreeObjectProperties(props); in GetProperty()
/device/soc/rockchip/rk3588/hardware/display/src/display_device/
Ddrm_device.cpp107 drmModeObjectPropertiesPtr props = drmModeObjectGetProperties(GetDrmFd(), objId, objType); in GetProperty() local
108 DISPLAY_CHK_RETURN((!props), DISPLAY_FAILURE, DISPLAY_LOGE("can not get properties")); in GetProperty()
110 for (uint32_t i = 0; i < props->count_props; i++) { in GetProperty()
111 drmModePropertyPtr p = drmModeGetProperty(GetDrmFd(), props->props[i]); in GetProperty()
115 prop.value = props->prop_values[i]; in GetProperty()
143 drmModeFreeObjectProperties(props); in GetProperty()
/device/soc/rockchip/common/hardware/display/src/display_device/
Ddrm_device.cpp110 … drmModeObjectPropertiesPtr props = drmModeObjectGetProperties(GetDrmFd(), objId, objType); in GetProperty() local
111 … DISPLAY_CHK_RETURN((!props), DISPLAY_FAILURE, DISPLAY_LOGE("can not get properties")); in GetProperty()
113 for (uint32_t i = 0; i < props->count_props; i++) { in GetProperty()
114 drmModePropertyPtr p = drmModeGetProperty(GetDrmFd(), props->props[i]); in GetProperty()
118 prop.value = props->prop_values[i]; in GetProperty()
146 drmModeFreeObjectProperties(props); in GetProperty()

123456