Lines Matching defs:configcr
66 struct usb_ctrlrequest *configcr;
130 pm->configcr->wValue = cpu_to_le16( SET_PULSE_ASLEEP );
131 pm->configcr->wIndex = cpu_to_le16( pm->pulse_asleep ? 1 : 0 );
134 pm->configcr->wValue = cpu_to_le16( SET_PULSE_AWAKE );
135 pm->configcr->wIndex = cpu_to_le16( pm->pulse_awake ? 1 : 0 );
166 pm->configcr->wValue = cpu_to_le16( (pm->pulse_table << 8) | SET_PULSE_MODE );
167 pm->configcr->wIndex = cpu_to_le16( (arg << 8) | op );
170 pm->configcr->wValue = cpu_to_le16( SET_STATIC_BRIGHTNESS );
171 pm->configcr->wIndex = cpu_to_le16( pm->static_brightness );
179 /* printk("powermate: %04x %04x\n", pm->configcr->wValue, pm->configcr->wIndex); */
181 pm->configcr->bRequestType = 0x41; /* vendor request */
182 pm->configcr->bRequest = 0x01;
183 pm->configcr->wLength = 0;
186 (void *) pm->configcr, NULL, 0,
285 pm->configcr = kmalloc(sizeof(*(pm->configcr)), GFP_KERNEL);
286 if (!pm->configcr)
296 kfree(pm->configcr);