/* The functions by which the transport class and the driver communicate */ struct spi_function_template { void (*get_period)(struct scsi_target *); void (*set_period)(struct scsi_target *, int); void (*get_offset)(struct scsi_target *); void (*set_offset)(struct scsi_target *, int); void (*get_width)(struct scsi_target *); void (*set_width)(struct scsi_target *, int); void (*get_iu)(struct scsi_target *); void (*set_iu)(struct scsi_target *, int); void (*get_dt)(struct scsi_target *); void (*set_dt)(struct scsi_target *, int); void (*get_qas)(struct scsi_target *); void (*set_qas)(struct scsi_target *, int); void (*get_wr_flow)(struct scsi_target *); void (*set_wr_flow)(struct scsi_target *, int); void (*get_rd_strm)(struct scsi_target *); void (*set_rd_strm)(struct scsi_target *, int); void (*get_rti)(struct scsi_target *); void (*set_rti)(struct scsi_target *, int); void (*get_pcomp_en)(struct scsi_target *); void (*set_pcomp_en)(struct scsi_target *, int); void (*get_hold_mcs)(struct scsi_target *); void (*set_hold_mcs)(struct scsi_target *, int); void (*get_signalling)(struct Scsi_Host *); void (*set_signalling)(struct Scsi_Host *, enum spi_signal_type); int (*deny_binding)(struct scsi_target *); /* The driver sets these to tell the transport class it * wants the attributes displayed in sysfs. If the show_ flag * is not set, the attribute will be private to the transport
* class */ unsignedlong show_period:1; unsignedlong show_offset:1; unsignedlong show_width:1; unsignedlong show_iu:1; unsignedlong show_dt:1; unsignedlong show_qas:1; unsignedlong show_wr_flow:1; unsignedlong show_rd_strm:1; unsignedlong show_rti:1; unsignedlong show_pcomp_en:1; unsignedlong show_hold_mcs:1;
};
struct scsi_transport_template *spi_attach_transport(struct spi_function_template *); void spi_release_transport(struct scsi_transport_template *); void spi_schedule_dv_device(struct scsi_device *); void spi_dv_device(struct scsi_device *); void spi_display_xfer_agreement(struct scsi_target *); int spi_print_msg(constunsignedchar *); int spi_populate_width_msg(unsignedchar *msg, int width); int spi_populate_sync_msg(unsignedchar *msg, int period, int offset); int spi_populate_ppr_msg(unsignedchar *msg, int period, int offset, int width, int options); int spi_populate_tag_msg(unsignedchar *msg, struct scsi_cmnd *cmd);
#endif/* SCSI_TRANSPORT_SPI_H */
Messung V0.5
¤ Dauer der Verarbeitung: 0.12 Sekunden
(vorverarbeitet)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.