Lines Matching defs:sca
184 sca_write_1(scp->sca, scp->msci_off + reg, val);
190 return sca_read_1(scp->sca, scp->msci_off + reg);
196 sca_write_1(scp->sca, scp->dmac_off + reg, val);
202 sca_write_2(scp->sca, scp->dmac_off + reg, val);
208 return sca_read_1(scp->sca, scp->dmac_off + reg);
214 return sca_read_2(scp->sca, scp->dmac_off + reg);
345 panic("sca can\'t handle more than 2 or less than 1 ports");
414 scp->sca = sc; /* point back to the parent */
651 panic("sca: tx descriptors cross architecural boundary");
654 panic("sca: tx buffers cross architecural boundary");
711 panic("sca: rx descriptors cross architecural boundary");
714 panic("sca: rx buffers cross architecural boundary");
1001 struct sca_softc *sc = scp->sca;
1318 (scp == &scp->sca->sc_ports[0] ? 0 : 1)));
1406 sc = scp->sca;
1478 rxstat = sca_desc_read_stat(scp->sca, desc);
1484 scp->sp_port, sca_desc_read_buflen(scp->sca, desc)));
1545 len = sca_desc_read_buflen(scp->sca, desc);
1563 m = sca_mbuf_alloc(scp->sca, bufp, len);
1667 if (!scp->sca->sc_usedma) {
1668 scp->sca->scu_set_page(scp->sca,
1670 scp->sca->scu_page_on(scp->sca);
1715 sc = scp->sca;
1773 struct sca_softc *sc = scp->sca;
1850 struct sca_softc *sc = scp->sca;
1907 sca_shutdown(struct sca_softc *sca)
1912 sca_write_1(sca, SCA_DMER, 0);
1913 sca_write_1(sca, SCA_IER0, 0);
1914 sca_write_1(sca, SCA_IER1, 0);
2061 ("sca: unadjusted base %lu Hz\n", (u_long)cnt));