Lines Matching defs:mvi
12 static int mvs_find_tag(struct mvs_info *mvi, struct sas_task *task, u32 *tag) in mvs_find_tag()
23 void mvs_tag_clear(struct mvs_info *mvi, u32 tag) in mvs_tag_clear()
29 void mvs_tag_free(struct mvs_info *mvi, u32 tag) in mvs_tag_free()
34 void mvs_tag_set(struct mvs_info *mvi, unsigned int tag) in mvs_tag_set()
40 inline int mvs_tag_alloc(struct mvs_info *mvi, u32 *tag_out) in mvs_tag_alloc()
54 void mvs_tag_init(struct mvs_info *mvi) in mvs_tag_init()
65 struct mvs_info *mvi = NULL; in mvs_find_dev_mvi() local
95 struct mvs_info *mvi = mvi_dev->mvi_info; in mvs_find_dev_phyno() local
124 struct mvs_device *mvs_find_dev_by_reg_set(struct mvs_info *mvi, in mvs_find_dev_by_reg_set()
138 static inline void mvs_free_reg_set(struct mvs_info *mvi, in mvs_free_reg_set()
150 static inline u8 mvs_assign_reg_set(struct mvs_info *mvi, in mvs_assign_reg_set()
158 void mvs_phys_reset(struct mvs_info *mvi, u32 phy_mask, int hard) in mvs_phys_reset()
174 struct mvs_info *mvi = NULL; in mvs_phy_control() local
212 void mvs_set_sas_addr(struct mvs_info *mvi, int port_id, u32 off_lo, in mvs_set_sas_addr()
224 static void mvs_bytes_dmaed(struct mvs_info *mvi, int i, gfp_t gfp_flags) in mvs_bytes_dmaed()
276 struct mvs_info *mvi; in mvs_scan_start() local
302 static int mvs_task_prep_smp(struct mvs_info *mvi, in mvs_task_prep_smp()
431 static int mvs_task_prep_ata(struct mvs_info *mvi, in mvs_task_prep_ata()
557 static int mvs_task_prep_ssp(struct mvs_info *mvi, in mvs_task_prep_ssp()
698 static int mvs_task_prep(struct sas_task *task, struct mvs_info *mvi, int is_tmf, in mvs_task_prep()
842 struct mvs_info *mvi = NULL; in mvs_queue_command() local
864 static void mvs_slot_free(struct mvs_info *mvi, u32 rx_desc) in mvs_slot_free()
870 static void mvs_slot_task_free(struct mvs_info *mvi, struct sas_task *task, in mvs_slot_task_free()
910 static void mvs_update_wideport(struct mvs_info *mvi, int phy_no) in mvs_update_wideport()
931 static u32 mvs_is_phy_ready(struct mvs_info *mvi, int i) in mvs_is_phy_ready()
959 static void *mvs_get_d2h_reg(struct mvs_info *mvi, int i, void *buf) in mvs_get_d2h_reg()
996 void mvs_update_phyinfo(struct mvs_info *mvi, int i, int get_st) in mvs_update_phyinfo()
1073 struct mvs_info *mvi = NULL; int i = 0, hi; in mvs_port_notify_formed() local
1116 struct mvs_info *mvi = phy->mvi; in mvs_port_notify_deformed() local
1141 static struct mvs_device *mvs_alloc_dev(struct mvs_info *mvi) in mvs_alloc_dev()
1172 struct mvs_info *mvi = NULL; in mvs_dev_found_notify() local
1228 struct mvs_info *mvi; in mvs_dev_gone_notify() local
1277 struct mvs_info *mvi = mvi_dev->mvi_info; in mvs_lu_reset() local
1297 struct mvs_info *mvi = mvi_dev->mvi_info; in mvs_I_T_nexus_reset() local
1322 struct mvs_info *mvi = mvi_dev->mvi_info; in mvs_query_task() local
1349 struct mvs_info *mvi; in mvs_abort_task() local
1414 static int mvs_sata_done(struct mvs_info *mvi, struct sas_task *task, in mvs_sata_done()
1488 static int mvs_slot_err(struct mvs_info *mvi, struct sas_task *task, in mvs_slot_err()
1539 int mvs_slot_complete(struct mvs_info *mvi, u32 rx_desc, u32 flags) in mvs_slot_complete()
1665 void mvs_do_release_task(struct mvs_info *mvi, in mvs_do_release_task()
1698 void mvs_release_task(struct mvs_info *mvi, in mvs_release_task()
1718 struct mvs_info *mvi = mwq->mvi; in mvs_work_queue() local
1757 static int mvs_handle_event(struct mvs_info *mvi, void *data, int handler) in mvs_handle_event()
1779 struct mvs_info *mvi = phy->mvi; in mvs_sig_time_out() local
1791 void mvs_int_port(struct mvs_info *mvi, int phy_no, u32 events) in mvs_int_port()
1884 int mvs_int_rx(struct mvs_info *mvi, bool self_clear) in mvs_int_rx()
1935 struct mvs_info *mvi = mvs_prv->mvi[0]; in mvs_gpio_write() local