Lines Matching refs:resp
1428 ptp_usb_getresp (PTPParams* params, PTPContainer* resp)
1459 if (dtoh16(usbresp.code)!=resp->Code) {
1467 "PTP: request code 0x%04x getting resp error 0x%04x",
1468 resp->Code, ret);*/
1472 resp->Code=dtoh16(usbresp.code);
1473 resp->SessionID=params->session_id;
1474 resp->Transaction_ID=dtoh32(usbresp.trans_id);
1476 if (resp->Transaction_ID != params->transaction_id-1) {
1481 resp->Transaction_ID = params->transaction_id-1;
1484 resp->Param1=dtoh32(usbresp.payload.params.param1);
1485 resp->Param2=dtoh32(usbresp.payload.params.param2);
1486 resp->Param3=dtoh32(usbresp.payload.params.param3);
1487 resp->Param4=dtoh32(usbresp.payload.params.param4);
1488 resp->Param5=dtoh32(usbresp.payload.params.param5);