• Home
  • Raw
  • Download

Lines Matching defs:ata_port_operations

912 struct ata_port_operations {  struct
916 int (*qc_defer)(struct ata_queued_cmd *qc);
917 int (*check_atapi_dma)(struct ata_queued_cmd *qc);
918 enum ata_completion_errors (*qc_prep)(struct ata_queued_cmd *qc);
919 unsigned int (*qc_issue)(struct ata_queued_cmd *qc);
920 bool (*qc_fill_rtf)(struct ata_queued_cmd *qc);
925 int (*cable_detect)(struct ata_port *ap);
926 unsigned long (*mode_filter)(struct ata_device *dev, unsigned long xfer_mask);
927 void (*set_piomode)(struct ata_port *ap, struct ata_device *dev);
928 void (*set_dmamode)(struct ata_port *ap, struct ata_device *dev);
929 int (*set_mode)(struct ata_link *link, struct ata_device **r_failed_dev);
930 unsigned int (*read_id)(struct ata_device *dev, struct ata_taskfile *tf, u16 *id);
932 void (*dev_config)(struct ata_device *dev);
934 void (*freeze)(struct ata_port *ap);
935 void (*thaw)(struct ata_port *ap);
936 ata_prereset_fn_t prereset;
937 ata_reset_fn_t softreset;
938 ata_reset_fn_t hardreset;
939 ata_postreset_fn_t postreset;
940 ata_prereset_fn_t pmp_prereset;
941 ata_reset_fn_t pmp_softreset;
942 ata_reset_fn_t pmp_hardreset;
943 ata_postreset_fn_t pmp_postreset;
944 void (*error_handler)(struct ata_port *ap);
945 void (*lost_interrupt)(struct ata_port *ap);
946 void (*post_internal_cmd)(struct ata_queued_cmd *qc);
947 void (*sched_eh)(struct ata_port *ap);
948 void (*end_eh)(struct ata_port *ap);
953 int (*scr_read)(struct ata_link *link, unsigned int sc_reg, u32 *val);
954 int (*scr_write)(struct ata_link *link, unsigned int sc_reg, u32 val);
955 void (*pmp_attach)(struct ata_port *ap);
956 void (*pmp_detach)(struct ata_port *ap);
957 int (*set_lpm)(struct ata_link *link, enum ata_lpm_policy policy,
963 int (*port_suspend)(struct ata_port *ap, pm_message_t mesg);
964 int (*port_resume)(struct ata_port *ap);
965 int (*port_start)(struct ata_port *ap);
966 void (*port_stop)(struct ata_port *ap);
967 void (*host_stop)(struct ata_host *host);
973 void (*sff_dev_select)(struct ata_port *ap, unsigned int device);
974 void (*sff_set_devctl)(struct ata_port *ap, u8 ctl);
975 u8 (*sff_check_status)(struct ata_port *ap);
976 u8 (*sff_check_altstatus)(struct ata_port *ap);
977 void (*sff_tf_load)(struct ata_port *ap, const struct ata_taskfile *tf);
978 void (*sff_tf_read)(struct ata_port *ap, struct ata_taskfile *tf);
979 void (*sff_exec_command)(struct ata_port *ap,
981 unsigned int (*sff_data_xfer)(struct ata_queued_cmd *qc,
983 void (*sff_irq_on)(struct ata_port *);
984 bool (*sff_irq_check)(struct ata_port *);
985 void (*sff_irq_clear)(struct ata_port *);
986 void (*sff_drain_fifo)(struct ata_queued_cmd *qc);
989 void (*bmdma_setup)(struct ata_queued_cmd *qc);
990 void (*bmdma_start)(struct ata_queued_cmd *qc);
991 void (*bmdma_stop)(struct ata_queued_cmd *qc);
1015 const struct ata_port_operations *inherits; argument