Lines Matching refs:length
22 __u32 length; member
41 static int emi26_writememory( struct usb_device *dev, int address, unsigned char *data, int length,…
51 static int emi26_writememory (struct usb_device *dev, int address, unsigned char *data, int length,… in emi26_writememory() argument
54 unsigned char *buffer = kmalloc (length, GFP_KERNEL); in emi26_writememory()
57 printk(KERN_ERR "emi26: kmalloc(%d) failed.", length); in emi26_writememory()
60 memcpy (buffer, data, length); in emi26_writememory()
63 …result = usb_control_msg (dev, usb_sndctrlpipe(dev, 0), request, 0x40, address, 0, buffer, length,… in emi26_writememory()
98 …err = emi26_writememory(dev, g_Loader[i].address, g_Loader[i].data, g_Loader[i].length, ANCHOR_LOA… in emi26_load_firmware()
116 while ((g_bitstream[pos].type == 0) && (i + g_bitstream[pos].length < sizeof(buf))) { in emi26_load_firmware()
117 memcpy(buf + i, g_bitstream[pos].data, g_bitstream[pos].length); in emi26_load_firmware()
118 i += g_bitstream[pos].length; in emi26_load_firmware()
137 …err = emi26_writememory(dev, g_Loader[i].address, g_Loader[i].data, g_Loader[i].length, ANCHOR_LOA… in emi26_load_firmware()
154 …err = emi26_writememory(dev, g_Firmware[i].address, g_Firmware[i].data, g_Firmware[i].length, ANCH… in emi26_load_firmware()
171 …err = emi26_writememory(dev, g_Firmware[i].address, g_Firmware[i].data, g_Firmware[i].length, ANCH… in emi26_load_firmware()