Home
last modified time | relevance | path

Searched refs:pled (Results 1 – 25 of 25) sorted by relevance

/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dled.c10 struct rtl_led *pled, in _rtl8821ae_init_led() argument
13 pled->hw = hw; in _rtl8821ae_init_led()
14 pled->ledpin = ledpin; in _rtl8821ae_init_led()
15 pled->ledon = false; in _rtl8821ae_init_led()
18 void rtl8821ae_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8821ae_sw_led_on() argument
24 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl8821ae_sw_led_on()
26 switch (pled->ledpin) { in rtl8821ae_sw_led_on()
41 "switch case %#x not processed\n", pled->ledpin); in rtl8821ae_sw_led_on()
44 pled->ledon = true; in rtl8821ae_sw_led_on()
47 void rtl8812ae_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8812ae_sw_led_on() argument
[all …]
Dled.h8 void rtl8821ae_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
9 void rtl8812ae_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
10 void rtl8821ae_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
11 void rtl8812ae_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
/Linux-v5.4/drivers/leds/
Dleds-mlxcpld.c116 struct mlxcpld_led_priv *pled; member
285 struct mlxcpld_led_priv *pled = cdev_to_priv(led); in mlxcpld_led_brightness_set() local
288 mlxcpld_led_store_hw(pled->param.mask, pled->param.offset, in mlxcpld_led_brightness_set()
289 pled->param.base_color); in mlxcpld_led_brightness_set()
293 mlxcpld_led_store_hw(pled->param.mask, pled->param.offset, in mlxcpld_led_brightness_set()
301 struct mlxcpld_led_priv *pled = cdev_to_priv(led); in mlxcpld_led_blink_set() local
315 mlxcpld_led_store_hw(pled->param.mask, pled->param.offset, in mlxcpld_led_blink_set()
316 pled->param.base_color + in mlxcpld_led_blink_set()
319 mlxcpld_led_store_hw(pled->param.mask, pled->param.offset, in mlxcpld_led_blink_set()
320 pled->param.base_color + in mlxcpld_led_blink_set()
[all …]
Dleds-apu.c73 struct apu_led_priv *pled; member
99 struct apu_led_priv *pled = cdev_to_priv(led); in apu1_led_brightness_set() local
102 iowrite8(value ? APU1_LEDON : APU1_LEDOFF, pled->param.addr); in apu1_led_brightness_set()
111 apu_led->pled = devm_kcalloc(dev, in apu_led_config()
115 if (!apu_led->pled) in apu_led_config()
119 struct apu_led_priv *pled = &apu_led->pled[i]; in apu_led_config() local
120 struct led_classdev *led_cdev = &pled->cdev; in apu_led_config()
128 pled->param.addr = devm_ioremap(dev, in apu_led_config()
130 if (!pled->param.addr) { in apu_led_config()
146 led_classdev_unregister(&apu_led->pled[i].cdev); in apu_led_config()
[all …]
Dleds-da9052.c93 struct led_platform_data *pled; in da9052_led_probe() local
105 pled = pdata->pled; in da9052_led_probe()
106 if (pled == NULL) { in da9052_led_probe()
112 pled->num_leds, sizeof(struct da9052_led), in da9052_led_probe()
119 for (i = 0; i < pled->num_leds; i++) { in da9052_led_probe()
120 led[i].cdev.name = pled->leds[i].name; in da9052_led_probe()
124 led[i].led_index = pled->leds[i].flags; in da9052_led_probe()
164 struct led_platform_data *pled; in da9052_led_remove() local
169 pled = pdata->pled; in da9052_led_remove()
171 for (i = 0; i < pled->num_leds; i++) { in da9052_led_remove()
Dleds-lp3944.c297 struct lp3944_led *pled = &pdata->leds[i]; in lp3944_configure() local
302 switch (pled->type) { in lp3944_configure()
306 led->type = pled->type; in lp3944_configure()
307 led->ldev.name = pled->name; in lp3944_configure()
324 (enum led_brightness) pled->status; in lp3944_configure()
327 err = lp3944_led_set(led, pled->status); in lp3944_configure()
331 led->ldev.name, pled->status); in lp3944_configure()
Dleds-pca9532.c369 struct pca9532_led *pled = &pdata->leds[i]; in pca9532_configure() local
372 led->type = pled->type; in pca9532_configure()
380 if (pled->state == PCA9532_KEEP) in pca9532_configure()
383 led->state = pled->state; in pca9532_configure()
384 led->name = pled->name; in pca9532_configure()
386 led->ldev.default_trigger = pled->default_trigger; in pca9532_configure()
409 data->idev->name = pled->name; in pca9532_configure()
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/
Dled.c10 struct rtl_led *pled, enum rtl_led_pin ledpin) in _rtl92cu_init_led() argument
12 pled->hw = hw; in _rtl92cu_init_led()
13 pled->ledpin = ledpin; in _rtl92cu_init_led()
14 pled->ledon = false; in _rtl92cu_init_led()
17 static void rtl92cu_deinit_led(struct rtl_led *pled) in rtl92cu_deinit_led() argument
21 void rtl92cu_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92cu_sw_led_on() argument
27 REG_LEDCFG2, pled->ledpin); in rtl92cu_sw_led_on()
29 switch (pled->ledpin) { in rtl92cu_sw_led_on()
41 pled->ledpin); in rtl92cu_sw_led_on()
44 pled->ledon = true; in rtl92cu_sw_led_on()
[all …]
Dled.h9 void rtl92cu_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
10 void rtl92cu_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192se/
Dled.c10 struct rtl_led *pled, enum rtl_led_pin ledpin) in _rtl92se_init_led() argument
12 pled->hw = hw; in _rtl92se_init_led()
13 pled->ledpin = ledpin; in _rtl92se_init_led()
14 pled->ledon = false; in _rtl92se_init_led()
25 void rtl92se_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92se_sw_led_on() argument
31 LEDCFG, pled->ledpin); in rtl92se_sw_led_on()
35 switch (pled->ledpin) { in rtl92se_sw_led_on()
46 pled->ledpin); in rtl92se_sw_led_on()
49 pled->ledon = true; in rtl92se_sw_led_on()
52 void rtl92se_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92se_sw_led_off() argument
[all …]
Dled.h8 void rtl92se_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
9 void rtl92se_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/
Dled.c10 struct rtl_led *pled, enum rtl_led_pin ledpin) in _rtl92ee_init_led() argument
12 pled->hw = hw; in _rtl92ee_init_led()
13 pled->ledpin = ledpin; in _rtl92ee_init_led()
14 pled->ledon = false; in _rtl92ee_init_led()
17 void rtl92ee_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92ee_sw_led_on() argument
23 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl92ee_sw_led_on()
25 switch (pled->ledpin) { in rtl92ee_sw_led_on()
42 "switch case %#x not processed\n", pled->ledpin); in rtl92ee_sw_led_on()
45 pled->ledon = true; in rtl92ee_sw_led_on()
48 void rtl92ee_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92ee_sw_led_off() argument
[all …]
Dled.h8 void rtl92ee_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
9 void rtl92ee_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
Dled.c10 struct rtl_led *pled, enum rtl_led_pin ledpin) in _rtl92ce_init_led() argument
12 pled->hw = hw; in _rtl92ce_init_led()
13 pled->ledpin = ledpin; in _rtl92ce_init_led()
14 pled->ledon = false; in _rtl92ce_init_led()
17 void rtl92ce_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92ce_sw_led_on() argument
23 REG_LEDCFG2, pled->ledpin); in rtl92ce_sw_led_on()
27 switch (pled->ledpin) { in rtl92ce_sw_led_on()
39 pled->ledpin); in rtl92ce_sw_led_on()
42 pled->ledon = true; in rtl92ce_sw_led_on()
45 void rtl92ce_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92ce_sw_led_off() argument
[all …]
Dled.h8 void rtl92ce_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
9 void rtl92ce_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8192de/
Dled.c10 struct rtl_led *pled, enum rtl_led_pin ledpin) in _rtl92ce_init_led() argument
12 pled->hw = hw; in _rtl92ce_init_led()
13 pled->ledpin = ledpin; in _rtl92ce_init_led()
14 pled->ledon = false; in _rtl92ce_init_led()
17 void rtl92de_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92de_sw_led_on() argument
23 REG_LEDCFG2, pled->ledpin); in rtl92de_sw_led_on()
25 switch (pled->ledpin) { in rtl92de_sw_led_on()
48 pled->ledpin); in rtl92de_sw_led_on()
51 pled->ledon = true; in rtl92de_sw_led_on()
54 void rtl92de_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl92de_sw_led_off() argument
[all …]
Dled.h8 void rtl92de_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
9 void rtl92de_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
Dled.c9 static void _rtl8723be_init_led(struct ieee80211_hw *hw, struct rtl_led *pled, in _rtl8723be_init_led() argument
12 pled->hw = hw; in _rtl8723be_init_led()
13 pled->ledpin = ledpin; in _rtl8723be_init_led()
14 pled->ledon = false; in _rtl8723be_init_led()
17 void rtl8723be_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8723be_sw_led_on() argument
23 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl8723be_sw_led_on()
25 switch (pled->ledpin) { in rtl8723be_sw_led_on()
39 pled->ledpin); in rtl8723be_sw_led_on()
42 pled->ledon = true; in rtl8723be_sw_led_on()
45 void rtl8723be_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8723be_sw_led_off() argument
[all …]
Dled.h8 void rtl8723be_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
9 void rtl8723be_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
Dled.c10 struct rtl_led *pled, enum rtl_led_pin ledpin) in _rtl8723e_init_led() argument
12 pled->hw = hw; in _rtl8723e_init_led()
13 pled->ledpin = ledpin; in _rtl8723e_init_led()
14 pled->ledon = false; in _rtl8723e_init_led()
17 void rtl8723e_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8723e_sw_led_on() argument
23 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl8723e_sw_led_on()
25 switch (pled->ledpin) { in rtl8723e_sw_led_on()
40 pled->ledpin); in rtl8723e_sw_led_on()
43 pled->ledon = true; in rtl8723e_sw_led_on()
46 void rtl8723e_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl8723e_sw_led_off() argument
[all …]
Dled.h8 void rtl8723e_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
9 void rtl8723e_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
/Linux-v5.4/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
Dled.c10 struct rtl_led *pled, enum rtl_led_pin ledpin) in _rtl88ee_init_led() argument
12 pled->hw = hw; in _rtl88ee_init_led()
13 pled->ledpin = ledpin; in _rtl88ee_init_led()
14 pled->ledon = false; in _rtl88ee_init_led()
17 void rtl88ee_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl88ee_sw_led_on() argument
23 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl88ee_sw_led_on()
25 switch (pled->ledpin) { in rtl88ee_sw_led_on()
39 "switch case %#x not processed\n", pled->ledpin); in rtl88ee_sw_led_on()
42 pled->ledon = true; in rtl88ee_sw_led_on()
45 void rtl88ee_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled) in rtl88ee_sw_led_off() argument
[all …]
Dled.h8 void rtl88ee_sw_led_on(struct ieee80211_hw *hw, struct rtl_led *pled);
9 void rtl88ee_sw_led_off(struct ieee80211_hw *hw, struct rtl_led *pled);
/Linux-v5.4/include/linux/mfd/da9052/
Dpdata.h18 struct led_platform_data *pled; member
/Linux-v5.4/drivers/platform/x86/
Dasus-laptop.c254 struct asus_led pled; member
651 if (!IS_ERR_OR_NULL(asus->pled.led.dev)) in asus_led_exit()
652 led_classdev_unregister(&asus->pled.led); in asus_led_exit()
726 r = asus_led_register(asus, &asus->pled, "asus::phone", METHOD_PLED); in asus_led_init()