Searched refs:phy_reg (Results 1 – 8 of 8) sorted by relevance
| /freebsd-13.1/sys/dev/e1000/ |
| H A D | e1000_ich8lan.c | 203 u16 phy_reg = 0; in e1000_phy_is_accessible_pchlan() local 1271 u16 phy_reg; in e1000_enable_ulp_lpt_lp() local 1341 phy_reg = oem_reg; in e1000_enable_ulp_lpt_lp() 1345 phy_reg); in e1000_enable_ulp_lpt_lp() 1422 u16 phy_reg; in e1000_disable_ulp_lpt_lp() local 1564 u16 phy_reg; in e1000_check_for_copper_link_ich8lan() local 1630 &phy_reg); in e1000_check_for_copper_link_ich8lan() 1635 phy_reg |= 0xFA; in e1000_check_for_copper_link_ich8lan() 2172 u16 phy_reg = 0; in e1000_update_mc_addr_list_pch2lan() local 2785 u16 phy_reg, data; in e1000_lv_jumbo_workaround_ich8lan() local [all …]
|
| H A D | e1000_phy.h | 94 s32 e1000_enable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg); 95 s32 e1000_disable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg);
|
| H A D | e1000_phy.c | 3333 s32 e1000_enable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg) in e1000_enable_phy_wakeup_reg_access_bm() argument 3340 if (!phy_reg) in e1000_enable_phy_wakeup_reg_access_bm() 3353 ret_val = e1000_read_phy_reg_mdic(hw, BM_WUC_ENABLE_REG, phy_reg); in e1000_enable_phy_wakeup_reg_access_bm() 3363 temp = *phy_reg; in e1000_enable_phy_wakeup_reg_access_bm() 3391 s32 e1000_disable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg) in e1000_disable_phy_wakeup_reg_access_bm() argument 3397 if (!phy_reg) in e1000_disable_phy_wakeup_reg_access_bm() 3408 ret_val = e1000_write_phy_reg_mdic(hw, BM_WUC_ENABLE_REG, *phy_reg); in e1000_disable_phy_wakeup_reg_access_bm() 3447 u16 phy_reg = 0; in e1000_access_phy_wakeup_reg_bm() local 3459 ret_val = e1000_enable_phy_wakeup_reg_access_bm(hw, &phy_reg); in e1000_access_phy_wakeup_reg_bm() 3491 ret_val = e1000_disable_phy_wakeup_reg_access_bm(hw, &phy_reg); in e1000_access_phy_wakeup_reg_bm()
|
| /freebsd-13.1/sys/dev/igc/ |
| H A D | igc_phy.h | 30 s32 igc_enable_phy_wakeup_reg_access_bm(struct igc_hw *hw, u16 *phy_reg); 31 s32 igc_disable_phy_wakeup_reg_access_bm(struct igc_hw *hw, u16 *phy_reg);
|
| /freebsd-13.1/sys/dev/fdt/ |
| H A D | fdt_common.c | 386 pcell_t phy_handle, phy_reg; in fdt_get_phyaddr() local 396 if (OF_getencprop(phy_node, "reg", (void *)&phy_reg, in fdt_get_phyaddr() 397 sizeof(phy_reg)) <= 0) in fdt_get_phyaddr() 400 *phy_addr = phy_reg; in fdt_get_phyaddr()
|
| /freebsd-13.1/sys/dev/dc/ |
| H A D | if_dc.c | 722 phy_reg = DC_AL_BMCR; in dc_miibus_readreg() 725 phy_reg = DC_AL_BMSR; in dc_miibus_readreg() 734 phy_reg = DC_AL_ANAR; in dc_miibus_readreg() 737 phy_reg = DC_AL_LPAR; in dc_miibus_readreg() 740 phy_reg = DC_AL_ANER; in dc_miibus_readreg() 769 int i, phy_reg = 0; in dc_miibus_writereg() local 796 phy_reg = DC_AL_BMCR; in dc_miibus_writereg() 799 phy_reg = DC_AL_BMSR; in dc_miibus_writereg() 808 phy_reg = DC_AL_ANAR; in dc_miibus_writereg() 811 phy_reg = DC_AL_LPAR; in dc_miibus_writereg() [all …]
|
| /freebsd-13.1/sys/dev/xilinx/ |
| H A D | if_xae.c | 158 pcell_t phy_handle, phy_reg; in xae_get_phyaddr() local 166 if (OF_getencprop(phy_node, "reg", (void *)&phy_reg, in xae_get_phyaddr() 167 sizeof(phy_reg)) <= 0) in xae_get_phyaddr() 170 *phy_addr = phy_reg; in xae_get_phyaddr()
|
| /freebsd-13.1/sys/dev/axgbe/ |
| H A D | xgbe-phy-v2.c | 989 int phy_reg; in xgbe_get_phy_id() local 991 phy_reg = xgbe_phy_mii_read(pdata, phy_data->mdio_addr, 0x02); in xgbe_get_phy_id() 992 if (phy_reg < 0) in xgbe_get_phy_id() 995 phy_id1 = (phy_reg & 0xffff); in xgbe_get_phy_id() 996 phy_data->phy_id = (phy_reg & 0xffff) << 16; in xgbe_get_phy_id() 998 phy_reg = xgbe_phy_mii_read(pdata, phy_data->mdio_addr, 0x03); in xgbe_get_phy_id() 999 if (phy_reg < 0) in xgbe_get_phy_id() 1002 phy_id2 = (phy_reg & 0xffff); in xgbe_get_phy_id() 1003 phy_data->phy_id |= (phy_reg & 0xffff); in xgbe_get_phy_id()
|