Lines Matching refs:p_time
411 qed_mfw_get_tlv_time_value(struct qed_mfw_tlv_time *p_time, in qed_mfw_get_tlv_time_value() argument
414 if (!p_time->b_set) in qed_mfw_get_tlv_time_value()
418 if (p_time->month > 12) in qed_mfw_get_tlv_time_value()
419 p_time->month = 0; in qed_mfw_get_tlv_time_value()
420 if (p_time->day > 31) in qed_mfw_get_tlv_time_value()
421 p_time->day = 0; in qed_mfw_get_tlv_time_value()
422 if (p_time->hour > 23) in qed_mfw_get_tlv_time_value()
423 p_time->hour = 0; in qed_mfw_get_tlv_time_value()
424 if (p_time->min > 59) in qed_mfw_get_tlv_time_value()
425 p_time->min = 0; in qed_mfw_get_tlv_time_value()
426 if (p_time->msec > 999) in qed_mfw_get_tlv_time_value()
427 p_time->msec = 0; in qed_mfw_get_tlv_time_value()
428 if (p_time->usec > 999) in qed_mfw_get_tlv_time_value()
429 p_time->usec = 0; in qed_mfw_get_tlv_time_value()
433 p_time->month, p_time->day, in qed_mfw_get_tlv_time_value()
434 p_time->hour, p_time->min, p_time->msec, p_time->usec); in qed_mfw_get_tlv_time_value()
446 struct qed_mfw_tlv_time *p_time; in qed_mfw_get_fcoe_tlv_value() local
797 p_time = &p_drv_buf->plogi_acc_tstamp[idx]; in qed_mfw_get_fcoe_tlv_value()
799 return qed_mfw_get_tlv_time_value(p_time, p_buf); in qed_mfw_get_fcoe_tlv_value()
1066 p_time = &p_drv_buf->scsi_chk_tstamp[idx]; in qed_mfw_get_fcoe_tlv_value()
1068 return qed_mfw_get_tlv_time_value(p_time, p_buf); in qed_mfw_get_fcoe_tlv_value()