Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ata_port_operations Struct Reference

#include <libata.h>

Data Fields

int(* qc_defer )(struct ata_queued_cmd *qc)
 
int(* check_atapi_dma )(struct ata_queued_cmd *qc)
 
void(* qc_prep )(struct ata_queued_cmd *qc)
 
unsigned int(* qc_issue )(struct ata_queued_cmd *qc)
 
bool(* qc_fill_rtf )(struct ata_queued_cmd *qc)
 
int(* cable_detect )(struct ata_port *ap)
 
unsigned long(* mode_filter )(struct ata_device *dev, unsigned long xfer_mask)
 
void(* set_piomode )(struct ata_port *ap, struct ata_device *dev)
 
void(* set_dmamode )(struct ata_port *ap, struct ata_device *dev)
 
int(* set_mode )(struct ata_link *link, struct ata_device **r_failed_dev)
 
unsigned int(* read_id )(struct ata_device *dev, struct ata_taskfile *tf, u16 *id)
 
void(* dev_config )(struct ata_device *dev)
 
void(* freeze )(struct ata_port *ap)
 
void(* thaw )(struct ata_port *ap)
 
ata_prereset_fn_t prereset
 
ata_reset_fn_t softreset
 
ata_reset_fn_t hardreset
 
ata_postreset_fn_t postreset
 
ata_prereset_fn_t pmp_prereset
 
ata_reset_fn_t pmp_softreset
 
ata_reset_fn_t pmp_hardreset
 
ata_postreset_fn_t pmp_postreset
 
void(* error_handler )(struct ata_port *ap)
 
void(* lost_interrupt )(struct ata_port *ap)
 
void(* post_internal_cmd )(struct ata_queued_cmd *qc)
 
void(* sched_eh )(struct ata_port *ap)
 
void(* end_eh )(struct ata_port *ap)
 
int(* scr_read )(struct ata_link *link, unsigned int sc_reg, u32 *val)
 
int(* scr_write )(struct ata_link *link, unsigned int sc_reg, u32 val)
 
void(* pmp_attach )(struct ata_port *ap)
 
void(* pmp_detach )(struct ata_port *ap)
 
int(* set_lpm )(struct ata_link *link, enum ata_lpm_policy policy, unsigned hints)
 
int(* port_suspend )(struct ata_port *ap, pm_message_t mesg)
 
int(* port_resume )(struct ata_port *ap)
 
int(* port_start )(struct ata_port *ap)
 
void(* port_stop )(struct ata_port *ap)
 
void(* host_stop )(struct ata_host *host)
 
ssize_t(* em_show )(struct ata_port *ap, char *buf)
 
ssize_t(* em_store )(struct ata_port *ap, const char *message, size_t size)
 
ssize_t(* sw_activity_show )(struct ata_device *dev, char *buf)
 
ssize_t(* sw_activity_store )(struct ata_device *dev, enum sw_activity val)
 
void(* phy_reset )(struct ata_port *ap)
 
void(* eng_timeout )(struct ata_port *ap)
 
struct ata_port_operationsinherits
 

Detailed Description

Definition at line 816 of file libata.h.

Field Documentation

int(* cable_detect)(struct ata_port *ap)

Definition at line 829 of file libata.h.

int(* check_atapi_dma)(struct ata_queued_cmd *qc)

Definition at line 821 of file libata.h.

void(* dev_config)(struct ata_device *dev)

Definition at line 836 of file libata.h.

ssize_t(* em_show)(struct ata_port *ap, char *buf)

Definition at line 900 of file libata.h.

Definition at line 901 of file libata.h.

void(* end_eh)(struct ata_port *ap)

Definition at line 852 of file libata.h.

void(* eng_timeout)(struct ata_port *ap)

Definition at line 910 of file libata.h.

void(* error_handler)(struct ata_port *ap)

Definition at line 848 of file libata.h.

void(* freeze)(struct ata_port *ap)

Definition at line 838 of file libata.h.

ata_reset_fn_t hardreset

Definition at line 842 of file libata.h.

void(* host_stop)(struct ata_host *host)

Definition at line 871 of file libata.h.

Definition at line 916 of file libata.h.

void(* lost_interrupt)(struct ata_port *ap)

Definition at line 849 of file libata.h.

unsigned long(* mode_filter)(struct ata_device *dev, unsigned long xfer_mask)

Definition at line 830 of file libata.h.

void(* phy_reset)(struct ata_port *ap)

Definition at line 909 of file libata.h.

void(* pmp_attach)(struct ata_port *ap)

Definition at line 859 of file libata.h.

void(* pmp_detach)(struct ata_port *ap)

Definition at line 860 of file libata.h.

ata_reset_fn_t pmp_hardreset

Definition at line 846 of file libata.h.

ata_postreset_fn_t pmp_postreset

Definition at line 847 of file libata.h.

ata_prereset_fn_t pmp_prereset

Definition at line 844 of file libata.h.

ata_reset_fn_t pmp_softreset

Definition at line 845 of file libata.h.

int(* port_resume)(struct ata_port *ap)

Definition at line 868 of file libata.h.

int(* port_start)(struct ata_port *ap)

Definition at line 869 of file libata.h.

void(* port_stop)(struct ata_port *ap)

Definition at line 870 of file libata.h.

int(* port_suspend)(struct ata_port *ap, pm_message_t mesg)

Definition at line 867 of file libata.h.

void(* post_internal_cmd)(struct ata_queued_cmd *qc)

Definition at line 850 of file libata.h.

ata_postreset_fn_t postreset

Definition at line 843 of file libata.h.

Definition at line 840 of file libata.h.

int(* qc_defer)(struct ata_queued_cmd *qc)

Definition at line 820 of file libata.h.

bool(* qc_fill_rtf)(struct ata_queued_cmd *qc)

Definition at line 824 of file libata.h.

unsigned int(* qc_issue)(struct ata_queued_cmd *qc)

Definition at line 823 of file libata.h.

void(* qc_prep)(struct ata_queued_cmd *qc)

Definition at line 822 of file libata.h.

unsigned int(* read_id)(struct ata_device *dev, struct ata_taskfile *tf, u16 *id)

Definition at line 834 of file libata.h.

void(* sched_eh)(struct ata_port *ap)

Definition at line 851 of file libata.h.

int(* scr_read)(struct ata_link *link, unsigned int sc_reg, u32 *val)

Definition at line 857 of file libata.h.

int(* scr_write)(struct ata_link *link, unsigned int sc_reg, u32 val)

Definition at line 858 of file libata.h.

void(* set_dmamode)(struct ata_port *ap, struct ata_device *dev)

Definition at line 832 of file libata.h.

int(* set_lpm)(struct ata_link *link, enum ata_lpm_policy policy, unsigned hints)

Definition at line 861 of file libata.h.

int(* set_mode)(struct ata_link *link, struct ata_device **r_failed_dev)

Definition at line 833 of file libata.h.

void(* set_piomode)(struct ata_port *ap, struct ata_device *dev)

Definition at line 831 of file libata.h.

ata_reset_fn_t softreset

Definition at line 841 of file libata.h.

ssize_t(* sw_activity_show)(struct ata_device *dev, char *buf)

Definition at line 903 of file libata.h.

ssize_t(* sw_activity_store)(struct ata_device *dev, enum sw_activity val)

Definition at line 904 of file libata.h.

void(* thaw)(struct ata_port *ap)

Definition at line 839 of file libata.h.


The documentation for this struct was generated from the following file: