Home
last modified time | relevance | path

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

/freebsd/sys/dev/mpi3mr/
H A Dmpi3mr.c2505 sc->chain_sgl_list = malloc(sz, M_MPI3MR, M_NOWAIT | M_ZERO); in mpi3mr_alloc_chain_bufs()
2507 if (!sc->chain_sgl_list) { in mpi3mr_alloc_chain_bufs()
2532 if (bus_dmamem_alloc(sc->chain_sgl_list_tag, (void **)&sc->chain_sgl_list[i].buf, in mpi3mr_alloc_chain_bufs()
2533 BUS_DMA_NOWAIT, &sc->chain_sgl_list[i].buf_dmamap)) { in mpi3mr_alloc_chain_bufs()
2539 bzero(sc->chain_sgl_list[i].buf, sz); in mpi3mr_alloc_chain_bufs()
2540 …bus_dmamap_load(sc->chain_sgl_list_tag, sc->chain_sgl_list[i].buf_dmamap, sc->chain_sgl_list[i].bu… in mpi3mr_alloc_chain_bufs()
2541 mpi3mr_memaddr_cb, &sc->chain_sgl_list[i].buf_phys, BUS_DMA_NOWAIT); in mpi3mr_alloc_chain_bufs()
2543 __func__, __LINE__, (uintmax_t)sc->chain_sgl_list[i].buf_phys, sz); in mpi3mr_alloc_chain_bufs()
2558 if (sc->chain_sgl_list[i].buf_phys != 0) in mpi3mr_alloc_chain_bufs()
2559 bus_dmamap_unload(sc->chain_sgl_list_tag, sc->chain_sgl_list[i].buf_dmamap); in mpi3mr_alloc_chain_bufs()
[all …]
H A Dmpi3mr.h675 struct mpi3mr_chain *chain_sgl_list; member
H A Dmpi3mr_cam.c217 chain_req = &sc->chain_sgl_list[cm->hosttag]; in mpi3mr_prepare_sgls()