Home
last modified time | relevance | path

Searched refs:mpy (Results 1 – 2 of 2) sorted by relevance

/drivers/ata/
Dahci_da850.c29 void __iomem *ahci_base, u32 mpy) in da850_sata_init() argument
38 val = SATA_PHY_MPY(mpy) | SATA_PHY_LOS(1) | SATA_PHY_RXCDR(4) | in da850_sata_init()
166 u32 mpy; in ahci_da850_probe() local
195 mpy = ahci_da850_calculate_mpy(clk_get_rate(hpriv->clks[1].clk)); in ahci_da850_probe()
196 if (mpy == 0) { in ahci_da850_probe()
197 dev_err(dev, "invalid REFCLK multiplier value: 0x%x", mpy); in ahci_da850_probe()
217 da850_sata_init(dev, pwrdn_reg, hpriv->mmio, mpy); in ahci_da850_probe()
Dahci_dm816.c64 int mpy; in ahci_dm816_phy_init() local
83 mpy = ahci_dm816_get_mpy_bits(refclk_rate); in ahci_dm816_phy_init()
84 if (mpy < 0) { in ahci_dm816_phy_init()
90 val = AHCI_DM816_PHY_MPY(mpy) | AHCI_DM816_PHY_LOS(1) | in ahci_dm816_phy_init()