Lines Matching refs:lm3533
44 struct lm3533 *lm3533; member
104 ret = lm3533_update(led->lm3533, LM3533_REG_PATTERN_ENABLE, val, mask); in lm3533_led_pattern_enable()
262 ret = lm3533_write(led->lm3533, reg, val); in lm3533_led_delay_set()
343 ret = lm3533_read(led->lm3533, reg, &val); in show_risefalltime()
378 ret = lm3533_write(led->lm3533, reg, val); in store_risefalltime()
412 ret = lm3533_read(led->lm3533, reg, &val); in show_als_channel()
444 ret = lm3533_update(led->lm3533, reg, val, mask); in store_als_channel()
462 ret = lm3533_read(led->lm3533, reg, &val); in show_als_en()
494 ret = lm3533_update(led->lm3533, reg, val, mask); in store_als_en()
512 ret = lm3533_read(led->lm3533, reg, &val); in show_linear()
547 ret = lm3533_update(led->lm3533, reg, val, mask); in store_linear()
618 if (!led->lm3533->have_als) in lm3533_led_attr_is_visible()
649 struct lm3533 *lm3533; in lm3533_led_probe() local
656 lm3533 = dev_get_drvdata(pdev->dev.parent); in lm3533_led_probe()
657 if (!lm3533) in lm3533_led_probe()
675 led->lm3533 = lm3533; in lm3533_led_probe()
691 led->cb.lm3533 = lm3533; in lm3533_led_probe()
693 led->cb.dev = lm3533->dev; in lm3533_led_probe()