Home
last modified time | relevance | path

Searched refs:led_ctrl (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/intel/e1000/
H A De1000_hw.c381 u32 led_ctrl; in e1000_reset_hw() local
493 led_ctrl = er32(LEDCTL); in e1000_reset_hw()
494 led_ctrl &= IGP_ACTIVITY_LED_MASK; in e1000_reset_hw()
495 led_ctrl |= (IGP_ACTIVITY_LED_ENABLE | IGP_LED3_MODE); in e1000_reset_hw()
496 ew32(LEDCTL, led_ctrl); in e1000_reset_hw()
1063 u32 led_ctrl; in e1000_copper_link_igp_setup() local
1079 led_ctrl = er32(LEDCTL); in e1000_copper_link_igp_setup()
1080 led_ctrl &= IGP_ACTIVITY_LED_MASK; in e1000_copper_link_igp_setup()
1081 led_ctrl |= (IGP_ACTIVITY_LED_ENABLE | IGP_LED3_MODE); in e1000_copper_link_igp_setup()
1082 ew32(LEDCTL, led_ctrl); in e1000_copper_link_igp_setup()
[all …]
/linux/drivers/net/dsa/
H A Dbcm_sf2.c225 u16 led_ctrl = bcm_sf2_reg_led_base(priv, 0); in bcm_sf2_gphy_enable_set() local
229 reg = reg_led_readl(priv, led_ctrl, 0); in bcm_sf2_gphy_enable_set()
231 reg_led_writel(priv, reg, led_ctrl, 0); in bcm_sf2_gphy_enable_set()
/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c3005 if (tp->led_ctrl == LED_CTRL_MODE_PHY_2) in tg3_5700_link_polarity()
4165 tw32(MAC_LED_CTRL, tp->led_ctrl); in tg3_power_down_prepare()
4849 if (tp->led_ctrl == LED_CTRL_MODE_PHY_1) in tg3_setup_copper_phy()
4995 u32 led_ctrl = tr32(MAC_LED_CTRL); in tg3_setup_copper_phy() local
4996 led_ctrl &= ~(LED_CTRL_1000MBPS_ON | LED_CTRL_100MBPS_ON); in tg3_setup_copper_phy()
4999 led_ctrl |= LED_CTRL_LNKLED_OVERRIDE; in tg3_setup_copper_phy()
5001 led_ctrl |= (LED_CTRL_LNKLED_OVERRIDE | in tg3_setup_copper_phy()
5004 led_ctrl |= (LED_CTRL_LNKLED_OVERRIDE | in tg3_setup_copper_phy()
5007 tw32(MAC_LED_CTRL, led_ctrl); in tg3_setup_copper_phy()
5776 tw32(MAC_LED_CTRL, (tp->led_ctrl | in tg3_setup_fiber_phy()
[all …]