Searched refs:ledctl (Results 1 – 2 of 2) sorted by relevance
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_82541.c | 298 u32 ledctl, ctrl, manc; in e1000_reset_hw_82541() local 352 ledctl = E1000_READ_REG(hw, E1000_LEDCTL); in e1000_reset_hw_82541() 353 ledctl &= IGP_ACTIVITY_LED_MASK; in e1000_reset_hw_82541() 354 ledctl |= (IGP_ACTIVITY_LED_ENABLE | IGP_LED3_MODE); in e1000_reset_hw_82541() 355 E1000_WRITE_REG(hw, E1000_LEDCTL, ledctl); in e1000_reset_hw_82541() 502 u32 ledctl; in e1000_phy_hw_reset_82541() local 514 ledctl = E1000_READ_REG(hw, E1000_LEDCTL); in e1000_phy_hw_reset_82541() 515 ledctl &= IGP_ACTIVITY_LED_MASK; in e1000_phy_hw_reset_82541() 516 ledctl |= (IGP_ACTIVITY_LED_ENABLE | IGP_LED3_MODE); in e1000_phy_hw_reset_82541() 517 E1000_WRITE_REG(hw, E1000_LEDCTL, ledctl); in e1000_phy_hw_reset_82541() [all …]
|
H A D | e1000_mac.c | 1844 u32 ledctl; in e1000_setup_led_generic() local 1852 ledctl = E1000_READ_REG(hw, E1000_LEDCTL); in e1000_setup_led_generic() 1853 hw->mac.ledctl_default = ledctl; in e1000_setup_led_generic() 1855 ledctl &= ~(E1000_LEDCTL_LED0_IVRT | E1000_LEDCTL_LED0_BLINK | in e1000_setup_led_generic() 1857 ledctl |= (E1000_LEDCTL_MODE_LED_OFF << in e1000_setup_led_generic() 1859 E1000_WRITE_REG(hw, E1000_LEDCTL, ledctl); in e1000_setup_led_generic()
|