Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/test-drivers/vidtv/
H A Dvidtv_psi.c1982 int mjd, l; in vidtv_psi_eit_event_init() local
2000 mjd = 14956 + time.tm_mday; in vidtv_psi_eit_event_init()
2001 mjd += (time.tm_year - l) * 36525 / 100; in vidtv_psi_eit_event_init()
2002 mjd += (time.tm_mon + 2 + l * 12) * 306001 / 10000; in vidtv_psi_eit_event_init()
2003 mjd_be = cpu_to_be16(mjd); in vidtv_psi_eit_event_init()