/openbmc/ipmitool/lib/ |
H A D | ipmi_picmg.c | 147 if (str2uchar(argv_ptr, amc_chan_ptr) == 0) { in is_amc_channel() 229 if (str2uchar(argv_ptr, clk_acc_ptr) == 0) { in is_clk_acc() 294 if (str2uchar(argv_ptr, clk_id_ptr) == 0) { in is_clk_id() 314 if (str2uchar(argv_ptr, clk_index_ptr) == 0) { in is_clk_index() 381 if (str2uchar(argv_ptr, enable_ptr) == 0 in is_enable() 405 if (str2uchar(argv_ptr, led_color_ptr) != 0) { in is_led_color() 434 if (str2uchar(argv_ptr, led_duration_ptr) == 0 in is_led_duration() 461 if (str2uchar(argv_ptr, led_fn_ptr) == 0 in is_led_function() 482 if (str2uchar(argv_ptr, led_id_ptr) == 0) { in is_led_id() 502 if (str2uchar(argv_ptr, link_grp_ptr) == 0) { in is_link_group() [all …]
|
H A D | ipmi_vita.c | 493 if (str2uchar(argv[1], &msg_data[2]) != 0) { /* bits mask */ in ipmi_vita_set_fru_state_policy_bits() 496 if (str2uchar(argv[2], &msg_data[3]) != 0) { /* bits */ in ipmi_vita_set_fru_state_policy_bits() 582 if (str2uchar(argv[1], &msg_data[2]) != 0) { /* LED-ID */ in ipmi_vita_get_led_color_capabilities() 646 if (str2uchar(argv[1], &msg_data[2]) != 0) { /* LED-ID */ in ipmi_vita_get_led_state() 737 if (str2uchar(argv[1], &msg_data[2]) != 0) { /* LED-ID */ in ipmi_vita_set_led_state() 740 if (str2uchar(argv[2], &msg_data[3]) != 0) { /* LED function */ in ipmi_vita_set_led_state() 743 if (str2uchar(argv[3], &msg_data[4]) != 0) { /* LED on duration */ in ipmi_vita_set_led_state() 746 if (str2uchar(argv[4], &msg_data[5]) != 0) { /* LED color */ in ipmi_vita_set_led_state() 790 if (str2uchar(argv[1], &msg_data[2]) != 0) { /* control option */ in ipmi_vita_fru_control()
|
H A D | helper.c | 373 int str2uchar(const char * str, uint8_t * uchr_ptr) in str2uchar() function 730 if (str2uchar(argv_ptr, fru_id_ptr) == 0) { in is_fru_id() 759 if ((str2uchar(argv_ptr, channel_ptr) == 0) in is_ipmi_channel_num() 788 if ((str2uchar(argv_ptr, ipmi_uid_ptr) == 0) in is_ipmi_user_id() 817 if ((str2uchar(argv_ptr, ipmi_priv_limit_ptr) != 0) in is_ipmi_user_priv_limit()
|
H A D | ipmi_main.c | 720 if (str2uchar(optarg, &target_addr) != 0) { in ipmi_main() 727 if (str2uchar(optarg, &target_channel) != 0) { in ipmi_main() 734 if (str2uchar(optarg, &transit_addr) != 0) { in ipmi_main() 741 if (str2uchar(optarg, &transit_channel) != 0) { in ipmi_main() 748 if (str2uchar(optarg, &target_lun) != 0) { in ipmi_main() 755 if (str2uchar(optarg, &arg_addr) != 0) { in ipmi_main()
|
H A D | ipmi_dcmi.c | 2536 if (str2uchar(argv[1], &policy_id) < 0) { in ipmi_nm_get_policy() 2687 if (str2uchar(argv[1], &policy_id) < 0) { in ipmi_nm_policy() 2767 if (str2uchar(argv[0], &policy_id) < 0) { in ipmi_nm_control() 2821 if (str2uchar(argv[1], &policy_id) < 0) { in ipmi_nm_get_statistics() 2932 if (str2uchar(argv[1], &policy_id) < 0) { in ipmi_nm_reset_statistics() 3061 if (str2uchar(argv[1], &chan) < 0) { in ipmi_nm_alert() 3069 if (str2uchar(argv[1], &dest) < 0) { in ipmi_nm_alert() 3075 if (str2uchar(argv[1], &string) < 0) { in ipmi_nm_alert() 3153 if (str2uchar(argv[1], &policy_id) < 0) { in ipmi_nm_thresh() 3498 if (str2uchar(argv[2], &entityID) != 0) { in ipmi_dcmi_thermalpolicy() [all …]
|
H A D | ipmi_lanp.c | 1318 if (str2uchar(argv[0], &buf[1])) { in get_cmdline_bad_pass_thresh() 1360 if (str2uchar(argv[0], &chan) != 0) { in ipmi_lan_set() 1410 if (str2uchar(argv[3], &interval) != 0) { in ipmi_lan_set() 1948 if (str2uchar(argv[1], &data[2]) != 0) { in ipmi_lan_alert_set() 1964 if (str2uchar(argv[1], &data[3]) != 0) { in ipmi_lan_alert_set() 2013 if (str2uchar(argv[1], &channel) != 0) { in ipmi_lan_alert() 2025 if (str2uchar(argv[2], &alert) != 0) { in ipmi_lan_alert() 2047 if (str2uchar(argv[1], &channel) != 0) { in ipmi_lan_alert() 2056 if (str2uchar(argv[2], &alert) != 0) { in ipmi_lan_alert() 2463 if (str2uchar(argv[1], &chan) != 0) { in ipmi_lanp_main() [all …]
|
H A D | ipmi_sol.c | 660 if (str2uchar(strval, out_value) != 0 || (*out_value < minval) in ipmi_sol_set_param_isvalid_uint8_t() 2002 if (str2uchar(argv[i] + 9, &instance) != 0) { in ipmi_sol_main() 2019 if (str2uchar(argv[i] + 9, &instance) != 0) { in ipmi_sol_main() 2063 if (str2uchar(argv[3], &instance) != 0) { in ipmi_sol_main()
|
H A D | ipmi_raw.c | 424 if (str2uchar(input_param, uchr_ptr) == 0) in is_valid_param()
|
H A D | ipmi_chassis.c | 142 if ( (rc = str2uchar(arg, &identify_data.interval)) != 0) { in ipmi_chassis_identify() 498 if (str2uchar(arg, ¶m_id) != 0) { in ipmi_chassis_get_bootparam()
|
H A D | ipmi_user.c | 654 if ((str2uchar(argv[4], &password_type) != 0) in ipmi_user_password()
|
H A D | ipmi_channel.c | 796 if (str2uchar(argv[i] + 10, &priv) != 0) { in ipmi_set_user_access()
|
H A D | ipmi_fru.c | 1602 if (str2uchar(argv[OEM_KONTRON_INSTANCE_ARG_POS], &instance) != 0) { in ipmi_fru_oemkontron_get() 1708 if (str2uchar(argv[OEM_KONTRON_RECORDID_ARG_POS], &record_id) != 0) { in ipmi_fru_oemkontron_edit() 1734 if (str2uchar(argv[OEM_KONTRON_FORMAT_ARG_POS], &formatVersion) != 0) { in ipmi_fru_oemkontron_edit() 1753 if (str2uchar(argv[OEM_KONTRON_INSTANCE_ARG_POS], &instance) != 0) { in ipmi_fru_oemkontron_edit()
|
H A D | ipmi_hpmfwupg.c | 2581 if (str2uchar(argv[1], &(cmdCtx.req.componentId)) != 0 in ipmi_hpmfwupg_main() 2590 if (str2uchar(argv[2], &(cmdCtx.req.selector)) != 0 in ipmi_hpmfwupg_main()
|
H A D | ipmi_sunoem.c | 2362 rc = str2uchar(argv[2], &uid); in ipmi_sunoem_main()
|
H A D | ipmi_sel.c | 408 if (str2uchar(tok, &rqdata[j]) != 0) { in ipmi_sel_add_entries_fromfile()
|
H A D | ipmi_delloem.c | 392 if (str2uchar(argv[current_arg], &line_number) != 0) { in ipmi_delloem_lcd_main()
|
H A D | ipmi_sdr.c | 4497 if (str2uchar(type, &sensor_type) != 0) { in ipmi_sdr_print_type()
|
/openbmc/ipmitool/src/ |
H A D | ipmishell.c | 376 if (str2uchar(argv[1], &my_addr) != 0) { in ipmi_set_main() 386 if (str2uchar(argv[1], &target_addr) != 0) { in ipmi_set_main()
|
/openbmc/ipmitool/include/ipmitool/ |
H A D | helper.h | 84 int str2uchar(const char * str, uint8_t * uchr_ptr);
|
/openbmc/ipmitool/ |
H A D | ChangeLog | 252 * Replaces calls to strtol() with str2uchar() calls and adds error
|