Lines Matching full:sim2
146 struct cam_sim *sim2;
153 sim2 = NULL;
223 sim2 = cam_sim_alloc(ahc_action, ahc_poll, "ahc",
228 if (sim2 == NULL) {
234 if (xpt_bus_register(sim2, ahc->dev_softc, bus_id2) !=
242 cam_sim_free(sim2, /*free_devq*/FALSE);
247 cam_sim_path(sim2),
250 xpt_bus_deregister(cam_sim_path(sim2));
251 cam_sim_free(sim2, /*free_devq*/FALSE);
252 sim2 = NULL;
259 csa.callback_arg = sim2;
269 ahc->platform_data->sim = sim2;
274 ahc->platform_data->sim_b = sim2;