Searched refs:als_attr (Results 1 – 1 of 1) sorted by relevance
/drivers/iio/light/ |
D | lm3533-als.c | 505 struct lm3533_als_attribute *als_attr = to_lm3533_als_attr(attr); in show_als_attr() local 509 switch (als_attr->type) { in show_als_attr() 511 ret = lm3533_als_get_hysteresis(indio_dev, als_attr->val1, in show_als_attr() 515 ret = lm3533_als_get_target(indio_dev, als_attr->val1, in show_als_attr() 516 als_attr->val2, &val); in show_als_attr() 519 ret = lm3533_als_get_threshold(indio_dev, als_attr->val1, in show_als_attr() 523 ret = lm3533_als_get_threshold(indio_dev, als_attr->val1, in show_als_attr() 541 struct lm3533_als_attribute *als_attr = to_lm3533_als_attr(attr); in store_als_attr() local 548 switch (als_attr->type) { in store_als_attr() 550 ret = lm3533_als_set_target(indio_dev, als_attr->val1, in store_als_attr() [all …]
|