Home
last modified time | relevance | path

Searched refs:tm_min (Results 1 – 25 of 56) sorted by relevance

123

/u-boot/drivers/rtc/
A Drv8803.c46 tm->tm_hour, tm->tm_min, tm->tm_sec); in rv8803_rtc_set()
56 buf[RTC_MIN_REG_ADDR] = bin2bcd(tm->tm_min); in rv8803_rtc_set()
90 tm->tm_min = bcd2bin(buf[RTC_MIN_REG_ADDR] & 0x7F); in rv8803_rtc_get()
101 tm->tm_hour, tm->tm_min, tm->tm_sec); in rv8803_rtc_get()
114 .tm_min = 0, in rv8803_rtc_reset()
139 tmp.tm_hour, tmp.tm_min, tmp.tm_sec); in rv8803_rtc_reset()
A Dpcf8563.c55 tmp->tm_min = bcd2bin (min & 0x7F); in rtc_get()
66 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
77 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
87 rtc_write (0x03, bin2bcd(tmp->tm_min )); in rtc_set()
151 tmp->tm_min = bcd2bin(min & 0x7F); in pcf8563_rtc_get()
162 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in pcf8563_rtc_get()
173 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in pcf8563_rtc_set()
183 dm_i2c_reg_write(dev, 0x03, bin2bcd(tmp->tm_min)); in pcf8563_rtc_set()
A Dmax6900.c66 tmp->tm_min = bcd2bin (min & 0x7F); in rtc_get()
77 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
87 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
97 rtc_write (0x82, bin2bcd(tmp->tm_min )); in rtc_set()
A Dpt7c4338.c93 tmp->tm_min = bcd2bin(min & 0x7F); in rtc_get()
103 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
113 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
120 rtc_write(RTC_MIN_REG_ADDR, bin2bcd(tmp->tm_min)); in rtc_set()
172 tmp->tm_min = bcd2bin(min & 0x7F); in pt7c4338_rtc_get()
182 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in pt7c4338_rtc_get()
191 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in pt7c4338_rtc_set()
198 rtc_write(dev, RTC_MIN_REG_ADDR, bin2bcd(tmp->tm_min)); in pt7c4338_rtc_set()
A Ddavinci.c42 tmp->tm_min = bcd2bin(min & 0x7F); in rtc_get()
53 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
64 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
71 writel(bin2bcd(tmp->tm_min), &rtc->minutes); in rtc_set()
A Dds3231.c94 tmp->tm_min = bcd2bin (min & 0x7F); in rtc_get()
105 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
120 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
130 rtc_write (RTC_MIN_REG_ADDR, bin2bcd (tmp->tm_min)); in rtc_set()
199 tmp->tm_min = bcd2bin(min & 0x7F); in ds3231_rtc_get()
210 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in ds3231_rtc_get()
221 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in ds3231_rtc_set()
231 dm_i2c_reg_write(dev, RTC_MIN_REG_ADDR, bin2bcd(tmp->tm_min)); in ds3231_rtc_set()
A Dm48t35ax.c53 tmp->tm_min = bcd2bin (min & 0x7F); in rtc_get()
64 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
76 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
91 rtc_write (0x02, bin2bcd(tmp->tm_min )); in rtc_set()
A Dx1205.c101 tm->tm_min = bcd2bin(buf[CCR_MIN]); in rtc_get()
112 tm->tm_sec, tm->tm_min, tm->tm_hour, in rtc_get()
125 tm->tm_hour, tm->tm_min, tm->tm_sec); in rtc_set()
128 buf[CCR_MIN] = bin2bcd(tm->tm_min); in rtc_set()
A Dds1337.c106 tmp->tm_min = bcd2bin (min & 0x7F); in rtc_get()
117 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
132 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
142 rtc_write (RTC_MIN_REG_ADDR, bin2bcd (tmp->tm_min)); in rtc_set()
240 tmp->tm_min = bcd2bin(min & 0x7F); in ds1337_rtc_get()
251 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in ds1337_rtc_get()
262 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in ds1337_rtc_set()
272 rtc_write(dev, RTC_MIN_REG_ADDR, bin2bcd(tmp->tm_min)); in ds1337_rtc_set()
A Dds1306.c82 tmp->tm_min = bcd2bin (soft_spi_read ()); /* Read minutes */ in rtc_get()
115 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
151 soft_spi_send (bin2bcd (tmp->tm_min)); /* Send Minutes */ in rtc_set()
189 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
327 tmp->tm_min = bcd2bin (min & 0x7F); /* convert Minutes */ in rtc_get()
346 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
369 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
372 rtc_write (RTC_MINUTES, bin2bcd (tmp->tm_min)); in rtc_set()
A Dds1307.c128 tmp->tm_min = bcd2bin (min & 0x7F); in rtc_get()
139 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
152 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
167 rtc_write (RTC_MIN_REG_ADDR, bin2bcd (tmp->tm_min)); in rtc_set()
219 tm->tm_hour, tm->tm_min, tm->tm_sec); in ds1307_rtc_set()
229 buf[RTC_MIN_REG_ADDR] = bin2bcd(tm->tm_min); in ds1307_rtc_set()
296 tm->tm_min = bcd2bin(buf[RTC_MIN_REG_ADDR] & 0x7F); in ds1307_rtc_get()
309 tm->tm_hour, tm->tm_min, tm->tm_sec); in ds1307_rtc_get()
A Dm41t11.c85 tmp->tm_min = bcd2bin (data[RTC_MIN_ADDR] & 0x7F); in rtc_get()
115 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
126 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
129 data[RTC_MIN_ADDR] = bin2bcd(tmp->tm_min); in rtc_set()
A Dmcfrtc.c46 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
68 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
88 rtc->hourmin = (tmp->tm_hour << 8) | tmp->tm_min; in rtc_set()
A Dds164x.c81 tmp->tm_min = bcd2bin( min & 0x7F ); in rtc_get()
95 tmp->tm_hour, tmp->tm_min, tmp->tm_sec ); in rtc_get()
108 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
119 rtc_write( RTC_MINUTES, bin2bcd( tmp->tm_min )); in rtc_set()
A Ds35392a.c149 if ((tm->tm_min < 0) || (tm->tm_min > 59)) in validate_time()
215 tm->tm_min = bcd2bin(date[S35390A_BYTE_MINS]); in s35392a_rtc_get()
224 tm->tm_hour, tm->tm_min, tm->tm_sec); in s35392a_rtc_get()
238 tm->tm_hour, tm->tm_min, tm->tm_sec); in s35392a_rtc_set()
260 date[S35390A_BYTE_MINS] = bin2bcd(tm->tm_min); in s35392a_rtc_set()
A Drtc-lib.c72 tm->tm_min = secs / 60; in rtc_to_tm()
73 tm->tm_sec = secs - tm->tm_min * 60; in rtc_to_tm()
A Dds1556.c84 tmp->tm_min = bcd2bin( min & 0x7F ); in rtc_get()
99 tmp->tm_hour, tmp->tm_min, tmp->tm_sec ); in rtc_get()
110 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
121 rtc_write( RTC_MINUTES, bin2bcd( tmp->tm_min )); in rtc_set()
A Dds174x.c79 tmp->tm_min = bcd2bin( min & 0x7F ); in rtc_get()
94 tmp->tm_hour, tmp->tm_min, tmp->tm_sec ); in rtc_get()
105 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
116 rtc_write( RTC_MINUTES, bin2bcd( tmp->tm_min )); in rtc_set()
A Disl1208.c98 tmp->tm_min = bcd2bin(buf[RTC_MIN_REG_ADDR] & 0x7F); in isl1208_rtc_get()
109 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in isl1208_rtc_get()
124 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in isl1208_rtc_set()
145 buf[RTC_MIN_REG_ADDR] = bin2bcd(tmp->tm_min); in isl1208_rtc_set()
A Drs5c372.c121 dt->tm_min = bcd2bin(buf[2]); in rs5c372_convert_to_time()
147 printf("rs5c372_convert_to_time: min = %d\n", dt->tm_min); in rs5c372_convert_to_time()
200 printf("rtc_set: tm_min = %d\n", tmp->tm_min); in rtc_set()
214 buf[2] = bin2bcd(tmp->tm_min); in rtc_set()
A Dm41t60.c156 tmp->tm_min = bcd2bin(data[RTC_MIN] & 0x7F); in rtc_get()
167 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
181 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
184 data[RTC_MIN] = (data[RTC_MIN] & 0X80) | (bin2bcd(tmp->tm_min) & 0X7F); in rtc_set()
A Dmk48t59.c106 tmp->tm_min = bcd2bin (min & 0x7F); in rtc_get()
121 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
134 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
147 rtc_write (RTC_MINUTES, bin2bcd(tmp->tm_min )); in rtc_set()
A Ds3c24x0_rtc.c86 tmp->tm_min = bcd2bin(min & 0x7F); in rtc_get()
101 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_get()
115 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
122 min = bin2bcd(tmp->tm_min); in rtc_set()
A Dds1302.c272 tmp->tm_min=10*bbclk.min10+bbclk.min; in rtc_get()
284 tmp->tm_hour, tmp->tm_min, tmp->tm_sec ); in rtc_get()
298 tmp->tm_hour, tmp->tm_min, tmp->tm_sec); in rtc_set()
307 bbclk.min10=tmp->tm_min/10; in rtc_set()
308 bbclk.min=tmp->tm_min%10; in rtc_set()
/u-boot/include/linux/
A Dtime.h32 int tm_min; /* Minutes. [0-59] */ member
66 tim_p->tm_mday, tim_p->tm_hour, tim_p->tm_min,
102 res->tm_min = (int) (rem / SECSPERMIN);

Completed in 21 milliseconds

123