Lines Matching +full:halt +full:- +full:regs
1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * Copyright 2009-2011 Marvell. <yuxiangl@marvell.com>
14 #define mr32(reg) readl(regs + reg)
15 #define mw32(reg, val) writel((val), regs + reg)
21 #define iow32(reg, val) outl(val, (unsigned long)(regs + reg))
22 #define ior32(reg) inl((unsigned long)(regs + reg))
23 #define iow16(reg, val) outw((unsigned long)(val, regs + reg))
24 #define ior16(reg) inw((unsigned long)(regs + reg))
25 #define iow8(reg, val) outb((unsigned long)(val, regs + reg))
26 #define ior8(reg) inb((unsigned long)(regs + reg))
30 void __iomem *regs = mvi->regs; in mvs_cr32() local
37 void __iomem *regs = mvi->regs; in mvs_cw32() local
44 void __iomem *regs = mvi->regs; in mvs_read_phy_ctl() local
46 mr32(MVS_P4_SER_CTLSTAT + (port - 4) * 4); in mvs_read_phy_ctl()
51 void __iomem *regs = mvi->regs; in mvs_write_phy_ctl() local
55 mw32(MVS_P4_SER_CTLSTAT + (port - 4) * 4, val); in mvs_write_phy_ctl()
61 void __iomem *regs = mvi->regs + off; in mvs_read_port() local
62 void __iomem *regs2 = mvi->regs + off2; in mvs_read_port()
63 return (port < 4) ? readl(regs + port * 8) : in mvs_read_port()
64 readl(regs2 + (port - 4) * 8); in mvs_read_port()
70 void __iomem *regs = mvi->regs + off; in mvs_write_port() local
71 void __iomem *regs2 = mvi->regs + off2; in mvs_write_port()
73 writel(val, regs + port * 8); in mvs_write_port()
75 writel(val, regs2 + (port - 4) * 8); in mvs_write_port()
167 /* not to halt for different port op during wideport link change */ in mvs_phy_hacks()
174 void __iomem *regs = mvi->regs; in mvs_int_sata() local
178 MVS_CHIP_DISP->clear_active_cmds(mvi); in mvs_int_sata()
183 void __iomem *regs = mvi->regs; in mvs_int_full() local
190 for (i = 0; i < mvi->chip->n_phy; i++) { in mvs_int_full()
197 MVS_CHIP_DISP->non_spec_ncq_error(mvi); in mvs_int_full()
207 void __iomem *regs = mvi->regs; in mvs_start_delivery() local
213 void __iomem *regs = mvi->regs; in mvs_rx_update() local
235 if (mvi->flags & MVF_FLAG_SOC || mvi->id > 0) in mvs_show_pcie_usage()
238 pci_read_config_word(mvi->pdev, PCR_LINK_STAT, &link_stat); in mvs_show_pcie_usage()
242 dev_printk(KERN_INFO, mvi->dev, in mvs_show_pcie_usage()
243 "mvsas: PCI-E x%u, Bandwidth Usage: %s Gbps\n", in mvs_show_pcie_usage()