Lines Matching refs:hw_fragshift
1468 unsigned int hw_fragshift;
1668 aport->hw_fragshift = aport->sw_fragshift - aport->sw_subdivshift;
1669 aport->hw_fragsize = 1 << aport->hw_fragshift;
1678 hwfrags = rport->hwbuf_max >> aport->hw_fragshift;
1693 hwfrags = wport->hwbuf_max >> aport->hw_fragshift;
1733 wport->hw_fragshift = rport->hw_fragshift;
1751 rport->hw_fragshift,
1779 wport->hw_fragshift,
2148 >> wport->hw_fragshift
2149 << wport->hw_fragshift;
2528 int hw_fragshift = sw_fragshift - sw_subdivshift;
2531 if (hw_fragshift < MIN_FRAGSHIFT)
2532 hw_fragshift = MIN_FRAGSHIFT;
2533 if (hw_fragshift > MAX_FRAGSHIFT)
2534 hw_fragshift = MAX_FRAGSHIFT;
2535 sw_fragshift = hw_fragshift + aport->sw_subdivshift;
2536 hw_fragsize = 1 << hw_fragshift;
2565 int hw_fragshift, hw_fragsize, hw_fragcount;
2572 hw_fragshift = aport->sw_fragshift - subdivshift;
2573 if (hw_fragshift < MIN_FRAGSHIFT ||
2574 hw_fragshift > MAX_FRAGSHIFT)
2576 hw_fragsize = 1 << hw_fragshift;