Lines Matching refs:configcr
65 struct usb_ctrlrequest *configcr; member
129 pm->configcr->wValue = cpu_to_le16( SET_PULSE_ASLEEP ); in powermate_sync_state()
130 pm->configcr->wIndex = cpu_to_le16( pm->pulse_asleep ? 1 : 0 ); in powermate_sync_state()
133 pm->configcr->wValue = cpu_to_le16( SET_PULSE_AWAKE ); in powermate_sync_state()
134 pm->configcr->wIndex = cpu_to_le16( pm->pulse_awake ? 1 : 0 ); in powermate_sync_state()
165 pm->configcr->wValue = cpu_to_le16( (pm->pulse_table << 8) | SET_PULSE_MODE ); in powermate_sync_state()
166 pm->configcr->wIndex = cpu_to_le16( (arg << 8) | op ); in powermate_sync_state()
169 pm->configcr->wValue = cpu_to_le16( SET_STATIC_BRIGHTNESS ); in powermate_sync_state()
170 pm->configcr->wIndex = cpu_to_le16( pm->static_brightness ); in powermate_sync_state()
180 pm->configcr->bRequestType = 0x41; /* vendor request */ in powermate_sync_state()
181 pm->configcr->bRequest = 0x01; in powermate_sync_state()
182 pm->configcr->wLength = 0; in powermate_sync_state()
185 (void *) pm->configcr, NULL, 0, in powermate_sync_state()
284 pm->configcr = kmalloc(sizeof(*(pm->configcr)), GFP_KERNEL); in powermate_alloc_buffers()
285 if (!pm->configcr) in powermate_alloc_buffers()
295 kfree(pm->configcr); in powermate_free_buffers()