Lines Matching refs:zp
409 struct zt *zp;
413 zp = &bz->za[bz->f2]; /* point to Z-Regs */
414 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */
419 (*(bdata + (le16_to_cpu(zp->z1) - B_SUB_VAL)))) {
438 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL)
442 le16_to_cpu(zp->z2); /* maximum */
444 ptr1 = bdata + (le16_to_cpu(zp->z2) - B_SUB_VAL);
472 struct zt *zp;
476 zp = &df->za[df->f2 & D_FREG_MASK];
477 rcnt = le16_to_cpu(zp->z1) - le16_to_cpu(zp->z2);
485 le16_to_cpu(zp->z1),
486 le16_to_cpu(zp->z2),
490 (df->data[le16_to_cpu(zp->z1)])) {
496 df->data[le16_to_cpu(zp->z1)]);
503 cpu_to_le16((le16_to_cpu(zp->z2) + rcnt) &
516 if (le16_to_cpu(zp->z2) + rcnt <= D_FIFO_SIZE)
519 maxlen = D_FIFO_SIZE - le16_to_cpu(zp->z2);
522 ptr1 = df->data + le16_to_cpu(zp->z2);
535 le16_to_cpu(zp->z2) + total) & (D_FIFO_SIZE - 1));
617 struct zt *zp;
636 zp = &rxbz->za[rxbz->f2];
638 rcnt = le16_to_cpu(zp->z1) - le16_to_cpu(zp->z2);
645 bch->nr, le16_to_cpu(zp->z1),
646 le16_to_cpu(zp->z2), rcnt);