Home
last modified time | relevance | path

Searched refs:bootcmdresp (Results 1 – 4 of 4) sorted by relevance

/linux-4.4.14/drivers/net/wireless/libertas/
Dif_usb.c502 struct bootcmdresp bootcmdresp; in if_usb_receive_fwload() local
526 if (cardp->bootcmdresp <= 0) { in if_usb_receive_fwload()
527 memcpy (&bootcmdresp, skb->data + IPFIELD_ALIGN_OFFSET, in if_usb_receive_fwload()
528 sizeof(bootcmdresp)); in if_usb_receive_fwload()
533 cardp->bootcmdresp = BOOT_CMD_RESP_OK; in if_usb_receive_fwload()
538 if (bootcmdresp.magic != cpu_to_le32(BOOT_CMD_MAGIC_NUMBER)) { in if_usb_receive_fwload()
539 if (bootcmdresp.magic == cpu_to_le32(CMD_TYPE_REQUEST) || in if_usb_receive_fwload()
540 bootcmdresp.magic == cpu_to_le32(CMD_TYPE_DATA) || in if_usb_receive_fwload()
541 bootcmdresp.magic == cpu_to_le32(CMD_TYPE_INDICATION)) { in if_usb_receive_fwload()
542 if (!cardp->bootcmdresp) in if_usb_receive_fwload()
[all …]
Dif_usb.h35 struct bootcmdresp struct
59 int8_t bootcmdresp; member
/linux-4.4.14/drivers/net/wireless/libertas_tf/
Dif_usb.h37 struct bootcmdresp { struct
55 int8_t bootcmdresp; argument
Dif_usb.c476 struct bootcmdresp bcmdresp; in if_usb_receive_fwload()
504 if (cardp->bootcmdresp <= 0) { in if_usb_receive_fwload()
510 cardp->bootcmdresp = 1; in if_usb_receive_fwload()
521 if (!cardp->bootcmdresp) in if_usb_receive_fwload()
523 cardp->bootcmdresp = -1; in if_usb_receive_fwload()
535 cardp->bootcmdresp = 1; in if_usb_receive_fwload()
844 cardp->bootcmdresp = 0; in if_usb_prog_firmware()
854 } while (cardp->bootcmdresp == 0 && j < 10); in if_usb_prog_firmware()
855 } while (cardp->bootcmdresp == 0 && i < 5); in if_usb_prog_firmware()
857 if (cardp->bootcmdresp <= 0) { in if_usb_prog_firmware()