Home
last modified time | relevance | path

Searched refs:mly_mmbox (Results 1 – 3 of 3) sorted by relevance

/trueos/sys/dev/mly/
HDmly.c629 sizeof(struct mly_mmbox), 1, /* maxsize, nsegments */ in mly_mmbox_map()
641 …if (bus_dmamem_alloc(sc->mly_mmbox_dmat, (void **)&sc->mly_mmbox, BUS_DMA_NOWAIT, &sc->mly_mmbox_d… in mly_mmbox_map()
645 if (bus_dmamap_load(sc->mly_mmbox_dmat, sc->mly_mmbox_dmamap, sc->mly_mmbox, in mly_mmbox_map()
646 sizeof(struct mly_mmbox), mly_mmbox_map_helper, sc, in mly_mmbox_map()
649 bzero(sc->mly_mmbox, sizeof(*sc->mly_mmbox)); in mly_mmbox_map()
708 if (sc->mly_mmbox) { in mly_free()
710 bus_dmamem_free(sc->mly_mmbox_dmat, sc->mly_mmbox, sc->mly_mmbox_dmamap); in mly_free()
994 bcopy(mh, &sc->mly_mmbox->mmm_health.status, sizeof(*mh)); in mly_get_eventstatus()
1019 sc->mly_mmbox_busaddr + offsetof(struct mly_mmbox, mmm_command); in mly_enable_mmbox()
1021 sc->mly_mmbox_busaddr + offsetof(struct mly_mmbox, mmm_status); in mly_enable_mmbox()
[all …]
HDmlyvar.h190 struct mly_mmbox *mly_mmbox; /* kernel-space address of memory mailbox */ member
HDmlyreg.h1266 struct mly_mmbox { struct