| /netbsd/src/sys/dev/scsipi/ |
| D | st.c | 390 st->sc_periph = periph; in stattach() 438 struct scsipi_periph *periph = st->sc_periph; in stdetach() 456 scsipi_kill_pending(st->sc_periph); in stdetach() 552 periph = st->sc_periph; in stopen() 732 struct scsipi_periph *periph = st->sc_periph; in stclose() 735 SC_DEBUG(st->sc_periph, SCSIPI_DB1, ("closing\n")); in stclose() 763 SC_DEBUG(st->sc_periph, SCSIPI_DB3, in stclose() 768 SC_DEBUG(st->sc_periph, SCSIPI_DB3, in stclose() 815 … SC_DEBUG(st->sc_periph, SCSIPI_DB3, ("st_space(-1) error=%d\n", error)); in stclose() 817 …SC_DEBUG(st->sc_periph, SCSIPI_DB3, ("no backspacing - flags = 0x%x, stxx=0x%x, st->flags=0x%x\n",… in stclose() [all …]
|
| D | uk.c | 56 struct scsipi_periph *sc_periph; /* all the inter level info */ member 114 uk->sc_periph = periph; in ukattach() 152 periph = uk->sc_periph; in ukopen() 177 struct scsipi_periph *periph = uk->sc_periph; in ukclose() 180 SC_DEBUG(uk->sc_periph, SCSIPI_DB1, ("closing\n")); in ukclose() 199 return scsipi_do_ioctl(uk->sc_periph, dev, cmd, addr, flag, l); in ukioctl()
|
| D | sd.c | 304 sd->sc_periph = periph; in sdattach() 391 struct scsipi_periph *periph = sd->sc_periph; in sddetach() 445 struct scsipi_periph *periph = sd->sc_periph; in sd_firstopen() 547 periph = sd->sc_periph; in sdopen() 579 struct scsipi_periph *periph = sd->sc_periph; in sd_lastclose() 639 struct scsipi_periph *periph = sd->sc_periph; in sdstrategy() 641 SC_DEBUG(sd->sc_periph, SCSIPI_DB2, ("sdstrategy ")); in sdstrategy() 642 SC_DEBUG(sd->sc_periph, SCSIPI_DB1, in sdstrategy() 672 struct scsipi_periph *periph = sd->sc_periph; in sd_diskstart() 901 ((sd->sc_periph->periph_flags & in sdminphys() [all …]
|
| D | if_se.c | 177 struct scsipi_periph *sc_periph;/* contains our targ, lun, etc. */ member 344 sc->sc_periph = periph; in seattach() 539 error = se_scsipi_cmd(sc->sc_periph, in se_send_worker() 650 error = se_scsipi_cmd(sc->sc_periph, in se_recv() 794 se_scsipi_cmd(sc->sc_periph, 0, 0, 0, 0, SERETRIES, 2000, NULL, 815 error = se_scsipi_cmd(sc->sc_periph, in se_add_proto() 830 error = se_scsipi_cmd(sc->sc_periph, in se_get_addr() 848 error = se_scsipi_cmd(sc->sc_periph, in se_set_media() 863 error = se_scsipi_cmd(sc->sc_periph, in se_set_mode() 890 error = se_scsipi_cmd(sc->sc_periph, in se_init() [all …]
|
| D | ss.c | 170 ss->sc_periph = periph; in ssattach() 202 struct scsipi_periph *periph = ss->sc_periph; in ssdetach() 252 periph = ss->sc_periph; in ssopen() 307 struct scsipi_periph *periph = ss->sc_periph; in ssclose() 311 SC_DEBUG(ss->sc_periph, SCSIPI_DB1, ("closing\n")); in ssclose() 342 struct scsipi_periph *periph = ss->sc_periph; in ssminphys() 392 struct scsipi_periph *periph = ss->sc_periph; in ssstrategy() 395 SC_DEBUG(ss->sc_periph, SCSIPI_DB1, in ssstrategy() 567 return scsipi_do_ioctl(ss->sc_periph, dev, cmd, addr, flag, l); in ssioctl()
|
| D | if_dse.c | 180 struct scsipi_periph *sc_periph;/* contains our targ, lun, etc. */ member 369 sc->sc_periph = periph; in dseattach() 373 sc_periph->sc_link_dbflags = SCSIPI_DB1; in dseattach() 578 error = dse_scsipi_cmd(sc->sc_periph, in dse_send_worker() 694 error = dse_scsipi_cmd(sc->sc_periph, in dse_recv() 923 error = dse_scsipi_cmd(sc->sc_periph, 0, 0, 0, 0, DSE_RETRIES, 2000, in dse_reset() 944 error = dse_scsipi_cmd(sc->sc_periph, 0, 0, 0, 0, DSE_RETRIES, in dse_init_adaptor() 950 error = dse_scsipi_cmd(sc->sc_periph, in dse_init_adaptor() 977 error = dse_scsipi_cmd(sc->sc_periph, in dse_get_addr() 1080 error = dse_scsipi_cmd(sc->sc_periph, in dse_set_multi() [all …]
|
| D | cd.c | 312 cd->sc_periph = periph; in cdattach() 338 struct scsipi_periph *periph = cd->sc_periph; in cddetach() 363 scsipi_kill_pending(cd->sc_periph); in cddetach() 388 struct scsipi_periph *periph = cd->sc_periph; in cd_firstopen() 493 periph = cd->sc_periph; in cdopen() 524 struct scsipi_periph *periph = cd->sc_periph; in cd_lastclose() 713 struct scsipi_periph *periph = cd->sc_periph; in cdstrategy() 716 SC_DEBUG(cd->sc_periph, SCSIPI_DB2, ("cdstrategy ")); in cdstrategy() 717 SC_DEBUG(cd->sc_periph, SCSIPI_DB1, in cdstrategy() 767 struct scsipi_periph *periph = cd->sc_periph; in cd_diskstart() [all …]
|
| D | ch.c | 65 struct scsipi_periph *sc_periph;/* our periph data */ member 211 sc->sc_periph = periph; in chattach() 276 periph = sc->sc_periph; in chopen() 320 struct scsipi_periph *periph = sc->sc_periph; in chclose() 417 sc->sc_periph->periph_flags |= PERIPH_MEDIA_LOADED; in chioctl() 444 error = scsipi_do_ioctl(sc->sc_periph, dev, cmd, data, in chioctl() 558 sc->sc_periph->periph_flags &= ~PERIPH_MEDIA_LOADED; in ch_interpret_sense() 622 return (scsipi_command(sc->sc_periph, (void *)&cmd, sizeof(cmd), 0, 0, in ch_move() 676 return (scsipi_command(sc->sc_periph, (void *)&cmd, sizeof(cmd), 0, 0, in ch_exchange() 712 return (scsipi_command(sc->sc_periph, (void *)&cmd, sizeof(cmd), 0, 0, in ch_position() [all …]
|
| D | st_scsi.c | 147 struct scsipi_periph *periph = st->sc_periph; in st_scsibus_read_block_limits() 189 struct scsipi_periph *periph = st->sc_periph; in st_scsibus_mode_sense() 201 error = scsipi_mode_sense(st->sc_periph, 0, SMS_PCTRL_CURRENT, in st_scsibus_mode_sense() 241 struct scsipi_periph *periph = st->sc_periph; in st_scsibus_cmprss()
|
| D | ss_scanjet.c | 91 SC_DEBUG(ss->sc_periph, SCSIPI_DB1, ("scanjet_attach: start\n")); in scanjet_attach() 117 SC_DEBUG(ss->sc_periph, SCSIPI_DB1, in scanjet_attach() 255 struct scsipi_periph *periph = ss->sc_periph; in scanjet_read() 315 return scsipi_command(ss->sc_periph, in scanjet_ctl_write() 336 return scsipi_command(ss->sc_periph, in scanjet_ctl_read()
|
| D | ss_mustek.c | 252 struct scsipi_periph *periph = ss->sc_periph; in mustek_minphys() 276 struct scsipi_periph *periph = ss->sc_periph; in mustek_trigger_scanner() 418 struct scsipi_periph *periph = ss->sc_periph; in mustek_rewind_scanner() 452 struct scsipi_periph *periph = ss->sc_periph; in mustek_read() 517 struct scsipi_periph *periph = ss->sc_periph; in mustek_get_status()
|
| D | cdvar.h | 38 struct scsipi_periph *sc_periph; member
|
| D | sdvar.h | 88 struct scsipi_periph *sc_periph;/* contains our targ, lun, etc. */ member
|
| D | ssvar.h | 68 struct scsipi_periph *sc_periph; /* contains our targ, lun, etc. */ member
|
| D | stvar.h | 116 struct scsipi_periph *sc_periph;/* our link to the adpter etc. */ member
|
| D | ses.c | 166 struct scsipi_periph *sc_periph; member 236 softc->sc_periph = periph; in ses_attach() 328 softc->sc_periph->periph_channel->chan_adapter); in sesopen() 358 scsipi_wait_drain(softc->sc_periph); in sesclose() 359 scsipi_adapter_delref(softc->sc_periph->periph_channel->chan_adapter); in sesclose() 380 SC_DEBUG(ssc->sc_periph, SCSIPI_DB2, ("sesioctl 0x%lx ", cmd)); in sesioctl() 495 error = scsipi_do_ioctl(ssc->sc_periph, in sesioctl() 527 error = scsipi_command(ssc->sc_periph, &sgen, cdbl, in ses_runcmd()
|
| D | st_atapi.c | 141 struct scsipi_periph *periph = st->sc_periph; in st_atapibus_mode_sense()
|
| /netbsd/src/sys/arch/arm/xscale/ |
| D | pxa2x0_dmac.c | 183 } sc_periph[DMAC_N_PERIPH]; member 338 sc->sc_periph[i].sp_busy = 0; in pxadmac_attach() 339 SIMPLEQ_INIT(&sc->sc_periph[i].sp_queue); in pxadmac_attach() 881 sc->sc_periph[dxs->dxs_peripheral].sp_busy == 0) { in pxa2x0_dmac_start_xfer() 885 sc->sc_periph[dxs->dxs_peripheral].sp_busy++; in pxa2x0_dmac_start_xfer() 888 dxs->dxs_queue = &sc->sc_periph[dxs->dxs_peripheral].sp_queue; in pxa2x0_dmac_start_xfer() 890 sc->sc_periph[dxs->dxs_peripheral].sp_busy++; in pxa2x0_dmac_start_xfer() 963 sc->sc_periph[dxs->dxs_peripheral].sp_busy-- == 1 || in pxa2x0_dmac_abort_xfer() 964 queue == &sc->sc_periph[dxs->dxs_peripheral].sp_queue) in pxa2x0_dmac_abort_xfer() 972 ndxs = SIMPLEQ_FIRST(&sc->sc_periph[dxs->dxs_peripheral].sp_queue); in pxa2x0_dmac_abort_xfer() [all …]
|