Lines Matching refs:t
60 struct scsi_transport_template t; member
64 #define to_spi_internal(tmpl) container_of(tmpl, struct spi_internal, t)
1421 return &i->t.target_attrs.ac == cont; in spi_target_match()
1577 i->t.target_attrs.ac.class = &spi_transport_class.class; in spi_attach_transport()
1578 i->t.target_attrs.ac.grp = &target_attribute_group; in spi_attach_transport()
1579 i->t.target_attrs.ac.match = spi_target_match; in spi_attach_transport()
1580 transport_container_register(&i->t.target_attrs); in spi_attach_transport()
1581 i->t.target_size = sizeof(struct spi_transport_attrs); in spi_attach_transport()
1582 i->t.host_attrs.ac.class = &spi_host_class.class; in spi_attach_transport()
1583 i->t.host_attrs.ac.grp = &host_attribute_group; in spi_attach_transport()
1584 i->t.host_attrs.ac.match = spi_host_match; in spi_attach_transport()
1585 transport_container_register(&i->t.host_attrs); in spi_attach_transport()
1586 i->t.host_size = sizeof(struct spi_host_attrs); in spi_attach_transport()
1589 return &i->t; in spi_attach_transport()
1593 void spi_release_transport(struct scsi_transport_template *t) in spi_release_transport() argument
1595 struct spi_internal *i = to_spi_internal(t); in spi_release_transport()
1597 transport_container_unregister(&i->t.target_attrs); in spi_release_transport()
1598 transport_container_unregister(&i->t.host_attrs); in spi_release_transport()