Lines Matching refs:DEVICE_ATTR
1113 static DEVICE_ATTR(prox0_raw_en, S_IRUGO | S_IWUSR, bh1770_prox_enable_show,
1115 static DEVICE_ATTR(prox0_thresh_above1_value, S_IRUGO | S_IWUSR,
1118 static DEVICE_ATTR(prox0_thresh_above0_value, S_IRUGO | S_IWUSR,
1121 static DEVICE_ATTR(prox0_raw, S_IRUGO, bh1770_prox_result_show, NULL);
1122 static DEVICE_ATTR(prox0_sensor_range, S_IRUGO, bh1770_prox_range_show, NULL);
1123 static DEVICE_ATTR(prox0_thresh_above_count, S_IRUGO | S_IWUSR,
1126 static DEVICE_ATTR(prox0_rate_above, S_IRUGO | S_IWUSR,
1129 static DEVICE_ATTR(prox0_rate_below, S_IRUGO | S_IWUSR,
1132 static DEVICE_ATTR(prox0_rate_avail, S_IRUGO, bh1770_get_prox_rate_avail, NULL);
1134 static DEVICE_ATTR(lux0_calibscale, S_IRUGO | S_IWUSR, bh1770_lux_calib_show,
1136 static DEVICE_ATTR(lux0_calibscale_default, S_IRUGO,
1139 static DEVICE_ATTR(lux0_input, S_IRUGO, bh1770_lux_result_show, NULL);
1140 static DEVICE_ATTR(lux0_sensor_range, S_IRUGO, bh1770_lux_range_show, NULL);
1141 static DEVICE_ATTR(lux0_rate, S_IRUGO | S_IWUSR, bh1770_get_lux_rate,
1143 static DEVICE_ATTR(lux0_rate_avail, S_IRUGO, bh1770_get_lux_rate_avail, NULL);
1144 static DEVICE_ATTR(lux0_thresh_above_value, S_IRUGO | S_IWUSR,
1147 static DEVICE_ATTR(lux0_thresh_below_value, S_IRUGO | S_IWUSR,
1150 static DEVICE_ATTR(chip_id, S_IRUGO, bh1770_chip_id_show, NULL);
1151 static DEVICE_ATTR(power_state, S_IRUGO | S_IWUSR, bh1770_power_state_show,