Home
last modified time | relevance | path

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

/openbmc/linux/drivers/ata/
H A Dahci_imx.c280 static int read_adc_sum(void *dev, u16 rtune_ctl_reg, void __iomem * mmio) in read_adc_sum() argument
287 imx_phy_reg_write(rtune_ctl_reg, mmio); in read_adc_sum()
332 u16 mpll_test_reg, rtune_ctl_reg, dac_ctl_reg, read_sum; in __sata_ahci_read_temperature() local
360 imx_phy_reg_read(&rtune_ctl_reg, mmio); in __sata_ahci_read_temperature()
367 str2 = (rtune_ctl_reg) & 0x3; in __sata_ahci_read_temperature()
371 str4 = (rtune_ctl_reg >> 4); in __sata_ahci_read_temperature()
377 rtune_ctl_reg = (rtune_ctl_reg & 0xFFC) | (1); in __sata_ahci_read_temperature()
381 rtune_ctl_reg = (rtune_ctl_reg & 0xFEF) | (0) << 4; in __sata_ahci_read_temperature()
386 m1 = read_adc_sum(dev, rtune_ctl_reg, mmio); in __sata_ahci_read_temperature()
390 rtune_ctl_reg = (rtune_ctl_reg & 0xFEF) | (1) << 4; in __sata_ahci_read_temperature()
[all …]