Searched refs:str2val (Results 1 – 7 of 7) sorted by relevance
/openbmc/ipmitool/src/ |
H A D | ipmishell.c | 327 authtype = str2val(argv[1], ipmi_authtype_session_vals); in ipmi_set_main() 344 privlvl = str2val(argv[1], ipmi_privlvl_vals); in ipmi_set_main()
|
/openbmc/ipmitool/include/ipmitool/ |
H A D | helper.h | 93 uint16_t str2val(const char * str, const struct valstr * vs);
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_event.c | 338 emsg.event_data[0] = (uint8_t)(str2val(state, ipmi_event_thresh_hi) & 0xf); in ipmi_event_fromsensor() 341 emsg.event_data[0] = (uint8_t)(str2val(state, ipmi_event_thresh_lo) & 0xf); in ipmi_event_fromsensor()
|
H A D | ipmi_main.c | 711 privlvl = str2val(optarg, ipmi_privlvl_vals); in ipmi_main() 717 authtype = str2val(optarg, ipmi_authtype_session_vals); in ipmi_main()
|
H A D | ipmi_raw.c | 341 netfn_tmp = str2val(argv[0], ipmi_netfn_vals); in ipmi_raw_main()
|
H A D | ipmi_sunoem.c | 469 ledtype = str2val(argv[1], sunoem_led_type_vals); in ipmi_sunoem_led_get() 666 ledmode = str2val(argv[1], sunoem_led_mode_vals); in ipmi_sunoem_led_set() 668 ledmode = str2val(argv[1], sunoem_led_mode_optvals); in ipmi_sunoem_led_set() 676 ledtype = str2val(argv[2], sunoem_led_type_vals); in ipmi_sunoem_led_set()
|
H A D | helper.c | 392 uint16_t str2val(const char *str, const struct valstr *vs) in str2val() function
|