Lines Matching refs:new
117 uint8_t *new; member
292 uint8_t *new; in usb_kbd_service_key() local
296 new = data->old; in usb_kbd_service_key()
297 old = data->new; in usb_kbd_service_key()
299 new = data->new; in usb_kbd_service_key()
304 (memscan(new + 2, old[i], USB_KBD_BOOT_REPORT_SIZE - 2) == in usb_kbd_service_key()
305 new + USB_KBD_BOOT_REPORT_SIZE)) { in usb_kbd_service_key()
306 res |= usb_kbd_translate(data, old[i], data->new[0], up); in usb_kbd_service_key()
319 if (data->new[0] == 0x00) in usb_kbd_irq_worker()
322 else if ((data->new[0] == LEFT_CNTR) || (data->new[0] == RIGHT_CNTR)) in usb_kbd_irq_worker()
331 if ((data->new[2] > 3) && (data->old[2] == data->new[2])) in usb_kbd_irq_worker()
332 res |= usb_kbd_translate(data, data->new[2], data->new[0], 2); in usb_kbd_irq_worker()
337 memcpy(data->old, data->new, USB_KBD_BOOT_REPORT_SIZE); in usb_kbd_irq_worker()
362 if (usb_int_msg(dev, data->intpipe, &data->new[0],
372 1, 0, data->new, USB_KBD_BOOT_REPORT_SIZE);
373 if (memcmp(data->old, data->new, USB_KBD_BOOT_REPORT_SIZE)) {
382 USB_KBD_BOOT_REPORT_SIZE, data->new,
488 data->new = memalign(USB_DMA_MINALIGN,
517 USB_KBD_BOOT_REPORT_SIZE, data->new,
522 1, 0, data->new, USB_KBD_BOOT_REPORT_SIZE) < 0) {
524 if (usb_int_msg(dev, data->intpipe, data->new, data->intpktsize,
632 free(data->new);
734 free(data->new);