Lines Matching defs:camsc
114 struct aac_cam *camsc;
120 camsc = sim->aac_cam;
121 if (camsc == NULL || camsc->inf == NULL ||
122 camsc->inf->BusNumber != channel)
133 cam_sim_path(camsc->sim),
150 struct aac_cam *camsc;
155 camsc = ccb->ccb_h.sim_priv.entries[0].ptr;
157 xpt_release_simq(camsc->sim, 1);
180 struct aac_cam *camsc;
183 camsc = (struct aac_cam *)device_get_softc(dev);
184 sc = camsc->inf->aac_sc;
185 camsc->inf->aac_cam = NULL;
189 xpt_async(AC_LOST_DEVICE, camsc->path, NULL);
190 xpt_free_path(camsc->path);
191 xpt_bus_deregister(cam_sim_path(camsc->sim));
192 cam_sim_free(camsc->sim, /*free_devq*/TRUE);
210 struct aac_cam *camsc;
215 camsc = (struct aac_cam *)device_get_softc(dev);
217 camsc->inf = inf;
218 camsc->inf->aac_cam = camsc;
224 sim = cam_sim_alloc(aac_cam_action, aac_cam_poll, "aacp", camsc,
249 camsc->sim = sim;
250 camsc->path = path;
258 struct aac_cam *camsc;
264 camsc = (struct aac_cam *)cam_sim_softc(sim);
265 sc = camsc->inf->aac_sc;
315 cpi->max_target = camsc->inf->TargetsPerBus;
317 cpi->initiator_id = camsc->inf->InitiatorBusId;
318 cpi->bus_id = camsc->inf->BusNumber;
387 ccb->ccb_h.sim_priv.entries[0].ptr = camsc;
495 srb->bus = camsc->inf->BusNumber; /* Bus number relative to the card */
631 struct aac_cam *camsc;
636 camsc = (struct aac_cam *)cam_sim_softc(sim);
637 sc = camsc->inf->aac_sc;
656 rbc->BusNumber = camsc->inf->BusNumber;