Home
last modified time | relevance | path

Searched refs:p_time (Results 1 – 1 of 1) sorted by relevance

/drivers/net/ethernet/qlogic/qed/
Dqed_mng_tlv.c411 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()
[all …]