/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;
|
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...] |
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;
|
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...] |
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...] |
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...] |
/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);
|
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;
|
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) {
|
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;
|
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;
|