Lines Matching refs:write
27 void (*write)(struct bq4802 *, int, u8); member
60 p->write(p, 0xe, val | 0x08); in bq4802_read_time()
71 p->write(p, 0x0e, val); in bq4802_read_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()
162 p->write = bq4802_write_io; in bq4802_probe()
171 p->write = bq4802_write_mem; in bq4802_probe()