Home
last modified time | relevance | path

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

/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_misc.c33 os_get_time(struct bmic_host_wellness_time *host_wellness_time) in os_get_time() argument
42 host_wellness_time->hour= (uint8_t)bin2bcd(ct.hour); in os_get_time()
43 host_wellness_time->min = (uint8_t)bin2bcd(ct.min); in os_get_time()
44 host_wellness_time->sec= (uint8_t)bin2bcd(ct.sec); in os_get_time()
45 host_wellness_time->reserved = 0; in os_get_time()
46 host_wellness_time->month = (uint8_t)bin2bcd(ct.mon); in os_get_time()
47 host_wellness_time->day = (uint8_t)bin2bcd(ct.day); in os_get_time()
48 host_wellness_time->century = (uint8_t)bin2bcd(ct.year / 100); in os_get_time()
49 host_wellness_time->year = (uint8_t)bin2bcd(ct.year % 100); in os_get_time()
H A Dsmartpqi_discovery.c1963 data_length = sizeof(*host_wellness_time); in pqisrc_write_current_time_to_host_wellness()
1966 if (!host_wellness_time) { in pqisrc_write_current_time_to_host_wellness()
1971 host_wellness_time->start_tag[0] = '<'; in pqisrc_write_current_time_to_host_wellness()
1972 host_wellness_time->start_tag[1] = 'H'; in pqisrc_write_current_time_to_host_wellness()
1973 host_wellness_time->start_tag[2] = 'W'; in pqisrc_write_current_time_to_host_wellness()
1974 host_wellness_time->start_tag[3] = '>'; in pqisrc_write_current_time_to_host_wellness()
1975 host_wellness_time->time_tag[0] = 'T'; in pqisrc_write_current_time_to_host_wellness()
1976 host_wellness_time->time_tag[1] = 'D'; in pqisrc_write_current_time_to_host_wellness()
1980 os_get_time(host_wellness_time); in pqisrc_write_current_time_to_host_wellness()
1984 host_wellness_time->end_tag[0] = 'Z'; in pqisrc_write_current_time_to_host_wellness()
[all …]