Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_common.c1168 u32 led_reg, led_mode; in ixgbe_init_led_link_act_generic() local
1171 led_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_init_led_link_act_generic()
1175 led_mode = led_reg >> IXGBE_LED_MODE_SHIFT(i); in ixgbe_init_led_link_act_generic()
1206 u32 led_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_led_on_generic() local
1214 led_reg &= ~IXGBE_LED_MODE_MASK(index); in ixgbe_led_on_generic()
1215 led_reg |= IXGBE_LED_ON << IXGBE_LED_MODE_SHIFT(index); in ixgbe_led_on_generic()
1216 IXGBE_WRITE_REG(hw, IXGBE_LEDCTL, led_reg); in ixgbe_led_on_generic()
1229 u32 led_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_led_off_generic() local
1237 led_reg &= ~IXGBE_LED_MODE_MASK(index); in ixgbe_led_off_generic()
1238 led_reg |= IXGBE_LED_OFF << IXGBE_LED_MODE_SHIFT(index); in ixgbe_led_off_generic()
[all …]
/illumos-gate/usr/src/uts/common/io/i40e/core/
H A Di40e_common.c6747 u16 led_reg; in i40e_blink_phy_link_led() local
6761 &led_reg); in i40e_blink_phy_link_led()
6764 led_ctl = led_reg; in i40e_blink_phy_link_led()
6765 if (led_reg & I40E_PHY_LED_LINK_MODE_MASK) { in i40e_blink_phy_link_led()
6766 led_reg = 0; in i40e_blink_phy_link_led()
6770 led_reg); in i40e_blink_phy_link_led()
6781 led_addr, phy_addr, &led_reg); in i40e_blink_phy_link_led()
6784 if (led_reg & I40E_PHY_LED_MANUAL_ON) in i40e_blink_phy_link_led()
6785 led_reg = 0; in i40e_blink_phy_link_led()
6787 led_reg = I40E_PHY_LED_MANUAL_ON; in i40e_blink_phy_link_led()
[all …]