Lines Matching refs:cfg_params
133 static int lan865x_read_cfg_params(struct phy_device *phydev, u16 cfg_params[]) in lan865x_read_cfg_params() argument
142 cfg_params[i] = (u16)ret; in lan865x_read_cfg_params()
148 static int lan865x_write_cfg_params(struct phy_device *phydev, u16 cfg_params[]) in lan865x_write_cfg_params() argument
155 cfg_params[i]); in lan865x_write_cfg_params()
165 u16 cfg_params[ARRAY_SIZE(lan865x_revb0_fixup_cfg_regs)]; in lan865x_setup_cfgparam() local
174 ret = lan865x_read_cfg_params(phydev, cfg_params); in lan865x_setup_cfgparam()
178 cfg_results[0] = (cfg_params[0] & 0x000F) | in lan865x_setup_cfgparam()
181 cfg_results[1] = (cfg_params[1] & 0x03FF) | in lan865x_setup_cfgparam()
183 cfg_results[2] = (cfg_params[2] & 0xC0C0) | in lan865x_setup_cfgparam()
186 cfg_results[3] = (cfg_params[3] & 0xC0C0) | in lan865x_setup_cfgparam()
189 cfg_results[4] = (cfg_params[4] & 0xC0C0) | in lan865x_setup_cfgparam()