Home
last modified time | relevance | path

Searched refs:phy_reg (Results 1 – 9 of 9) sorted by relevance

/freebsd-14.2/sys/dev/e1000/
H A De1000_ich8lan.c203 u16 phy_reg = 0; in e1000_phy_is_accessible_pchlan() local
1276 u16 phy_reg; in e1000_enable_ulp_lpt_lp() local
1343 phy_reg = oem_reg; in e1000_enable_ulp_lpt_lp()
1347 phy_reg); in e1000_enable_ulp_lpt_lp()
1424 u16 phy_reg; in e1000_disable_ulp_lpt_lp() local
1566 u16 phy_reg; in e1000_check_for_copper_link_ich8lan() local
1632 &phy_reg); in e1000_check_for_copper_link_ich8lan()
1637 phy_reg |= 0xFA; in e1000_check_for_copper_link_ich8lan()
2175 u16 phy_reg = 0; in e1000_update_mc_addr_list_pch2lan() local
2789 u16 phy_reg, data; in e1000_lv_jumbo_workaround_ich8lan() local
[all …]
H A De1000_phy.h93 s32 e1000_enable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg);
94 s32 e1000_disable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg);
H A De1000_phy.c3332 s32 e1000_enable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg) in e1000_enable_phy_wakeup_reg_access_bm() argument
3339 if (!phy_reg) in e1000_enable_phy_wakeup_reg_access_bm()
3352 ret_val = e1000_read_phy_reg_mdic(hw, BM_WUC_ENABLE_REG, phy_reg); in e1000_enable_phy_wakeup_reg_access_bm()
3362 temp = *phy_reg; in e1000_enable_phy_wakeup_reg_access_bm()
3390 s32 e1000_disable_phy_wakeup_reg_access_bm(struct e1000_hw *hw, u16 *phy_reg) in e1000_disable_phy_wakeup_reg_access_bm() argument
3396 if (!phy_reg) in e1000_disable_phy_wakeup_reg_access_bm()
3407 ret_val = e1000_write_phy_reg_mdic(hw, BM_WUC_ENABLE_REG, *phy_reg); in e1000_disable_phy_wakeup_reg_access_bm()
3446 u16 phy_reg = 0; in e1000_access_phy_wakeup_reg_bm() local
3458 ret_val = e1000_enable_phy_wakeup_reg_access_bm(hw, &phy_reg); in e1000_access_phy_wakeup_reg_bm()
3490 ret_val = e1000_disable_phy_wakeup_reg_access_bm(hw, &phy_reg); in e1000_access_phy_wakeup_reg_bm()
/freebsd-14.2/sys/dev/igc/
H A Digc_phy.h28 s32 igc_enable_phy_wakeup_reg_access_bm(struct igc_hw *hw, u16 *phy_reg);
29 s32 igc_disable_phy_wakeup_reg_access_bm(struct igc_hw *hw, u16 *phy_reg);
/freebsd-14.2/sys/dev/fdt/
H A Dfdt_common.c384 pcell_t phy_handle, phy_reg; in fdt_get_phyaddr() local
394 if (OF_getencprop(phy_node, "reg", (void *)&phy_reg, in fdt_get_phyaddr()
395 sizeof(phy_reg)) <= 0) in fdt_get_phyaddr()
398 *phy_addr = phy_reg; in fdt_get_phyaddr()
/freebsd-14.2/sys/dev/dc/
H A Dif_dc.c717 phy_reg = DC_AL_BMCR; in dc_miibus_readreg()
720 phy_reg = DC_AL_BMSR; in dc_miibus_readreg()
729 phy_reg = DC_AL_ANAR; in dc_miibus_readreg()
732 phy_reg = DC_AL_LPAR; in dc_miibus_readreg()
735 phy_reg = DC_AL_ANER; in dc_miibus_readreg()
764 int i, phy_reg = 0; in dc_miibus_writereg() local
791 phy_reg = DC_AL_BMCR; in dc_miibus_writereg()
794 phy_reg = DC_AL_BMSR; in dc_miibus_writereg()
803 phy_reg = DC_AL_ANAR; in dc_miibus_writereg()
806 phy_reg = DC_AL_LPAR; in dc_miibus_writereg()
[all …]
/freebsd-14.2/sys/dev/xilinx/
H A Dif_xae.c156 pcell_t phy_handle, phy_reg; in xae_get_phyaddr() local
164 if (OF_getencprop(phy_node, "reg", (void *)&phy_reg, in xae_get_phyaddr()
165 sizeof(phy_reg)) <= 0) in xae_get_phyaddr()
168 *phy_addr = phy_reg; in xae_get_phyaddr()
/freebsd-14.2/sys/dev/axgbe/
H A Dxgbe-phy-v2.c987 int phy_reg; in xgbe_get_phy_id() local
989 phy_reg = xgbe_phy_mii_read(pdata, phy_data->mdio_addr, 0x02); in xgbe_get_phy_id()
990 if (phy_reg < 0) in xgbe_get_phy_id()
993 phy_id1 = (phy_reg & 0xffff); in xgbe_get_phy_id()
994 phy_data->phy_id = (phy_reg & 0xffff) << 16; in xgbe_get_phy_id()
996 phy_reg = xgbe_phy_mii_read(pdata, phy_data->mdio_addr, 0x03); in xgbe_get_phy_id()
997 if (phy_reg < 0) in xgbe_get_phy_id()
1000 phy_id2 = (phy_reg & 0xffff); in xgbe_get_phy_id()
1001 phy_data->phy_id |= (phy_reg & 0xffff); in xgbe_get_phy_id()
/freebsd-14.2/sys/contrib/device-tree/Bindings/pci/
H A Dsnps,dw-pcie-common.yaml112 const: phy_reg
127 - description: See nativs 'phy_reg' clock for details