/src/sys/arch/news68k/news68k/ |
autoconf.c | 145 struct scsipi_periph *periph; local in function:findroot 147 periph = scsipi_lookup_periph(sdv->sc_channel, ctlr, 0); 148 if (periph != NULL) { 149 booted_device = periph->periph_dev;
|
/src/sys/dev/scsipi/ |
atapi_base.c | 60 struct scsipi_periph *periph = xs->xs_periph; local in function:atapi_interpret_sense 69 if (periph->periph_switch->psw_error != NULL) { 70 SC_DEBUG(periph, SCSIPI_DB2, 72 error = (*periph->periph_switch->psw_error)(xs); 94 if ((periph->periph_flags & PERIPH_REMOVABLE) != 0) 95 periph->periph_flags &= ~PERIPH_MEDIA_LOADED; 121 if ((periph->periph_flags & PERIPH_REMOVABLE) != 0) 122 periph->periph_flags &= ~PERIPH_MEDIA_LOADED; 126 (periph->periph_flags & PERIPH_REMOVABLE) == 0) 170 scsipi_printaddr(periph); 212 struct scsipi_periph *periph = xs->xs_periph; local in function:atapi_scsipi_cmd [all...] |
st_atapi.c | 86 struct scsipi_periph *periph = sa->sa_periph; local in function:st_atapibus_attach 92 error = scsipi_mode_sense(periph, SMS_DBD, 102 error = scsipi_mode_select(periph, SMS_PF, 141 struct scsipi_periph *periph = st->sc_periph; local in function:st_atapibus_mode_sense 145 error = scsipi_mode_sense(periph, SMS_DBD, 166 SC_DEBUG(periph, SCSIPI_DB3, 170 SC_DEBUG(periph, SCSIPI_DB3, 174 periph->periph_flags |= PERIPH_MEDIA_LOADED;
|
uk.c | 108 struct scsipi_periph *periph = sa->sa_periph; local in function:ukattach 110 SC_DEBUG(periph, SCSIPI_DB2, ("ukattach: ")); 114 uk->sc_periph = periph; 115 periph->periph_dev = uk->sc_dev; 144 struct scsipi_periph *periph; local in function:ukopen 152 periph = uk->sc_periph; 153 adapt = periph->periph_channel->chan_adapter; 155 SC_DEBUG(periph, SCSIPI_DB1, 160 if (periph->periph_flags & PERIPH_OPEN) { 167 periph->periph_flags |= PERIPH_OPEN 177 struct scsipi_periph *periph = uk->sc_periph; local in function:ukclose [all...] |
atapiconf.c | 132 struct scsipi_periph *periph = sa->sa_periph; local in function:atapibussubmatch 135 cf->cf_loc[ATAPIBUSCF_DRIVE] != periph->periph_target) 181 struct scsipi_periph *periph; local in function:atapibuschilddet 186 periph = scsipi_lookup_periph_locked(chan, target, 0); 187 if (periph == NULL || periph->periph_dev != child) 189 scsipi_remove_periph(chan, periph); 190 scsipi_free_periph(periph); 261 struct scsipi_periph *periph, struct scsipibus_attach_args *sa) 282 periph->periph_quirks |= quirks [all...] |
scsi_base.c | 56 scsi_change_def(struct scsipi_periph *periph, int flags) 64 return (scsipi_command(periph, (void *)&cmd, sizeof(cmd), 0, 0, 77 struct scsipi_periph *periph = xs->xs_periph; local in function:scsi_scsipi_cmd 79 SC_DEBUG(periph, SCSIPI_DB2, ("scsi_scsipi_cmd\n")); 85 if (periph->periph_version <= 2) 87 ((periph->periph_lun << SCSI_CMD_LUN_SHIFT) & 96 * Print out the periph's address info. 99 scsi_print_addr(struct scsipi_periph *periph) 101 struct scsipi_channel *chan = periph->periph_channel; 104 printf("%s(%s:%d:%d:%d): ", periph->periph_dev != NULL 198 struct scsipi_periph *periph; local in function:scsi_async_event_xfer_mode 249 struct scsipi_periph *periph; local in function:scsi_fc_sas_async_event_xfer_mode [all...] |
scsipi_ioctl.c | 135 struct scsipi_periph *periph = xs->xs_periph; local in function:scsipi_user_done 140 scsipi_printaddr(periph); 148 scsipi_printaddr(periph); 162 SC_DEBUG(periph, SCSIPI_DB3, ("no error\n")); 168 SC_DEBUG(periph, SCSIPI_DB3, ("have sense\n")); 176 SC_DEBUG(periph, SCSIPI_DB3, ("have short sense\n")); 184 scsipi_printaddr(periph); 189 SC_DEBUG(periph, SCSIPI_DB3, ("seltimeout\n")); 193 SC_DEBUG(periph, SCSIPI_DB3, ("timeout\n")); 197 SC_DEBUG(periph, SCSIPI_DB3, ("busy\n")) 236 struct scsipi_periph *periph; local in function:scsistrategy [all...] |
scsipiconf.c | 91 scsipi_command(struct scsipi_periph *periph, struct scsipi_generic *cmd, 101 xs = scsipi_make_xs_unlocked(periph, cmd, cmdlen, data_addr, datalen, retries, 106 mutex_enter(chan_mtx(periph->periph_channel)); 108 mutex_exit(chan_mtx(periph->periph_channel)); 129 struct scsipi_periph *periph; local in function:scsipi_alloc_periph 132 periph = malloc(sizeof(*periph), M_DEVBUF, malloc_flag|M_ZERO); 133 if (periph == NULL) 136 periph->periph_dev = NULL; 137 periph->periph_opcs = NULL [all...] |
ss_scanjet.c | 255 struct scsipi_periph *periph = ss->sc_periph; local in function:scanjet_read 269 xs = scsipi_make_xs_locked(periph, 279 callout_reset(&ss->sc_callout, hz / 2, ssrestart, periph);
|
st_scsi.c | 147 struct scsipi_periph *periph = st->sc_periph; local in function:st_scsibus_read_block_limits 155 error = scsipi_command(periph, (void *)&cmd, sizeof(cmd), 164 SC_DEBUG(periph, SCSIPI_DB3, 189 struct scsipi_periph *periph = st->sc_periph; local in function:st_scsibus_mode_sense 214 SC_DEBUG(periph, SCSIPI_DB3, 218 SC_DEBUG(periph, SCSIPI_DB3, 224 periph->periph_flags |= PERIPH_MEDIA_LOADED; 241 struct scsipi_periph *periph = st->sc_periph; local in function:st_scsibus_cmprss 252 error = scsipi_mode_sense(periph, byte2, page, 324 error = scsipi_mode_select(periph, SMS_PF, &scsi_pdata.header [all...] |
ss.c | 162 struct scsipi_periph *periph = sa->sa_periph; local in function:ssattach 164 SC_DEBUG(periph, SCSIPI_DB2, ("ssattach: ")); 170 ss->sc_periph = periph; 171 periph->periph_dev = ss->sc_dev; 172 periph->periph_switch = &ss_switch; 185 SC_DEBUG(periph, SCSIPI_DB2, ("ssattach:\n")); 202 struct scsipi_periph *periph = ss->sc_periph; local in function:ssdetach 203 struct scsipi_channel *chan = periph->periph_channel; 218 scsipi_kill_pending(periph); 239 struct scsipi_periph *periph; local in function:ssopen 307 struct scsipi_periph *periph = ss->sc_periph; local in function:ssclose 342 struct scsipi_periph *periph = ss->sc_periph; local in function:ssminphys 392 struct scsipi_periph *periph = ss->sc_periph; local in function:ssstrategy 492 struct scsipi_periph *periph = v; local in function:ssrestart [all...] |
ss_mustek.c | 103 struct scsipi_periph *periph = sa->sa_periph; local in function:mustek_attach 106 SC_DEBUG(periph, SCSIPI_DB1, ("mustek_attach: start\n")); 123 SC_DEBUG(periph, SCSIPI_DB1, ("mustek_attach: scanner_type = %d\n", 252 struct scsipi_periph *periph = ss->sc_periph; local in function:mustek_minphys 255 SC_DEBUG(periph, SCSIPI_DB1, ("mustek_minphys: before: %d\n", 259 SC_DEBUG(periph, SCSIPI_DB1, ("mustek_minphys: after: %d\n", 276 struct scsipi_periph *periph = ss->sc_periph; local in function:mustek_trigger_scanner 282 SC_DEBUG(periph, SCSIPI_DB1, ("mustek_trigger_scanner\n")); 316 SC_DEBUG(periph, SCSIPI_DB1, ("mustek_set_parms: set_window\n")); 317 error = scsipi_command(periph, (void *)&window_cmd, sizeof(window_cmd) 418 struct scsipi_periph *periph = ss->sc_periph; local in function:mustek_rewind_scanner 452 struct scsipi_periph *periph = ss->sc_periph; local in function:mustek_read 517 struct scsipi_periph *periph = ss->sc_periph; local in function:mustek_get_status [all...] |
/src/sys/arch/mac68k/mac68k/ |
autoconf.c | 166 struct scsipi_periph *periph; local in function:target_to_unit 180 periph = scsipi_lookup_periph(scsi->sc_channel, 182 if (!periph) 184 return device_unit(periph->periph_dev); 196 periph = scsipi_lookup_periph(scsi->sc_channel, 198 if (!periph) 200 return device_unit(periph->periph_dev);
|
/src/sys/arch/newsmips/newsmips/ |
autoconf.c | 148 struct scsipi_periph *periph; local in function:findroot 150 periph = scsipi_lookup_periph(sdv->sc_channel, ctlr, 0); 151 if (periph != NULL) { 152 booted_device = periph->periph_dev;
|
/src/sys/arch/alpha/pci/ |
pci_bootdev.c | 118 struct scsipi_periph *periph = sa->sa_periph; local in function:pci_find_bootdev 125 unit = periph->periph_target * 100 + periph->periph_lun; 127 b->channel != periph->periph_channel->chan_channel) {
|
/src/sys/arch/x68k/x68k/ |
autoconf.c | 176 struct scsipi_periph *periph; local in function:scsi_find 213 periph = scsipi_lookup_periph(sbsc->sc_channel, 216 return periph ? periph->periph_dev : NULL;
|
/src/sys/dev/ic/ |
icpsp.c | 134 struct scsipi_periph *periph; local in function:icpsp_scsipi_request 147 periph = xs->xs_periph; 150 SC_DEBUG(periph, SCSIPI_DB2, ("icpsp_scsi_request run_xfer\n")); 192 rc->rc_target = periph->periph_target; 193 rc->rc_lun = periph->periph_lun;
|
uha.c | 401 struct scsipi_periph *periph; local in function:uha_scsipi_request 411 periph = xs->xs_periph; 414 SC_DEBUG(periph, SCSIPI_DB2, ("uha_scsipi_request\n")); 424 scsipi_printaddr(periph); 455 mscp->target = periph->periph_target; 456 mscp->lun = periph->periph_lun; 578 struct scsipi_periph *periph = xs->xs_periph; local in function:uha_timeout 580 device_private(periph->periph_channel->chan_adapter->adapt_dev); 583 scsipi_printaddr(periph);
|
/src/sys/arch/sun3/sun3/ |
autoconf.c | 256 struct scsipi_periph *periph; local in function:scsi_find 269 periph = scsipi_lookup_periph(sbsc->sc_channel, target, lun); 270 if (periph == NULL) 273 return periph->periph_dev;
|
/src/sys/arch/sun68k/sun68k/ |
autoconf.c | 388 struct scsipi_periph *periph; local in function:scsi_find 400 periph = scsipi_lookup_periph(sbsc->sc_channel, target, lun); 401 if (periph == NULL) 404 return periph->periph_dev;
|
/src/sys/arch/usermode/dev/ |
vatapi.c | 65 static void vatapi_kill_pending(struct scsipi_periph *periph); 199 struct scsipi_periph *periph; local in function:vatapi_probe_device 211 /* allocate and set up periph structure */ 212 periph = scsipi_alloc_periph(M_NOWAIT); 213 if (periph == NULL) { 218 periph->periph_channel = chan; 219 periph->periph_switch = &atapi_probe_periphsw; 220 periph->periph_target = target; 221 periph->periph_quirks = chan->chan_defquirks; 226 if (scsipi_inquire(periph, &inqbuf, XS_CTL_DISCOVERY) != 0) [all...] |
/src/sys/external/gpl2/dts/dist/arch/arm/boot/dts/ |
meson.dtsi | 193 periph: bus@c4300000 { label
|
/src/sys/arch/newsmips/dev/ |
sc_wrap.c | 186 struct scsipi_periph *periph; local in function:sc_scsipi_request 195 periph = xs->xs_periph; 217 target = periph->periph_target; 271 struct scsipi_periph *periph; local in function:sc_sched 283 periph = xs->xs_periph; 284 chan = periph->periph_target; 296 lun = periph->periph_lun; 355 struct scsipi_periph *periph = xs->xs_periph; local in function:sc_done 358 sc = device_private(periph->periph_channel->chan_adapter->adapt_dev); 391 sc->inuse[periph->periph_target] = 0 455 struct scsipi_periph *periph = xs->xs_periph; local in function:cxd1185_timeout [all...] |
/src/sys/arch/acorn32/podulebus/ |
esc.c | 271 struct scsipi_periph *periph; local in function:esc_scsi_request 278 periph = xs->xs_periph; 280 target = periph->periph_target;
|
/src/sys/arch/dreamcast/dev/g1/ |
gdrom.c | 349 struct scsipi_periph *periph; local in function:gdromattach 353 periph = sa->sa_periph; 355 sc->sc_periph = periph; 356 periph->periph_dev = sc->sc_dev; 357 periph->periph_switch = &gdrom_switch; 437 struct scsipi_periph *periph; local in function:gdromstrategy 444 periph = sc->sc_periph; 459 gdrom_start(periph); 468 gdrom_start(struct scsipi_periph *periph) 470 struct gdrom_softc *sc = device_private(periph->periph_dev) [all...] |