Lines Matching refs:cs_stper
1521 he_dev->cs_stper[i].inuse = 0;
1522 he_dev->cs_stper[i].pcr = -1;
2219 spin_lock_irqsave(&he_dev->global_lock, flags); /* also protects he_dev->cs_stper[] */
2221 /* find an unused cs_stper register */
2223 if (he_dev->cs_stper[reg].inuse == 0 ||
2224 he_dev->cs_stper[reg].pcr == pcr_goal)
2236 ++he_dev->cs_stper[reg].inuse;
2237 he_dev->cs_stper[reg].pcr = pcr_goal;
2482 HPRINTK("cs_stper reg = %d\n", reg);
2484 if (he_dev->cs_stper[reg].inuse == 0)
2485 hprintk("cs_stper[%d].inuse = 0!\n", reg);
2487 --he_dev->cs_stper[reg].inuse;
2489 he_dev->total_bw -= he_dev->cs_stper[reg].pcr;
2788 return sprintf(page, "cs_stper%-2d %8ld %3d\n", i,
2789 he_dev->cs_stper[i].pcr,
2790 he_dev->cs_stper[i].inuse);