Lines Matching defs:new_z2
408 int total, maxlen, new_z2;
414 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */
415 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL))
416 new_z2 -= B_FIFO_SIZE; /* buffer wrap */
426 bz->za[new_f2].z2 = cpu_to_le16(new_z2);
454 bz->za[new_f2].z2 = cpu_to_le16(new_z2);
550 int new_z2, fcnt_rx, fcnt_tx, maxlen;
564 new_z2 = le16_to_cpu(*z2r) + fcnt_rx; /* new position in fifo */
565 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL))
566 new_z2 -= B_FIFO_SIZE; /* buffer wrap */
569 *z2r = cpu_to_le16(new_z2); /* new position */
603 *z2r = cpu_to_le16(new_z2); /* new position */