Searched refs:led_reg (Results 1 – 8 of 8) sorted by relevance
/linux-6.12.1/drivers/video/backlight/ |
D | da9052_bl.c | 42 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/ |
D | leds-da9052.c | 34 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/ |
D | ixgbe_common.c | 765 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 …]
|
D | ixgbe.h | 764 u32 led_reg; member
|
D | ixgbe_ethtool.c | 2373 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/ |
D | i40e_common.c | 4682 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/ |
D | gp2ap020a00f.c | 304 u8 led_reg; member 405 .led_reg); in gp2ap020a00f_set_operation_mode()
|
/linux-6.12.1/drivers/net/ethernet/intel/ |
D | e100.c | 2647 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()
|