mly_softc
static int mly_cam_attach(struct mly_softc *sc);
mly_enable_mmbox(struct mly_softc *sc)
static void mly_cam_detach(struct mly_softc *sc);
static void mly_cam_rescan_btl(struct mly_softc *sc, int bus, int target);
mly_flush(struct mly_softc *sc)
static struct cam_periph *mly_find_periph(struct mly_softc *sc, int bus, int target);
mly_ioctl(struct mly_softc *sc, struct mly_command_ioctl *ioctl, void **data, size_t datasize,
static int mly_name_device(struct mly_softc *sc, int bus, int target);
static int mly_fwhandshake(struct mly_softc *sc);
static void mly_describe_controller(struct mly_softc *sc);
static void mly_printstate(struct mly_softc *sc);
mly_check_event(struct mly_softc *sc)
static void mly_panic(struct mly_softc *sc, char *reason);
mly_fetch_event(struct mly_softc *sc)
static int mly_timeout(struct mly_softc *sc);
struct mly_softc *sc = mc->mc_sc;
static int mly_user_command(struct mly_softc *sc, struct mly_user_command *uc);
mly_process_event(struct mly_softc *sc, struct mly_event *me)
static int mly_user_health(struct mly_softc *sc, struct mly_user_health *uh);
struct mly_softc *sc = (struct mly_softc *)data;
struct mly_softc *sc = mc->mc_sc;
sizeof(struct mly_softc)
struct mly_softc *sc = mc->mc_sc;
mly_done(struct mly_softc *sc)
struct mly_softc *sc = (struct mly_softc *)context;
mly_alloc_command(struct mly_softc *sc, struct mly_command **mcp)
struct mly_softc *sc = (struct mly_softc *)arg;
mly_alloc_commands(struct mly_softc *sc)
mly_release_commands(struct mly_softc *sc)
struct mly_softc *sc = mc->mc_sc;
struct mly_softc *sc = mc->mc_sc;
struct mly_softc *sc = mc->mc_sc;
mly_cam_attach(struct mly_softc *sc)
mly_cam_detach(struct mly_softc *sc)
mly_cam_rescan_btl(struct mly_softc *sc, int bus, int target)
struct mly_softc *sc = cam_sim_softc(sim);
struct mly_softc *sc = device_get_softc(dev);
struct mly_softc *sc = cam_sim_softc(sim);
struct mly_softc *sc = cam_sim_softc(sim);
struct mly_softc *sc = mc->mc_sc;
mly_find_periph(struct mly_softc *sc, int bus, int target)
mly_name_device(struct mly_softc *sc, int bus, int target)
mly_fwhandshake(struct mly_softc *sc)
mly_describe_controller(struct mly_softc *sc)
mly_printstate(struct mly_softc *sc)
struct mly_softc *mly_softc0 = NULL;
struct mly_softc *sc = mc->mc_sc;
struct mly_softc *sc = mc->mc_sc;
mly_panic(struct mly_softc *sc, char *reason)
struct mly_softc *sc;
struct mly_softc *sc = devclass_get_softc(devclass_find("mly"), unit);
struct mly_softc *sc = devclass_get_softc(devclass_find("mly"), unit);
struct mly_softc *sc = (struct mly_softc *)dev->si_drv1;
mly_user_command(struct mly_softc *sc, struct mly_user_command *uc)
mly_user_health(struct mly_softc *sc, struct mly_user_health *uh)
mly_timeout(struct mly_softc *sc)
mly_pci_attach(struct mly_softc *sc)
struct mly_softc *sc = device_get_softc(dev);
struct mly_softc *sc = (struct mly_softc *)arg;
mly_sg_map(struct mly_softc *sc)
static int mly_pci_attach(struct mly_softc *sc);
struct mly_softc *sc = (struct mly_softc *)arg;
mly_mmbox_map(struct mly_softc *sc)
static int mly_sg_map(struct mly_softc *sc);
struct mly_softc *sc = (struct mly_softc *)arg;
mly_free(struct mly_softc *sc)
static int mly_mmbox_map(struct mly_softc *sc);
static void mly_free(struct mly_softc *sc);
static int mly_get_controllerinfo(struct mly_softc *sc);
static void mly_scan_devices(struct mly_softc *sc);
static void mly_rescan_btl(struct mly_softc *sc, int bus, int target);
mly_get_controllerinfo(struct mly_softc *sc)
static int mly_get_eventstatus(struct mly_softc *sc);
static int mly_enable_mmbox(struct mly_softc *sc);
static int mly_flush(struct mly_softc *sc);
mly_scan_devices(struct mly_softc *sc)
static int mly_ioctl(struct mly_softc *sc, struct mly_command_ioctl *ioctl, void **data,
static void mly_check_event(struct mly_softc *sc);
mly_rescan_btl(struct mly_softc *sc, int bus, int target)
static void mly_fetch_event(struct mly_softc *sc);
static void mly_process_event(struct mly_softc *sc, struct mly_event *me);
struct mly_softc *sc = mc->mc_sc;
static void mly_done(struct mly_softc *sc);
static int mly_alloc_command(struct mly_softc *sc, struct mly_command **mcp);
static int mly_alloc_commands(struct mly_softc *sc);
static void mly_release_commands(struct mly_softc *sc);
mly_get_eventstatus(struct mly_softc *sc)
struct mly_softc *mc_sc; /* controller that owns us */
mly_initq_ ## name (struct mly_softc *sc) \
mly_dequeue_ ## name (struct mly_softc *sc) \
extern struct mly_softc *mly_softc0;