Home
last modified time | relevance | path

Searched refs:D_FIFO_SIZE (Results 1 – 7 of 7) sorted by relevance

/linux-2.6.39/drivers/isdn/hardware/mISDN/
Dhfc_pci.h182 #define D_FIFO_SIZE 512 macro
191 u_char data[D_FIFO_SIZE]; /* FIFO data space */
192 u_char fill1[0x20A0-D_FIFO_SIZE]; /* reserved, do not use */
218 u_char fill2[D_FIFO_SIZE];
Dhfcpci.c479 rcnt += D_FIFO_SIZE; in receive_dmsg()
504 (D_FIFO_SIZE - 1)); 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()
535 le16_to_cpu(zp->z2) + total) & (D_FIFO_SIZE - 1)); in receive_dmsg()
712 maxlen += D_FIFO_SIZE; /* count now contains available bytes */ in hfcpci_fill_dfifo()
723 (D_FIFO_SIZE - 1); in hfcpci_fill_dfifo()
727 maxlen = D_FIFO_SIZE - le16_to_cpu(df->za[df->f1 & D_FREG_MASK].z1); in hfcpci_fill_dfifo()
/linux-2.6.39/drivers/isdn/hisax/
Dhfc_pci.h182 #define D_FIFO_SIZE 512 macro
191 u_char data[D_FIFO_SIZE]; /* FIFO data space */
192 u_char fill1[0x20A0-D_FIFO_SIZE]; /* reserved, do not use */
219 u_char fill2[D_FIFO_SIZE];
Dhfc_sx.h185 #define D_FIFO_SIZE 512 macro
Dipacx.c24 #define D_FIFO_SIZE 32 macro
283 if (count > D_FIFO_SIZE) { in dch_fill_fifo()
284 count = D_FIFO_SIZE; in dch_fill_fifo()
345 count &= D_FIFO_SIZE-1; in dch_int()
346 if (count == 0) count = D_FIFO_SIZE; in dch_int()
363 dch_empty_fifo(cs, D_FIFO_SIZE); in dch_int()
Dhfc_pci.c348 rcnt += D_FIFO_SIZE; in receive_dmsg()
362 df->za[df->f2 & D_FREG_MASK].z2 = (zp->z2 + rcnt) & (D_FIFO_SIZE - 1); in receive_dmsg()
368 if (zp->z2 + rcnt <= D_FIFO_SIZE) in receive_dmsg()
371 maxlen = D_FIFO_SIZE - zp->z2; /* maximum */ in receive_dmsg()
383 df->za[df->f2 & D_FREG_MASK].z2 = (zp->z2 + total) & (D_FIFO_SIZE - 1); in receive_dmsg()
550 count += D_FIFO_SIZE; /* count now contains available bytes */ in hfcpci_fill_dfifo()
561 new_z1 = (df->za[df->f1 & D_FREG_MASK].z1 + count) & (D_FIFO_SIZE - 1); in hfcpci_fill_dfifo()
565 maxlen = D_FIFO_SIZE - df->za[df->f1 & D_FREG_MASK].z1; /* end fifo */ in hfcpci_fill_dfifo()
Dhfc_sx.c128 fifo_size = D_FIFO_SIZE; /* D-channel */ in write_fifo()
215 fifo_size = D_FIFO_SIZE; /* D-channel */ in read_fifo()