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