Lines Matching refs:on_value
1028 int pwc_set_leds(struct pwc_device *pdev, int on_value, int off_value)
1034 on_value /= 100;
1036 if (on_value < 0)
1037 on_value = 0;
1038 if (on_value > 0xff)
1039 on_value = 0xff;
1045 buf[0] = on_value;
1052 static int pwc_get_leds(struct pwc_device *pdev, int *on_value, int *off_value)
1058 *on_value = -1;
1067 *on_value = buf[0] * 100;