Home | History | Annotate | Download | only in apple

Lines Matching refs:asc

277 	struct apple_nvme_softc * const asc =
279 const int phandle = asc->asc_phandle;
328 struct apple_nvme_softc * const asc =
339 fdtbus_intr_disestablish(asc->asc_phandle, sc->sc_ih[qid]);
348 struct apple_nvme_softc * const asc)
350 struct nvme_softc * const sc = &asc->asc_nvme;
352 asc->asc_nintrs = 1;
353 asc->asc_phandle = faa->faa_phandle;
355 sc->sc_use_mq = asc->asc_nintrs > 1;
373 struct apple_nvme_softc * const asc = device_private(self);
374 struct nvme_softc *sc = &asc->asc_nvme;
393 sc->sc_iot = asc->asc_iot = faa->faa_bst;
401 if (bus_space_map(asc->asc_iot, ans_addr, ans_size, 0, &asc->asc_ioh) != 0) {
411 apple_nvme_setup_intr(faa, asc);
416 sc->sc_ih = kmem_zalloc(sizeof(*sc->sc_ih) * asc->asc_nintrs, KM_SLEEP);
417 sc->sc_softih = kmem_zalloc(sizeof(*sc->sc_softih) * asc->asc_nintrs,
420 asc->asc_rtkit = rtkit_init(phandle, NULL);
421 if (asc->asc_rtkit == NULL) {
426 ctrl = bus_space_read_4(asc->asc_iot, asc->asc_ioh, ANS_CPU_CTRL);
427 bus_space_write_4(asc->asc_iot, asc->asc_ioh, ANS_CPU_CTRL,
432 rtkit_boot(asc->asc_rtkit);