/src/sys/dev/scsipi/ |
scsipi_base.h | 62 struct scsipi_xfer *xs; local in function:scsipi_make_xs_internal 64 if ((xs = scsipi_get_xs(periph, flags)) == NULL) 71 memcpy(&xs->cmdstore, cmd, cmdlen); 72 xs->cmd = &xs->cmdstore; 73 xs->cmdlen = cmdlen; 74 xs->data = data_addr; 75 xs->datalen = datalen; 76 xs->xs_retries = retries; 77 xs->timeout = timeout [all...] |
scsi_base.c | 75 scsi_scsipi_cmd(struct scsipi_xfer *xs) 77 struct scsipi_periph *periph = xs->xs_periph; 86 xs->cmd->bytes[0] |= 119 struct scsipi_xfer *xs; local in function:scsi_kill_pending 121 TAILQ_FOREACH(xs, &periph->periph_xferq, device_q) { 122 callout_stop(&xs->xs_callout); 125 scsipi_print_cdb(xs->cmd); 126 xs->error = XS_DRIVER_STUFFUP; 127 scsipi_done(xs);
|
scsipiconf.c | 73 scsipi_print_sense_stub(struct scsipi_xfer * xs, int verbosity) 77 return scsipi_print_sense(xs, verbosity); 95 struct scsipi_xfer *xs; local in function:scsipi_command 101 xs = scsipi_make_xs_unlocked(periph, cmd, cmdlen, data_addr, datalen, retries, 103 if (!xs) 107 rc = scsipi_execute_xs(xs);
|
ss_scanjet.c | 254 struct scsipi_xfer *xs; local in function:scanjet_read 269 xs = scsipi_make_xs_locked(periph, 274 if (xs == NULL) { 288 error = scsipi_execute_xs(xs);
|
ss_mustek.c | 451 struct scsipi_xfer *xs; local in function:mustek_read 469 xs = scsipi_make_xs_locked(periph, 474 if (xs == NULL) { 489 error = scsipi_execute_xs(xs);
|
/src/sys/dev/ic/ |
adv.h | 51 struct scsipi_xfer *xs; /* the scsipi_xfer for this cmd */ member in struct:adv_ccb
|
adw.h | 70 struct scsipi_xfer *xs; /* the scsipi_xfer for this cmd */ member in struct:adw_ccb
|
icpsp.c | 133 struct scsipi_xfer *xs; local in function:icpsp_scsipi_request 146 xs = arg; 147 periph = xs->xs_periph; 148 flags = xs->xs_control; 154 xs->error = XS_DRIVER_STUFFUP; 155 scsipi_done(xs); 160 if (xs->cmdlen > sizeof(rc->rc_cdb)) 168 xs->error = XS_RESOURCE_SHORTAGE; 169 scsipi_done(xs); 184 memcpy(rc->rc_cdb, xs->cmd, xs->cmdlen) 273 struct scsipi_xfer *xs; local in function:icpsp_intr [all...] |
uha.c | 319 struct scsipi_xfer *xs = mscp->xs; local in function:uha_done 321 SC_DEBUG(xs->xs_periph, SCSIPI_DB2, ("uha_done\n")); 331 if (xs->datalen) { 334 (xs->xs_control & XS_CTL_DATA_IN) ? BUS_DMASYNC_POSTREAD : 348 if (xs->error == XS_NOERROR) { 352 xs->error = XS_SELTIMEOUT; 357 xs->error = XS_DRIVER_STUFFUP; 363 s2 = &xs->sense.scsi_sense; 365 xs->error = XS_SENSE 400 struct scsipi_xfer *xs; local in function:uha_scsipi_request 577 struct scsipi_xfer *xs = mscp->xs; local in function:uha_timeout [all...] |
adw.c | 351 if ((ccb->xs->xs_control & XS_CTL_POLL) == 0) 352 callout_reset(&ccb->xs->xs_callout, 541 struct scsipi_xfer *xs; local in function:adw_scsipi_request 548 xs = arg; 563 scsipi_printaddr(xs->xs_periph); 569 ccb->xs = xs; 570 ccb->timeout = xs->timeout; 579 xs->error = XS_RESOURCE_SHORTAGE; 581 scsipi_done(xs); 620 struct scsipi_xfer *xs = ccb->xs; local in function:adw_build_req 817 struct scsipi_xfer *xs = ccb->xs; local in function:adw_timeout 917 struct scsipi_xfer *xs; local in function:adw_reset_bus 1026 struct scsipi_xfer *xs; local in function:adw_isr_callback [all...] |
aic79xx_osm.c | 60 static void ahd_setup_data(struct ahd_softc *ahd, struct scsipi_xfer *xs, 201 struct scsipi_xfer *xs; local in function:ahd_done 207 xs = scb->xs; 208 periph = xs->xs_periph; 210 callout_stop(&scb->xs->xs_callout); 212 if (xs->datalen) { 215 if (xs->xs_control & XS_CTL_DATA_IN) 238 struct scsipi_xfer *txs = list_scb->xs; 251 scsipi_printaddr(xs->xs_periph) 333 struct scsipi_xfer *xs; local in function:ahd_action 531 struct scsipi_xfer *xs; local in function:ahd_execute_scb [all...] |
adv.c | 315 if ((ccb->xs->xs_control & XS_CTL_POLL) == 0) 316 callout_reset(&ccb->xs->xs_callout, 524 struct scsipi_xfer *xs; local in function:adv_scsipi_request 533 xs = arg; 534 periph = xs->xs_periph; 535 flags = xs->xs_control; 553 ccb->xs = xs; 554 ccb->timeout = xs->timeout; 565 ccb->scsiq.cdbptr = &xs->cmd->opcode 781 struct scsipi_xfer *xs = ccb->xs; local in function:adv_timeout 822 struct scsipi_xfer *xs = ccb->xs; local in function:adv_watchdog 852 struct scsipi_xfer *xs; local in function:adv_narrow_isr_callback [all...] |
aha.c | 369 callout_stop(&ccb->xs->xs_callout); 641 if ((ccb->xs->xs_control & XS_CTL_POLL) == 0) 642 callout_reset(&ccb->xs->xs_callout, 662 struct scsipi_xfer *xs = ccb->xs; local in function:aha_done 664 SC_DEBUG(xs->xs_periph, SCSIPI_DB2, ("aha_done\n")); 670 if (xs->datalen) { 673 (xs->xs_control & XS_CTL_DATA_IN) ? BUS_DMASYNC_POSTREAD : 696 if (xs->error == XS_NOERROR) { 700 xs->error = XS_SELTIMEOUT 1129 struct scsipi_xfer *xs; local in function:aha_scsipi_request 1337 struct scsipi_xfer *xs = ccb->xs; local in function:aha_timeout [all...] |
/src/tests/dev/scsipi/libscsitest/ |
scsitest.c | 83 sense_notready(struct scsipi_xfer *xs) 85 struct scsi_sense_data *sense = &xs->sense.scsi_sense; 87 xs->error = XS_SENSE; 103 struct scsipi_xfer *xs = arg; local in function:scsitest_request 104 struct scsipi_generic *cmd = xs->cmd; 112 //show_scsipi_xs(xs); 117 sense_notready(xs); 121 struct scsipi_inquiry_data *inqbuf = (void *)xs->data; 132 struct scsipi_read_cd_cap_data *ret = (void *)xs->data; 140 struct scsipi_read_discinfo_data *ret = (void *)xs->data [all...] |
/src/sys/arch/sun3/dev/ |
si.c | 261 struct scsipi_xfer *xs = sr->sr_xs; local in function:si_dma_alloc 315 if (xs->xs_control & XS_CTL_DATA_OUT) 330 if (xs->bp && (xs->bp->b_flags & B_PHYS))
|
/src/lib/libm/src/ |
s_fma.c | 193 double xs, ys, zs, adj; local in function:fma 213 xs = frexp(x, &ex); 263 xy = dd_mul(xs, ys);
|
s_fmal.c | 178 long double xs, ys, zs, adj; local in function:fmal 198 xs = frexpl(x, &ex); 248 xy = dd_mul(xs, ys);
|
/src/sys/arch/usermode/dev/ |
vatapi.c | 268 struct scsipi_xfer *xs = arg; local in function:vatapi_scsipi_request 279 sc->sc_xs = xs; 304 struct scsipi_xfer *xs = sc->sc_xs; local in function:vatapi_complete 308 memcpy(kreq.cmd, xs->cmd, xs->cmdlen); 309 kreq.cmdlen = xs->cmdlen; 310 kreq.databuf = xs->data; /* in virt? */ 311 kreq.datalen = xs->datalen; 312 kreq.timeout = xs->timeout; 314 kreq.flags = (xs->xs_control & XS_CTL_DATA_IN) [all...] |
/src/bin/ksh/ |
path.c | 210 XString xs; local in function:get_phys_path 213 Xinit(xs, xp, strlen(pathx) + 1, ATEMP); 215 xp = do_phys_path(&xs, xp, pathx); 220 if (Xlength(xs, xp) == 0) 221 Xput(xs, xp, DIRSEP); 222 Xput(xs, xp, '\0'); 224 return Xclose(xs, xp);
|
/src/sys/arch/newsmips/dev/ |
sc_wrap.c | 185 struct scsipi_xfer *xs; local in function:sc_scsipi_request 194 xs = arg; 195 periph = xs->xs_periph; 197 flags = xs->xs_control; 201 scb->xs = xs; 218 if (sc_poll(sc, target, xs->timeout)) { 220 if (sc_poll(sc, target, xs->timeout)) { 270 struct scsipi_xfer *xs; local in function:sc_sched 282 xs = scb->xs 354 struct scsipi_xfer *xs = scb->xs; local in function:sc_done 454 struct scsipi_xfer *xs = scb->xs; local in function:cxd1185_timeout [all...] |
/src/sys/arch/acorn32/podulebus/ |
esc.c | 115 void esc_scsidone(struct esc_softc *dev, struct scsipi_xfer *xs, 269 struct scsipi_xfer *xs; local in function:esc_scsi_request 277 xs = arg; 278 periph = xs->xs_periph; 279 flags = xs->xs_control; 293 xs->error = XS_RESOURCE_SHORTAGE; 294 scsipi_done(xs); 298 pendp->xs = xs; 335 if (pendp->xs->xs_control & XS_CTL_RESET) [all...] |
/src/sys/arch/amiga/dev/ |
mntva.c | 81 static void mntva_bitblt(struct mntva_softc *sc, int xs, int ys, int xd, 367 mntva_bitblt(struct mntva_softc *sc, int xs, int ys, int xd, int yd, int wi, 374 mntva_reg_write(sc, MNTVA_BLITTERX3, (uint16_t) xs); 376 mntva_reg_write(sc, MNTVA_BLITTERX4, (uint16_t) xs + wi - 1); 440 int xs, xd, y, w, h; local in function:mntva_copycols 447 xs = ri->ri_xorigin + ri->ri_font->fontwidth * srccol; 452 mntva_bitblt(sc, xs, y, xd, y, w, h);
|
/src/sys/arch/pmax/ibus/ |
sii.c | 206 struct scsipi_xfer *xs; local in function:sii_scsi_request 217 xs = arg; 218 periph = xs->xs_periph; 223 xs->error = XS_RESOURCE_SHORTAGE; 224 scsipi_done(xs); 231 sc->sc_xs[target] = xs; 235 sc->sc_cmd[target]->buflen = xs->datalen; 236 sc->sc_cmd[target]->buf = xs->data; 237 sc->sc_cmd[target]->cmdlen = xs->cmdlen; 238 sc->sc_cmd[target]->cmd = (u_char *)xs->cmd [all...] |
/src/sys/dev/i2o/ |
iopsp.c | 385 struct scsipi_xfer *xs; local in function:iopsp_scsipi_request 399 xs = arg; 400 periph = xs->xs_periph; 401 flags = xs->xs_control; 408 xs->error = XS_SELTIMEOUT; 409 scsipi_done(xs); 418 xs->error = XS_DRIVER_STUFFUP; 420 xs->error = XS_NOERROR; 422 scsipi_done(xs); 427 if (xs->cmdlen > sizeof(mf->cdb) 533 struct scsipi_xfer *xs; local in function:iopsp_intr [all...] |
/src/sys/dev/usb/ |
umass_scsipi.c | 238 struct scsipi_xfer *xs; local in function:umass_scsipi_request 249 xs = arg; 250 periph = xs->xs_periph; 253 DPRINTFM(UDMASS_CMD, "sc %#jxp: %jd:%jd xs=%#jxp", 255 (uintptr_t)xs); 257 "poll=%jd)", xs->cmd->opcode, xs->datalen, 258 periph->periph_quirks, !!(xs->xs_control & XS_CTL_POLL)); 261 show_scsipi_xs(xs); 263 show_scsipi_cmd(xs); 423 struct scsipi_xfer *xs = priv; local in function:umass_scsipi_cb 497 struct scsipi_xfer *xs = priv; local in function:umass_scsipi_sense_cb [all...] |