Lines Matching full:trc
910 struct atto_hba_trace *trc = &hi->data.trace; in hba_ioctl_callback() local
925 if (trc->trace_type == ATTO_TRC_TT_FWCOREDUMP in hba_ioctl_callback()
927 if (trc->trace_func == ATTO_TRC_TF_UPLOAD) { in hba_ioctl_callback()
929 u32 offset = trc->current_offset; in hba_ioctl_callback()
946 memcpy(trc->contents, in hba_ioctl_callback()
950 } else if (trc->trace_func == ATTO_TRC_TF_RESET) { in hba_ioctl_callback()
955 } else if (trc->trace_func != ATTO_TRC_TF_GET_INFO) { in hba_ioctl_callback()
961 trc->trace_mask = 0; in hba_ioctl_callback()
962 trc->current_offset = 0; in hba_ioctl_callback()
963 trc->total_length = ESAS2R_FWCOREDUMP_SZ; in hba_ioctl_callback()
967 trc->total_length = 0; in hba_ioctl_callback()