Searched refs:cytherm (Results 1 – 3 of 3) sorted by relevance
84 struct usb_cytherm *cytherm = usb_get_intfdata(intf); in brightness_show() local86 return sprintf(buf, "%i", cytherm->brightness); in brightness_show()93 struct usb_cytherm *cytherm = usb_get_intfdata(intf); in brightness_store() local102 cytherm->brightness = simple_strtoul(buf, NULL, 10); in brightness_store()104 if (cytherm->brightness > 0xFF) in brightness_store()105 cytherm->brightness = 0xFF; in brightness_store()106 else if (cytherm->brightness < 0) in brightness_store()107 cytherm->brightness = 0; in brightness_store()110 retval = vendor_command(cytherm->udev, WRITE_RAM, BRIGHTNESS, in brightness_store()111 cytherm->brightness, buffer, 8); in brightness_store()[all …]
9 obj-$(CONFIG_USB_CYTHERM) += cytherm.o
105 module will be called cytherm.