Lines Matching refs:sdr

1713 	struct sdr_record_list * sdr = NULL;  in ipmi_sel_print_std_entry()  local
1717sdr = ipmi_sdr_find_sdr_bynumtype(intf, evt->sel_type.standard_type.gen_id, evt->sel_type.standard… in ipmi_sel_print_std_entry()
1810 if (sdr != NULL) { in ipmi_sel_print_std_entry()
1820 switch (sdr->type) { in ipmi_sel_print_std_entry()
1822 printf("%s", sdr->record.full->id_string); in ipmi_sel_print_std_entry()
1825 printf("%s", sdr->record.compact->id_string); in ipmi_sel_print_std_entry()
1828 printf("%s", sdr->record.eventonly->id_string); in ipmi_sel_print_std_entry()
1831 printf("%s", sdr->record.fruloc->id_string); in ipmi_sel_print_std_entry()
1834 printf("%s", sdr->record.mcloc->id_string); in ipmi_sel_print_std_entry()
1837 printf("%s", sdr->record.genloc->id_string); in ipmi_sel_print_std_entry()
1879 if (sdr != NULL && evt->sel_type.standard_type.event_type == 1) { in ipmi_sel_print_std_entry()
1890 sdr->record.full, evt->sel_type.standard_type.event_data[1]); in ipmi_sel_print_std_entry()
1896 sdr->record.full, evt->sel_type.standard_type.event_data[2]); in ipmi_sel_print_std_entry()
1913 ipmi_sdr_get_unit_string(sdr->record.common->unit.pct, in ipmi_sel_print_std_entry()
1914 sdr->record.common->unit.modifier, in ipmi_sel_print_std_entry()
1915 sdr->record.common->unit.type.base, in ipmi_sel_print_std_entry()
1916 sdr->record.common->unit.type.modifier)); in ipmi_sel_print_std_entry()
2046 struct sdr_record_list * sdr; in ipmi_sel_print_extended_entry_verbose() local
2052 sdr = ipmi_sdr_find_sdr_bynumtype(intf, in ipmi_sel_print_extended_entry_verbose()
2056 if (sdr == NULL) in ipmi_sel_print_extended_entry_verbose()
2100 if (evt->sel_type.standard_type.event_type == 1 && sdr->type == SDR_RECORD_TYPE_FULL_SENSOR) { in ipmi_sel_print_extended_entry_verbose()
2109 sdr_convert_sensor_reading(sdr->record.full, in ipmi_sel_print_extended_entry_verbose()
2112 printf ("%s\n", ipmi_sdr_get_unit_string(sdr->record.common->unit.pct, in ipmi_sel_print_extended_entry_verbose()
2113 sdr->record.common->unit.modifier, in ipmi_sel_print_extended_entry_verbose()
2114 sdr->record.common->unit.type.base, in ipmi_sel_print_extended_entry_verbose()
2115 sdr->record.common->unit.type.modifier)); in ipmi_sel_print_extended_entry_verbose()
2135 sdr_convert_sensor_reading(sdr->record.full, in ipmi_sel_print_extended_entry_verbose()
2138 printf ("%s\n", ipmi_sdr_get_unit_string(sdr->record.common->unit.pct, in ipmi_sel_print_extended_entry_verbose()
2139 sdr->record.common->unit.modifier, in ipmi_sel_print_extended_entry_verbose()
2140 sdr->record.common->unit.type.base, in ipmi_sel_print_extended_entry_verbose()
2141 sdr->record.common->unit.type.modifier)); in ipmi_sel_print_extended_entry_verbose()
2884 struct sdr_record_list *sdr; in ipmi_sel_show_entry() local
2928 sdr = ipmi_sdr_find_sdr_bynumtype(intf, in ipmi_sel_show_entry()
2932 if (sdr == NULL) { in ipmi_sel_show_entry()
2939 switch (sdr->type) { in ipmi_sel_show_entry()
2942 ipmi_sensor_print_fc(intf, sdr->record.common, in ipmi_sel_show_entry()
2943 sdr->type); in ipmi_sel_show_entry()
2944 entity.id = sdr->record.common->entity.id; in ipmi_sel_show_entry()
2945 entity.instance = sdr->record.common->entity.instance; in ipmi_sel_show_entry()
2948 ipmi_sdr_print_sensor_eventonly(intf, sdr->record.eventonly); in ipmi_sel_show_entry()
2949 entity.id = sdr->record.eventonly->entity.id; in ipmi_sel_show_entry()
2950 entity.instance = sdr->record.eventonly->entity.instance; in ipmi_sel_show_entry()