Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/rtl8192u/
Dr8192U_core.c224 u8 *usbdata = kzalloc(sizeof(data), GFP_KERNEL); in write_nic_byte_E() local
226 if (!usbdata) in write_nic_byte_E()
228 *usbdata = data; in write_nic_byte_E()
232 indx | 0xfe00, 0, usbdata, 1, HZ / 2); in write_nic_byte_E()
233 kfree(usbdata); in write_nic_byte_E()
247 u8 *usbdata = kzalloc(sizeof(u8), GFP_KERNEL); in read_nic_byte_E() local
249 if (!usbdata) in read_nic_byte_E()
254 indx | 0xfe00, 0, usbdata, 1, HZ / 2); in read_nic_byte_E()
255 *data = *usbdata; in read_nic_byte_E()
256 kfree(usbdata); in read_nic_byte_E()
[all …]
/Linux-v5.10/sound/usb/usx2y/
Dusbusx2yaudio.c644 int *usbdata = NULL; in usX2Y_rate_set() local
653 usbdata = kmalloc_array(NOOF_SETRATE_URBS, sizeof(int), in usX2Y_rate_set()
655 if (NULL == usbdata) { in usX2Y_rate_set()
664 ((char*)(usbdata + i))[0] = ra[i].c1; in usX2Y_rate_set()
665 ((char*)(usbdata + i))[1] = ra[i].c2; in usX2Y_rate_set()
667 usbdata + i, 2, i_usX2Y_04Int, usX2Y); in usX2Y_rate_set()
694 kfree(usbdata); in usX2Y_rate_set()
/Linux-v5.10/drivers/usb/serial/
Dgarmin_gps.c387 __le32 *usbdata = (__le32 *) garmin_data_p->inbuffer; in gsp_rec_packet() local
406 if ((__u8 *)&(usbdata[3]) != recpkt) { in gsp_rec_packet()
408 &(usbdata[4]), recpkt); in gsp_rec_packet()
423 usbdata[0] = __cpu_to_le32(GARMIN_LAYERID_APPL); in gsp_rec_packet()
424 usbdata[1] = __cpu_to_le32(pktid); in gsp_rec_packet()
425 usbdata[2] = __cpu_to_le32(size); in gsp_rec_packet()