Searched refs:tenms (Results 1 – 3 of 3) sorted by relevance
203 uint32_t tenms; in hp_sdc_rtc_read_rt() local209 tenms = (uint32_t)raw & 0xffffff; in hp_sdc_rtc_read_rt()212 res->tv_usec = (suseconds_t)(tenms % 100) * 10000; in hp_sdc_rtc_read_rt()213 res->tv_sec = (time_t)(tenms / 100) + days * 86400; in hp_sdc_rtc_read_rt()222 unsigned int tenms; in hp_sdc_rtc_read_fhs() local227 tenms = (unsigned int)raw & 0xffff; in hp_sdc_rtc_read_fhs()229 res->tv_usec = (suseconds_t)(tenms % 100) * 10000; in hp_sdc_rtc_read_fhs()230 res->tv_sec = (time_t)(tenms / 100); in hp_sdc_rtc_read_fhs()239 uint32_t tenms; in hp_sdc_rtc_read_mt() local244 tenms = (uint32_t)raw & 0xffffff; in hp_sdc_rtc_read_mt()[all …]
119 #define tenms_to_2flags(s,tenms) ((tenms * s->par.bitrate) / 100 / 16) argument
275 #define tenms_to_flags(bc,tenms) ((tenms * bc->bitrate) / 800) argument