Lines Matching +full:0 +full:x0e
59 val = p->read(p, 0x0e); in bq4802_read_time()
60 p->write(p, 0xe, val | 0x08); in bq4802_read_time()
62 tm->tm_sec = p->read(p, 0x00); in bq4802_read_time()
63 tm->tm_min = p->read(p, 0x02); in bq4802_read_time()
64 tm->tm_hour = p->read(p, 0x04); in bq4802_read_time()
65 tm->tm_mday = p->read(p, 0x06); in bq4802_read_time()
66 tm->tm_mon = p->read(p, 0x09); in bq4802_read_time()
67 tm->tm_year = p->read(p, 0x0a); in bq4802_read_time()
68 tm->tm_wday = p->read(p, 0x08); in bq4802_read_time()
69 century = p->read(p, 0x0f); in bq4802_read_time()
71 p->write(p, 0x0e, val); in bq4802_read_time()
89 return 0; in bq4802_read_time()
119 val = p->read(p, 0x0e); in bq4802_set_time()
120 p->write(p, 0x0e, val | 0x08); in bq4802_set_time()
122 p->write(p, 0x00, sec); in bq4802_set_time()
123 p->write(p, 0x02, min); in bq4802_set_time()
124 p->write(p, 0x04, hrs); in bq4802_set_time()
125 p->write(p, 0x06, day); in bq4802_set_time()
126 p->write(p, 0x09, mon); in bq4802_set_time()
127 p->write(p, 0x0a, yrs); in bq4802_set_time()
128 p->write(p, 0x0f, century); in bq4802_set_time()
130 p->write(p, 0x0e, val); in bq4802_set_time()
134 return 0; in bq4802_set_time()
152 p->r = platform_get_resource(pdev, IORESOURCE_MEM, 0); in bq4802_probe()
154 p->r = platform_get_resource(pdev, IORESOURCE_IO, 0); in bq4802_probe()
186 err = 0; in bq4802_probe()