Home
last modified time | relevance | path

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

/openbmc/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()
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()
1082 ew32(LEDCTL, led_ctrl); in e1000_copper_link_igp_setup()
3042 u32 led_ctrl; in e1000_phy_hw_reset() local
3080 led_ctrl = er32(LEDCTL); in e1000_phy_hw_reset()
[all …]
/openbmc/u-boot/drivers/net/
H A De1000.c2657 uint32_t led_ctrl; in e1000_copper_link_igp_setup() local
2676 led_ctrl = E1000_READ_REG(hw, LEDCTL); in e1000_copper_link_igp_setup()
2677 led_ctrl &= IGP_ACTIVITY_LED_MASK; in e1000_copper_link_igp_setup()
2678 led_ctrl |= (IGP_ACTIVITY_LED_ENABLE | IGP_LED3_MODE); in e1000_copper_link_igp_setup()
2679 E1000_WRITE_REG(hw, LEDCTL, led_ctrl); in e1000_copper_link_igp_setup()
4595 uint32_t led_ctrl; in e1000_phy_hw_reset() local
4653 led_ctrl = E1000_READ_REG(hw, LEDCTL); in e1000_phy_hw_reset()
4654 led_ctrl &= IGP_ACTIVITY_LED_MASK; in e1000_phy_hw_reset()
4655 led_ctrl |= (IGP_ACTIVITY_LED_ENABLE | IGP_LED3_MODE); in e1000_phy_hw_reset()
4656 E1000_WRITE_REG(hw, LEDCTL, led_ctrl); in e1000_phy_hw_reset()
/openbmc/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()
/openbmc/linux/drivers/ata/
H A Dsata_mv.c1530 u32 led_ctrl; in mv_soc_led_blink_enable() local
1536 led_ctrl = readl(hc_mmio + SOC_LED_CTRL); in mv_soc_led_blink_enable()
1537 writel(led_ctrl | SOC_LED_CTRL_BLINK, hc_mmio + SOC_LED_CTRL); in mv_soc_led_blink_enable()
1545 u32 led_ctrl; in mv_soc_led_blink_disable() local
1562 led_ctrl = readl(hc_mmio + SOC_LED_CTRL); in mv_soc_led_blink_disable()
1563 writel(led_ctrl & ~SOC_LED_CTRL_BLINK, hc_mmio + SOC_LED_CTRL); in mv_soc_led_blink_disable()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dtg3.c4165 tw32(MAC_LED_CTRL, tp->led_ctrl); in tg3_power_down_prepare()
5006 u32 led_ctrl = tr32(MAC_LED_CTRL); in tg3_setup_copper_phy() local
5018 tw32(MAC_LED_CTRL, led_ctrl); in tg3_setup_copper_phy()
5787 tw32(MAC_LED_CTRL, (tp->led_ctrl | in tg3_setup_fiber_phy()
5793 tw32(MAC_LED_CTRL, (tp->led_ctrl | in tg3_setup_fiber_phy()
10637 tw32(MAC_LED_CTRL, tp->led_ctrl); in tg3_reset_hw()
12808 tw32(MAC_LED_CTRL, tp->led_ctrl); in tg3_set_phys_id()
15149 tp->led_ctrl = LED_CTRL_MODE_PHY_1; in tg3_get_eeprom_hw_cfg()
15229 tp->led_ctrl = LED_CTRL_MODE_PHY_1; in tg3_get_eeprom_hw_cfg()
15233 tp->led_ctrl = LED_CTRL_MODE_PHY_2; in tg3_get_eeprom_hw_cfg()
[all …]
H A Dtg3.h3359 u32 led_ctrl; member
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/
H A Drt2800lib.c2212 u8 led_ctrl, led_g_mode, led_r_mode; in rt2800_config_3572bt_ant() local
2230 led_ctrl = rt2x00_get_field16(eeprom, EEPROM_FREQ_LED_MODE); in rt2800_config_3572bt_ant()
2231 if (led_ctrl == 0 || led_ctrl > 0x40) { in rt2800_config_3572bt_ant()