H A D | hcs_tree_if.c | 45 #define RETURN_DEFAULT_VALUE(attr, attrName, value, def) do { \ 50 *(value) = (def); \ 56 int32_t HcsGetUint8(const struct DeviceResourceNode *node, const char *attrName, uint8_t *value, uint8_t def) in HcsGetUint8() argument 59 RETURN_DEFAULT_VALUE(attr, attrName, value, def); in HcsGetUint8() 62 *value = def; in HcsGetUint8() 69 int32_t HcsGetUint16(const struct DeviceResourceNode *node, const char *attrName, uint16_t *value, uint16_t def) in HcsGetUint16() argument 72 RETURN_DEFAULT_VALUE(attr, attrName, value, def); in HcsGetUint16() 75 *value = def; in HcsGetUint16() 82 int32_t HcsGetUint32(const struct DeviceResourceNode *node, const char *attrName, uint32_t *value, uint32_t def) in HcsGetUint32() argument 85 RETURN_DEFAULT_VALUE(attr, attrName, value, def); in HcsGetUint32() 95 HcsGetUint64(const struct DeviceResourceNode *node, const char *attrName, uint64_t *value, uint64_t def) HcsGetUint64() argument 132 HcsGetUint8ArrayElem(const struct DeviceResourceNode *node, const char *attrName, uint32_t index, uint8_t *value, uint8_t def) HcsGetUint8ArrayElem() argument 153 HcsGetUint16ArrayElem(const struct DeviceResourceNode *node, const char *attrName, uint32_t index, uint16_t *value, uint16_t def) HcsGetUint16ArrayElem() argument 174 HcsGetUint32ArrayElem(const struct DeviceResourceNode *node, const char *attrName, uint32_t index, uint32_t *value, uint32_t def) HcsGetUint32ArrayElem() argument 195 HcsGetUint64ArrayElem(const struct DeviceResourceNode *node, const char *attrName, uint32_t index, uint64_t *value, uint64_t def) HcsGetUint64ArrayElem() argument 222 HcsGetUint8Array(const struct DeviceResourceNode *node, const char *attrName, uint8_t *value, uint32_t len, uint8_t def) HcsGetUint8Array() argument 240 HcsGetUint16Array(const struct DeviceResourceNode *node, const char *attrName, uint16_t *value, uint32_t len, uint16_t def) HcsGetUint16Array() argument 258 HcsGetUint32Array(const struct DeviceResourceNode *node, const char *attrName, uint32_t *value, uint32_t len, uint32_t def) HcsGetUint32Array() argument 276 HcsGetUint64Array(const struct DeviceResourceNode *node, const char *attrName, uint64_t *value, uint32_t len, uint64_t def) HcsGetUint64Array() argument 295 HcsGetStringArrayElem(const struct DeviceResourceNode *node, const char *attrName, uint32_t index, const char **value, const char *def) HcsGetStringArrayElem() argument 312 HcsGetString(const struct DeviceResourceNode *node, const char *attrName, const char **value, const char *def) HcsGetString() argument [all...] |