Searched refs:val_str (Results 1 – 5 of 5) sorted by relevance
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tests/kutf/ |
D | kutf_helpers_user.c | 59 static int validate_val_name(const char *val_str, int str_len) in validate_val_name() argument 63 for (i = 0; str_len && i <= KUTF_HELPER_MAX_VAL_NAME_LEN && val_str[i] != '\0'; ++i, --str_len) { in validate_val_name() 64 char val_chr = val_str[i]; in validate_val_name() 81 if (i > KUTF_HELPER_MAX_VAL_NAME_LEN || (i == KUTF_HELPER_MAX_VAL_NAME_LEN && val_str[i] != '\0')) in validate_val_name() 187 const char *val_str) in kutf_helper_send_named_str() argument 206 val_str_len = find_quoted_string_valid_len(val_str); in kutf_helper_send_named_str() 236 memcpy(copy_ptr, val_str, val_str_len); in kutf_helper_send_named_str() 368 named_val->u.val_str = strval; in kutf_helper_receive_named_val() 442 named_val->u.val_str = str; in kutf_helper_receive_check_val() 464 pr_warn("%s=\"%s\"\n", named_val->val_name, named_val->u.val_str); in kutf_helper_output_named_val()
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/tests/include/kutf/ |
D | kutf_helpers_user.h | 49 char *val_str; member 130 const char *val_name, const char *val_str);
|
/device/board/isoftstone/zhiyuan/kernel/driver/drivers/power/power_key/ |
D | axp2101-pek.c | 161 char val_str[20]; in axp20x_store_ext_attr() local 167 val_str[sizeof(val_str) - 1] = '\0'; in axp20x_store_ext_attr() 168 strncpy(val_str, buf, sizeof(val_str) - 1); in axp20x_store_ext_attr() 169 len = strlen(val_str); in axp20x_store_ext_attr() 171 if (len && val_str[len - 1] == '\n') in axp20x_store_ext_attr() 172 val_str[len - 1] = '\0'; in axp20x_store_ext_attr() 174 ret = kstrtouint(val_str, 10, &val); in axp20x_store_ext_attr()
|
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/src/ |
D | glue.c | 762 int settings_bytes_from_str(char *val_str, void *vp, int *len) in settings_bytes_from_str() argument 764 *len = base64_decode(val_str, vp); in settings_bytes_from_str()
|
/device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/host/mesh/include/mesh/ |
D | glue.h | 476 int settings_bytes_from_str(char *val_str, void *vp, int *len);
|