502: 
503:         ERCD_PRINT(("close_device ercd = %d\n", ercd));
504: 
531: err_ret:
532:         ERCD_PRINT(("_tk_cls_dev ercd = %d\n", ercd));
533:         return ercd;
838: 
839:         ERCD_PRINT(("_tk_rea_dev ercd = %d\n", ercd));
840:         return ercd;
888: 
889:         ERCD_PRINT(("_tk_wri_dev ercd = %d\n", ercd));
890:         return ercd;
990: 
991:         ERCD_PRINT(("sendevt_alldevice ercd = %d\n", ercd));
992:         return ercd;
1006:         ercd = tk_evt_ssy(0, TSEVT_SUSPEND_BEGIN, 0, 0);
1007:         ERCD_PRINT(("1. do_suspend -> tk_evt_ssy ercd = %d\n", ercd));
1008: 
1010:         ercd = sendevt_alldevice(TDV_SUSPEND, FALSE);
1011:         ERCD_PRINT(("2. do_suspend -> sendevt_alldevice ercd = %d\n", ercd));
1012: 
1014:         ercd = sendevt_alldevice(TDV_SUSPEND, TRUE);
1015:         ERCD_PRINT(("3. do_suspend -> sendevt_alldevice ercd = %d\n", ercd));
1016: 
1021:         ercd = tk_evt_ssy(0, TSEVT_SUSPEND_DONE, 0, 0);
1022:         ERCD_PRINT(("4. do_suspend -> tk_evt_ssy ercd = %d\n", ercd));
1023: 
1025:         ercd = tk_set_pow(TPW_DOSUSPEND);
1026:         ERCD_PRINT(("5. do_suspend -> tk_set_pow ercd = %d\n", ercd));
1027: 
1031:         ercd = tk_evt_ssy(0, TSEVT_RESUME_BEGIN, 0, 0);
1032:         ERCD_PRINT(("6. do_suspend -> tk_evt_ssy ercd = %d\n", ercd));
1033: 
1038:         ercd = sendevt_alldevice(TDV_RESUME, TRUE);
1039:         ERCD_PRINT(("7. do_suspend -> sendevt_alldevice ercd = %d\n", ercd));
1040: 
1042:         ercd = sendevt_alldevice(TDV_RESUME, FALSE);
1043:         ERCD_PRINT(("8. do_suspend -> sendevt_alldevice ercd = %d\n", ercd));
1044: 
1049:         ercd = tk_evt_ssy(0, TSEVT_RESUME_DONE, 0, 0);
1050:         ERCD_PRINT(("9. do_suspend -> tk_evt_ssy ercd = %d\n", ercd));
1051: