Searched refs:led_reg (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/drivers/video/backlight/ |
D | da9052_bl.c | 47 uint led_reg; member 71 ret = da9052_reg_write(wleds->da9052, wled_bank[wleds->led_reg], 0x0); in da9052_adjust_wled_brightness() 78 ret = da9052_reg_write(wleds->da9052, wled_bank[wleds->led_reg], in da9052_adjust_wled_brightness() 122 wleds->led_reg = platform_get_device_id(pdev)->driver_data; in da9052_backlight_probe()
|
/Linux-v4.19/drivers/leds/ |
D | leds-da9052.c | 39 static unsigned char led_reg[] = { variable 52 error = da9052_reg_write(led->da9052, led_reg[led->led_index], val); in da9052_set_led_brightness()
|
/Linux-v4.19/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 | 707 u32 led_reg; member
|
D | ixgbe_ethtool.c | 2250 adapter->led_reg = IXGBE_READ_REG(hw, IXGBE_LEDCTL); in ixgbe_set_phys_id() 2263 IXGBE_WRITE_REG(&adapter->hw, IXGBE_LEDCTL, adapter->led_reg); in ixgbe_set_phys_id()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_common.c | 4917 u16 led_reg; in i40e_blink_phy_link_led() local 4931 &led_reg); in i40e_blink_phy_link_led() 4934 led_ctl = led_reg; in i40e_blink_phy_link_led() 4935 if (led_reg & I40E_PHY_LED_LINK_MODE_MASK) { in i40e_blink_phy_link_led() 4936 led_reg = 0; in i40e_blink_phy_link_led() 4940 led_reg); in i40e_blink_phy_link_led() 4951 led_addr, phy_addr, &led_reg); in i40e_blink_phy_link_led() 4954 if (led_reg & I40E_PHY_LED_MANUAL_ON) in i40e_blink_phy_link_led() 4955 led_reg = 0; in i40e_blink_phy_link_led() 4957 led_reg = I40E_PHY_LED_MANUAL_ON; in i40e_blink_phy_link_led() [all …]
|
/Linux-v4.19/drivers/iio/light/ |
D | gp2ap020a00f.c | 308 u8 led_reg; member 409 .led_reg); in gp2ap020a00f_set_operation_mode()
|
/Linux-v4.19/drivers/net/ethernet/intel/ |
D | e100.c | 2636 u16 led_reg = (nic->phy == phy_82552_v) ? E100_82552_LED_OVERRIDE : in e100_set_phys_id() local 2657 mdio_write(netdev, nic->mii.phy_id, led_reg, leds); in e100_set_phys_id()
|