Home
last modified time | relevance | path

Searched refs:str2uchar (Results 1 – 20 of 20) sorted by relevance

/openbmc/ipmitool/lib/
H A Dipmi_picmg.c147 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 Dipmi_vita.c493 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 Dhelper.c373 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 Dipmi_main.c720 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 Dipmi_dcmi.c2536 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 Dipmi_lanp.c1318 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 Dipmi_sol.c660 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 Dipmi_raw.c424 if (str2uchar(input_param, uchr_ptr) == 0) in is_valid_param()
H A Dipmi_chassis.c142 if ( (rc = str2uchar(arg, &identify_data.interval)) != 0) { in ipmi_chassis_identify()
498 if (str2uchar(arg, &param_id) != 0) { in ipmi_chassis_get_bootparam()
H A Dipmi_user.c654 if ((str2uchar(argv[4], &password_type) != 0) in ipmi_user_password()
H A Dipmi_channel.c796 if (str2uchar(argv[i] + 10, &priv) != 0) { in ipmi_set_user_access()
H A Dipmi_fru.c1602 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 Dipmi_hpmfwupg.c2581 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 Dipmi_sunoem.c2362 rc = str2uchar(argv[2], &uid); in ipmi_sunoem_main()
H A Dipmi_sel.c408 if (str2uchar(tok, &rqdata[j]) != 0) { in ipmi_sel_add_entries_fromfile()
H A Dipmi_delloem.c392 if (str2uchar(argv[current_arg], &line_number) != 0) { in ipmi_delloem_lcd_main()
H A Dipmi_sdr.c4497 if (str2uchar(type, &sensor_type) != 0) { in ipmi_sdr_print_type()
/openbmc/ipmitool/src/
H A Dipmishell.c376 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 Dhelper.h84 int str2uchar(const char * str, uint8_t * uchr_ptr);
/openbmc/ipmitool/
H A DChangeLog252 * Replaces calls to strtol() with str2uchar() calls and adds error