Searched refs:phy_val (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/atheros/alx/ |
D | hw.c | 240 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 …]
|
/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_hw.c | 832 u16 phy_val; in atl1c_post_phy_linkchg() local 843 &phy_val); in atl1c_post_phy_linkchg() 844 phy_val = FIELD_GETX(phy_val, CLDCTRL6_CAB_LEN); in atl1c_post_phy_linkchg() 845 phy_val = phy_val > CLDCTRL6_CAB_LEN_SHORT ? in atl1c_post_phy_linkchg() 847 atl1c_write_phy_dbg(hw, MIIDBG_AZ_ANADECT, phy_val); in atl1c_post_phy_linkchg()
|
/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_hw.c | 424 u16 phy_val; in atl1e_phy_init() local 453 phy_val = 0x02ef; in atl1e_phy_init() 456 ret_val = atl1e_write_phy_reg(hw, MII_DBG_DATA, phy_val); in atl1e_phy_init()
|
/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 2676 u16 phy_val; in atl2_phy_init() local 2688 atl2_read_phy_reg(hw, MII_DBG_DATA, &phy_val); in atl2_phy_init() 2691 if (phy_val & 0x1000) { in atl2_phy_init() 2692 phy_val &= ~0x1000; in atl2_phy_init() 2693 atl2_write_phy_reg(hw, MII_DBG_DATA, phy_val); in atl2_phy_init() 2786 u16 phy_val; in atl2_force_ps() local 2789 atl2_read_phy_reg(hw, MII_DBG_DATA, &phy_val); in atl2_force_ps() 2790 atl2_write_phy_reg(hw, MII_DBG_DATA, phy_val | 0x1000); in atl2_force_ps()
|