Lines Matching refs:mly_softc
107 static int mly_fwhandshake(struct mly_softc *);
108 static int mly_flush(struct mly_softc *);
112 static int mly_alloc_ccbs(struct mly_softc *);
113 static void mly_check_event(struct mly_softc *);
114 static void mly_complete_event(struct mly_softc *, struct mly_ccb *);
115 static void mly_complete_rescan(struct mly_softc *, struct mly_ccb *);
116 static int mly_dmamem_alloc(struct mly_softc *, int, bus_dmamap_t *,
118 static void mly_dmamem_free(struct mly_softc *, int, bus_dmamap_t,
120 static int mly_enable_mmbox(struct mly_softc *);
121 static void mly_fetch_event(struct mly_softc *);
122 static int mly_get_controllerinfo(struct mly_softc *);
123 static int mly_get_eventstatus(struct mly_softc *);
124 static int mly_ioctl(struct mly_softc *, struct mly_cmd_ioctl *,
127 static void mly_process_event(struct mly_softc *, struct mly_event *);
128 static void mly_release_ccbs(struct mly_softc *);
129 static int mly_scan_btl(struct mly_softc *, int, int);
130 static void mly_scan_channel(struct mly_softc *, int);
133 static int mly_ccb_alloc(struct mly_softc *, struct mly_ccb **);
134 static void mly_ccb_complete(struct mly_softc *, struct mly_ccb *);
135 static void mly_ccb_enqueue(struct mly_softc *, struct mly_ccb *);
136 static void mly_ccb_free(struct mly_softc *, struct mly_ccb *);
137 static int mly_ccb_map(struct mly_softc *, struct mly_ccb *);
138 static int mly_ccb_poll(struct mly_softc *, struct mly_ccb *, int);
139 static int mly_ccb_submit(struct mly_softc *, struct mly_ccb *);
140 static void mly_ccb_unmap(struct mly_softc *, struct mly_ccb *);
141 static int mly_ccb_wait(struct mly_softc *, struct mly_ccb *, int);
143 static void mly_get_xfer_mode(struct mly_softc *, int,
145 static void mly_scsipi_complete(struct mly_softc *, struct mly_ccb *);
152 static int mly_user_command(struct mly_softc *, struct mly_user_command *);
153 static int mly_user_health(struct mly_softc *, struct mly_user_health *);
157 CFATTACH_DECL_NEW(mly, sizeof(struct mly_softc),
281 struct mly_softc *mly; in mly_attach()
571 mly_scan_channel(struct mly_softc *mly, int bus) in mly_scan_channel()
591 struct mly_softc *mly; in mly_shutdown()
608 mly_get_controllerinfo(struct mly_softc *mly) in mly_get_controllerinfo()
640 mly_scan_btl(struct mly_softc *mly, int bus, int target) in mly_scan_btl()
705 mly_complete_rescan(struct mly_softc *mly, struct mly_ccb *mc) in mly_complete_rescan()
816 mly_get_eventstatus(struct mly_softc *mly) in mly_get_eventstatus()
852 mly_enable_mmbox(struct mly_softc *mly) in mly_enable_mmbox()
892 mly_flush(struct mly_softc *mly) in mly_flush()
914 mly_ioctl(struct mly_softc *mly, struct mly_cmd_ioctl *ioctl, void **data, in mly_ioctl()
997 mly_check_event(struct mly_softc *mly) in mly_check_event()
1036 mly_fetch_event(struct mly_softc *mly) in mly_fetch_event()
1104 mly_complete_event(struct mly_softc *mly, struct mly_ccb *mc) in mly_complete_event()
1130 mly_process_event(struct mly_softc *mly, struct mly_event *me) in mly_process_event()
1255 struct mly_softc *mly; in mly_thread()
1259 mly = (struct mly_softc *)cookie; in mly_thread()
1293 mly_ccb_poll(struct mly_softc *mly, struct mly_ccb *mc, int timo) in mly_ccb_poll()
1315 mly_ccb_wait(struct mly_softc *mly, struct mly_ccb *mc, int timo) in mly_ccb_wait()
1338 mly_ccb_enqueue(struct mly_softc *mly, struct mly_ccb *mc) in mly_ccb_enqueue()
1360 mly_ccb_submit(struct mly_softc *mly, struct mly_ccb *mc) in mly_ccb_submit()
1439 struct mly_softc *mly; in mly_intr()
1530 mly_ccb_complete(struct mly_softc *mly, struct mly_ccb *mc) in mly_ccb_complete()
1532 void (*complete)(struct mly_softc *, struct mly_ccb *); in mly_ccb_complete()
1555 mly_ccb_alloc(struct mly_softc *mly, struct mly_ccb **mcp) in mly_ccb_alloc()
1574 mly_ccb_free(struct mly_softc *mly, struct mly_ccb *mc) in mly_ccb_free()
1611 mly_alloc_ccbs(struct mly_softc *mly) in mly_alloc_ccbs()
1665 mly_release_ccbs(struct mly_softc *mly) in mly_release_ccbs()
1685 mly_ccb_map(struct mly_softc *mly, struct mly_ccb *mc) in mly_ccb_map()
1765 mly_ccb_unmap(struct mly_softc *mly, struct mly_ccb *mc) in mly_ccb_unmap()
1813 struct mly_softc *mly; in mly_scsipi_request()
1939 mly_scsipi_complete(struct mly_softc *mly, struct mly_ccb *mc) in mly_scsipi_complete()
2018 mly_get_xfer_mode(struct mly_softc *mly, int bus, struct scsipi_xfer_mode *xm) in mly_get_xfer_mode()
2070 struct mly_softc *mly; in mly_scsipi_ioctl()
2092 mly_fwhandshake(struct mly_softc *mly) in mly_fwhandshake()
2183 mly_dmamem_alloc(struct mly_softc *mly, int size, bus_dmamap_t *dmamap, in mly_dmamem_alloc()
2239 mly_dmamem_free(struct mly_softc *mly, int size, bus_dmamap_t dmamap, in mly_dmamem_free()
2256 struct mly_softc *mly; in mlyopen()
2276 struct mly_softc *mly; in mlyclose()
2290 struct mly_softc *mly; in mlyioctl()
2325 mly_user_command(struct mly_softc *mly, struct mly_user_command *uc) in mly_user_command()
2414 mly_user_health(struct mly_softc *mly, struct mly_user_health *uh) in mly_user_health()