Lines Matching refs:z2

354 	bzr->za[MAX_B_FRAMES].z2 = cpu_to_le16(  in hfcpci_clear_fifo_rx()
384 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2), in hfcpci_clear_fifo_tx()
389 bzt->za[MAX_B_FRAMES].z2 = cpu_to_le16(B_FIFO_SIZE + B_SUB_VAL - 2); in hfcpci_clear_fifo_tx()
398 le16_to_cpu(bzt->za[MAX_B_FRAMES].z2)); in hfcpci_clear_fifo_tx()
415 new_z2 = le16_to_cpu(zp->z2) + count; /* new position in fifo */ in hfcpci_empty_bfifo()
427 bz->za[new_f2].z2 = cpu_to_le16(new_z2); in hfcpci_empty_bfifo()
438 if (le16_to_cpu(zp->z2) + count <= B_FIFO_SIZE + B_SUB_VAL) in hfcpci_empty_bfifo()
442 le16_to_cpu(zp->z2); /* maximum */ in hfcpci_empty_bfifo()
444 ptr1 = bdata + (le16_to_cpu(zp->z2) - B_SUB_VAL); in hfcpci_empty_bfifo()
454 bz->za[new_f2].z2 = cpu_to_le16(new_z2); in hfcpci_empty_bfifo()
477 rcnt = le16_to_cpu(zp->z1) - le16_to_cpu(zp->z2); in receive_dmsg()
486 le16_to_cpu(zp->z2), in receive_dmsg()
502 df->za[df->f2 & D_FREG_MASK].z2 = in receive_dmsg()
503 cpu_to_le16((le16_to_cpu(zp->z2) + rcnt) & in receive_dmsg()
516 if (le16_to_cpu(zp->z2) + rcnt <= D_FIFO_SIZE) in receive_dmsg()
519 maxlen = D_FIFO_SIZE - le16_to_cpu(zp->z2); in receive_dmsg()
522 ptr1 = df->data + le16_to_cpu(zp->z2); in receive_dmsg()
534 df->za[df->f2 & D_FREG_MASK].z2 = cpu_to_le16(( in receive_dmsg()
535 le16_to_cpu(zp->z2) + total) & (D_FIFO_SIZE - 1)); in receive_dmsg()
639 rcnt = le16_to_cpu(zp->z1) - le16_to_cpu(zp->z2); in main_rec_hfcpci()
647 le16_to_cpu(zp->z2), rcnt); in main_rec_hfcpci()
710 maxlen = le16_to_cpu(df->za[df->f2 & D_FREG_MASK].z2) - in hfcpci_fill_dfifo()
875 maxlen = le16_to_cpu(bz->za[bz->f2].z2) - in hfcpci_fill_fifo()