Home
last modified time | relevance | path

Searched refs:val_str (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/input/misc/
H A Daxp20x-pek.c136 char val_str[20]; in axp20x_store_attr() local
142 val_str[sizeof(val_str) - 1] = '\0'; in axp20x_store_attr()
143 strncpy(val_str, buf, sizeof(val_str) - 1); in axp20x_store_attr()
144 len = strlen(val_str); in axp20x_store_attr()
146 if (len && val_str[len - 1] == '\n') in axp20x_store_attr()
147 val_str[len - 1] = '\0'; in axp20x_store_attr()
149 ret = kstrtouint(val_str, 10, &val); in axp20x_store_attr()
/openbmc/linux/arch/s390/boot/
H A Dals.c66 char val_str[6]; in print_missing_facilities() local
87 u16_to_decimal(val_str, i * BITS_PER_LONG + j); in print_missing_facilities()
88 strcat(als_str, val_str); in print_missing_facilities()
/openbmc/linux/drivers/ufs/core/
H A Dufs-debugfs.c165 char val_str[16] = { }; in ufs_saved_err_write() local
168 if (count > sizeof(val_str)) in ufs_saved_err_write()
170 if (copy_from_user(val_str, buf, count)) in ufs_saved_err_write()
172 ret = kstrtoint(val_str, 0, &val); in ufs_saved_err_write()
/openbmc/u-boot/tools/
H A Drkmux.py173 val_str = '%#x' % value
175 val_str = '%d' % value
177 str += '%s= %s' % ('\t' * tabs, val_str)
/openbmc/linux/lib/
H A Dubsan.c407 char val_str[VALUE_LENGTH]; in __ubsan_handle_load_invalid_value() local
415 val_to_string(val_str, sizeof(val_str), data->type, val); in __ubsan_handle_load_invalid_value()
418 val_str, data->type->type_name); in __ubsan_handle_load_invalid_value()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dcore.c1918 char *val_str; in mlxsw_core_health_fw_fatal_dump() local
1947 val_str = "Test"; in mlxsw_core_health_fw_fatal_dump()
1956 val_str = NULL; in mlxsw_core_health_fw_fatal_dump()
1958 if (val_str) { in mlxsw_core_health_fw_fatal_dump()
1987 val_str = NULL; in mlxsw_core_health_fw_fatal_dump()
1989 if (val_str) { in mlxsw_core_health_fw_fatal_dump()
2008 val_str = NULL; in mlxsw_core_health_fw_fatal_dump()
2010 if (val_str) { in mlxsw_core_health_fw_fatal_dump()
2024 val_str = "mad"; in mlxsw_core_health_fw_fatal_dump()
2033 val_str = NULL; in mlxsw_core_health_fw_fatal_dump()
[all …]
/openbmc/linux/kernel/trace/
H A Dtrace_events_hist.c3150 char *val_str = (char *)(uintptr_t)var_val; in __update_field_vars() local
3155 strscpy(str, val_str, size); in __update_field_vars()
5175 char *str, *val_str; in hist_trigger_elt_update() local
5184 val_str = (char *)(uintptr_t)hist_val; in hist_trigger_elt_update()
5188 strscpy(str, val_str, size); in hist_trigger_elt_update()