Lines Matching refs:z2
342 bzr->za[MAX_B_FRAMES].z2 = cpu_to_le16( in hfcpci_clear_fifo_rx()
372 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2), in hfcpci_clear_fifo_tx()
377 bzt->za[MAX_B_FRAMES].z2 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 2); in hfcpci_clear_fifo_tx()
386 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2)); in hfcpci_clear_fifo_tx()
403 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */ in hfcpci_empty_bfifo()
415 bz->za[new_f2].z2 = cpu_to_le16(new_z2); in hfcpci_empty_bfifo()
426 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_bfifo()
430 le16_to_cpu(zp->z2); /* maximum */ in hfcpci_empty_bfifo()
432 ptr1 = bdata + (le16_to_cpu(zp->z2) - B_SUB_VAL); in hfcpci_empty_bfifo()
442 bz->za[new_f2].z2 = cpu_to_le16(new_z2); in hfcpci_empty_bfifo()
465 rcnt = le16_to_cpu(zp->z1) - le16_to_cpu(zp->z2); in receive_dmsg()
474 le16_to_cpu(zp->z2), in receive_dmsg()
490 df->za[df->f2 & D_FREG_MASK].z2 = in receive_dmsg()
491 cpu_to_le16((le16_to_cpu(zp->z2) + rcnt) & in receive_dmsg()
504 if (le16_to_cpu(zp->z2) + rcnt <= D_FIFO_SIZE) in receive_dmsg()
507 maxlen = D_FIFO_SIZE - le16_to_cpu(zp->z2); in receive_dmsg()
510 ptr1 = df->data + le16_to_cpu(zp->z2); in receive_dmsg()
522 df->za[df->f2 & D_FREG_MASK].z2 = cpu_to_le16(( in receive_dmsg()
523 le16_to_cpu(zp->z2) + total) & (D_FIFO_SIZE - 1)); in receive_dmsg()
626 rcnt = le16_to_cpu(zp->z1) - le16_to_cpu(zp->z2); in main_rec_hfcpci()
634 le16_to_cpu(zp->z2), rcnt); in main_rec_hfcpci()
697 maxlen = le16_to_cpu(df->za[df->f2 & D_FREG_MASK].z2) - in hfcpci_fill_dfifo()
862 maxlen = le16_to_cpu(bz->za[bz->f2].z2) - in hfcpci_fill_fifo()