Lines Matching refs:dr
231 struct usb_ctrlrequest *dr; member
502 struct usb_ctrlrequest *dr = mcs->dr; in mos7840_get_reg() local
509 dr->bRequestType = MCS_RD_RTYPE; in mos7840_get_reg()
510 dr->bRequest = MCS_RDREQ; in mos7840_get_reg()
511 dr->wValue = cpu_to_le16(Wval); /* 0 */ in mos7840_get_reg()
512 dr->wIndex = cpu_to_le16(reg); in mos7840_get_reg()
513 dr->wLength = cpu_to_le16(2); in mos7840_get_reg()
516 (unsigned char *)dr, buffer, 2, in mos7840_get_reg()
549 struct usb_ctrlrequest *dr = mcs->led_dr; in mos7840_set_led_async() local
551 dr->bRequestType = MCS_WR_RTYPE; in mos7840_set_led_async()
552 dr->bRequest = MCS_WRREQ; in mos7840_set_led_async()
553 dr->wValue = cpu_to_le16(wval); in mos7840_set_led_async()
554 dr->wIndex = cpu_to_le16(reg); in mos7840_set_led_async()
555 dr->wLength = cpu_to_le16(0); in mos7840_set_led_async()
558 (unsigned char *)dr, NULL, 0, mos7840_set_led_callback, NULL); in mos7840_set_led_async()
2306 mos7840_port->dr = kmalloc(sizeof(struct usb_ctrlrequest), in mos7840_port_probe()
2309 !mos7840_port->dr) { in mos7840_port_probe()
2360 kfree(mos7840_port->dr); in mos7840_port_probe()
2388 kfree(mos7840_port->dr); in mos7840_port_remove()