Lines Matching defs:new_z2
397 int maxlen, new_z2;
403 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */
404 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL))
405 new_z2 -= B_FIFO_SIZE; /* buffer wrap */
415 bz->za[new_f2].z2 = cpu_to_le16(new_z2);
442 bz->za[new_f2].z2 = cpu_to_le16(new_z2);
538 int new_z2, fcnt_rx, fcnt_tx, maxlen;
552 new_z2 = le16_to_cpu(*z2r) + fcnt_rx; /* new position in fifo */
553 if (new_z2 >= (B_FIFO_SIZE + B_SUB_VAL))
554 new_z2 -= B_FIFO_SIZE; /* buffer wrap */
565 *z2r = cpu_to_le16(new_z2);
591 *z2r = cpu_to_le16(new_z2); /* new position */