Home
last modified time | relevance | path

Searched refs:cam_sim_path (Results 1 – 25 of 57) sorted by relevance

123

/freebsd/sys/dev/isci/
H A Disci_remote_device.c87 cam_sim_path(isci_controller->sim), in scif_cb_remote_device_ready()
266 cam_sim_path(remote_device->domain->controller->sim), in isci_remote_device_freeze_lun_queue()
283 cam_sim_path(remote_device->domain->controller->sim), in isci_remote_device_release_lun_queue()
H A Disci_domain.c298 uint32_t path = cam_sim_path(isci_controller->sim); in scif_cb_domain_device_removed()
H A Disci_controller.c638 cam_sim_path(controller->sim), CAM_TARGET_WILDCARD, in isci_controller_attach_to_cam()
641 xpt_bus_deregister(cam_sim_path(controller->sim)); in isci_controller_attach_to_cam()
/freebsd/sys/dev/nvme/
H A Dnvme_sim.c323 if (xpt_create_path(&sc->s_path, /*periph*/NULL, cam_sim_path(sc->s_sim), in nvme_sim_new_controller()
332 xpt_bus_deregister(cam_sim_path(sc->s_sim)); in nvme_sim_new_controller()
358 cam_sim_path(sc->s_sim), 0, ns->id) != CAM_REQ_CMP) { in nvme_sim_ns_change()
375 xpt_bus_deregister(cam_sim_path(sc->s_sim)); in nvme_sim_controller_fail()
/freebsd/sys/dev/nvmf/host/
H A Dnvmf_sim.c276 if (xpt_create_path(&sc->path, NULL, cam_sim_path(sc->sim), in nvmf_init_sim()
279 xpt_bus_deregister(cam_sim_path(sc->sim)); in nvmf_init_sim()
303 if (xpt_create_path(&ccb->ccb_h.path, NULL, cam_sim_path(sc->sim), 0, in nvmf_sim_rescan_ns()
347 xpt_bus_deregister(cam_sim_path(sc->sim)); in nvmf_destroy_sim()
/freebsd/sys/dev/aic7xxx/
H A Daic7xxx_osm.c75 path_id = cam_sim_path(ahc->platform_data->sim_b); in ahc_create_path()
77 path_id = cam_sim_path(ahc->platform_data->sim); in ahc_create_path()
205 cam_sim_path(sim), CAM_TARGET_WILDCARD, in ahc_attach()
207 xpt_bus_deregister(cam_sim_path(sim)); in ahc_attach()
247 cam_sim_path(sim2), in ahc_attach()
250 xpt_bus_deregister(cam_sim_path(sim2)); in ahc_attach()
1362 xpt_bus_deregister(cam_sim_path(pdata->sim_b)); in ahc_platform_free()
1368 xpt_bus_deregister(cam_sim_path(pdata->sim)); in ahc_platform_free()
H A Daic79xx_osm.c144 path_id = cam_sim_path(ahd->platform_data->sim); in ahd_create_path()
259 cam_sim_path(sim), CAM_TARGET_WILDCARD, in ahd_attach()
261 xpt_bus_deregister(cam_sim_path(sim)); in ahd_attach()
1308 xpt_bus_deregister(cam_sim_path(pdata->sim)); in ahd_platform_free()
/freebsd/sys/dev/aac/
H A Daac_cam.c131 cam_sim_path(camsc->sim), in aac_cam_rescan()
188 xpt_bus_deregister(cam_sim_path(camsc->sim)); in aac_cam_detach()
236 if (xpt_create_path(&path, NULL, cam_sim_path(sim), in aac_cam_attach()
238 xpt_bus_deregister(cam_sim_path(sim)); in aac_cam_attach()
/freebsd/sys/dev/smartpqi/
H A Dsmartpqi_cam.c124 cam_sim_path(softs->os_specific.sim), in os_add_device()
150 cam_sim_path(softs->os_specific.sim), in os_remove_device()
709 cam_sim_path(softs->os_specific.sim), target, lun); in smartpqi_lun_rescan()
1289 cam_sim_path(softs->os_specific.sim), in register_sim()
1294 xpt_bus_deregister(cam_sim_path(softs->os_specific.sim)); in register_sim()
1347 xpt_bus_deregister(cam_sim_path(softs->os_specific.sim)); in deregister_sim()
1378 cam_sim_path(softs->os_specific.sim), in os_rescan_target()
/freebsd/sys/dev/usb/storage/
H A Dumass.c2115 sc->sc_name, cam_sim_path(sc->sc_sim), in umass_cam_attach()
2116 sc->sc_unit, cam_sim_path(sc->sc_sim)); in umass_cam_attach()
2129 error = xpt_bus_deregister(cam_sim_path(sc->sc_sim)); in umass_cam_detach_sim()
2135 __func__, sc->sc_name, cam_sim_path(sc->sc_sim), in umass_cam_detach_sim()
2178 cam_sim_path(sc->sc_sim), ccb->ccb_h.target_id, in umass_cam_action()
2186 cam_sim_path(sc->sc_sim), ccb->ccb_h.target_id, in umass_cam_action()
2311 sc ? cam_sim_path(sc->sc_sim) : -1, ccb->ccb_h.target_id, in umass_cam_action()
2366 cam_sim_path(sc->sc_sim), ccb->ccb_h.target_id, in umass_cam_action()
2380 cam_sim_path(sc->sc_sim), ccb->ccb_h.target_id, in umass_cam_action()
2396 cam_sim_path(sc->sc_sim), ccb->ccb_h.target_id, in umass_cam_action()
[all …]
/freebsd/sys/cam/
H A Dcam_sim.h98 cam_sim_path(const struct cam_sim *sim) in cam_sim_path() function
/freebsd/sys/cam/ctl/
H A Dctl_frontend_cam_sim.c193 cam_sim_path(softc->sim), in cfcs_init()
197 xpt_bus_deregister(cam_sim_path(softc->sim)); in cfcs_init()
222 xpt_bus_deregister(cam_sim_path(softc->sim)); in cfcs_shutdown()
251 cam_sim_path(softc->sim), CAM_TARGET_WILDCARD, in cfcs_onoffline()
/freebsd/sys/dev/ahci/
H A Dahciem.c136 if (xpt_create_path(&enc->path, /*periph*/NULL, cam_sim_path(enc->sim), in ahci_em_attach()
185 xpt_bus_deregister(cam_sim_path(enc->sim)); in ahci_em_attach()
214 xpt_bus_deregister(cam_sim_path(enc->sim)); in ahci_em_detach()
562 scsi_ulto4b(cam_sim_path(ch->sim), elmb->bus); in ahci_em_emulate_ses_on_led()
/freebsd/sys/dev/mrsas/
H A Dmrsas_cam.c186 if (xpt_create_path(&sc->path_0, NULL, cam_sim_path(sc->sim_0), in mrsas_cam_attach()
188 xpt_bus_deregister(cam_sim_path(sc->sim_0)); in mrsas_cam_attach()
213 if (xpt_create_path(&sc->path_1, NULL, cam_sim_path(sc->sim_1), in mrsas_cam_attach()
216 xpt_bus_deregister(cam_sim_path(sc->sim_1)); in mrsas_cam_attach()
241 xpt_bus_deregister(cam_sim_path(sc->sim_0)); in mrsas_cam_detach()
247 xpt_bus_deregister(cam_sim_path(sc->sim_1)); in mrsas_cam_detach()
1742 if (xpt_create_path(&ccb_0->ccb_h.path, xpt_periph, cam_sim_path(sc->sim_0), in mrsas_bus_scan()
1749 if (xpt_create_path(&ccb_1->ccb_h.path, xpt_periph, cam_sim_path(sc->sim_1), in mrsas_bus_scan()
1779 if (xpt_create_path(&ccb->ccb_h.path, xpt_periph, cam_sim_path(sim), in mrsas_bus_scan_sim()
/freebsd/sys/dev/mmcnull/
H A Dmmcnull.c156 xpt_bus_deregister(cam_sim_path(sc->sim)); in mmcnull_detach()
246 if (xpt_create_path(&dpath, NULL, cam_sim_path(sc->sim), 0, 0) != CAM_REQ_CMP) { in mmcnull_intr_sdio_newintr()
/freebsd/sys/powerpc/ps3/
H A Dps3cdrom.c253 err = xpt_create_path(&sc->sc_path, NULL, cam_sim_path(sc->sc_sim), in ps3cdrom_attach()
279 xpt_bus_deregister(cam_sim_path(sc->sc_sim)); in ps3cdrom_attach()
319 xpt_bus_deregister(cam_sim_path(sc->sc_sim)); in ps3cdrom_detach()
/freebsd/tools/tools/vhba/mptest/
H A Dvhba_mptest.c420 if (xpt_create_path(&tp, xpt_periph, cam_sim_path(vhba->sim), 0, lun) != CAM_REQ_CMP) { in vhba_timer()
442 …if (xpt_create_path(&ccb->ccb_h.path, xpt_periph, cam_sim_path(vhba->sim), CAM_TARGET_WILDCARD, CA… in vhba_timer()
/freebsd/sys/dev/mfi/
H A Dmfi_cam.c190 xpt_bus_deregister(cam_sim_path(sc->sim)); in mfip_detach()
325 if (xpt_create_path(&ccb->ccb_h.path, NULL, cam_sim_path(sim), in mfip_cam_rescan()
/freebsd/sys/cam/mmc/
H A Dmmc_sim.c236 xpt_bus_deregister(cam_sim_path(mmc_sim->sim)); in mmc_cam_sim_free()
/freebsd/sys/dev/tws/
H A Dtws_cam.c173 if (xpt_create_path(&sc->path, NULL, cam_sim_path(sc->sim), in tws_cam_attach()
176 xpt_bus_deregister(cam_sim_path(sc->sim)); in tws_cam_attach()
196 xpt_bus_deregister(cam_sim_path(sc->sim)); in tws_cam_detach()
212 if (xpt_create_path(&ccb->ccb_h.path, NULL, cam_sim_path(sc->sim), in tws_bus_scan()
/freebsd/sys/dev/ata/
H A Data-all.c196 if (xpt_create_path(&ch->path, /*periph*/NULL, cam_sim_path(ch->sim), in ata_attach()
206 xpt_bus_deregister(cam_sim_path(ch->sim)); in ata_attach()
239 xpt_bus_deregister(cam_sim_path(ch->sim)); in ata_detach()
273 cam_sim_path(ch->sim), in ata_conn_event()
/freebsd/sys/dev/aacraid/
H A Daacraid_cam.c188 cam_sim_path(camsc->sim), in aac_cam_rescan()
253 xpt_bus_deregister(cam_sim_path(camsc->sim)); in aac_cam_detach()
302 if (xpt_create_path(&path, NULL, cam_sim_path(sim), in aac_cam_attach()
304 xpt_bus_deregister(cam_sim_path(sim)); in aac_cam_attach()
/freebsd/sys/dev/virtio/scsi/
H A Dvirtio_scsi.c616 cam_sim_path(sc->vtscsi_sim), CAM_TARGET_WILDCARD, in vtscsi_register_cam()
640 xpt_bus_deregister(cam_sim_path(sc->vtscsi_sim)); in vtscsi_register_cam()
659 xpt_bus_deregister(cam_sim_path(sc->vtscsi_sim)); in vtscsi_free_cam()
1729 if (xpt_create_path(&path, NULL, cam_sim_path(sc->vtscsi_sim), in vtscsi_announce()
1753 cam_sim_path(sc->vtscsi_sim), target_id, lun_id); in vtscsi_execute_rescan()
/freebsd/sys/dev/ocs_fc/
H A Docs_cam.c147 if (CAM_REQ_CMP != xpt_create_path(&path, NULL, cam_sim_path(sim), in ocs_attach_port()
150 xpt_bus_deregister(cam_sim_path(sim)); in ocs_attach_port()
188 xpt_bus_deregister(cam_sim_path(sim)); in ocs_detach_port()
1048 cam_sim_path(fcp->sim), in ocs_add_new_tgt()
1094 if (CAM_REQ_CMP == xpt_create_path(&cpath, NULL, cam_sim_path(fcp->sim), in ocs_delete_target()
/freebsd/sys/dev/hptrr/
H A Dhptrr_osm_bsd.c1075 cam_sim_path(vbus_ext->sim), CAM_TARGET_WILDCARD, in hpt_final_init()
1079 xpt_bus_deregister(cam_sim_path(vbus_ext->sim)); in hpt_final_init()
1314 cam_sim_path(vbus_ext->sim), in hpt_rescan_bus()

123