Searched refs:off_value (Results 1 – 2 of 2) sorted by relevance
1059 int pwc_set_leds(struct pwc_device *pdev, int on_value, int off_value) in pwc_set_leds() argument1066 off_value /= 100; in pwc_set_leds()1071 if (off_value < 0) in pwc_set_leds()1072 off_value = 0; in pwc_set_leds()1073 if (off_value > 0xff) in pwc_set_leds()1074 off_value = 0xff; in pwc_set_leds()1077 buf[1] = off_value; in pwc_set_leds()1082 int pwc_get_leds(struct pwc_device *pdev, int *on_value, int *off_value) in pwc_get_leds() argument1089 *off_value = -1; in pwc_get_leds()1097 *off_value = buf[1] * 100; in pwc_get_leds()
249 extern int pwc_set_leds(struct pwc_device *pdev, int on_value, int off_value);250 extern int pwc_get_leds(struct pwc_device *pdev, int *on_value, int *off_value);