Lines Matching refs:statptr
2737 unsigned int statptr, prev;
2740 statptr = host->status_ptr[devidx] - 10;
2742 if ((signed int)statptr < 0)
2743 statptr += STATUS_BUFFER_SIZE;
2745 prev = host->status[devidx][statptr].when;
2747 for (; statptr != host->status_ptr[devidx]; statptr = (statptr + 1) & (STATUS_BUFFER_SIZE - 1)) {
2748 if (host->status[devidx][statptr].when) {
2750 host->status[devidx][statptr].irq ? '-' : ' ',
2751 host->status[devidx][statptr].ph,
2752 host->status[devidx][statptr].ssr,
2753 (host->status[devidx][statptr].when - prev) < 100 ?
2754 (host->status[devidx][statptr].when - prev) : 99);
2755 prev = host->status[devidx][statptr].when;