Searched refs:cytherm (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/misc/ |
H A D | cytherm.c | 70 struct usb_cytherm *cytherm = usb_get_intfdata(intf); in brightness_show() local 72 return sprintf(buf, "%i", cytherm->brightness); in brightness_show() 79 struct usb_cytherm *cytherm = usb_get_intfdata(intf); in brightness_store() local 88 cytherm->brightness = simple_strtoul(buf, NULL, 10); in brightness_store() 90 if (cytherm->brightness > 0xFF) in brightness_store() 91 cytherm->brightness = 0xFF; in brightness_store() 92 else if (cytherm->brightness < 0) in brightness_store() 93 cytherm->brightness = 0; in brightness_store() 96 retval = vendor_command(cytherm->udev, WRITE_RAM, BRIGHTNESS, in brightness_store() 97 cytherm in brightness_store() 120 struct usb_cytherm *cytherm = usb_get_intfdata(intf); temp_show() local 157 struct usb_cytherm *cytherm = usb_get_intfdata(intf); button_show() local 186 struct usb_cytherm *cytherm = usb_get_intfdata(intf); port0_show() local 210 struct usb_cytherm *cytherm = usb_get_intfdata(intf); port0_store() local 241 struct usb_cytherm *cytherm = usb_get_intfdata(intf); port1_show() local 265 struct usb_cytherm *cytherm = usb_get_intfdata(intf); port1_store() local 301 ATTRIBUTE_GROUPS(cytherm); global() variable [all...] |
/kernel/linux/linux-6.6/drivers/usb/misc/ |
H A D | cytherm.c | 70 struct usb_cytherm *cytherm = usb_get_intfdata(intf); in brightness_show() local 72 return sprintf(buf, "%i", cytherm->brightness); in brightness_show() 79 struct usb_cytherm *cytherm = usb_get_intfdata(intf); in brightness_store() local 88 cytherm->brightness = simple_strtoul(buf, NULL, 10); in brightness_store() 90 if (cytherm->brightness > 0xFF) in brightness_store() 91 cytherm->brightness = 0xFF; in brightness_store() 92 else if (cytherm->brightness < 0) in brightness_store() 93 cytherm->brightness = 0; in brightness_store() 96 retval = vendor_command(cytherm->udev, WRITE_RAM, BRIGHTNESS, in brightness_store() 97 cytherm in brightness_store() 120 struct usb_cytherm *cytherm = usb_get_intfdata(intf); temp_show() local 157 struct usb_cytherm *cytherm = usb_get_intfdata(intf); button_show() local 186 struct usb_cytherm *cytherm = usb_get_intfdata(intf); port0_show() local 210 struct usb_cytherm *cytherm = usb_get_intfdata(intf); port0_store() local 241 struct usb_cytherm *cytherm = usb_get_intfdata(intf); port1_show() local 265 struct usb_cytherm *cytherm = usb_get_intfdata(intf); port1_store() local 301 ATTRIBUTE_GROUPS(cytherm); global() variable [all...] |
Completed in 2 milliseconds