Lines Matching refs:addr
133 { .addr = client->addr, .len = sizeof(cmdbuf), .buf = (u8 *) &cmdbuf },
134 { .addr = client->addr, .len = len, .buf = databuf,
173 { .addr = client->addr, .len = sizeof(buf), .buf = (u8 *) &buf } };
193 { .addr = client->addr, .len = sizeof(buf), .buf = (u8 *) &buf } };
208 static int vl6180_measure(struct vl6180_data *data, int addr)
217 vl6180_chan_regs_table[addr].start_reg, VL6180_STARTSTOP);
226 if (ret & vl6180_chan_regs_table[addr].drdy_mask)
237 ret = vl6180_chan_regs_table[addr].word ?
238 vl6180_read_word(client, vl6180_chan_regs_table[addr].value_reg) :
239 vl6180_read_byte(client, vl6180_chan_regs_table[addr].value_reg);