Lines Matching refs:addr
357 int qib_twsi_blk_rd(struct qib_devdata *dd, int dev, int addr,
367 addr = (addr << 1) | READ_CMD;
368 ret = qib_twsi_wr(dd, addr, QIB_TWSI_START);
378 * SFF spec claims we do _not_ stop after the addr
379 * but simply issue a start with the "read" dev-addr.
384 ret = qib_twsi_wr(dd, addr, 0);
389 "Failed to write interface read addr %02X\n",
390 addr);
435 int qib_twsi_blk_wr(struct qib_devdata *dd, int dev, int addr,
445 if (qib_twsi_wr(dd, (addr << 1) | WRITE_CMD,
453 ret = qib_twsi_wr(dd, addr, 0);
456 "Failed to write interface write addr %02X\n",
457 addr);
463 addr += sub_len;