Searched refs:D_FIFO_SIZE (Results 1 – 7 of 7) sorted by relevance
182 #define D_FIFO_SIZE 512 macro191 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];
480 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()
182 #define D_FIFO_SIZE 512 macro191 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];
185 #define D_FIFO_SIZE 512 macro
24 #define D_FIFO_SIZE 32 macro284 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()
349 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()
128 fifo_size = D_FIFO_SIZE; /* D-channel */ in write_fifo()215 fifo_size = D_FIFO_SIZE; /* D-channel */ in read_fifo()