Lines Matching defs:periph
55 scsi_change_def(struct scsipi_periph *periph, int flags)
63 return (scsipi_command(periph, (void *)&cmd, sizeof(cmd), 0, 0,
76 struct scsipi_periph *periph = xs->xs_periph;
78 SC_DEBUG(periph, SCSIPI_DB2, ("scsi_scsipi_cmd\n"));
84 if (periph->periph_version <= 2)
86 ((periph->periph_lun << SCSI_CMD_LUN_SHIFT) &
95 * Print out the periph's address info.
98 scsi_print_addr(struct scsipi_periph *periph)
100 struct scsipi_channel *chan = periph->periph_channel;
103 printf("%s(%s:%d:%d:%d): ", periph->periph_dev != NULL ?
104 device_xname(periph->periph_dev) : "probe",
106 chan->chan_channel, periph->periph_target,
107 periph->periph_lun);
111 * Kill off all pending xfers for a periph.
116 scsi_kill_pending(struct scsipi_periph *periph)