Lines Matching refs:request
80 [this](pldm_tid_t, const pldm_msg* request, size_t payloadLength) { in Handler() argument
81 return this->setDateTime(request, payloadLength); in Handler()
85 [this](pldm_tid_t, const pldm_msg* request, size_t payloadLength) { in Handler() argument
86 return this->getDateTime(request, payloadLength); in Handler()
90 [this](pldm_tid_t, const pldm_msg* request, size_t payloadLength) { in Handler() argument
91 return this->getBIOSTable(request, payloadLength); in Handler()
95 [this](pldm_tid_t, const pldm_msg* request, size_t payloadLength) { in Handler() argument
96 return this->setBIOSTable(request, payloadLength); in Handler()
100 [this](pldm_tid_t, const pldm_msg* request, size_t payloadLength) { in Handler() argument
101 return this->getBIOSAttributeCurrentValueByHandle(request, in Handler()
106 [this](pldm_tid_t, const pldm_msg* request, size_t payloadLength) { in Handler() argument
107 return this->setBIOSAttributeCurrentValue(request, payloadLength); in Handler()
111 Response Handler::getDateTime(const pldm_msg* request, size_t /*payloadLength*/) in getDateTime() argument
136 return CmdHandler::ccOnlyResponse(request, PLDM_ERROR); in getDateTime()
146 auto rc = encode_get_date_time_resp(request->hdr.instance_id, PLDM_SUCCESS, in getDateTime()
151 return ccOnlyResponse(request, rc); in getDateTime()
157 Response Handler::setDateTime(const pldm_msg* request, size_t payloadLength) in setDateTime() argument
182 return ccOnlyResponse(request, PLDM_SUCCESS); in setDateTime()
197 auto rc = decode_set_date_time_req(request, payloadLength, &seconds, in setDateTime()
201 return ccOnlyResponse(request, rc); in setDateTime()
221 return ccOnlyResponse(request, PLDM_ERROR); in setDateTime()
224 return ccOnlyResponse(request, PLDM_SUCCESS); in setDateTime()
227 Response Handler::getBIOSTable(const pldm_msg* request, size_t payloadLength) in getBIOSTable() argument
233 auto rc = decode_get_bios_table_req(request, payloadLength, &transferHandle, in getBIOSTable()
237 return ccOnlyResponse(request, rc); in getBIOSTable()
244 return ccOnlyResponse(request, PLDM_BIOS_TABLE_UNAVAILABLE); in getBIOSTable()
252 request->hdr.instance_id, PLDM_SUCCESS, 0 /* nxtTransferHandle */, in getBIOSTable()
256 return ccOnlyResponse(request, rc); in getBIOSTable()
262 Response Handler::setBIOSTable(const pldm_msg* request, size_t payloadLength) in setBIOSTable() argument
269 auto rc = decode_set_bios_table_req(request, payloadLength, &transferHandle, in setBIOSTable()
273 return ccOnlyResponse(request, rc); in setBIOSTable()
280 return ccOnlyResponse(request, rc); in setBIOSTable()
286 rc = encode_set_bios_table_resp(request->hdr.instance_id, PLDM_SUCCESS, in setBIOSTable()
290 return ccOnlyResponse(request, rc); in setBIOSTable()
296 Response Handler::getBIOSAttributeCurrentValueByHandle(const pldm_msg* request, in getBIOSAttributeCurrentValueByHandle() argument
304 request, payloadLength, &transferHandle, &transferOpFlag, in getBIOSAttributeCurrentValueByHandle()
308 return ccOnlyResponse(request, rc); in getBIOSAttributeCurrentValueByHandle()
314 return ccOnlyResponse(request, PLDM_BIOS_TABLE_UNAVAILABLE); in getBIOSAttributeCurrentValueByHandle()
321 return ccOnlyResponse(request, PLDM_INVALID_BIOS_ATTR_HANDLE); in getBIOSAttributeCurrentValueByHandle()
331 request->hdr.instance_id, PLDM_SUCCESS, 0, PLDM_START_AND_END, in getBIOSAttributeCurrentValueByHandle()
335 return ccOnlyResponse(request, rc); in getBIOSAttributeCurrentValueByHandle()
341 Response Handler::setBIOSAttributeCurrentValue(const pldm_msg* request, in setBIOSAttributeCurrentValue() argument
349 request, payloadLength, &transferHandle, &transferOpFlag, in setBIOSAttributeCurrentValue()
353 return ccOnlyResponse(request, rc); in setBIOSAttributeCurrentValue()
363 encode_set_bios_attribute_current_value_resp(request->hdr.instance_id, rc, in setBIOSAttributeCurrentValue()