Home
last modified time | relevance | path

Searched refs:sc_periph (Results 1 – 19 of 19) sorted by relevance

/netbsd/sys/dev/scsipi/
H A Dst.c390 st->sc_periph = periph; in stattach()
456 scsipi_kill_pending(st->sc_periph); in stdetach()
552 periph = st->sc_periph; in stopen()
768 SC_DEBUG(st->sc_periph, SCSIPI_DB3, in stclose()
857 periph = st->sc_periph; in st_mount_tape()
1006 SC_DEBUG(st->sc_periph, SCSIPI_DB3, in st_decide_mode()
1021 SC_DEBUG(st->sc_periph, SCSIPI_DB3, in st_decide_mode()
1037 SC_DEBUG(st->sc_periph, SCSIPI_DB3, in st_decide_mode()
1055 SC_DEBUG(st->sc_periph, SCSIPI_DB3, in st_decide_mode()
1065 SC_DEBUG(st->sc_periph, SCSIPI_DB3, in st_decide_mode()
[all …]
H A Dsd.c296 sd->sc_periph = periph; in sdattach()
374 struct scsipi_periph *periph = sd->sc_periph; in sddetach()
529 periph = sd->sc_periph; in sdopen()
624 SC_DEBUG(sd->sc_periph, SCSIPI_DB1, in sdstrategy()
883 ((sd->sc_periph->periph_flags & in sdminphys()
1193 periph = sd->sc_periph; in sddump()
1214 periph = sd->sc_periph; in sd_dumpblocks()
1491 error = scsipi_command(sd->sc_periph, in sd_get_capacity()
1616 SC_DEBUG(sd->sc_periph, SCSIPI_DB3, in sd_get_parms_page4()
1701 SC_DEBUG(sd->sc_periph, SCSIPI_DB3, in sd_get_parms_page5()
[all …]
H A Duk.c56 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()
H A Dif_se.c345 sc->sc_periph = periph; in seattach()
651 error = se_scsipi_cmd(sc->sc_periph, in se_recv()
816 error = se_scsipi_cmd(sc->sc_periph, in se_add_proto()
831 error = se_scsipi_cmd(sc->sc_periph, in se_get_addr()
849 error = se_scsipi_cmd(sc->sc_periph, in se_set_media()
864 error = se_scsipi_cmd(sc->sc_periph, in se_set_mode()
891 error = se_scsipi_cmd(sc->sc_periph, in se_init()
949 error = se_scsipi_cmd(sc->sc_periph, in se_set_multi()
967 error = se_scsipi_cmd(sc->sc_periph, in se_remove_multi()
1032 scsipi_kill_pending(sc->sc_periph); in se_stop()
[all …]
H A Dss.c170 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()
H A Dif_dse.c372 sc->sc_periph = periph; in dseattach()
376 sc_periph->sc_link_dbflags = SCSIPI_DB1; in dseattach()
581 error = dse_scsipi_cmd(sc->sc_periph, in dse_send_worker()
698 error = dse_scsipi_cmd(sc->sc_periph, in dse_recv()
954 error = dse_scsipi_cmd(sc->sc_periph, in dse_init_adaptor()
981 error = dse_scsipi_cmd(sc->sc_periph, in dse_get_addr()
1084 error = dse_scsipi_cmd(sc->sc_periph, in dse_set_multi()
1109 scsipi_kill_pending(sc->sc_periph); in dse_stop()
1302 struct scsipi_periph *periph = sc->sc_periph; in dse_enable()
1323 struct scsipi_periph *periph = sc->sc_periph; in dse_disable()
[all …]
H A Dcd.c312 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()
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()
717 SC_DEBUG(cd->sc_periph, SCSIPI_DB1, in cdstrategy()
1608 error = read_cd_capacity(cd->sc_periph, in cd_size()
1620 SC_DEBUG(cd->sc_periph, SCSIPI_DB2, in cd_size()
1754 return (scsipi_command(cd->sc_periph, in cd_read_subchannel()
[all …]
H A Dch.c65 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()
1177 error = scsipi_mode_sense(sc->sc_periph, SMS_DBD, 0x1d, in ch_get_params()
1203 error = scsipi_mode_sense(sc->sc_periph, SMS_DBD, 0x1f, in ch_get_params()
1229 sc->sc_periph->periph_flags |= PERIPH_MEDIA_LOADED; in ch_get_params()
[all …]
H A Dst_scsi.c147 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()
H A Dss_scanjet.c91 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()
H A Dss_mustek.c252 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()
H A Dcdvar.h38 struct scsipi_periph *sc_periph; member
H A Dsdvar.h84 struct scsipi_periph *sc_periph;/* contains our targ, lun, etc. */ member
H A Dssvar.h68 struct scsipi_periph *sc_periph; /* contains our targ, lun, etc. */ member
H A Dstvar.h116 struct scsipi_periph *sc_periph;/* our link to the adpter etc. */ member
H A Dses.c166 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()
H A Dst_atapi.c141 struct scsipi_periph *periph = st->sc_periph; in st_atapibus_mode_sense()
/netbsd/sys/arch/dreamcast/dev/g1/
H A Dgdrom.c79 struct scsipi_periph *sc_periph; member
194 cond = scsipi_command(sc->sc_periph, req, 12, buf, nbyt,
214 scsipi_command(sc->sc_periph, (void *)cmd, sizeof(cmd),
252 return scsipi_command(sc->sc_periph, (void *)cmd, 12, in gdrom_read_toc()
290 cond = scsipi_command(sc->sc_periph, (void *)cmd, 12, in gdrom_read_sectors()
319 cond = scsipi_command(sc->sc_periph, (void *)cmd, 12, NULL, 0, in gdrom_mount_disk()
355 sc->sc_periph = periph; in gdromattach()
444 periph = sc->sc_periph; in gdromstrategy()
/netbsd/sys/arch/arm/xscale/
H A Dpxa2x0_dmac.c183 } 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()
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()
1268 --sc->sc_periph[dxs->dxs_peripheral].sp_busy != 0) { in dmac_channel_intr()
1276 &sc->sc_periph[dxs->dxs_peripheral].sp_queue); in dmac_channel_intr()
[all …]