Home
last modified time | relevance | path

Searched refs:ipath_diag_inuse (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_diag.c53 int ipath_diag_inuse; variable
288 if (ipath_diag_inuse) { in ipath_diag_open()
302 ipath_diag_inuse = -2; in ipath_diag_open()
392 if (ipath_diag_inuse && !diag_set_link && in ipath_diagpkt_write()
493 ipath_diag_inuse = 0; in ipath_diag_release()
513 else if (ipath_diag_inuse < 1 && (*off || count != 8)) in ipath_diag_read()
524 if (ipath_diag_inuse == -2) in ipath_diag_read()
525 ipath_diag_inuse++; in ipath_diag_read()
545 else if ((ipath_diag_inuse == -1 && (*off || count != 8)) || in ipath_diag_write()
546 ipath_diag_inuse == -2) /* read qw off 0, write qw off 0 */ in ipath_diag_write()
[all …]
Dipath_stats.c261 ipath_diag_inuse) in ipath_get_faststats()
Dipath_iba6110.c560 if ((ctrl & INFINIPATH_C_FREEZEMODE) && !ipath_diag_inuse) { in ipath_ht_handle_hwerrors()
675 if (isfatal && !ipath_diag_inuse && dd->ipath_freezemsg) in ipath_ht_handle_hwerrors()
1108 if (ipath_diag_inuse) in ipath_setup_ht_setextled()
Dipath_kernel.h897 extern int ipath_diag_inuse;