Home
last modified time | relevance | path

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

/freebsd-13-stable/sys/dev/mly/
HDmly.c648 sizeof(struct mly_mmbox), 1, /* maxsize, nsegments */ in mly_mmbox_map()
660 …if (bus_dmamem_alloc(sc->mly_mmbox_dmat, (void **)&sc->mly_mmbox, BUS_DMA_NOWAIT, &sc->mly_mmbox_d… in mly_mmbox_map()
664 if (bus_dmamap_load(sc->mly_mmbox_dmat, sc->mly_mmbox_dmamap, sc->mly_mmbox, in mly_mmbox_map()
665 sizeof(struct mly_mmbox), mly_mmbox_map_helper, sc, in mly_mmbox_map()
668 bzero(sc->mly_mmbox, sizeof(*sc->mly_mmbox)); in mly_mmbox_map()
734 if (sc->mly_mmbox) { in mly_free()
736 bus_dmamem_free(sc->mly_mmbox_dmat, sc->mly_mmbox, sc->mly_mmbox_dmamap); in mly_free()
1020 bcopy(mh, &sc->mly_mmbox->mmm_health.status, sizeof(*mh)); in mly_get_eventstatus()
1045 sc->mly_mmbox_busaddr + offsetof(struct mly_mmbox, mmm_command); in mly_enable_mmbox()
1047 sc->mly_mmbox_busaddr + offsetof(struct mly_mmbox, mmm_status); in mly_enable_mmbox()
[all …]
HDmlyvar.h184 struct mly_mmbox *mly_mmbox; /* kernel-space address of memory mailbox */ member
HDmlyreg.h1266 struct mly_mmbox { struct