Home
last modified time | relevance | path

Searched refs:lcl_adv (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.1/include/linux/
Dmii.h458 u32 lcl_adv = 0; in linkmode_adv_to_lcl_adv_t() local
462 lcl_adv |= ADVERTISE_PAUSE_CAP; in linkmode_adv_to_lcl_adv_t()
465 lcl_adv |= ADVERTISE_PAUSE_ASYM; in linkmode_adv_to_lcl_adv_t()
467 return lcl_adv; in linkmode_adv_to_lcl_adv_t()
/Linux-v6.1/drivers/net/ethernet/freescale/fman/
Dmac.c150 u16 lcl_adv, rmt_adv; in fman_get_pause_cfg() local
172 lcl_adv = linkmode_adv_to_lcl_adv_t(phy_dev->advertising); in fman_get_pause_cfg()
184 flowctrl = mii_resolve_flowctrl_fdx(lcl_adv, rmt_adv); in fman_get_pause_cfg()
/Linux-v6.1/drivers/net/ethernet/socionext/
Dsni_ave.c1092 u16 rmt_adv = 0, lcl_adv = 0; in ave_phy_adjust_link() local
1129 lcl_adv = linkmode_adv_to_lcl_adv_t(phydev->advertising); in ave_phy_adjust_link()
1130 cap = mii_resolve_flowctrl_fdx(lcl_adv, rmt_adv); in ave_phy_adjust_link()
/Linux-v6.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-phy-v2.c1512 u16 lcl_adv = 0, rmt_adv = 0; in xgbe_phy_phydev_flowctrl() local
1521 lcl_adv = linkmode_adv_to_lcl_adv_t(phy_data->phydev->advertising); in xgbe_phy_phydev_flowctrl()
1532 fc = mii_resolve_flowctrl_fdx(lcl_adv, rmt_adv); in xgbe_phy_phydev_flowctrl()
/Linux-v6.1/drivers/net/ethernet/freescale/
Dgianfar.c1464 u16 lcl_adv, rmt_adv; in gfar_get_flowctrl_cfg() local
1473 lcl_adv = linkmode_adv_to_lcl_adv_t(phydev->advertising); in gfar_get_flowctrl_cfg()
1474 flowctrl = mii_resolve_flowctrl_fdx(lcl_adv, rmt_adv); in gfar_get_flowctrl_cfg()
/Linux-v6.1/drivers/net/ethernet/broadcom/
Dtg3.c2001 u32 mac_mode, lcl_adv, rmt_adv; in tg3_adjust_link() local
2013 lcl_adv = 0; in tg3_adjust_link()
2027 lcl_adv = mii_advertise_flowctrl( in tg3_adjust_link()
2036 tg3_setup_flow_control(tp, lcl_adv, rmt_adv); in tg3_adjust_link()
4777 u32 lcl_adv, rmt_adv; in tg3_setup_copper_phy() local
4918 lcl_adv = 0; in tg3_setup_copper_phy()
4929 tg3_phy_copper_an_config_ok(tp, &lcl_adv) && in tg3_setup_copper_phy()
4966 tg3_setup_flow_control(tp, lcl_adv, rmt_adv); in tg3_setup_copper_phy()