Lines Matching refs:rcvmsg

44 		RspMessage	rcvmsg;  in sc_ioctl()  local
62 0, sizeof(srec), srec, &rcvmsg, SAR_TIMEOUT); in sc_ioctl()
90 RspMessage rcvmsg; in sc_ioctl() local
105 0, sizeof(char),&switchtype,&rcvmsg, SAR_TIMEOUT); in sc_ioctl()
106 if(!status && !rcvmsg.rsp_status) { in sc_ioctl()
119 RspMessage rcvmsg; in sc_ioctl() local
129 ceReqCallGetSwitchType, 0, 0, 0, &rcvmsg, SAR_TIMEOUT); in sc_ioctl()
130 if (!status && !rcvmsg.rsp_status) { in sc_ioctl()
139 switchtype = rcvmsg.msg_data.byte_array[0]; in sc_ioctl()
152 RspMessage rcvmsg; in sc_ioctl() local
162 data->channel, 0, 0, &rcvmsg, SAR_TIMEOUT); in sc_ioctl()
171 strcpy(spid, rcvmsg.msg_data.byte_array); in sc_ioctl()
184 RspMessage rcvmsg; in sc_ioctl() local
200 strlen(spid), spid, &rcvmsg, SAR_TIMEOUT); in sc_ioctl()
201 if(!status && !rcvmsg.rsp_status) { in sc_ioctl()
215 RspMessage rcvmsg; in sc_ioctl() local
225 data->channel, 0, 0, &rcvmsg, SAR_TIMEOUT); in sc_ioctl()
235 strcpy(dn, rcvmsg.msg_data.byte_array); in sc_ioctl()
248 RspMessage rcvmsg; in sc_ioctl() local
264 strlen(dn),dn,&rcvmsg, SAR_TIMEOUT); in sc_ioctl()
265 if(!status && !rcvmsg.rsp_status) { in sc_ioctl()
301 RspMessage rcvmsg; in sc_ioctl() local
311 ceReqCallGetCallType, data->channel, 0, 0, &rcvmsg, SAR_TIMEOUT); in sc_ioctl()
312 if (!status && !rcvmsg.rsp_status) { in sc_ioctl()
322 speed = rcvmsg.msg_data.byte_array[0]; in sc_ioctl()
350 RspMessage rcvmsg; in GetStatus() local
371 ceReqPhyStatus, 0, 0, NULL, &rcvmsg, SAR_TIMEOUT); in GetStatus()
374 bi->l1_status = rcvmsg.msg_data.byte_array[2]; in GetStatus()
377 rcvmsg.msg_data.byte_array[i]; in GetStatus()
380 bi->l1_status = rcvmsg.msg_data.byte_array[0]; in GetStatus()
381 bi->l2_status = rcvmsg.msg_data.byte_array[1]; in GetStatus()
384 rcvmsg.msg_data.byte_array[i+2]; in GetStatus()
393 ceReqCallGetCallType, 0, 0, NULL, &rcvmsg, SAR_TIMEOUT); in GetStatus()
397 rcvmsg.msg_data.byte_array[0]; in GetStatus()
401 rcvmsg.msg_data.byte_array[0]; in GetStatus()
414 ceReqPhyChCallState, 0, 0, NULL, &rcvmsg, SAR_TIMEOUT); in GetStatus()
418 rcvmsg.msg_data.byte_array[i]; in GetStatus()
425 ceReqPhyChServState, 0, 0, NULL, &rcvmsg, SAR_TIMEOUT); in GetStatus()
429 rcvmsg.msg_data.byte_array[i]; in GetStatus()
437 ceReqLnkGetStats, i, 0, NULL, &rcvmsg, SAR_TIMEOUT); in GetStatus()
440 (unsigned long)rcvmsg.msg_data.byte_array[0]; in GetStatus()
442 (unsigned long)rcvmsg.msg_data.byte_array[4]; in GetStatus()
444 (unsigned long)rcvmsg.msg_data.byte_array[8]; in GetStatus()
446 (unsigned long)rcvmsg.msg_data.byte_array[12]; in GetStatus()
454 ceReqLnkGetStats, 0, 0, NULL, &rcvmsg, SAR_TIMEOUT); in GetStatus()
456 bi->dch_stats.tx_good = (unsigned long)rcvmsg.msg_data.byte_array[0]; in GetStatus()
457 bi->dch_stats.tx_bad = (unsigned long)rcvmsg.msg_data.byte_array[4]; in GetStatus()
458 bi->dch_stats.rx_good = (unsigned long)rcvmsg.msg_data.byte_array[8]; in GetStatus()
459 bi->dch_stats.rx_bad = (unsigned long)rcvmsg.msg_data.byte_array[12]; in GetStatus()
473 ceReqLnkGetStats, 0, 0, NULL, &rcvmsg, SAR_TIMEOUT); in GetStatus()
475 bi->dch_stats.tx_good = (unsigned long)rcvmsg.msg_data.byte_array[0]; in GetStatus()
476 bi->dch_stats.tx_bad = (unsigned long)rcvmsg.msg_data.byte_array[4]; in GetStatus()
477 bi->dch_stats.rx_good = (unsigned long)rcvmsg.msg_data.byte_array[8]; in GetStatus()
478 bi->dch_stats.rx_bad = (unsigned long)rcvmsg.msg_data.byte_array[12]; in GetStatus()
480 (unsigned long)rcvmsg.msg_data.byte_array[16]; in GetStatus()
482 (unsigned long)rcvmsg.msg_data.byte_array[20]; in GetStatus()
484 (unsigned long)rcvmsg.msg_data.byte_array[24]; in GetStatus()
486 (unsigned long)rcvmsg.msg_data.byte_array[28]; in GetStatus()
488 (unsigned long)rcvmsg.msg_data.byte_array[32]; in GetStatus()
490 (unsigned long)rcvmsg.msg_data.byte_array[36]; in GetStatus()
492 (unsigned long)rcvmsg.msg_data.byte_array[40]; in GetStatus()
494 (unsigned long)rcvmsg.msg_data.byte_array[44]; in GetStatus()
502 ceReqCallGetSPID, i+1, 0, NULL, &rcvmsg, SAR_TIMEOUT); in GetStatus()
504 strcpy(bi->status.bristats[i].spid, rcvmsg.msg_data.byte_array); in GetStatus()
512 ceReqCallGetMyNumber, i+1, 0, NULL, &rcvmsg, SAR_TIMEOUT); in GetStatus()
514 strcpy(bi->status.bristats[i].dn, rcvmsg.msg_data.byte_array); in GetStatus()