Lines Matching refs:off_value
1028 int pwc_set_leds(struct pwc_device *pdev, int on_value, int off_value)
1035 off_value /= 100;
1040 if (off_value < 0)
1041 off_value = 0;
1042 if (off_value > 0xff)
1043 off_value = 0xff;
1046 buf[1] = off_value;
1052 static int pwc_get_leds(struct pwc_device *pdev, int *on_value, int *off_value)
1059 *off_value = -1;
1068 *off_value = buf[1] * 100;