Lines Matching defs:ami_softc
85 struct ami_softc { struct
96 int (*sc_init)(struct ami_softc *sc); argument
97 int (*sc_exec)(struct ami_softc *sc, argument
99 int (*sc_done)(struct ami_softc *sc, argument
101 int (*sc_poll)(struct ami_softc *sc, argument
103 int (*sc_ioctl)(struct device *, u_long, caddr_t);
105 bus_space_tag_t sc_iot;
106 bus_space_handle_t sc_ioh;
107 bus_dma_tag_t sc_dmat;
109 struct ami_ccb *sc_ccbs;
110 struct ami_ccb_list sc_ccb_freeq;
111 struct mutex sc_ccb_freeq_mtx;
113 struct ami_mem *sc_mbox_am;
114 volatile struct ami_iocmd *sc_mbox;
115 paddr_t sc_mbox_pa;
117 struct ami_ccb_list sc_ccb_preq, sc_ccb_runq;
118 struct mutex sc_cmd_mtx;
120 struct scsi_iopool sc_iopool;
122 struct ami_mem *sc_ccbmem_am;
124 int sc_timeout;
125 struct timeout sc_run_tmo;
126 int sc_dis_poll;
128 struct rwlock sc_lock;
130 char sc_fwver[16];
131 char sc_biosver[16];
132 int sc_maxcmds;
133 int sc_memory;
134 int sc_targets;
135 int sc_channels;
136 int sc_maxunits;
137 int sc_nunits;
161 int ami_attach(struct ami_softc *sc); argument