Home
last modified time | relevance | path

Searched refs:on_value (Results 1 – 2 of 2) sorted by relevance

/linux-2.4.37.9/drivers/usb/
Dpwc-ctrl.c1059 int pwc_set_leds(struct pwc_device *pdev, int on_value, int off_value) in pwc_set_leds() argument
1065 on_value /= 100; in pwc_set_leds()
1067 if (on_value < 0) in pwc_set_leds()
1068 on_value = 0; in pwc_set_leds()
1069 if (on_value > 0xff) in pwc_set_leds()
1070 on_value = 0xff; in pwc_set_leds()
1076 buf[0] = on_value; in pwc_set_leds()
1082 int pwc_get_leds(struct pwc_device *pdev, int *on_value, int *off_value) in pwc_get_leds() argument
1088 *on_value = -1; in pwc_get_leds()
1096 *on_value = buf[0] * 100; in pwc_get_leds()
Dpwc.h249 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);