Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/atheros/alx/
Dhw.c240 u16 phy_val; in alx_get_phy_config() local
252 alx_read_phy_reg(hw, ALX_MII_DBG_ADDR, &phy_val); in alx_get_phy_config()
253 if (ALX_PHY_INITED == phy_val) in alx_get_phy_config()
494 u16 phy_val; in alx_reset_phy() local
528 alx_read_phy_dbg(hw, ALX_MIIDBG_GREENCFG2, &phy_val); in alx_reset_phy()
530 phy_val & ~ALX_GREENCFG2_GATE_DFSE_EN); in alx_reset_phy()
540 &phy_val); in alx_reset_phy()
542 phy_val | ALX_CLDCTRL3_BP_CABLE1TH_DET_GT); in alx_reset_phy()
544 alx_read_phy_dbg(hw, ALX_MIIDBG_GREENCFG2, &phy_val); in alx_reset_phy()
546 phy_val | ALX_GREENCFG2_BP_GREEN); in alx_reset_phy()
[all …]
/linux-5.19.10/drivers/net/ethernet/atheros/atl1c/
Datl1c_hw.c845 u16 phy_val; in atl1c_post_phy_linkchg() local
856 &phy_val); in atl1c_post_phy_linkchg()
857 phy_val = FIELD_GETX(phy_val, CLDCTRL6_CAB_LEN); in atl1c_post_phy_linkchg()
858 phy_val = phy_val > CLDCTRL6_CAB_LEN_SHORT ? in atl1c_post_phy_linkchg()
860 atl1c_write_phy_dbg(hw, MIIDBG_AZ_ANADECT, phy_val); in atl1c_post_phy_linkchg()
/linux-5.19.10/drivers/net/ethernet/atheros/atl1e/
Datl1e_hw.c411 u16 phy_val; in atl1e_phy_init() local
440 phy_val = 0x02ef; in atl1e_phy_init()
443 ret_val = atl1e_write_phy_reg(hw, MII_DBG_DATA, phy_val); in atl1e_phy_init()
/linux-5.19.10/drivers/net/ethernet/atheros/atlx/
Datl2.c2624 u16 phy_val; in atl2_phy_init() local
2636 atl2_read_phy_reg(hw, MII_DBG_DATA, &phy_val); in atl2_phy_init()
2639 if (phy_val & 0x1000) { in atl2_phy_init()
2640 phy_val &= ~0x1000; in atl2_phy_init()
2641 atl2_write_phy_reg(hw, MII_DBG_DATA, phy_val); in atl2_phy_init()
2734 u16 phy_val; in atl2_force_ps() local
2737 atl2_read_phy_reg(hw, MII_DBG_DATA, &phy_val); in atl2_force_ps()
2738 atl2_write_phy_reg(hw, MII_DBG_DATA, phy_val | 0x1000); in atl2_force_ps()