Home
last modified time | relevance | path

Searched refs:mly_controllerinfo (Results 1 – 2 of 2) sorted by relevance

/freebsd-13.1/sys/dev/mly/
H A Dmlyvar.h200 struct mly_ioctl_getcontrollerinfo *mly_controllerinfo; member
284 #define MLY_LOGDEV_ID(sc, bus, target) (((bus) - (sc)->mly_controllerinfo->physical_channels_presen…
287 (sc)->mly_controllerinfo->physical_channels_present)
289 #define MLY_BUS_IS_VIRTUAL(sc, bus) ((bus) >= (sc)->mly_controllerinfo->physical_channels_present)
H A Dmly.c716 if (sc->mly_controllerinfo != NULL) in mly_free()
717 free(sc->mly_controllerinfo, M_DEVBUF); in mly_free()
776 if (sc->mly_controllerinfo != NULL) in mly_get_controllerinfo()
777 free(sc->mly_controllerinfo, M_DEVBUF); in mly_get_controllerinfo()
781 sc->mly_controllerinfo = NULL; in mly_get_controllerinfo()
783 …if ((error = mly_ioctl(sc, &mci, (void **)&sc->mly_controllerinfo, sizeof(*sc->mly_controllerinfo), in mly_get_controllerinfo()
1747 if (sc->mly_controllerinfo == NULL) { in mly_alloc_commands()
1959 sc->mly_controllerinfo->maximum_parallel_commands, in mly_cam_attach()
1977 chn = sc->mly_controllerinfo->physical_channels_present; in mly_cam_attach()
1982 sc->mly_controllerinfo->maximum_parallel_commands, in mly_cam_attach()
[all …]