Searched refs:sdrr (Results 1 – 2 of 2) sorted by relevance
95 ipmi_sdr_add_record(struct ipmi_intf *intf, struct sdr_record_list *sdrr) in ipmi_sdr_add_record() argument102 int len = sdrr->length; in ipmi_sdr_add_record()106 if (len < 1 || !sdrr->raw) { in ipmi_sdr_add_record()132 sdr_rq->data[0] = sdrr->id & 0xFF; in ipmi_sdr_add_record()133 sdr_rq->data[1] = (sdrr->id >> 8) & 0xFF; in ipmi_sdr_add_record()134 sdr_rq->data[2] = sdrr->version; in ipmi_sdr_add_record()135 sdr_rq->data[3] = sdrr->type; in ipmi_sdr_add_record()136 sdr_rq->data[4] = sdrr->length; in ipmi_sdr_add_record()161 memcpy(sdr_rq->data, sdrr->raw + i, data_len); in ipmi_sdr_add_record()251 struct sdr_record_list *sdrr; in sdrr_get_records() local[all …]
2715 struct sdr_record_list *sdrr; in ipmi_sdr_print_sdr() local2724 sdrr = malloc(sizeof (struct sdr_record_list)); in ipmi_sdr_print_sdr()2725 if (sdrr == NULL) { in ipmi_sdr_print_sdr()2733 memset(sdrr, 0, sizeof (struct sdr_record_list)); in ipmi_sdr_print_sdr()2734 sdrr->id = header->id; in ipmi_sdr_print_sdr()2735 sdrr->type = header->type; in ipmi_sdr_print_sdr()2740 sdrr->record.common = in ipmi_sdr_print_sdr()2744 sdrr->record.eventonly = in ipmi_sdr_print_sdr()2748 sdrr->record.genloc = in ipmi_sdr_print_sdr()2752 sdrr->record.fruloc = in ipmi_sdr_print_sdr()[all …]