Home
last modified time | relevance | path

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

123

/freebsd-13.1/sys/dev/isci/
H A Disci_remote_device.c89 cam_sim_path(isci_controller->sim), in scif_cb_remote_device_ready()
268 cam_sim_path(remote_device->domain->controller->sim), in isci_remote_device_freeze_lun_queue()
285 cam_sim_path(remote_device->domain->controller->sim), in isci_remote_device_release_lun_queue()
H A Disci_domain.c300 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-13.1/sys/dev/iscsi_initiator/
H A Disc_cam.c274 cp->path_id = cam_sim_path(sp->cam_sim); in ic_getCamVals()
296 xpt_bus_deregister(cam_sim_path(sp->cam_sim)); in ic_destroy()
338 if(xpt_create_path(&sp->cam_path, NULL, cam_sim_path(sp->cam_sim), in ic_init()
340 xpt_bus_deregister(cam_sim_path(sp->cam_sim)); in ic_init()
/freebsd-13.1/sys/dev/nvme/
H A Dnvme_sim.c318 if (xpt_create_path(&sc->s_path, /*periph*/NULL, cam_sim_path(sc->s_sim), in nvme_sim_new_controller()
327 xpt_bus_deregister(cam_sim_path(sc->s_sim)); in nvme_sim_new_controller()
353 cam_sim_path(sc->s_sim), 0, ns->id) != CAM_REQ_CMP) { in nvme_sim_ns_change()
370 xpt_bus_deregister(cam_sim_path(sc->s_sim)); in nvme_sim_controller_fail()
/freebsd-13.1/sys/dev/twa/
H A Dtw_osl_cam.c132 cam_sim_path(sc->sim), in tw_osli_cam_attach()
135 xpt_bus_deregister(cam_sim_path (sc->sim)); in tw_osli_cam_attach()
171 xpt_bus_deregister(cam_sim_path(sc->sim)); in tw_osli_cam_detach()
481 if (xpt_create_path(&ccb->ccb_h.path, NULL, cam_sim_path(sc->sim), in tw_osli_request_bus_scan()
/freebsd-13.1/sys/dev/aic7xxx/
H A Daic7xxx_osm.c80 path_id = cam_sim_path(ahc->platform_data->sim_b); in ahc_create_path()
82 path_id = cam_sim_path(ahc->platform_data->sim); in ahc_create_path()
210 cam_sim_path(sim), CAM_TARGET_WILDCARD, in ahc_attach()
212 xpt_bus_deregister(cam_sim_path(sim)); in ahc_attach()
251 cam_sim_path(sim2), in ahc_attach()
254 xpt_bus_deregister(cam_sim_path(sim2)); in ahc_attach()
1359 xpt_bus_deregister(cam_sim_path(pdata->sim_b)); in ahc_platform_free()
1365 xpt_bus_deregister(cam_sim_path(pdata->sim)); in ahc_platform_free()
H A Daic79xx_osm.c147 path_id = cam_sim_path(ahd->platform_data->sim); in ahd_create_path()
262 cam_sim_path(sim), CAM_TARGET_WILDCARD, in ahd_attach()
264 xpt_bus_deregister(cam_sim_path(sim)); in ahd_attach()
1303 xpt_bus_deregister(cam_sim_path(pdata->sim)); in ahd_platform_free()
/freebsd-13.1/sys/dev/aac/
H A Daac_cam.c135 cam_sim_path(camsc->sim), in aac_cam_rescan()
192 xpt_bus_deregister(cam_sim_path(camsc->sim)); in aac_cam_detach()
240 if (xpt_create_path(&path, NULL, cam_sim_path(sim), in aac_cam_attach()
242 xpt_bus_deregister(cam_sim_path(sim)); in aac_cam_attach()
/freebsd-13.1/sys/dev/smartpqi/
H A Dsmartpqi_cam.c120 cam_sim_path(softs->os_specific.sim), in os_add_device()
144 cam_sim_path(softs->os_specific.sim), in os_remove_device()
691 cam_sim_path(softs->os_specific.sim), target, lun); in smartpqi_lun_rescan()
1251 cam_sim_path(softs->os_specific.sim), in register_sim()
1256 xpt_bus_deregister(cam_sim_path(softs->os_specific.sim)); in register_sim()
1310 xpt_bus_deregister(cam_sim_path(softs->os_specific.sim)); in deregister_sim()
1341 cam_sim_path(softs->os_specific.sim), in os_rescan_target()
/freebsd-13.1/sys/dev/usb/storage/
H A Dumass.c2121 sc->sc_name, cam_sim_path(sc->sc_sim), in umass_cam_attach()
2122 sc->sc_unit, cam_sim_path(sc->sc_sim)); in umass_cam_attach()
2135 status = xpt_bus_deregister(cam_sim_path(sc->sc_sim)); in umass_cam_detach_sim()
2141 __func__, sc->sc_name, cam_sim_path(sc->sc_sim), in umass_cam_detach_sim()
2184 cam_sim_path(sc->sc_sim), ccb->ccb_h.target_id, in umass_cam_action()
2192 cam_sim_path(sc->sc_sim), ccb->ccb_h.target_id, in umass_cam_action()
2317 sc ? cam_sim_path(sc->sc_sim) : -1, ccb->ccb_h.target_id, in umass_cam_action()
2372 cam_sim_path(sc->sc_sim), ccb->ccb_h.target_id, in umass_cam_action()
2386 cam_sim_path(sc->sc_sim), ccb->ccb_h.target_id, in umass_cam_action()
2402 cam_sim_path(sc->sc_sim), ccb->ccb_h.target_id, in umass_cam_action()
[all …]
/freebsd-13.1/sys/cam/ctl/
H A Dctl_frontend_cam_sim.c196 cam_sim_path(softc->sim), in cfcs_init()
200 xpt_bus_deregister(cam_sim_path(softc->sim)); in cfcs_init()
225 xpt_bus_deregister(cam_sim_path(softc->sim)); in cfcs_shutdown()
254 cam_sim_path(softc->sim), CAM_TARGET_WILDCARD, in cfcs_onoffline()
/freebsd-13.1/sys/dev/ahci/
H A Dahciem.c139 if (xpt_create_path(&enc->path, /*periph*/NULL, cam_sim_path(enc->sim), in ahci_em_attach()
188 xpt_bus_deregister(cam_sim_path(enc->sim)); in ahci_em_attach()
217 xpt_bus_deregister(cam_sim_path(enc->sim)); in ahci_em_detach()
566 scsi_ulto4b(cam_sim_path(ch->sim), elmb->bus); in ahci_em_emulate_ses_on_led()
/freebsd-13.1/sys/cam/
H A Dcam_sim.h116 cam_sim_path(const struct cam_sim *sim) in cam_sim_path() function
/freebsd-13.1/sys/dev/mrsas/
H A Dmrsas_cam.c188 if (xpt_create_path(&sc->path_0, NULL, cam_sim_path(sc->sim_0), in mrsas_cam_attach()
190 xpt_bus_deregister(cam_sim_path(sc->sim_0)); in mrsas_cam_attach()
215 if (xpt_create_path(&sc->path_1, NULL, cam_sim_path(sc->sim_1), in mrsas_cam_attach()
218 xpt_bus_deregister(cam_sim_path(sc->sim_1)); in mrsas_cam_attach()
249 xpt_bus_deregister(cam_sim_path(sc->sim_0)); in mrsas_cam_detach()
255 xpt_bus_deregister(cam_sim_path(sc->sim_1)); in mrsas_cam_detach()
1796 if (xpt_create_path(&ccb_0->ccb_h.path, xpt_periph, cam_sim_path(sc->sim_0), in mrsas_bus_scan()
1803 if (xpt_create_path(&ccb_1->ccb_h.path, xpt_periph, cam_sim_path(sc->sim_1), in mrsas_bus_scan()
1833 if (xpt_create_path(&ccb->ccb_h.path, xpt_periph, cam_sim_path(sim), in mrsas_bus_scan_sim()
/freebsd-13.1/sys/dev/mmcnull/
H A Dmmcnull.c159 xpt_bus_deregister(cam_sim_path(sc->sim)); in mmcnull_detach()
249 if (xpt_create_path(&dpath, NULL, cam_sim_path(sc->sim), 0, 0) != CAM_REQ_CMP) { in mmcnull_intr_sdio_newintr()
/freebsd-13.1/sys/powerpc/ps3/
H A Dps3cdrom.c256 err = xpt_create_path(&sc->sc_path, NULL, cam_sim_path(sc->sc_sim), in ps3cdrom_attach()
281 xpt_bus_deregister(cam_sim_path(sc->sc_sim)); in ps3cdrom_attach()
321 xpt_bus_deregister(cam_sim_path(sc->sc_sim)); in ps3cdrom_detach()
/freebsd-13.1/tools/tools/vhba/mptest/
H A Dvhba_mptest.c421 if (xpt_create_path(&tp, xpt_periph, cam_sim_path(vhba->sim), 0, lun) != CAM_REQ_CMP) { in vhba_timer()
443 …if (xpt_create_path(&ccb->ccb_h.path, xpt_periph, cam_sim_path(vhba->sim), CAM_TARGET_WILDCARD, CA… in vhba_timer()
/freebsd-13.1/sys/dev/mfi/
H A Dmfi_cam.c191 xpt_bus_deregister(cam_sim_path(sc->sim)); in mfip_detach()
326 if (xpt_create_path(&ccb->ccb_h.path, NULL, cam_sim_path(sim), in mfip_cam_rescan()
/freebsd-13.1/sys/cam/mmc/
H A Dmmc_sim.c241 xpt_bus_deregister(cam_sim_path(mmc_sim->sim)); in mmc_cam_sim_free()
/freebsd-13.1/sys/dev/tws/
H A Dtws_cam.c175 if (xpt_create_path(&sc->path, NULL, cam_sim_path(sc->sim), in tws_cam_attach()
178 xpt_bus_deregister(cam_sim_path(sc->sim)); in tws_cam_attach()
198 xpt_bus_deregister(cam_sim_path(sc->sim)); in tws_cam_detach()
214 if (xpt_create_path(&ccb->ccb_h.path, NULL, cam_sim_path(sc->sim), in tws_bus_scan()
/freebsd-13.1/sys/dev/ata/
H A Data-all.c200 if (xpt_create_path(&ch->path, /*periph*/NULL, cam_sim_path(ch->sim), in ata_attach()
210 xpt_bus_deregister(cam_sim_path(ch->sim)); in ata_attach()
243 xpt_bus_deregister(cam_sim_path(ch->sim)); in ata_detach()
277 cam_sim_path(ch->sim), in ata_conn_event()
/freebsd-13.1/sys/dev/aacraid/
H A Daacraid_cam.c192 cam_sim_path(camsc->sim), in aac_cam_rescan()
257 xpt_bus_deregister(cam_sim_path(camsc->sim)); in aac_cam_detach()
306 if (xpt_create_path(&path, NULL, cam_sim_path(sim), in aac_cam_attach()
308 xpt_bus_deregister(cam_sim_path(sim)); in aac_cam_attach()
/freebsd-13.1/sys/dev/virtio/scsi/
H A Dvirtio_scsi.c621 cam_sim_path(sc->vtscsi_sim), CAM_TARGET_WILDCARD, in vtscsi_register_cam()
645 xpt_bus_deregister(cam_sim_path(sc->vtscsi_sim)); in vtscsi_register_cam()
664 xpt_bus_deregister(cam_sim_path(sc->vtscsi_sim)); in vtscsi_free_cam()
1732 if (xpt_create_path(&path, NULL, cam_sim_path(sc->vtscsi_sim), in vtscsi_announce()
1756 cam_sim_path(sc->vtscsi_sim), target_id, lun_id); in vtscsi_execute_rescan()
/freebsd-13.1/sys/dev/ocs_fc/
H A Docs_cam.c127 if (CAM_REQ_CMP != xpt_create_path(&path, NULL, cam_sim_path(sim), in ocs_attach_port()
130 xpt_bus_deregister(cam_sim_path(sim)); in ocs_attach_port()
168 xpt_bus_deregister(cam_sim_path(sim)); in ocs_detach_port()
1028 cam_sim_path(fcp->sim), in ocs_add_new_tgt()
1074 if (CAM_REQ_CMP == xpt_create_path(&cpath, NULL, cam_sim_path(fcp->sim), in ocs_delete_target()

123