Lines Matching refs:write
26 void (*write)(struct bq4802 *, int, u8); member
59 p->write(p, 0xe, val | 0x08); in bq4802_read_time()
70 p->write(p, 0x0e, val); in bq4802_read_time()
119 p->write(p, 0x0e, val | 0x08); in bq4802_set_time()
121 p->write(p, 0x00, sec); in bq4802_set_time()
122 p->write(p, 0x02, min); in bq4802_set_time()
123 p->write(p, 0x04, hrs); in bq4802_set_time()
124 p->write(p, 0x06, day); in bq4802_set_time()
125 p->write(p, 0x09, mon); in bq4802_set_time()
126 p->write(p, 0x0a, yrs); in bq4802_set_time()
127 p->write(p, 0x0f, century); in bq4802_set_time()
129 p->write(p, 0x0e, val); in bq4802_set_time()
161 p->write = bq4802_write_io; in bq4802_probe()
170 p->write = bq4802_write_mem; in bq4802_probe()