Home | History | Annotate | Download | only in pci

Lines Matching defs:sca

113 	struct sca_softc sc_sca;	/* the SCA itself */
147 * functions that read and write to the sca registers
194 struct sca_softc *sca = &sc->sc_sca;
221 &sca->sc_iot, &sca->sc_ioh, NULL, NULL)) {
222 aprint_error_dev(self, "Can't map register space (SCA)\n");
265 * 0x20 - Master RAM - Map SCA Base at 0
285 * pass the DMA tag to the SCA
287 sca->sc_usedma = 1;
288 sca->scu_dmat = pa->pa_dmat;
293 frontend_cr = bus_space_read_2(sca->sc_iot, sca->sc_ioh, NTWOC_FECR);
334 * initialize the SCA. This will allocate DMAable memory based
338 sca->sc_parent = self;
339 sca->sc_read_1 = ntwoc_pci_sca_read_1;
340 sca->sc_read_2 = ntwoc_pci_sca_read_2;
341 sca->sc_write_1 = ntwoc_pci_sca_write_1;
342 sca->sc_write_2 = ntwoc_pci_sca_write_2;
343 sca->sc_dtr_callback = ntwoc_pci_dtr_callback;
344 sca->sc_clock_callback = ntwoc_pci_clock_callback;
345 sca->sc_aux = sc;
346 sca->sc_numports = numports;
360 ntwoc_pci_get_clock(&sca->sc_ports[0], flags & NTWOC_FLAGS_CLK0_MASK,
362 if (sca->sc_numports > 1)
363 ntwoc_pci_get_clock(&sca->sc_ports[1],
368 ntwoc_pci_alloc_dma(sca);
369 ntwoc_pci_setup_dma(sca);
371 sca_init(sca);
378 sca_port_attach(sca, 0);
380 sca_port_attach(sca, 1);
396 sca->sc_baseclock = SCA_BASECLOCK;
471 * shut down the SCA ports