Searched refs:dmadata (Results 1 – 1 of 1) sorted by relevance
/linux-4.19.296/drivers/i2c/busses/ |
D | i2c-tiny-usb.c | 181 void *dmadata = kmalloc(len, GFP_KERNEL); in usb_read() local 184 if (!dmadata) in usb_read() 190 USB_DIR_IN, value, index, dmadata, len, 2000); in usb_read() 192 memcpy(data, dmadata, len); in usb_read() 193 kfree(dmadata); in usb_read() 201 void *dmadata = kmemdup(data, len, GFP_KERNEL); in usb_write() local 204 if (!dmadata) in usb_write() 210 value, index, dmadata, len, 2000); in usb_write() 212 kfree(dmadata); in usb_write()
|