Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
libata-transport.h File Reference

Go to the source code of this file.

Functions

int ata_tlink_add (struct ata_link *link)
 
void ata_tlink_delete (struct ata_link *link)
 
int ata_tport_add (struct device *parent, struct ata_port *ap)
 
void ata_tport_delete (struct ata_port *ap)
 
struct scsi_transport_templateata_attach_transport (void)
 
void ata_release_transport (struct scsi_transport_template *t)
 
__init int libata_transport_init (void)
 
void __exit libata_transport_exit (void)
 

Variables

struct scsi_transport_templateata_scsi_transport_template
 

Function Documentation

struct scsi_transport_template* ata_attach_transport ( void  )
read

ata_attach_transport – instantiate ATA transport template

Definition at line 681 of file libata-transport.c.

void ata_release_transport ( struct scsi_transport_template t)

ata_release_transport – release ATA transport template instance : transport template instance

Definition at line 741 of file libata-transport.c.

int ata_tlink_add ( struct ata_link link)

ata_tlink_add – initialize a transport ATA link structure allocated ata_link structure.

Initialize an ATA LINK structure for sysfs. It will be added in the device tree below the ATA PORT it belongs to.

Returns %0 on success

Definition at line 402 of file libata-transport.c.

void ata_tlink_delete ( struct ata_link link)

ata_tlink_delete – remove ATA LINK : ATA LINK to remove

Removes the specified ATA LINK. remove associated ATA device(s) as well.

Definition at line 378 of file libata-transport.c.

int ata_tport_add ( struct device parent,
struct ata_port ap 
)

ata_tport_add - initialize a transport ATA port structure

: parent device : existing ata_port structure

Initialize a ATA port structure for sysfs. It will be added to the device tree below the device specified by which could be a PCI device.

Returns %0 on success

Definition at line 276 of file libata-transport.c.

void ata_tport_delete ( struct ata_port ap)

ata_tport_delete – remove ATA PORT : ATA PORT to remove

Removes the specified ATA PORT. Remove the associated link as well.

Definition at line 254 of file libata-transport.c.

void __exit libata_transport_exit ( void  )

Definition at line 776 of file libata-transport.c.

__init int libata_transport_init ( void  )

Definition at line 752 of file libata-transport.c.

Variable Documentation

struct scsi_transport_template* ata_scsi_transport_template

Definition at line 45 of file libata-transport.c.