Home
last modified time | relevance | path

Searched refs:mvi (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/scsi/mvsas/
Dmv_init.c78 static void mvs_phy_init(struct mvs_info *mvi, int phy_id) in mvs_phy_init() argument
80 struct mvs_phy *phy = &mvi->phy[phy_id]; in mvs_phy_init()
83 phy->mvi = mvi; in mvs_phy_init()
86 sas_phy->enabled = (phy_id < mvi->chip->n_phy) ? 1 : 0; in mvs_phy_init()
94 sas_phy->sas_addr = &mvi->sas_addr[0]; in mvs_phy_init()
96 sas_phy->ha = (struct sas_ha_struct *)mvi->shost->hostdata; in mvs_phy_init()
100 static void mvs_free(struct mvs_info *mvi) in mvs_free() argument
105 if (!mvi) in mvs_free()
108 if (mvi->flags & MVF_FLAG_SOC) in mvs_free()
113 dma_pool_destroy(mvi->dma_pool); in mvs_free()
[all …]
Dmv_94xx.c14 static void mvs_94xx_detect_porttype(struct mvs_info *mvi, int i) in mvs_94xx_detect_porttype() argument
17 struct mvs_phy *phy = &mvi->phy[i]; in mvs_94xx_detect_porttype()
20 mvs_write_port_vsr_addr(mvi, i, VSR_PHY_MODE3); in mvs_94xx_detect_porttype()
21 reg = mvs_read_port_vsr_data(mvi, i); in mvs_94xx_detect_porttype()
35 static void set_phy_tuning(struct mvs_info *mvi, int phy_id, in set_phy_tuning() argument
54 if (mvi->pdev->revision == VANIR_A0_REV) in set_phy_tuning()
80 mvs_write_port_vsr_addr(mvi, phy_id, setting_0); in set_phy_tuning()
81 tmp = mvs_read_port_vsr_data(mvi, phy_id); in set_phy_tuning()
86 mvs_write_port_vsr_data(mvi, phy_id, tmp); in set_phy_tuning()
89 mvs_write_port_vsr_addr(mvi, phy_id, setting_1); in set_phy_tuning()
[all …]
Dmv_64xx.c14 static void mvs_64xx_detect_porttype(struct mvs_info *mvi, int i) in mvs_64xx_detect_porttype() argument
16 void __iomem *regs = mvi->regs; in mvs_64xx_detect_porttype()
18 struct mvs_phy *phy = &mvi->phy[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() argument
30 void __iomem *regs = mvi->regs; in mvs_64xx_enable_xmt()
34 if (mvi->chip->n_phy <= MVS_SOC_PORTS) in mvs_64xx_enable_xmt()
41 static void mvs_64xx_phy_hacks(struct mvs_info *mvi) in mvs_64xx_phy_hacks() argument
43 void __iomem *regs = mvi->regs; in mvs_64xx_phy_hacks()
46 mvs_phy_hacks(mvi); in mvs_64xx_phy_hacks()
48 if (!(mvi->flags & MVF_FLAG_SOC)) { in mvs_64xx_phy_hacks()
[all …]
Dmv_chips.h28 static inline u32 mvs_cr32(struct mvs_info *mvi, u32 addr) in mvs_cr32() argument
30 void __iomem *regs = mvi->regs; in mvs_cr32()
35 static inline void mvs_cw32(struct mvs_info *mvi, u32 addr, u32 val) in mvs_cw32() argument
37 void __iomem *regs = mvi->regs; in mvs_cw32()
42 static inline u32 mvs_read_phy_ctl(struct mvs_info *mvi, u32 port) in mvs_read_phy_ctl() argument
44 void __iomem *regs = mvi->regs; 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() argument
51 void __iomem *regs = mvi->regs; in mvs_write_phy_ctl()
58 static inline u32 mvs_read_port(struct mvs_info *mvi, u32 off, in mvs_read_port() argument
61 void __iomem *regs = mvi->regs + off; in mvs_read_port()
[all …]
Dmv_sas.c12 static int mvs_find_tag(struct mvs_info *mvi, struct sas_task *task, u32 *tag) in mvs_find_tag() argument
23 static void mvs_tag_clear(struct mvs_info *mvi, u32 tag) in mvs_tag_clear() argument
25 void *bitmap = mvi->rsvd_tags; in mvs_tag_clear()
29 static void mvs_tag_free(struct mvs_info *mvi, u32 tag) in mvs_tag_free() argument
34 mvs_tag_clear(mvi, tag); in mvs_tag_free()
37 static void mvs_tag_set(struct mvs_info *mvi, unsigned int tag) in mvs_tag_set() argument
39 void *bitmap = mvi->rsvd_tags; in mvs_tag_set()
43 static int mvs_tag_alloc(struct mvs_info *mvi, u32 *tag_out) in mvs_tag_alloc() argument
46 void *bitmap = mvi->rsvd_tags; in mvs_tag_alloc()
52 mvs_tag_set(mvi, tag); in mvs_tag_alloc()
[all …]
Dmv_sas.h63 ((void *) mvi->rx_fis + 0x100 * id)
65 ((void *) mvi->rx_fis + mvi->chip->fis_offs + 0x100 * reg_set)
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 …]
/linux-6.6.21/drivers/scsi/aic7xxx/
Daic7xxx.seq120 mvi DMAPARAMS, HDMAEN|DIRECTION|FIFORESET;
133 mvi SCB_MISMATCH call set_seqint;
166 mvi CLRSINT1,CLRBUSFREE;
183 mvi CLRSINT0, CLRSELDI;
190 mvi SCSISIGO, P_MESGOUT|BSYO;
196 mvi SEQ_FLAGS, CMDPHASE_PENDING;
200 mvi DINDEX, CCHADDR;
201 mvi SHARED_DATA_ADDR call set_32byte_addr;
202 mvi CCSCBCTL, CCSCBRESET;
204 mvi DINDEX, HADDR;
[all …]
Daic79xx.seq104 mvi COMPLETE_ON_QFREEZE_HEAD[1], SCB_LIST_NULL;
230 mvi COMPLETE_DMA_SCB_TAIL[1], SCB_LIST_NULL;
240 mvi COMPLETE_SCB_DMAINPROG_HEAD[1], SCB_LIST_NULL;
281 mvi CLRSEQINTSTAT, CLRSEQ_SWTMRTO;
286 mvi INTSTAT, CMDCMPLT;
320 mvi SCB_NEXT[1], SCB_LIST_NULL;
321 mvi SCB_NEXT2[1], SCB_LIST_NULL;
341 mvi SINDEX[1], (WAITING_SCB_TAILS >> 8);
436 mvi CCSCBCTL, CCSCBRESET;
467 mvi CCSCBCTL, CCSCBEN|CCSCBRESET;
[all …]
Daic79xx.reg63 mvi MK_MODE(src, dst) call set_mode_work_around; \
65 mvi MODE_PTR, MK_MODE(src, dst); \
77 mvi code call set_seqint_work_around; \
79 mvi SEQINTCODE, code; \
3494 * mvi 0xFF call some_routine;
/linux-6.6.21/arch/s390/boot/
Dhead.S38 mvi __LC_AR_MODE_ID,1 # set esame flag
237 mvi __LC_AR_MODE_ID,1 # set esame flag
/linux-6.6.21/arch/s390/tools/
Dopcodes.txt138 92 mvi SI_URD