Searched refs:v3020_set_reg (Results 1 - 1 of 1) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/rtc/ |
H A D | rtc-v3020.c | 187 static void v3020_set_reg(struct v3020 *chip, unsigned char address, function 237 v3020_set_reg(chip, V3020_CMD_CLOCK2RAM, 0); 281 v3020_set_reg(chip, V3020_SECONDS, bin2bcd(dt->tm_sec)); 282 v3020_set_reg(chip, V3020_MINUTES, bin2bcd(dt->tm_min)); 283 v3020_set_reg(chip, V3020_HOURS, bin2bcd(dt->tm_hour)); 284 v3020_set_reg(chip, V3020_MONTH_DAY, bin2bcd(dt->tm_mday)); 285 v3020_set_reg(chip, V3020_MONTH, bin2bcd(dt->tm_mon + 1)); 286 v3020_set_reg(chip, V3020_WEEK_DAY, bin2bcd(dt->tm_wday)); 287 v3020_set_reg(chip, V3020_YEAR, bin2bcd(dt->tm_year % 100)); 290 v3020_set_reg(chi [all...] |
Completed in 47 milliseconds