Lines Matching full:z2

344 	bzr->za[MAX_B_FRAMES].z2 = cpu_to_le16(  in hfcpci_clear_fifo_rx()
371 "z1(%x) z2(%x) state(%x)\n", in hfcpci_clear_fifo_tx()
374 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2), in hfcpci_clear_fifo_tx()
379 bzt->za[MAX_B_FRAMES].z2 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 2); in hfcpci_clear_fifo_tx()
385 "hfcpci_clear_fifo_tx%d f1(%x) f2(%x) z1(%x) z2(%x)\n", in hfcpci_clear_fifo_tx()
388 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2)); in hfcpci_clear_fifo_tx()
405 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */ in hfcpci_empty_bfifo()
417 bz->za[new_f2].z2 = cpu_to_le16(new_z2); in hfcpci_empty_bfifo()
428 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_bfifo()
432 le16_to_cpu(zp->z2); /* maximum */ in hfcpci_empty_bfifo()
434 ptr1 = bdata + (le16_to_cpu(zp->z2) - B_SUB_VAL); in hfcpci_empty_bfifo()
444 bz->za[new_f2].z2 = cpu_to_le16(new_z2); in hfcpci_empty_bfifo()
467 rcnt = le16_to_cpu(zp->z1) - le16_to_cpu(zp->z2); in receive_dmsg()
473 "hfcpci recd f1(%d) f2(%d) z1(%x) z2(%x) cnt(%d)\n", in receive_dmsg()
476 le16_to_cpu(zp->z2), in receive_dmsg()
492 df->za[df->f2 & D_FREG_MASK].z2 = in receive_dmsg()
493 cpu_to_le16((le16_to_cpu(zp->z2) + rcnt) & in receive_dmsg()
506 if (le16_to_cpu(zp->z2) + rcnt <= D_FIFO_SIZE) in receive_dmsg()
509 maxlen = D_FIFO_SIZE - le16_to_cpu(zp->z2); in receive_dmsg()
512 ptr1 = df->data + le16_to_cpu(zp->z2); in receive_dmsg()
524 df->za[df->f2 & D_FREG_MASK].z2 = cpu_to_le16(( in receive_dmsg()
525 le16_to_cpu(zp->z2) + total) & (D_FIFO_SIZE - 1)); in receive_dmsg()
628 rcnt = le16_to_cpu(zp->z1) - le16_to_cpu(zp->z2); in main_rec_hfcpci()
634 "hfcpci rec ch(%x) z1(%x) z2(%x) cnt(%d)\n", in main_rec_hfcpci()
636 le16_to_cpu(zp->z2), rcnt); in main_rec_hfcpci()
699 maxlen = le16_to_cpu(df->za[df->f2 & D_FREG_MASK].z2) - in hfcpci_fill_dfifo()
774 "cnt(%d) z1(%x) z2(%x)\n", bch->nr, count, in hfcpci_fill_fifo()
864 maxlen = le16_to_cpu(bz->za[bz->f2].z2) - in hfcpci_fill_fifo()