Lines Matching refs:phy_ofs
2013 u16 phy_ofs; in save_rw_trn_min_max() local
2022 phy_ofs = dqs < 2 ? 0x230 : 0x2b0; in save_rw_trn_min_max()
2024 phy_ofs += (dqs & 0x1) == 0 ? 0 : 0x9; in save_rw_trn_min_max()
2027 readb(PHY_REG(phy_base, phy_ofs + 0x15 + dq)); in save_rw_trn_min_max()
2029 readb(PHY_REG(phy_base, phy_ofs + 0x27 + dq)); in save_rw_trn_min_max()
2031 readb(PHY_REG(phy_base, phy_ofs + 0x3d + dq)); in save_rw_trn_min_max()
2033 readb(PHY_REG(phy_base, phy_ofs + 0x4f + dq)); in save_rw_trn_min_max()
2042 u16 phy_ofs; in save_rw_trn_deskew() local
2049 phy_ofs = cs == 0 ? 0x170 : 0x1a0; in save_rw_trn_deskew()
2050 phy_ofs += rw == SKEW_RX_SIGNAL ? 0x1 : 0x17; in save_rw_trn_deskew()
2053 readb(PHY_REG(phy_base, phy_ofs + dq)); in save_rw_trn_deskew()
2055 readb(PHY_REG(phy_base, phy_ofs + 0xb + dq)); in save_rw_trn_deskew()
2057 readb(PHY_REG(phy_base, phy_ofs + 0x60 + dq)); in save_rw_trn_deskew()
2059 readb(PHY_REG(phy_base, phy_ofs + 0x60 + 0xb + dq)); in save_rw_trn_deskew()
2063 readb(PHY_REG(phy_base, phy_ofs + 0x8)); in save_rw_trn_deskew()
2065 readb(PHY_REG(phy_base, phy_ofs + 0xb + 0x8)); in save_rw_trn_deskew()
2067 readb(PHY_REG(phy_base, phy_ofs + 0x60 + 0x8)); in save_rw_trn_deskew()
2069 readb(PHY_REG(phy_base, phy_ofs + 0x60 + 0xb + 0x8)); in save_rw_trn_deskew()