Lines Matching refs:card

193 	WRITE4(sc, q->q.card + FATMOC_GETOC3_BUF, 0);
195 WRITE4(sc, q->q.card + FATMOC_OP,
282 WRITE4(sc, q->q.card + FATMOC_GETOC3_BUF, sc->reg_mem.paddr);
284 WRITE4(sc, q->q.card + FATMOC_OP,
457 * Stop the card. Must be called WITH the lock held
567 * the character by us is signalled to the card by setting that register
602 * Write a character to the card. The UART is available if the register
676 * Initialize one card and host queue.
686 el->card = off;
687 off += 8; /* size of card entry */
694 WRITE4(sc, el->card + FATMOS_STATP, (*cardstat));
708 * Issue the initialize operation to the card, wait for completion and
797 * Command queue. This is special in that it's on the card.
805 el->card = off;
806 off += 32; /* size of card structure */
813 WRITE4(sc, el->card + FATMOC_STATP, card_stat);
869 WRITE4(sc, q->q.card + FATMOC_GPROM_BUF, sc->prom_mem.paddr);
871 WRITE4(sc, q->q.card + FATMOC_OP, FATM_OP_GET_PROM_DATA);
1071 * Try to supply buffers to the card if there are free entries in the queues
1148 WRITE4(sc, q->q.card, q->q.card_ioblk);
1158 * Try to supply buffers to the card if there are free entries in the queues
1160 * card (32-bit), so we don't need bounce buffers.
1239 WRITE4(sc, q->q.card, q->q.card_ioblk);
1250 * Actually start the card. The lock must be held here.
1252 * and supply receive buffers to the card.
1325 WRITE4(sc, q->q.card + 0, q->q.card_ioblk);
1330 * Supply buffers to the card
1578 WRITE4(sc, q->q.card, q->q.card_ioblk);
1660 * card command). In this case all other threads that are trying to get
1717 WRITE4(sc, q->q.card + FATMOC_GSTAT_BUF,
1720 WRITE4(sc, q->q.card + FATMOC_OP,
2024 WRITE4(sc, q->q.card + 0, q->q.card_ioblk | nblks);
2118 * Command the card to open/close a VC.
2141 WRITE4(sc, q->q.card + FATMOC_ACTIN_VPVC, MKVPVC(vpi, vci));
2143 WRITE4(sc, q->q.card + FATMOC_ACTIN_MTU, mtu);
2145 WRITE4(sc, q->q.card + FATMOC_OP, cmd);
2197 vci = GETVCI(READ4(sc, q->q.card + FATMOC_ACTIN_VPVC));
2367 vci = GETVCI(READ4(sc, q->q.card + FATMOC_ACTIN_VPVC));
2659 * Sysctl handler for card statistics
2804 fatm_sysctl_stats, "LU", "card statistics") == NULL)
3067 printf("%2d: card=%x(%x,%x) stat=%x\n", i,
3068 q->q.card,
3069 READ4(sc, q->q.card),
3070 READ4(sc, q->q.card + 4),