Lines Matching refs:addr
356 int qib_twsi_blk_rd(struct qib_devdata *dd, int dev, int addr,
366 addr = (addr << 1) | READ_CMD;
367 ret = qib_twsi_wr(dd, addr, QIB_TWSI_START);
377 * SFF spec claims we do _not_ stop after the addr
378 * but simply issue a start with the "read" dev-addr.
383 ret = qib_twsi_wr(dd, addr, 0);
388 "Failed to write interface read addr %02X\n",
389 addr);
434 int qib_twsi_blk_wr(struct qib_devdata *dd, int dev, int addr,
444 if (qib_twsi_wr(dd, (addr << 1) | WRITE_CMD,
452 ret = qib_twsi_wr(dd, addr, 0);
455 "Failed to write interface write addr %02X\n",
456 addr);
462 addr += sub_len;