Searched refs:dfu_state (Results 1 – 1 of 1) sorted by relevance
370 u8 *dfu_state = NULL; in at76_usbdfu_download() local393 dfu_state = kmalloc(sizeof(u8), GFP_KERNEL); in at76_usbdfu_download()394 if (!dfu_state) { in at76_usbdfu_download()398 *dfu_state = 0; in at76_usbdfu_download()402 ret = at76_dfu_get_state(udev, dfu_state); in at76_usbdfu_download()411 switch (*dfu_state) { in at76_usbdfu_download()416 *dfu_state = dfu_stat_buf->state; in at76_usbdfu_download()464 *dfu_state = dfu_stat_buf->state; in at76_usbdfu_download()497 at76_dbg(DBG_DFU, "DFU UNKNOWN STATE (%d)", *dfu_state); in at76_usbdfu_download()504 kfree(dfu_state); in at76_usbdfu_download()