Lines Matching refs:z2
342 bzr->za[MAX_B_FRAMES].z2 = cpu_to_le16(
369 "z1(%x) z2(%x) state(%x)\n",
372 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2),
377 bzt->za[MAX_B_FRAMES].z2 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 2);
383 "hfcpci_clear_fifo_tx%d f1(%x) f2(%x) z1(%x) z2(%x)\n",
386 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2));
403 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */
415 bz->za[new_f2].z2 = cpu_to_le16(new_z2);
426 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL)
430 le16_to_cpu(zp->z2); /* maximum */
432 ptr1 = bdata + (le16_to_cpu(zp->z2) - B_SUB_VAL);
442 bz->za[new_f2].z2 = cpu_to_le16(new_z2);
465 rcnt = le16_to_cpu(zp->z1) - le16_to_cpu(zp->z2);
471 "hfcpci recd f1(%d) f2(%d) z1(%x) z2(%x) cnt(%d)\n",
474 le16_to_cpu(zp->z2),
490 df->za[df->f2 & D_FREG_MASK].z2 =
491 cpu_to_le16((le16_to_cpu(zp->z2) + rcnt) &
504 if (le16_to_cpu(zp->z2) + rcnt <= D_FIFO_SIZE)
507 maxlen = D_FIFO_SIZE - le16_to_cpu(zp->z2);
510 ptr1 = df->data + le16_to_cpu(zp->z2);
522 df->za[df->f2 & D_FREG_MASK].z2 = cpu_to_le16((
523 le16_to_cpu(zp->z2) + total) & (D_FIFO_SIZE - 1));
626 rcnt = le16_to_cpu(zp->z1) - le16_to_cpu(zp->z2);
632 "hfcpci rec ch(%x) z1(%x) z2(%x) cnt(%d)\n",
634 le16_to_cpu(zp->z2), rcnt);
697 maxlen = le16_to_cpu(df->za[df->f2 & D_FREG_MASK].z2) -
772 "cnt(%d) z1(%x) z2(%x)\n", bch->nr, count,
862 maxlen = le16_to_cpu(bz->za[bz->f2].z2) -