Searched refs:dfu_state (Results 1 – 1 of 1) sorted by relevance
375 u8 *dfu_state = NULL; in at76_usbdfu_download() local398 dfu_state = kmalloc(sizeof(u8), GFP_KERNEL); in at76_usbdfu_download()399 if (!dfu_state) { in at76_usbdfu_download()403 *dfu_state = 0; in at76_usbdfu_download()407 ret = at76_dfu_get_state(udev, dfu_state); in at76_usbdfu_download()416 switch (*dfu_state) { in at76_usbdfu_download()421 *dfu_state = dfu_stat_buf->state; in at76_usbdfu_download()469 *dfu_state = dfu_stat_buf->state; in at76_usbdfu_download()502 at76_dbg(DBG_DFU, "DFU UNKNOWN STATE (%d)", *dfu_state); in at76_usbdfu_download()509 kfree(dfu_state); in at76_usbdfu_download()