Lines Matching defs:pm8001_dispatch
174 struct pm8001_dispatch { struct
175 char *name;
176 int (*chip_init)(struct pm8001_hba_info *pm8001_ha);
177 void (*chip_post_init)(struct pm8001_hba_info *pm8001_ha);
178 int (*chip_soft_rst)(struct pm8001_hba_info *pm8001_ha);
179 void (*chip_rst)(struct pm8001_hba_info *pm8001_ha);
180 int (*chip_ioremap)(struct pm8001_hba_info *pm8001_ha);
181 void (*chip_iounmap)(struct pm8001_hba_info *pm8001_ha);
182 irqreturn_t (*isr)(struct pm8001_hba_info *pm8001_ha, u8 vec);
183 u32 (*is_our_interrupt)(struct pm8001_hba_info *pm8001_ha);
184 int (*isr_process_oq)(struct pm8001_hba_info *pm8001_ha, u8 vec);
185 void (*interrupt_enable)(struct pm8001_hba_info *pm8001_ha, u8 vec);
186 void (*interrupt_disable)(struct pm8001_hba_info *pm8001_ha, u8 vec);
187 void (*make_prd)(struct scatterlist *scatter, int nr, void *prd);
188 int (*smp_req)(struct pm8001_hba_info *pm8001_ha,
190 int (*ssp_io_req)(struct pm8001_hba_info *pm8001_ha,
192 int (*sata_req)(struct pm8001_hba_info *pm8001_ha,
194 int (*phy_start_req)(struct pm8001_hba_info *pm8001_ha, u8 phy_id);
195 int (*phy_stop_req)(struct pm8001_hba_info *pm8001_ha, u8 phy_id);
196 int (*reg_dev_req)(struct pm8001_hba_info *pm8001_ha,
198 int (*dereg_dev_req)(struct pm8001_hba_info *pm8001_ha, u32 device_id);
199 int (*phy_ctl_req)(struct pm8001_hba_info *pm8001_ha,
201 int (*task_abort)(struct pm8001_hba_info *pm8001_ha,
225 const struct pm8001_dispatch *dispatch; argument