Home
last modified time | relevance | path

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

/linux/drivers/net/wireless/marvell/libertas/
H A Dif_usb.c497 struct bootcmdresp bootcmdresp; in if_usb_receive_fwload() local
521 if (cardp->bootcmdresp <= 0) { in if_usb_receive_fwload()
522 memcpy (&bootcmdresp, skb->data + IPFIELD_ALIGN_OFFSET, in if_usb_receive_fwload()
523 sizeof(bootcmdresp)); in if_usb_receive_fwload()
528 cardp->bootcmdresp = BOOT_CMD_RESP_OK; in if_usb_receive_fwload()
533 if (bootcmdresp.magic != cpu_to_le32(BOOT_CMD_MAGIC_NUMBER)) { in if_usb_receive_fwload()
534 if (bootcmdresp.magic == cpu_to_le32(CMD_TYPE_REQUEST) || in if_usb_receive_fwload()
535 bootcmdresp.magic == cpu_to_le32(CMD_TYPE_DATA) || in if_usb_receive_fwload()
536 bootcmdresp.magic == cpu_to_le32(CMD_TYPE_INDICATION)) { in if_usb_receive_fwload()
537 if (!cardp->bootcmdresp) in if_usb_receive_fwload()
[all …]
H A Dif_usb.h36 struct bootcmdresp struct
60 int8_t bootcmdresp; member
/linux/drivers/net/wireless/marvell/libertas_tf/
H A Dif_usb.c467 struct bootcmdresp bcmdresp; in if_usb_receive_fwload()
495 if (cardp->bootcmdresp <= 0) { in if_usb_receive_fwload()
501 cardp->bootcmdresp = 1; in if_usb_receive_fwload()
512 if (!cardp->bootcmdresp) in if_usb_receive_fwload()
514 cardp->bootcmdresp = -1; in if_usb_receive_fwload()
526 cardp->bootcmdresp = 1; in if_usb_receive_fwload()
840 cardp->bootcmdresp = 0; in if_usb_prog_firmware()
850 } while (cardp->bootcmdresp == 0 && j < 10); in if_usb_prog_firmware()
851 } while (cardp->bootcmdresp == 0 && i < 5); in if_usb_prog_firmware()
853 if (cardp->bootcmdresp <= 0) { in if_usb_prog_firmware()
H A Dif_usb.h33 struct bootcmdresp { struct
51 int8_t bootcmdresp; argument