Lines Matching full:low
113 unsigned char high, low; in data_calc() local
119 low = (tm->tm_year + 1900) / 100; in data_calc()
120 low = low - high * 10; in data_calc()
121 buf[RTC_YEAR2] = (high << 4) + low; in data_calc()
123 low = tm->tm_year + 1900; in data_calc()
124 low = low - high * 10; in data_calc()
126 buf[RTC_YEAR1] = (high << 4) + low; in data_calc()
128 low = tm->tm_mon; in data_calc()
129 low = low - high * 10; in data_calc()
130 buf[RTC_MONTH] = (high << 4) + low; in data_calc()
132 low = tm->tm_mday; in data_calc()
133 low = low - high * 10; in data_calc()
134 buf[RTC_DATE] = (high << 4) + low; in data_calc()
137 low = tm->tm_hour; in data_calc()
138 low = low - high * 10; in data_calc()
139 buf[RTC_HOUR] = (high << 4) + low; in data_calc()
141 low = tm->tm_min; in data_calc()
142 low = low - high * 10; in data_calc()
143 buf[RTC_MIN] = (high << 4) + low; in data_calc()
145 low = tm->tm_sec; in data_calc()
146 low = low - high * 10; in data_calc()
147 buf[RTC_SEC] = (high << 4) + low; in data_calc()