/linux/drivers/leds/ |
A D | leds-mlxcpld.c | 116 struct mlxcpld_led_priv *pled; member 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() 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() 332 cpld->pled = devm_kcalloc(dev, in mlxcpld_led_config() 336 if (!cpld->pled) in mlxcpld_led_config() [all …]
|
A D | leds-apu.c | 73 struct apu_led_priv *pled; member 108 struct apu_led_priv *pled = cdev_to_priv(led); in apu1_led_brightness_set() local 111 iowrite8(value ? APU1_LEDON : APU1_LEDOFF, pled->param.addr); in apu1_led_brightness_set() 120 apu_led->pled = devm_kcalloc(dev, in apu_led_config() 124 if (!apu_led->pled) in apu_led_config() 128 struct apu_led_priv *pled = &apu_led->pled[i]; in apu_led_config() local 129 struct led_classdev *led_cdev = &pled->cdev; in apu_led_config() 137 pled->param.addr = devm_ioremap(dev, in apu_led_config() 139 if (!pled->param.addr) { in apu_led_config() 155 led_classdev_unregister(&apu_led->pled[i].cdev); in apu_led_config() [all …]
|
A D | leds-da9052.c | 93 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()
|
A D | leds-lp3944.c | 297 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()
|
A D | leds-pca9532.c | 371 struct pca9532_led *pled = &pdata->leds[i]; in pca9532_configure() local 374 led->type = pled->type; in pca9532_configure() 382 if (pled->state == PCA9532_KEEP) in pca9532_configure() 385 led->state = pled->state; in pca9532_configure() 386 led->name = pled->name; in pca9532_configure() 388 led->ldev.default_trigger = pled->default_trigger; in pca9532_configure() 411 data->idev->name = pled->name; in pca9532_configure()
|
/linux/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
A D | led.c | 10 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() 26 switch (pled->ledpin) { in rtl8821ae_sw_led_on() 44 pled->ledon = true; in rtl8821ae_sw_led_on() 53 switch (pled->ledpin) { in rtl8812ae_sw_led_on() 69 ledreg, pled->ledpin); in rtl8812ae_sw_led_on() 76 pled->ledon = true; in rtl8812ae_sw_led_on() 116 pled->ledon = false; in rtl8821ae_sw_led_off() [all …]
|
A D | led.h | 8 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/drivers/net/wireless/realtek/rtlwifi/rtl8192cu/ |
A D | led.c | 12 pled->hw = hw; in _rtl92cu_init_led() 13 pled->ledpin = ledpin; in _rtl92cu_init_led() 14 pled->ledon = false; in _rtl92cu_init_led() 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() 53 REG_LEDCFG2, pled->ledpin); in rtl92cu_sw_led_off() 55 switch (pled->ledpin) { in rtl92cu_sw_led_off() 73 pled->ledpin); in rtl92cu_sw_led_off() [all …]
|
A D | led.h | 9 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/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/ |
A D | led.c | 10 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() 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() 51 REG_LEDCFG2, pled->ledpin); in rtl92ce_sw_led_off() 55 switch (pled->ledpin) { in rtl92ce_sw_led_off() [all …]
|
A D | led.h | 8 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/drivers/net/wireless/realtek/rtlwifi/rtl8192ee/ |
A D | led.c | 10 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() 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() 56 switch (pled->ledpin) { in rtl92ee_sw_led_off() 72 "switch case %#x not processed\n", pled->ledpin); in rtl92ee_sw_led_off() [all …]
|
A D | led.h | 8 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/drivers/net/wireless/realtek/rtlwifi/rtl8192se/ |
A D | led.c | 12 pled->hw = hw; in _rtl92se_init_led() 13 pled->ledpin = ledpin; in _rtl92se_init_led() 14 pled->ledon = false; in _rtl92se_init_led() 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() 61 LEDCFG, pled->ledpin); in rtl92se_sw_led_off() 65 switch (pled->ledpin) { in rtl92se_sw_led_off() 81 pled->ledpin); in rtl92se_sw_led_off() [all …]
|
A D | led.h | 8 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/drivers/net/wireless/realtek/rtlwifi/rtl8192de/ |
A D | led.c | 12 pled->hw = hw; in _rtl92ce_init_led() 13 pled->ledpin = ledpin; in _rtl92ce_init_led() 14 pled->ledon = false; in _rtl92ce_init_led() 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() 60 REG_LEDCFG2, pled->ledpin); in rtl92de_sw_led_off() 64 switch (pled->ledpin) { in rtl92de_sw_led_off() 82 pled->ledpin); in rtl92de_sw_led_off() [all …]
|
A D | led.h | 8 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/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/ |
A D | led.c | 10 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() 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() 56 switch (pled->ledpin) { in rtl8723e_sw_led_off() 81 pled->ledpin); in rtl8723e_sw_led_off() [all …]
|
A D | led.h | 8 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/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
A D | led.c | 12 pled->hw = hw; in _rtl8723be_init_led() 13 pled->ledpin = ledpin; in _rtl8723be_init_led() 14 pled->ledon = false; in _rtl8723be_init_led() 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() 51 "LedAddr:%X ledpin=%d\n", REG_LEDCFG2, pled->ledpin); in rtl8723be_sw_led_off() 55 switch (pled->ledpin) { in rtl8723be_sw_led_off() 80 pled->ledpin); in rtl8723be_sw_led_off() [all …]
|
A D | led.h | 8 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/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/ |
A D | led.c | 10 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() 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() 53 switch (pled->ledpin) { in rtl88ee_sw_led_off() 76 "switch case %#x not processed\n", pled->ledpin); in rtl88ee_sw_led_off() [all …]
|
A D | led.h | 8 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/include/linux/mfd/da9052/ |
A D | pdata.h | 18 struct led_platform_data *pled; member
|
/linux/drivers/platform/x86/ |
A D | asus-laptop.c | 253 struct asus_led pled; member 647 led_classdev_unregister(&asus->pled.led); in asus_led_exit() 719 r = asus_led_register(asus, &asus->pled, "asus::phone", METHOD_PLED); in asus_led_init()
|