Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_x540.c766 u32 ledctl_reg; in ixgbe_blink_led_start_X540() local
784 ledctl_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_blink_led_start_X540()
785 ledctl_reg &= ~IXGBE_LED_MODE_MASK(index); in ixgbe_blink_led_start_X540()
786 ledctl_reg |= IXGBE_LED_BLINK(index); in ixgbe_blink_led_start_X540()
787 IXGBE_WRITE_REG(hw, IXGBE_LEDCTL, ledctl_reg); in ixgbe_blink_led_start_X540()
804 u32 ledctl_reg; in ixgbe_blink_led_stop_X540() local
810 ledctl_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_blink_led_stop_X540()
811 ledctl_reg &= ~IXGBE_LED_MODE_MASK(index); in ixgbe_blink_led_stop_X540()
812 ledctl_reg |= IXGBE_LED_LINK_ACTIVE << IXGBE_LED_MODE_SHIFT(index); in ixgbe_blink_led_stop_X540()
813 ledctl_reg &= ~IXGBE_LED_BLINK(index); in ixgbe_blink_led_stop_X540()
[all …]