Searched refs:sim (Results 26 - 50 of 131) sorted by relevance

123456

/freebsd-13-stable/sys/dev/hptrr/
H A Dhptrr_osm_bsd.c410 static void hpt_action(struct cam_sim *sim, union ccb *ccb);
411 static void hpt_poll(struct cam_sim *sim);
745 static void hpt_action(struct cam_sim *sim, union ccb *ccb) argument
747 PVBUS_EXT vbus_ext = (PVBUS_EXT)cam_sim_softc(sim);
782 cpi->unit_number = cam_sim_unit(sim);
783 cpi->bus_id = cam_sim_bus(sim);
789 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
815 static void hpt_poll(struct cam_sim *sim) argument
817 PVBUS_EXT vbus_ext = cam_sim_softc(sim);
1057 vbus_ext->sim
[all...]
/freebsd-13-stable/sys/powerpc/ps3/
H A Dps3cdrom.c135 static void ps3cdrom_action(struct cam_sim *sim, union ccb *ccb);
136 static void ps3cdrom_poll(struct cam_sim *sim);
338 ps3cdrom_action(struct cam_sim *sim, union ccb *ccb) argument
340 struct ps3cdrom_softc *sc = (struct ps3cdrom_softc *)cam_sim_softc(sim);
422 cpi->bus_id = cam_sim_bus(sim);
423 cpi->unit_number = cam_sim_unit(sim);
427 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
448 ps3cdrom_poll(struct cam_sim *sim) argument
450 ps3cdrom_intr(cam_sim_softc(sim));
/freebsd-13-stable/sys/dev/siis/
H A Dsiis.c93 static void siisaction(struct cam_sim *sim, union ccb *ccb);
94 static void siispoll(struct cam_sim *sim);
515 ch->sim = cam_sim_alloc(siisaction, siispoll, "siisch", ch,
517 if (ch->sim == NULL) {
519 device_printf(dev, "unable to allocate sim\n");
523 if (xpt_bus_register(ch->sim, dev, 0) != CAM_SUCCESS) {
528 if (xpt_create_path(&ch->path, /*periph*/NULL, cam_sim_path(ch->sim),
539 xpt_bus_deregister(cam_sim_path(ch->sim));
541 cam_sim_free(ch->sim, /*free_devq*/TRUE);
560 xpt_bus_deregister(cam_sim_path(ch->sim));
1805 siisaction(struct cam_sim *sim, union ccb *ccb) argument
1983 siispoll(struct cam_sim *sim) argument
[all...]
/freebsd-13-stable/sys/powerpc/mpc85xx/
H A Dfsl_sata.c88 static void fsl_sataaction(struct cam_sim *sim, union ccb *ccb);
89 static void fsl_satapoll(struct cam_sim *sim);
260 struct cam_sim *sim; member in struct:fsl_sata_channel
386 ch->sim = cam_sim_alloc(fsl_sataaction, fsl_satapoll, "fslsata", ch,
389 if (ch->sim == NULL) {
391 device_printf(dev, "unable to allocate sim\n");
395 if (xpt_bus_register(ch->sim, dev, 0) != CAM_SUCCESS) {
400 if (xpt_create_path(&ch->path, /*periph*/NULL, cam_sim_path(ch->sim),
415 xpt_bus_deregister(cam_sim_path(ch->sim));
417 cam_sim_free(ch->sim, /*free_dev
1713 fsl_sataaction(struct cam_sim *sim, union ccb *ccb) argument
1885 fsl_satapoll(struct cam_sim *sim) argument
[all...]
/freebsd-13-stable/sys/powerpc/pseries/
H A Dphyp_vscsi.c100 struct cam_sim *sim; member in struct:vscsi_softc
360 sc->sim = cam_sim_alloc(vscsi_cam_action, vscsi_cam_poll, "vscsi", sc,
364 if (sc->sim == NULL) {
372 if (xpt_bus_register(sc->sim, dev, 0) != 0) {
374 cam_sim_free(sc->sim, FALSE);
375 sc->sim = NULL;
395 if (sc->sim != NULL) {
397 xpt_bus_deregister(cam_sim_path(sc->sim));
398 cam_sim_free(sc->sim, FALSE);
399 sc->sim
414 vscsi_cam_action(struct cam_sim *sim, union ccb *ccb) argument
928 vscsi_cam_poll(struct cam_sim *sim) argument
[all...]
/freebsd-13-stable/sys/cam/
H A Dcam_xpt_internal.h104 struct cam_sim *sim; member in struct:cam_ed
189 struct cam_sim *sim; member in struct:cam_eb
/freebsd-13-stable/sys/dev/hpt27xx/
H A Dhpt27xx_osm_bsd.c411 static void hpt_action(struct cam_sim *sim, union ccb *ccb);
412 static void hpt_poll(struct cam_sim *sim);
879 static void hpt_action(struct cam_sim *sim, union ccb *ccb) argument
881 PVBUS_EXT vbus_ext = (PVBUS_EXT)cam_sim_softc(sim);
934 cpi->unit_number = cam_sim_unit(sim);
935 cpi->bus_id = cam_sim_bus(sim);
941 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
967 static void hpt_poll(struct cam_sim *sim) argument
970 hpt_pci_intr(cam_sim_softc(sim));
972 PVBUS_EXT vbus_ext = (PVBUS_EXT)cam_sim_softc(sim);
[all...]
/freebsd-13-stable/tools/tools/vhba/
H A Dvhba.h74 struct cam_sim * sim; member in struct:__anon16312
/freebsd-13-stable/sys/dev/mrsas/
H A Dmrsas_cam.c60 int mrsas_find_io_type(struct cam_sim *sim, union ccb *ccb);
62 int mrsas_bus_scan_sim(struct mrsas_softc *sc, struct cam_sim *sim);
74 union ccb *ccb, struct cam_sim *sim, u_int8_t fp_possible);
93 static void mrsas_freeze_simq(struct mrsas_mpt_cmd *cmd, struct cam_sim *sim);
94 static void mrsas_cam_poll(struct cam_sim *sim);
95 static void mrsas_action(struct cam_sim *sim, union ccb *ccb);
106 mrsas_startio(struct mrsas_softc *sc, struct cam_sim *sim,
270 mrsas_action(struct cam_sim *sim, union ccb *ccb) argument
272 struct mrsas_softc *sc = (struct mrsas_softc *)cam_sim_softc(sim);
295 if (cam_sim_bus(sim)
454 mrsas_startio(struct mrsas_softc *sc, struct cam_sim *sim, union ccb *ccb) argument
692 mrsas_find_io_type(struct cam_sim *sim, union ccb *ccb) argument
1269 mrsas_build_syspdio(struct mrsas_softc *sc, struct mrsas_mpt_cmd *cmd, union ccb *ccb, struct cam_sim *sim, u_int8_t fp_possible) argument
1468 struct cam_sim *sim; local
1743 mrsas_freeze_simq(struct mrsas_mpt_cmd *cmd, struct cam_sim *sim) argument
1795 mrsas_cam_poll(struct cam_sim *sim) argument
1860 mrsas_bus_scan_sim(struct mrsas_softc *sc, struct cam_sim *sim) argument
[all...]
/freebsd-13-stable/sys/dev/isci/
H A Disci_remote_device.c80 /* The sim object has been scanned at least once
83 * If the sim object has not been scanned, this device
89 cam_sim_path(isci_controller->sim),
268 cam_sim_path(remote_device->domain->controller->sim),
285 cam_sim_path(remote_device->domain->controller->sim),
H A Disci_task_request.c243 xpt_release_simq(isci_controller->sim, TRUE);
H A Disci_io_request.c186 cam_sim_path(isci_controller->sim),
270 xpt_release_simq(isci_controller->sim, TRUE);
762 xpt_freeze_simq(controller->sim, 1);
785 xpt_freeze_simq(controller->sim, 1);
951 xpt_freeze_simq(controller->sim, 1);
/freebsd-13-stable/sys/dev/vmware/pvscsi/
H A Dpvscsi.c95 static void pvscsi_poll(struct cam_sim *sim);
99 static void pvscsi_action(struct cam_sim *sim, union ccb *ccb);
194 struct cam_sim *sim; member in struct:pvscsi_softc
250 xpt_freeze_simq(sc->sim, 1);
1081 cam_sim_path(sc->sim), desc->target, desc->lun[1])
1153 pvscsi_poll(struct cam_sim *sim) argument
1157 sc = cam_sim_softc(sim);
1256 pvscsi_action(struct cam_sim *sim, union ccb *ccb) argument
1261 sc = cam_sim_softc(sim);
1330 e->bus = cam_sim_bus(sim);
[all...]
/freebsd-13-stable/sys/dev/mvs/
H A Dmvs.c96 static void mvsaction(struct cam_sim *sim, union ccb *ccb);
97 static void mvspoll(struct cam_sim *sim);
177 ch->sim = cam_sim_alloc(mvsaction, mvspoll, "mvsch", ch,
181 if (ch->sim == NULL) {
183 device_printf(dev, "unable to allocate sim\n");
187 if (xpt_bus_register(ch->sim, dev, 0) != CAM_SUCCESS) {
192 if (xpt_create_path(&ch->path, /*periph*/NULL, cam_sim_path(ch->sim),
207 xpt_bus_deregister(cam_sim_path(ch->sim));
209 cam_sim_free(ch->sim, /*free_devq*/TRUE);
229 xpt_release_simq(ch->sim, TRU
2258 mvsaction(struct cam_sim *sim, union ccb *ccb) argument
2442 mvspoll(struct cam_sim *sim) argument
[all...]
/freebsd-13-stable/sys/dev/hptnr/
H A Dhptnr_osm_bsd.c404 static void hpt_action(struct cam_sim *sim, union ccb *ccb);
405 static void hpt_poll(struct cam_sim *sim);
1094 static void hpt_action(struct cam_sim *sim, union ccb *ccb) argument
1096 PVBUS_EXT vbus_ext = (PVBUS_EXT)cam_sim_softc(sim);
1134 cpi->unit_number = cam_sim_unit(sim);
1135 cpi->bus_id = cam_sim_bus(sim);
1141 strlcpy(cpi->dev_name, cam_sim_name(sim), DEV_IDLEN);
1167 static void hpt_poll(struct cam_sim *sim) argument
1169 PVBUS_EXT vbus_ext = cam_sim_softc(sim);
1410 vbus_ext->sim
[all...]
/freebsd-13-stable/sys/arm/allwinner/
H A Daw_mmc.c132 struct cam_sim * sim; member in struct:aw_mmc_softc
207 aw_mmc_cam_handle_mmcio(struct cam_sim *sim, union ccb *ccb) argument
211 sc = cam_sim_softc(sim);
217 aw_mmc_cam_action(struct cam_sim *sim, union ccb *ccb) argument
221 sc = cam_sim_softc(sim);
232 mmc_path_inq(&ccb->cpi, "Deglitch Networks", sim,
281 aw_mmc_cam_handle_mmcio(sim, ccb);
294 aw_mmc_cam_poll(struct cam_sim *sim) argument
391 mmccam_start_discovery(sc->sim);
536 sc->sim
[all...]
/freebsd-13-stable/sys/dev/ocs_fc/
H A Docs_cam.c105 struct cam_sim *sim = NULL; local
110 if (NULL == (sim = cam_sim_alloc(ocs_action, ocs_poll,
119 if (CAM_SUCCESS != xpt_bus_register(sim, ocs->dev, chan)) {
122 cam_sim_free(sim, FALSE);
127 if (CAM_REQ_CMP != xpt_create_path(&path, NULL, cam_sim_path(sim),
130 xpt_bus_deregister(cam_sim_path(sim));
132 cam_sim_free(sim, FALSE);
137 fcp->sim = sim;
150 struct cam_sim *sim local
1971 ocs_action(struct cam_sim *sim, union ccb *ccb) argument
2472 ocs_poll(struct cam_sim *sim) argument
[all...]
/freebsd-13-stable/sys/dev/ahci/
H A Dahci.c95 static void ahciaction(struct cam_sim *sim, union ccb *ccb);
96 static void ahcipoll(struct cam_sim *sim);
893 ch->sim = cam_sim_alloc(ahciaction, ahcipoll, "ahcich", ch,
898 if (ch->sim == NULL) {
900 device_printf(dev, "unable to allocate sim\n");
904 if (xpt_bus_register(ch->sim, dev, 0) != CAM_SUCCESS) {
909 if (xpt_create_path(&ch->path, /*periph*/NULL, cam_sim_path(ch->sim),
930 xpt_bus_deregister(cam_sim_path(ch->sim));
932 cam_sim_free(ch->sim, /*free_devq*/TRUE);
953 xpt_release_simq(ch->sim, TRU
2703 ahciaction(struct cam_sim *sim, union ccb *ccb) argument
2887 ahcipoll(struct cam_sim *sim) argument
[all...]
/freebsd-13-stable/sys/dev/mps/
H A Dmps_sas.h95 struct cam_sim *sim; member in struct:mpssas_softc
/freebsd-13-stable/sys/dev/virtio/scsi/
H A Dvirtio_scsi.c678 struct cam_sim *sim; local
681 sim = cb_arg;
682 sc = cam_sim_softc(sim);
729 vtscsi_cam_action(struct cam_sim *sim, union ccb *ccb) argument
734 sc = cam_sim_softc(sim);
752 vtscsi_cam_scsi_io(sc, sim, ccb);
782 vtscsi_cam_path_inquiry(sc, sim, ccb);
796 vtscsi_cam_poll(struct cam_sim *sim) argument
800 sc = cam_sim_softc(sim);
806 vtscsi_cam_scsi_io(struct vtscsi_softc *sc, struct cam_sim *sim, argument
950 vtscsi_cam_path_inquiry(struct vtscsi_softc *sc, struct cam_sim *sim, union ccb *ccb) argument
[all...]
/freebsd-13-stable/sys/dev/iir/
H A Diir.c151 static void iir_action(struct cam_sim *sim, union ccb *ccb);
153 static void iir_poll(struct cam_sim *sim);
694 struct cam_sim *sim; local
737 sim = (struct cam_sim *)ccb->ccb_h.ccb_sim_ptr;
738 bus = cam_sim_bus(sim);
801 struct cam_sim *sim; local
821 sim = (struct cam_sim *)ccb->ccb_h.ccb_sim_ptr;
846 cam_sim_bus(sim);
858 xpt_freeze_simq(sim, 1);
869 struct cam_sim *sim; local
1248 iir_action( struct cam_sim *sim, union ccb *ccb ) argument
[all...]
/freebsd-13-stable/sys/dev/isp/
H A Disp_freebsd.c117 struct cam_sim *sim; local
123 sim = cam_sim_alloc(isp_action, isp_poll, "isp", isp,
126 if (sim == NULL)
129 if (xpt_bus_register(sim, isp->isp_dev, chan) != CAM_SUCCESS) {
130 cam_sim_free(sim, FALSE);
133 if (xpt_create_path(&path, NULL, cam_sim_path(sim), CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD) != CAM_REQ_CMP) {
134 xpt_bus_deregister(cam_sim_path(sim));
135 cam_sim_free(sim, FALSE);
140 fc->sim = sim;
1921 isp_poll(struct cam_sim *sim) argument
2371 isp_action(struct cam_sim *sim, union ccb *ccb) argument
[all...]
/freebsd-13-stable/sys/dev/sdio/
H A Dsdiob.c926 KASSERT(sc->periph->sim->sim_dev != NULL, ("%s: sim_dev is NULL, sc %p "
927 "periph %p sim %p\n", __func__, sc, sc->periph, sc->periph->sim));
930 sc->dev = BUS_ADD_CHILD(sc->periph->sim->sim_dev, 0,
1035 if (periph->sim == NULL || periph->sim->sim_dev == NULL) {
1036 printf("%s: no sim %p or sim_dev %p\n", __func__, periph->sim,
1037 (periph->sim != NULL) ? periph->sim
[all...]
/freebsd-13-stable/contrib/wpa/src/eap_server/
H A Deap_sim_db.c48 } sim; member in union:eap_sim_db_pending::__anon6493
496 if (hexstr2bin(start, entry->u.sim.kc[num_chal],
505 if (hexstr2bin(start, entry->u.sim.sres[num_chal],
510 if (hexstr2bin(start, entry->u.sim.rand[num_chal],
520 entry->u.sim.num_chal = num_chal;
964 "%d challenges", entry->u.sim.num_chal);
965 num_chal = entry->u.sim.num_chal;
968 os_memcpy(_rand, entry->u.sim.rand, num_chal * GSM_RAND_LEN);
969 os_memcpy(sres, entry->u.sim.sres,
971 os_memcpy(kc, entry->u.sim
[all...]
/freebsd-13-stable/sys/dev/mpt/
H A Dmpt_cam.c330 mpt->sim =
332 if (mpt->sim == NULL) {
343 if (xpt_bus_register(mpt->sim, mpt->dev, 0) != CAM_SUCCESS) {
350 if (xpt_create_path(&mpt->path, NULL, cam_sim_path(mpt->sim),
1209 if (mpt->sim != NULL) {
1211 xpt_bus_deregister(cam_sim_path(mpt->sim));
1212 cam_sim_free(mpt->sim, TRUE);
1213 mpt->sim = NULL;
1228 mpt_poll(struct cam_sim *sim) argument
1232 mpt = (struct mpt_softc *)cam_sim_softc(sim);
2036 mpt_start(struct cam_sim *sim, union ccb *ccb) argument
2425 struct cam_sim *sim; local
2471 struct cam_sim *sim; local
3185 mpt_action(struct cam_sim *sim, union ccb *ccb) argument
[all...]

Completed in 198 milliseconds

123456