Lines Matching refs:phy_ofs
2031 u16 phy_ofs; in save_rw_trn_min_max() local
2040 phy_ofs = dqs < 2 ? 0x230 : 0x2b0; in save_rw_trn_min_max()
2042 phy_ofs += (dqs & 0x1) == 0 ? 0 : 0x9; in save_rw_trn_min_max()
2045 readb(PHY_REG(phy_base, phy_ofs + 0x15 + dq)); in save_rw_trn_min_max()
2047 readb(PHY_REG(phy_base, phy_ofs + 0x27 + dq)); in save_rw_trn_min_max()
2049 readb(PHY_REG(phy_base, phy_ofs + 0x3d + dq)); in save_rw_trn_min_max()
2051 readb(PHY_REG(phy_base, phy_ofs + 0x4f + dq)); in save_rw_trn_min_max()
2060 u16 phy_ofs; in save_rw_trn_deskew() local
2067 phy_ofs = cs == 0 ? 0x170 : 0x1a0; in save_rw_trn_deskew()
2068 phy_ofs += rw == SKEW_RX_SIGNAL ? 0x1 : 0x17; in save_rw_trn_deskew()
2071 readb(PHY_REG(phy_base, phy_ofs + dq)); in save_rw_trn_deskew()
2073 readb(PHY_REG(phy_base, phy_ofs + 0xb + dq)); in save_rw_trn_deskew()
2075 readb(PHY_REG(phy_base, phy_ofs + 0x60 + dq)); in save_rw_trn_deskew()
2077 readb(PHY_REG(phy_base, phy_ofs + 0x60 + 0xb + dq)); in save_rw_trn_deskew()
2081 readb(PHY_REG(phy_base, phy_ofs + 0x8)); in save_rw_trn_deskew()
2083 readb(PHY_REG(phy_base, phy_ofs + 0xb + 0x8)); in save_rw_trn_deskew()
2085 readb(PHY_REG(phy_base, phy_ofs + 0x60 + 0x8)); in save_rw_trn_deskew()
2087 readb(PHY_REG(phy_base, phy_ofs + 0x60 + 0xb + 0x8)); in save_rw_trn_deskew()