Lines Matching +full:0 +full:x0302

21 #define APPLE_VENDOR_ID		0x05AC
23 #define USB_REQ_GET_REPORT 0x01
24 #define USB_REQ_SET_REPORT 0x09
28 #define ACD_USB_EDID 0x0302
29 #define ACD_USB_BRIGHTNESS 0x0310
31 #define ACD_BTN_NONE 0
45 .bInterfaceProtocol = 0x00
49 { APPLEDISPLAY_DEVICE(0x9218) },
50 { APPLEDISPLAY_DEVICE(0x9219) },
51 { APPLEDISPLAY_DEVICE(0x921c) },
52 { APPLEDISPLAY_DEVICE(0x921d) },
53 { APPLEDISPLAY_DEVICE(0x9222) },
54 { APPLEDISPLAY_DEVICE(0x9226) },
55 { APPLEDISPLAY_DEVICE(0x9236) },
75 static atomic_t count_displays = ATOMIC_INIT(0);
85 case 0: in appledisplay_complete()
115 schedule_delayed_work(&pdata->work, 0); in appledisplay_complete()
119 pdata->button_pressed = 0; in appledisplay_complete()
137 pdata->msgdata[0] = 0x10; in appledisplay_bl_update_status()
142 usb_sndctrlpipe(pdata->udev, 0), in appledisplay_bl_update_status()
146 0, in appledisplay_bl_update_status()
151 if (retval < 0) in appledisplay_bl_update_status()
154 return 0; in appledisplay_bl_update_status()
165 usb_rcvctrlpipe(pdata->udev, 0), in appledisplay_bl_get_brightness()
169 0, in appledisplay_bl_get_brightness()
173 if (retval >= 0) in appledisplay_bl_get_brightness()
180 if (retval < 0) in appledisplay_bl_get_brightness()
198 if (retval >= 0) in appledisplay_work()
214 int int_in_endpointAddr = 0; in appledisplay_probe()
248 pdata->urb = usb_alloc_urb(0, GFP_KERNEL); in appledisplay_probe()
278 memset(&props, 0, sizeof(struct backlight_properties)); in appledisplay_probe()
280 props.max_brightness = 0xff; in appledisplay_probe()
293 if (brightness < 0) { in appledisplay_probe()
308 return 0; in appledisplay_probe()