Home
last modified time | relevance | path

Searched refs:usbdata (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/staging/rtl8192u/
Dr8192U_core.c261 u8 *usbdata = kzalloc(sizeof(data), GFP_KERNEL); in write_nic_byte_E() local
263 if (!usbdata) in write_nic_byte_E()
265 *usbdata = data; in write_nic_byte_E()
269 indx | 0xfe00, 0, usbdata, 1, HZ / 2); in write_nic_byte_E()
270 kfree(usbdata); in write_nic_byte_E()
284 u8 *usbdata = kzalloc(sizeof(u8), GFP_KERNEL); in read_nic_byte_E() local
286 if (!usbdata) in read_nic_byte_E()
291 indx | 0xfe00, 0, usbdata, 1, HZ / 2); in read_nic_byte_E()
292 *data = *usbdata; in read_nic_byte_E()
293 kfree(usbdata); in read_nic_byte_E()
[all …]
/Linux-v4.19/sound/usb/usx2y/
Dusbusx2yaudio.c658 int *usbdata = NULL; in usX2Y_rate_set() local
667 usbdata = kmalloc_array(NOOF_SETRATE_URBS, sizeof(int), in usX2Y_rate_set()
669 if (NULL == usbdata) { in usX2Y_rate_set()
678 ((char*)(usbdata + i))[0] = ra[i].c1; in usX2Y_rate_set()
679 ((char*)(usbdata + i))[1] = ra[i].c2; in usX2Y_rate_set()
681 usbdata + i, 2, i_usX2Y_04Int, usX2Y); in usX2Y_rate_set()
706 kfree(usbdata); in usX2Y_rate_set()
/Linux-v4.19/drivers/usb/serial/
Dgarmin_gps.c384 __le32 *usbdata = (__le32 *) garmin_data_p->inbuffer; in gsp_rec_packet() local
403 if ((__u8 *)&(usbdata[3]) != recpkt) { in gsp_rec_packet()
405 &(usbdata[4]), recpkt); in gsp_rec_packet()
420 usbdata[0] = __cpu_to_le32(GARMIN_LAYERID_APPL); in gsp_rec_packet()
421 usbdata[1] = __cpu_to_le32(pktid); in gsp_rec_packet()
422 usbdata[2] = __cpu_to_le32(size); in gsp_rec_packet()