Lines Matching refs:usb_buf
105 char *usb_buf; in kalmia_init_and_get_ethernet_addr() local
108 usb_buf = kmalloc(buflen, GFP_DMA | GFP_KERNEL); in kalmia_init_and_get_ethernet_addr()
109 if (!usb_buf) in kalmia_init_and_get_ethernet_addr()
112 memcpy(usb_buf, init_msg_1, 12); in kalmia_init_and_get_ethernet_addr()
113 status = kalmia_send_init_packet(dev, usb_buf, ARRAY_SIZE(init_msg_1), in kalmia_init_and_get_ethernet_addr()
114 usb_buf, 24); in kalmia_init_and_get_ethernet_addr()
118 memcpy(usb_buf, init_msg_2, 12); in kalmia_init_and_get_ethernet_addr()
119 status = kalmia_send_init_packet(dev, usb_buf, ARRAY_SIZE(init_msg_2), in kalmia_init_and_get_ethernet_addr()
120 usb_buf, 28); in kalmia_init_and_get_ethernet_addr()
124 memcpy(ethernet_addr, usb_buf + 10, ETH_ALEN); in kalmia_init_and_get_ethernet_addr()
126 kfree(usb_buf); in kalmia_init_and_get_ethernet_addr()