Lines Matching defs:smp_pass_through_req
3129 smp_pass_through_req_t *smp_pass_through_req;
3138 smp_pass_through_req = (smp_pass_through_req_t*)agIOCTLPayload->FunctionSpecificArea;
3141 TI_DBG2(("SAS Address[%d]:%x",i,smp_pass_through_req->exp_sas_addr[i]));
3142 TI_DBG2(("SAS Request Length:%d",smp_pass_through_req->smp_req_len));
3143 TI_DBG2(("SAS Response Length:%d",smp_pass_through_req->smp_resp_len));
3144 for(i=0;i<smp_pass_through_req->smp_req_len;i++)
3145 TI_DBG2(("SAS request + %d:%x",i,smp_pass_through_req->smp_req_resp[i]));
3147 devHandle = ostiGetDevHandleFromSasAddr(tiRoot, smp_pass_through_req->exp_sas_addr);
3169 agSMPFrame.outFrameBuf = smp_pass_through_req->smp_req_resp;
3170 agSMPFrame.expectedRespLen = smp_pass_through_req->smp_resp_len;
3171 agSMPFrame.inFrameLen = smp_pass_through_req->smp_resp_len - 4;
3173 if(!(smp_pass_through_req->smp_req_len - 8) && !tiIS_SPC(agRoot))
3176 agSMPFrame.outFrameLen = smp_pass_through_req->smp_req_len - 4; //Exclude header
3188 smp_pass_through_req->smp_req_len,
3193 agSMPFrame.outFrameLen = smp_pass_through_req->smp_req_len - 4; //Exclude crc
3194 osti_memcpy((void *)reqBuffer, (void *)(smp_pass_through_req->smp_req_resp), smp_pass_through_req->smp_req_len);
3198 agSMPFrame.outFrameLen = smp_pass_through_req->smp_req_len - 8; //Exclude header and crc
3199 osti_memcpy((void *)reqBuffer, (void *)(smp_pass_through_req->smp_req_resp + 4), smp_pass_through_req->smp_req_len - 4);
3209 smp_pass_through_req->smp_resp_len + 4,
3215 osti_memset((void *)respBuffer, 0, smp_pass_through_req->smp_resp_len);
3220 tdsaAllShared->tdFWControlEx.usrAddr = (bit8*)smp_pass_through_req->smp_req_resp + smp_pass_through_req->smp_req_len;
3221 tdsaAllShared->tdFWControlEx.len = smp_pass_through_req->smp_resp_len;