Home | History | Annotate | Download | only in dev

Lines Matching defs:periph

65 static void	vatapi_kill_pending(struct scsipi_periph *periph);
199 struct scsipi_periph *periph;
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) {
228 free(periph, M_DEVBUF);
238 sa.sa_periph = periph;
243 periph->periph_flags |= PERIPH_REMOVABLE;
250 periph->periph_quirks |= PQUIRK_ONLYBIG;
255 atapi_probe_device(atapi, target, periph, &sa);
256 /* atapi_probe_device() frees the periph when there is no device.*/
260 * Issue a request for a periph.
353 * Kill off all pending xfers for a periph.
358 vatapi_kill_pending(struct scsipi_periph *periph)
361 printf("%s: target %d\n", __func__, periph->periph_target);