Searched refs:mdic (Results 1 – 5 of 5) sorted by relevance
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_phy.c | 560 u32 i, mdic = 0; in igc_read_phy_reg_mdic() local 577 wr32(IGC_MDIC, mdic); in igc_read_phy_reg_mdic() 585 mdic = rd32(IGC_MDIC); in igc_read_phy_reg_mdic() 586 if (mdic & IGC_MDIC_READY) in igc_read_phy_reg_mdic() 594 if (mdic & IGC_MDIC_ERROR) { in igc_read_phy_reg_mdic() 599 *data = (u16)mdic; in igc_read_phy_reg_mdic() 616 u32 i, mdic = 0; in igc_write_phy_reg_mdic() local 629 mdic = (((u32)data) | in igc_write_phy_reg_mdic() 634 wr32(IGC_MDIC, mdic); in igc_write_phy_reg_mdic() 642 mdic = rd32(IGC_MDIC); in igc_write_phy_reg_mdic() [all …]
|
/linux/drivers/net/ethernet/intel/e1000/ |
A D | e1000_hw.c | 2811 u32 mdic = 0; in e1000_read_phy_reg_ex() local 2852 *phy_data = (u16)mdic; in e1000_read_phy_reg_ex() 2858 ew32(MDIC, mdic); in e1000_read_phy_reg_ex() 2865 mdic = er32(MDIC); in e1000_read_phy_reg_ex() 2877 *phy_data = (u16)mdic; in e1000_read_phy_reg_ex() 2949 u32 mdic = 0; in e1000_write_phy_reg_ex() local 2964 mdic = (((u32)phy_data) | in e1000_write_phy_reg_ex() 2991 ew32(MDIC, mdic); in e1000_write_phy_reg_ex() 2998 mdic = er32(MDIC); in e1000_write_phy_reg_ex() 3023 mdic <<= 16; in e1000_write_phy_reg_ex() [all …]
|
/linux/drivers/net/ethernet/intel/e1000e/ |
A D | phy.c | 121 u32 i, mdic = 0; in e1000e_read_phy_reg_mdic() local 136 ew32(MDIC, mdic); in e1000e_read_phy_reg_mdic() 144 mdic = er32(MDIC); in e1000e_read_phy_reg_mdic() 145 if (mdic & E1000_MDIC_READY) in e1000e_read_phy_reg_mdic() 152 if (mdic & E1000_MDIC_ERROR) { in e1000e_read_phy_reg_mdic() 162 *data = (u16)mdic; in e1000e_read_phy_reg_mdic() 184 u32 i, mdic = 0; in e1000e_write_phy_reg_mdic() local 195 mdic = (((u32)data) | in e1000e_write_phy_reg_mdic() 200 ew32(MDIC, mdic); in e1000e_write_phy_reg_mdic() 208 mdic = er32(MDIC); in e1000e_write_phy_reg_mdic() [all …]
|
/linux/drivers/net/ethernet/intel/igb/ |
A D | e1000_phy.c | 116 u32 i, mdic = 0; in igb_read_phy_reg_mdic() local 133 wr32(E1000_MDIC, mdic); in igb_read_phy_reg_mdic() 141 mdic = rd32(E1000_MDIC); in igb_read_phy_reg_mdic() 142 if (mdic & E1000_MDIC_READY) in igb_read_phy_reg_mdic() 150 if (mdic & E1000_MDIC_ERROR) { in igb_read_phy_reg_mdic() 155 *data = (u16) mdic; in igb_read_phy_reg_mdic() 172 u32 i, mdic = 0; in igb_write_phy_reg_mdic() local 185 mdic = (((u32)data) | in igb_write_phy_reg_mdic() 190 wr32(E1000_MDIC, mdic); in igb_write_phy_reg_mdic() 198 mdic = rd32(E1000_MDIC); in igb_write_phy_reg_mdic() [all …]
|
A D | e1000_82575.c | 829 u32 mdic; in igb_get_phy_id_82575() local 851 mdic = rd32(E1000_MDIC); in igb_get_phy_id_82575() 852 mdic &= E1000_MDIC_PHY_MASK; in igb_get_phy_id_82575() 853 phy->addr = mdic >> E1000_MDIC_PHY_SHIFT; in igb_get_phy_id_82575() 860 mdic = rd32(E1000_MDICNFG); in igb_get_phy_id_82575() 861 mdic &= E1000_MDICNFG_PHY_MASK; in igb_get_phy_id_82575() 862 phy->addr = mdic >> E1000_MDICNFG_PHY_SHIFT; in igb_get_phy_id_82575()
|
Completed in 23 milliseconds