Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/video/backlight/
Dda9052_bl.c42 uint led_reg; member
66 ret = da9052_reg_write(wleds->da9052, wled_bank[wleds->led_reg], 0x0); in da9052_adjust_wled_brightness()
73 ret = da9052_reg_write(wleds->da9052, wled_bank[wleds->led_reg], in da9052_adjust_wled_brightness()
117 wleds->led_reg = platform_get_device_id(pdev)->driver_data; in da9052_backlight_probe()
/linux-5.19.10/drivers/leds/
Dleds-da9052.c34 static unsigned char led_reg[] = { variable
47 error = da9052_reg_write(led->da9052, led_reg[led->led_index], val); in da9052_set_led_brightness()
/linux-5.19.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c765 u32 led_reg, led_mode; in ixgbe_init_led_link_act_generic() local
768 led_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_init_led_link_act_generic()
772 led_mode = led_reg >> IXGBE_LED_MODE_SHIFT(i); in ixgbe_init_led_link_act_generic()
805 u32 led_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_led_on_generic() local
811 led_reg &= ~IXGBE_LED_MODE_MASK(index); in ixgbe_led_on_generic()
812 led_reg |= IXGBE_LED_ON << IXGBE_LED_MODE_SHIFT(index); in ixgbe_led_on_generic()
813 IXGBE_WRITE_REG(hw, IXGBE_LEDCTL, led_reg); in ixgbe_led_on_generic()
826 u32 led_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_led_off_generic() local
832 led_reg &= ~IXGBE_LED_MODE_MASK(index); in ixgbe_led_off_generic()
833 led_reg |= IXGBE_LED_OFF << IXGBE_LED_MODE_SHIFT(index); in ixgbe_led_off_generic()
[all …]
Dixgbe.h723 u32 led_reg; member
Dixgbe_ethtool.c2345 adapter->led_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_set_phys_id()
2358 IXGBE_WRITE_REG(&adapter->hw, IXGBE_LEDCTL, adapter->led_reg); in ixgbe_set_phys_id()
/linux-5.19.10/drivers/net/ethernet/intel/i40e/
Di40e_common.c5063 u16 led_reg; in i40e_blink_phy_link_led() local
5077 &led_reg); in i40e_blink_phy_link_led()
5080 led_ctl = led_reg; in i40e_blink_phy_link_led()
5081 if (led_reg & I40E_PHY_LED_LINK_MODE_MASK) { in i40e_blink_phy_link_led()
5082 led_reg = 0; in i40e_blink_phy_link_led()
5086 led_reg); in i40e_blink_phy_link_led()
5097 led_addr, phy_addr, &led_reg); in i40e_blink_phy_link_led()
5100 if (led_reg & I40E_PHY_LED_MANUAL_ON) in i40e_blink_phy_link_led()
5101 led_reg = 0; in i40e_blink_phy_link_led()
5103 led_reg = I40E_PHY_LED_MANUAL_ON; in i40e_blink_phy_link_led()
[all …]
/linux-5.19.10/drivers/iio/light/
Dgp2ap020a00f.c305 u8 led_reg; member
406 .led_reg); in gp2ap020a00f_set_operation_mode()
/linux-5.19.10/drivers/net/ethernet/intel/
De100.c2652 u16 led_reg = (nic->phy == phy_82552_v) ? E100_82552_LED_OVERRIDE : in e100_set_phys_id() local
2673 mdio_write(netdev, nic->mii.phy_id, led_reg, leds); in e100_set_phys_id()