Home
last modified time | relevance | path

Searched refs:sassc (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/dev/mps/
H A Dmps_sas.c120 static void mpssas_direct_drive_io(struct mpssas_softc *sassc,
126 static void mpssas_send_smpcmd(struct mpssas_softc *sassc, union ccb *ccb,
128 static void mpssas_action_smpio(struct mpssas_softc *sassc, union ccb *ccb);
137 mpssas_find_target_by_handle(struct mpssas_softc *sassc, int start, uint16_t handle) in mpssas_find_target_by_handle() argument
142 for (i = start; i < sassc->maxtargets; i++) { in mpssas_find_target_by_handle()
143 target = &sassc->targets[i]; in mpssas_find_target_by_handle()
159 mpssas_startup_increment(struct mpssas_softc *sassc) in mpssas_startup_increment() argument
161 MPS_FUNCTRACE(sassc->sc); in mpssas_startup_increment()
163 if ((sassc->flags & MPSSAS_IN_STARTUP) != 0) { in mpssas_startup_increment()
164 if (sassc->startup_refcount++ == 0) { in mpssas_startup_increment()
[all …]
H A Dmps_sas_lsi.c175 mpssas_startup_increment(sc->sassc); in mpssas_evt_handler()
177 TAILQ_INSERT_TAIL(&sc->sassc->ev_queue, fw_event, ev_link); in mpssas_evt_handler()
178 taskqueue_enqueue(sc->sassc->ev_tq, &sc->sassc->ev_task); in mpssas_evt_handler()
201 struct mpssas_softc *sassc; in mpssas_fw_work() local
202 sassc = sc->sassc; in mpssas_fw_work()
229 mpssas_prepare_remove(sassc, le16toh( in mpssas_fw_work()
234 mpssas_prepare_remove(sassc,le16toh( in mpssas_fw_work()
249 mpssas_startup_decrement(sassc); in mpssas_fw_work()
262 sassc->flags &= ~MPSSAS_IN_DISCOVERY; in mpssas_fw_work()
263 mpssas_discovery_end(sassc); in mpssas_fw_work()
[all …]
H A Dmps_sas.h163 void mpssas_discovery_end(struct mpssas_softc *sassc);
166 void mpssas_startup_increment(struct mpssas_softc *sassc);
167 void mpssas_startup_decrement(struct mpssas_softc *sassc);
170 int mpssas_check_id(struct mpssas_softc *sassc, int id);
H A Dmpsvar.h339 struct mpssas_softc *sassc; member
819 void mpssas_prepare_remove(struct mpssas_softc *sassc, uint16_t handle);
820 void mpssas_prepare_volume_remove(struct mpssas_softc *sassc, uint16_t handle);
826 void mpssas_release_simq_reinit(struct mpssas_softc *sassc);
H A Dmps.c811 struct mpssas_softc *sassc; in mps_reinit() local
813 sassc = sc->sassc; in mps_reinit()
893 mpssas_release_simq_reinit(sassc); in mps_reinit()
H A Dmps_user.c830 targ = mpssas_find_target_by_handle(sc->sassc, 0, in mps_user_pass_thru()
/freebsd/sys/dev/mpr/
H A Dmpr_sas.c136 static void mprsas_send_smpcmd(struct mprsas_softc *sassc, union ccb *ccb,
138 static void mprsas_action_smpio(struct mprsas_softc *sassc, union ccb *ccb);
141 mprsas_find_target_by_handle(struct mprsas_softc *sassc, int start, in mprsas_find_target_by_handle() argument
147 for (i = start; i < sassc->maxtargets; i++) { in mprsas_find_target_by_handle()
148 target = &sassc->targets[i]; in mprsas_find_target_by_handle()
164 mprsas_startup_increment(struct mprsas_softc *sassc) in mprsas_startup_increment() argument
166 MPR_FUNCTRACE(sassc->sc); in mprsas_startup_increment()
168 if ((sassc->flags & MPRSAS_IN_STARTUP) != 0) { in mprsas_startup_increment()
169 if (sassc->startup_refcount++ == 0) { in mprsas_startup_increment()
171 mpr_dprint(sassc->sc, MPR_INIT, in mprsas_startup_increment()
[all …]
H A Dmpr_sas_lsi.c179 mprsas_startup_increment(sc->sassc); in mprsas_evt_handler()
181 TAILQ_INSERT_TAIL(&sc->sassc->ev_queue, fw_event, ev_link); in mprsas_evt_handler()
182 taskqueue_enqueue(sc->sassc->ev_tq, &sc->sassc->ev_task); in mprsas_evt_handler()
204 struct mprsas_softc *sassc; in mprsas_fw_work() local
205 sassc = sc->sassc; in mprsas_fw_work()
232 mprsas_prepare_remove(sassc, le16toh( in mprsas_fw_work()
237 mprsas_prepare_remove(sassc, le16toh( in mprsas_fw_work()
252 mprsas_startup_decrement(sassc); in mprsas_fw_work()
265 sassc->flags &= ~MPRSAS_IN_DISCOVERY; in mprsas_fw_work()
266 mprsas_discovery_end(sassc); in mprsas_fw_work()
[all …]
H A Dmpr_sas.h169 void mprsas_discovery_end(struct mprsas_softc *sassc);
172 void mprsas_startup_increment(struct mprsas_softc *sassc);
173 void mprsas_startup_decrement(struct mprsas_softc *sassc);
176 int mprsas_check_id(struct mprsas_softc *sassc, int id);
H A Dmprvar.h382 struct mprsas_softc *sassc; member
669 void mprsas_prepare_remove_retry(struct mprsas_softc *sassc);
695 if (sc->sassc) in mpr_free_high_priority_command()
696 mprsas_prepare_remove_retry(sc->sassc); in mpr_free_high_priority_command()
907 void mprsas_prepare_remove(struct mprsas_softc *sassc, uint16_t handle);
908 void mprsas_prepare_volume_remove(struct mprsas_softc *sassc, uint16_t handle);
915 void mprsas_release_simq_reinit(struct mprsas_softc *sassc);
H A Dmpr.c841 struct mprsas_softc *sassc; in mpr_reinit() local
843 sassc = sc->sassc; in mpr_reinit()
921 mprsas_release_simq_reinit(sassc); in mpr_reinit()
H A Dmpr_user.c831 targ = mprsas_find_target_by_handle(sc->sassc, 0, in mpr_user_pass_thru()
1001 targ = mprsas_find_target_by_handle(sc->sassc, 0, in mpr_user_pass_thru()
/freebsd/sys/dev/mpi3mr/
H A Dmpi3mr_cam.h186 void mpi3mr_discovery_end(struct mpi3mr_cam_softc *sassc);
189 void mpi3mr_startup_increment(struct mpi3mr_cam_softc *sassc);
190 void mpi3mr_startup_decrement(struct mpi3mr_cam_softc *sassc);
193 int mpi3mr_check_id(struct mpi3mr_cam_softc *sassc, int id);