Home
last modified time | relevance | path

Searched refs:led_on (Results 1 – 24 of 24) sorted by relevance

/linux-6.1.9/drivers/leds/
Dleds-an30259a.c86 unsigned int led_on; in an30259a_brightness_set() local
91 ret = regmap_read(led->chip->regmap, AN30259A_REG_LED_ON, &led_on); in an30259a_brightness_set()
97 led_on &= ~AN30259A_LED_EN(led->num); in an30259a_brightness_set()
98 led_on &= ~AN30259A_LED_SLOPE(led->num); in an30259a_brightness_set()
102 led_on |= AN30259A_LED_EN(led->num); in an30259a_brightness_set()
104 led_on |= AN30259A_LED_SLOPE(led->num); in an30259a_brightness_set()
114 ret = regmap_write(led->chip->regmap, AN30259A_REG_LED_ON, led_on); in an30259a_brightness_set()
132 unsigned int led_on; in an30259a_blink_set() local
186 ret = regmap_read(led->chip->regmap, AN30259A_REG_LED_ON, &led_on); in an30259a_blink_set()
190 led_on |= AN30259A_LED_SLOPE(num) | AN30259A_LED_EN(led->num); in an30259a_blink_set()
[all …]
/linux-6.1.9/drivers/net/wireless/realtek/rtl818x/rtl8187/
Dleds.c29 led_on.work); in led_turn_on()
113 ieee80211_queue_delayed_work(hw, &priv->led_on, 0); in rtl8187_led_brightness_set()
117 cancel_delayed_work(&priv->led_on); in rtl8187_led_brightness_set()
124 ieee80211_queue_delayed_work(hw, &priv->led_on, in rtl8187_led_brightness_set()
127 ieee80211_queue_delayed_work(hw, &priv->led_on, 0); in rtl8187_led_brightness_set()
201 INIT_DELAYED_WORK(&priv->led_on, led_turn_on); in rtl8187_leds_init()
239 cancel_delayed_work_sync(&priv->led_on); in rtl8187_leds_exit()
Drtl8187.h123 struct delayed_work led_on; member
/linux-6.1.9/drivers/media/rc/
Dttusbir.c37 bool led_on, is_led_on; member
47 return tt->led_on ? LED_FULL : LED_OFF; in ttusbir_brightness_get()
56 if (tt->led_on != tt->is_led_on && tt->udev && in ttusbir_set_led()
58 tt->bulk_buffer[4] = tt->is_led_on = tt->led_on; in ttusbir_set_led()
73 tt->led_on = brightness != LED_OFF; in ttusbir_brightness_set()
291 tt->is_led_on = tt->led_on = true; in ttusbir_probe()
/linux-6.1.9/drivers/net/wireless/ath/ath5k/
Dled.c103 ath5k_hw_set_gpio(ah, ah->led_pin, ah->led_on); in ath5k_led_on()
111 ath5k_hw_set_gpio(ah, ah->led_pin, !ah->led_on); in ath5k_led_off()
185 ah->led_on = ATH_POLARITY(match->driver_data); in ath5k_init_leds()
Dath5k.h1304 led_on; /* pin setting for LED on */ member
/linux-6.1.9/drivers/platform/x86/dell/
Ddell-wmi-led.c92 static int led_on(void) in led_on() function
128 led_on(); in dell_led_set()
/linux-6.1.9/drivers/mfd/
Dtps65010.c765 unsigned led_on, led_per, offs; in tps65010_set_led() local
789 led_on = 1 << 7; in tps65010_set_led()
793 led_on = 1 << 7; in tps65010_set_led()
797 led_on = 0x30 | (0 << 7); in tps65010_set_led()
808 TPS_LED1_ON + offs, led_on); in tps65010_set_led()
/linux-6.1.9/sound/pci/hda/
Dpatch_conexant.c641 bool led_on) in cxt_update_gpio_led() argument
647 led_on = !led_on; in cxt_update_gpio_led()
649 if (led_on) in cxt_update_gpio_led()
654 mask, led_on, spec->gpio_led); in cxt_update_gpio_led()
/linux-6.1.9/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw-internal.h238 int led_on; member
Dpvrusb2-hdw.c4135 if ((!onoff) == (!hdw->led_on)) return; in pvr2_led_ctrl()
4137 hdw->led_on = onoff != 0; in pvr2_led_ctrl()
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/
D82571.c243 mac->ops.led_on = e1000e_led_on_generic; in e1000_init_mac_params_82571()
258 mac->ops.led_on = e1000_led_on_82574; in e1000_init_mac_params_82571()
262 mac->ops.led_on = e1000e_led_on_generic; in e1000_init_mac_params_82571()
Dhw.h496 s32 (*led_on)(struct e1000_hw *); member
D80003es2lan.c1350 .led_on = e1000e_led_on_generic,
Dich8lan.c703 mac->ops.led_on = e1000_led_on_ich8lan; in e1000_init_mac_params_ich8lan()
727 mac->ops.led_on = e1000_led_on_pchlan; in e1000_init_mac_params_ich8lan()
Dethtool.c1988 hw->mac.ops.led_on(hw); in e1000_set_phys_id()
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/
Dixgbe_x550.c3894 .led_on = ixgbe_led_on_generic,
3916 .led_on = ixgbe_led_on_t_x550em,
3938 .led_on = NULL,
3960 .led_on = ixgbe_led_on_t_x550em,
3981 .led_on = ixgbe_led_on_generic,
Dixgbe_x540.c844 .led_on = &ixgbe_led_on_generic,
Dixgbe_82598.c1132 .led_on = &ixgbe_led_on_generic,
Dixgbe_82599.c2186 .led_on = &ixgbe_led_on_generic,
Dixgbe_ethtool.c2336 if (!hw->mac.ops.led_on || !hw->mac.ops.led_off) in ixgbe_set_phys_id()
2345 hw->mac.ops.led_on(hw, hw->mac.led_link_act); in ixgbe_set_phys_id()
Dixgbe_type.h3447 s32 (*led_on)(struct ixgbe_hw *, u32); member
/linux-6.1.9/drivers/media/usb/dvb-usb/
Ddw2102.c1010 static u8 led_on[] = { 1 }; in dw210x_led_ctrl() local
1021 msg.buf = led_on; in dw210x_led_ctrl()
/linux-6.1.9/drivers/net/ethernet/intel/
De100.c2643 led_on = 0x01, in e100_set_phys_id() enumerator