Searched refs:mvs_info (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/scsi/mvsas/ |
H A D | mv_sas.h | 49 extern struct mvs_info *tgt_mvi; 86 struct mvs_info; 91 int (*chip_init)(struct mvs_info *mvi); 92 int (*spi_init)(struct mvs_info *mvi); 93 int (*chip_ioremap)(struct mvs_info *mvi); 94 void (*chip_iounmap)(struct mvs_info *mvi); 95 irqreturn_t (*isr)(struct mvs_info *mvi, int irq, u32 stat); 96 u32 (*isr_status)(struct mvs_info *mvi, int irq); 97 void (*interrupt_enable)(struct mvs_info *mvi); 98 void (*interrupt_disable)(struct mvs_info *mvi); [all …]
|
H A D | mv_chips.h | 28 static inline u32 mvs_cr32(struct mvs_info *mvi, u32 addr) in mvs_cr32() 35 static inline void mvs_cw32(struct mvs_info *mvi, u32 addr, u32 val) in mvs_cw32() 42 static inline u32 mvs_read_phy_ctl(struct mvs_info *mvi, u32 port) in mvs_read_phy_ctl() 49 static inline void mvs_write_phy_ctl(struct mvs_info *mvi, u32 port, u32 val) in mvs_write_phy_ctl() 58 static inline u32 mvs_read_port(struct mvs_info *mvi, u32 off, in mvs_read_port() 67 static inline void mvs_write_port(struct mvs_info *mvi, u32 off, u32 off2, in mvs_write_port() 78 static inline u32 mvs_read_port_cfg_data(struct mvs_info *mvi, u32 port) in mvs_read_port_cfg_data() 84 static inline void mvs_write_port_cfg_data(struct mvs_info *mvi, in mvs_write_port_cfg_data() 91 static inline void mvs_write_port_cfg_addr(struct mvs_info *mvi, in mvs_write_port_cfg_addr() 99 static inline u32 mvs_read_port_vsr_data(struct mvs_info *mvi, u32 port) in mvs_read_port_vsr_data() [all …]
|
H A D | mv_64xx.c | 14 static void mvs_64xx_detect_porttype(struct mvs_info *mvi, int i) in mvs_64xx_detect_porttype() 28 static void mvs_64xx_enable_xmt(struct mvs_info *mvi, int phy_id) in mvs_64xx_enable_xmt() 41 static void mvs_64xx_phy_hacks(struct mvs_info *mvi) in mvs_64xx_phy_hacks() 67 static void mvs_64xx_stp_reset(struct mvs_info *mvi, u32 phy_id) in mvs_64xx_stp_reset() 104 static void mvs_64xx_phy_reset(struct mvs_info *mvi, u32 phy_id, int hard) in mvs_64xx_phy_reset() 124 mvs_64xx_clear_srs_irq(struct mvs_info *mvi, u8 reg_set, u8 clear_all) in mvs_64xx_clear_srs_irq() 144 static int mvs_64xx_chip_reset(struct mvs_info *mvi) in mvs_64xx_chip_reset() 194 static void mvs_64xx_phy_disable(struct mvs_info *mvi, u32 phy_id) in mvs_64xx_phy_disable() 216 static void mvs_64xx_phy_enable(struct mvs_info *mvi, u32 phy_id) in mvs_64xx_phy_enable() 238 static int mvs_64xx_init(struct mvs_info *mvi) in mvs_64xx_init() [all …]
|
H A D | mv_94xx.c | 14 static void mvs_94xx_detect_porttype(struct mvs_info *mvi, int i) in mvs_94xx_detect_porttype() 35 static void set_phy_tuning(struct mvs_info *mvi, int phy_id, in set_phy_tuning() 97 static void set_phy_ffe_tuning(struct mvs_info *mvi, int phy_id, in set_phy_ffe_tuning() 164 static void set_phy_rate(struct mvs_info *mvi, int phy_id, u8 rate) in set_phy_rate() 203 static void mvs_94xx_config_reg_from_hba(struct mvs_info *mvi, int phy_id) in mvs_94xx_config_reg_from_hba() 244 static void mvs_94xx_enable_xmt(struct mvs_info *mvi, int phy_id) in mvs_94xx_enable_xmt() 254 static void mvs_94xx_phy_reset(struct mvs_info *mvi, u32 phy_id, int hard) in mvs_94xx_phy_reset() 286 static void mvs_94xx_phy_disable(struct mvs_info *mvi, u32 phy_id) in mvs_94xx_phy_disable() 294 static void mvs_94xx_phy_enable(struct mvs_info *mvi, u32 phy_id) in mvs_94xx_phy_enable() 317 static void mvs_94xx_sgpio_init(struct mvs_info *mvi) in mvs_94xx_sgpio_init() [all …]
|
H A D | mv_sas.c | 12 static int mvs_find_tag(struct mvs_info *mvi, struct sas_task *task, u32 *tag) in mvs_find_tag() 23 static void mvs_tag_clear(struct mvs_info *mvi, u32 tag) in mvs_tag_clear() 29 static void mvs_tag_free(struct mvs_info *mvi, u32 tag) in mvs_tag_free() 37 static void mvs_tag_set(struct mvs_info *mvi, unsigned int tag) in mvs_tag_set() 43 static int mvs_tag_alloc(struct mvs_info *mvi, u32 *tag_out) in mvs_tag_alloc() 57 static struct mvs_info *mvs_find_dev_mvi(struct domain_device *dev) in mvs_find_dev_mvi() 61 struct mvs_info *mvi = NULL; in mvs_find_dev_mvi() 91 struct mvs_info *mvi = mvi_dev->mvi_info; in mvs_find_dev_phyno() 120 struct mvs_device *mvs_find_dev_by_reg_set(struct mvs_info *mvi, in mvs_find_dev_by_reg_set() 134 static inline void mvs_free_reg_set(struct mvs_info *mvi, in mvs_free_reg_set() [all …]
|