Lines Matching refs:pled
73 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()
201 led_classdev_unregister(&apu_led->pled[i].cdev); in apu_led_exit()