Lines Matching defs:offset
503 int channel = 0, i, offset = 0, windows, protocol, ch_wn;
517 if (ch_wn >= offset + windows) {
523 offset += windows;
529 channel += MHUV2_STAT_BITS * (ch_wn - offset);
797 int channel = 0, i, offset, doorbell, protocol, windows;
802 offset = pa->args[0];
812 if (offset < windows)
813 return &chans[channel + MHUV2_STAT_BITS * offset + doorbell];
816 offset -= windows;
818 if (offset == 0) {
826 offset--;