Home
last modified time | relevance | path

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

/linux-6.12.1/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-6.12.1/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-6.12.1/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.h764 u32 led_reg; member
Dixgbe_ethtool.c2373 adapter->led_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_set_phys_id()
2386 IXGBE_WRITE_REG(&adapter->hw, IXGBE_LEDCTL, adapter->led_reg); in ixgbe_set_phys_id()
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_common.c4682 u16 led_reg; in i40e_blink_phy_link_led() local
4694 &led_reg); in i40e_blink_phy_link_led()
4697 led_ctl = led_reg; in i40e_blink_phy_link_led()
4698 if (led_reg & I40E_PHY_LED_LINK_MODE_MASK) { in i40e_blink_phy_link_led()
4699 led_reg = 0; in i40e_blink_phy_link_led()
4703 led_reg); in i40e_blink_phy_link_led()
4714 led_addr, phy_addr, &led_reg); in i40e_blink_phy_link_led()
4717 if (led_reg & I40E_PHY_LED_MANUAL_ON) in i40e_blink_phy_link_led()
4718 led_reg = 0; in i40e_blink_phy_link_led()
4720 led_reg = I40E_PHY_LED_MANUAL_ON; in i40e_blink_phy_link_led()
[all …]
/linux-6.12.1/drivers/iio/light/
Dgp2ap020a00f.c304 u8 led_reg; member
405 .led_reg); in gp2ap020a00f_set_operation_mode()
/linux-6.12.1/drivers/net/ethernet/intel/
De100.c2647 u16 led_reg = (nic->phy == phy_82552_v) ? E100_82552_LED_OVERRIDE : in e100_set_phys_id() local
2668 mdio_write(netdev, nic->mii.phy_id, led_reg, leds); in e100_set_phys_id()