Lines Matching defs:psim
181 static void trm_action(struct cam_sim *psim, union ccb *pccb);
182 static void trm_poll(struct cam_sim *psim);
532 trm_action(struct cam_sim *psim, union ccb *pccb)
541 pACB = (PACB) cam_sim_softc(psim);
621 xpt_freeze_simq(pACB->psim, 1);
652 cpi->bus_id = cam_sim_bus(psim);
656 strlcpy(cpi->dev_name, cam_sim_name(psim), DEV_IDLEN);
657 cpi->unit_number = cam_sim_unit(psim);
1027 trm_poll(struct cam_sim *psim)
1029 trm_Interrupt(cam_sim_softc(psim));
3580 pACB->psim = cam_sim_alloc(trm_action,
3589 if (pACB->psim == NULL) {
3594 if (xpt_bus_register(pACB->psim, dev, 0) != CAM_SUCCESS) {
3600 cam_sim_path(pACB->psim),
3604 xpt_bus_deregister(cam_sim_path(pACB->psim));
3639 if (pACB->psim)
3640 cam_sim_free(pACB->psim, TRUE);
3691 xpt_bus_deregister(cam_sim_path(pACB->psim));
3692 cam_sim_free(pACB->psim, TRUE);