Home
last modified time | relevance | path

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

/linux-4.19.296/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.c480 rcnt += D_FIFO_SIZE; in receive_dmsg()
505 (D_FIFO_SIZE - 1)); in receive_dmsg()
517 if (le16_to_cpu(zp->z2) + rcnt <= D_FIFO_SIZE) in receive_dmsg()
520 maxlen = D_FIFO_SIZE - le16_to_cpu(zp->z2); in receive_dmsg()
536 le16_to_cpu(zp->z2) + total) & (D_FIFO_SIZE - 1)); in receive_dmsg()
714 maxlen += D_FIFO_SIZE; /* count now contains available bytes */ in hfcpci_fill_dfifo()
725 (D_FIFO_SIZE - 1); in hfcpci_fill_dfifo()
729 maxlen = D_FIFO_SIZE - le16_to_cpu(df->za[df->f1 & D_FREG_MASK].z1); in hfcpci_fill_dfifo()
/linux-4.19.296/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
284 if (count > D_FIFO_SIZE) { in dch_fill_fifo()
285 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.c349 rcnt += D_FIFO_SIZE; in receive_dmsg()
363 df->za[df->f2 & D_FREG_MASK].z2 = (zp->z2 + rcnt) & (D_FIFO_SIZE - 1); in receive_dmsg()
369 if (zp->z2 + rcnt <= D_FIFO_SIZE) in receive_dmsg()
372 maxlen = D_FIFO_SIZE - zp->z2; /* maximum */ in receive_dmsg()
384 df->za[df->f2 & D_FREG_MASK].z2 = (zp->z2 + total) & (D_FIFO_SIZE - 1); in receive_dmsg()
551 count += D_FIFO_SIZE; /* count now contains available bytes */ in hfcpci_fill_dfifo()
562 new_z1 = (df->za[df->f1 & D_FREG_MASK].z1 + count) & (D_FIFO_SIZE - 1); in hfcpci_fill_dfifo()
566 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()