Lines Matching defs:sdrp
107 ipmi_entity_sdr_parse(ipmi_sdr_t *sdrp, uint8_t *id, uint8_t *instance,
110 switch (sdrp->is_type) {
114 (ipmi_sdr_full_sensor_t *)sdrp->is_record;
124 (ipmi_sdr_compact_sensor_t *)sdrp->is_record;
134 (ipmi_sdr_event_only_t *)sdrp->is_record;
144 (ipmi_sdr_entity_association_t *)sdrp->is_record;
154 (ipmi_sdr_generic_locator_t *)sdrp->is_record;
164 (ipmi_sdr_fru_locator_t *)sdrp->is_record;
174 (ipmi_sdr_management_locator_t *)sdrp->is_record;
194 ipmi_entity_visit(ipmi_handle_t *ihp, const char *name, ipmi_sdr_t *sdrp,
203 if (ipmi_entity_sdr_parse(sdrp, &id, &instance, &logical) != 0)
222 if (sdrp->is_type == IPMI_SDR_TYPE_ENTITY_ASSOCIATION) {
227 (ipmi_sdr_entity_association_t *)sdrp->is_record;
272 esp->ies_sdr = sdrp;
287 ipmi_entity_present_sdr(ipmi_handle_t *ihp, ipmi_sdr_t *sdrp,
296 switch (sdrp->is_type) {
298 csp = (ipmi_sdr_compact_sensor_t *)sdrp->is_record;
305 fsp = (ipmi_sdr_full_sensor_t *)sdrp->is_record;
407 ipmi_sdr_t *sdrp;
422 sdrp = esp->ies_sdr;
423 switch (sdrp->is_type) {
425 csp = (ipmi_sdr_compact_sensor_t *)sdrp->is_record;
432 fsp = (ipmi_sdr_full_sensor_t *)sdrp->is_record;
497 sdrp = esp->ies_sdr;
498 switch (sdrp->is_type) {
500 csp = (ipmi_sdr_compact_sensor_t *)sdrp->is_record;
505 fsp = (ipmi_sdr_full_sensor_t *)sdrp->is_record;
544 sdrp = esp->ies_sdr;
545 if (sdrp->is_type != IPMI_SDR_TYPE_FRU_LOCATOR)
548 frup = (ipmi_sdr_fru_locator_t *)sdrp->is_record;
673 ipmi_sdr_t *sdrp;
677 if ((sdrp = ipmi_sdr_lookup(ihp, name)) == NULL)
680 if (ipmi_entity_sdr_parse(sdrp, &id, &instance, &logical) != 0) {