Searched refs:twsi_wr (Results 1 – 1 of 1) sorted by relevance
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | twsi.c | 343 static int twsi_wr(struct hfi1_devdata *dd, u32 target, int data, int flags) in twsi_wr() function 383 ret = twsi_wr(dd, target, addr, HFI1_TWSI_START); in hfi1_twsi_blk_rd() 386 ret = twsi_wr(dd, target, dev | WRITE_CMD, HFI1_TWSI_START); in hfi1_twsi_blk_rd() 399 ret = twsi_wr(dd, target, addr, 0); in hfi1_twsi_blk_rd() 409 ret = twsi_wr(dd, target, dev | READ_CMD, HFI1_TWSI_START); in hfi1_twsi_blk_rd() 459 if (twsi_wr(dd, target, (addr << 1) | WRITE_CMD, in hfi1_twsi_blk_wr() 465 if (twsi_wr(dd, target, in hfi1_twsi_blk_wr() 468 ret = twsi_wr(dd, target, addr, 0); in hfi1_twsi_blk_wr() 482 if (twsi_wr(dd, target, *bp++, 0)) in hfi1_twsi_blk_wr() 499 while (twsi_wr(dd, target, in hfi1_twsi_blk_wr()
|