Searched refs:reqptr (Results 1 – 2 of 2) sorted by relevance
/openbmc/ipmi-fru-parser/ |
H A D | strgfnhandler.cpp | 34 auto reqptr = static_cast<write_fru_data_t*>(request); in ipmiStorageWriteFruData() local 37 std::sprintf(fruFilename, "%s%02x", "/tmp/ipmifru", reqptr->frunum); in ipmiStorageWriteFruData() 39 offset = ((size_t)reqptr->offsetms) << 8 | reqptr->offsetls; in ipmiStorageWriteFruData() 75 if (std::fwrite(&reqptr->data, len, 1, fp) != 1) in ipmiStorageWriteFruData() 106 validateFRUArea(reqptr->frunum, fruFilename, bus, bmcOnlyFru); in ipmiStorageWriteFruData()
|
/openbmc/openpower-host-ipmi-oem/ |
H A D | oemhandler.cpp | 234 uint8_t* reqptr = (uint8_t*)request; in ipmi_ibm_oem_partial_esel() local 242 esel_req.resid = le16toh((((uint16_t)reqptr[1]) << 8) + reqptr[0]); in ipmi_ibm_oem_partial_esel() 243 esel_req.selrecord = le16toh((((uint16_t)reqptr[3]) << 8) + reqptr[2]); in ipmi_ibm_oem_partial_esel() 244 esel_req.offset = le16toh((((uint16_t)reqptr[5]) << 8) + reqptr[4]); in ipmi_ibm_oem_partial_esel() 245 esel_req.progress = reqptr[6]; in ipmi_ibm_oem_partial_esel() 274 fwrite(reqptr + (uint8_t)(sizeof(esel_request_t)), rlen, 1, fp); in ipmi_ibm_oem_partial_esel()
|