Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/marvell/libertas/
Dif_usb.c494 struct bootcmdresp bootcmdresp; in if_usb_receive_fwload() local
518 if (cardp->bootcmdresp <= 0) { in if_usb_receive_fwload()
519 memcpy (&bootcmdresp, skb->data + IPFIELD_ALIGN_OFFSET, in if_usb_receive_fwload()
520 sizeof(bootcmdresp)); in if_usb_receive_fwload()
525 cardp->bootcmdresp = BOOT_CMD_RESP_OK; in if_usb_receive_fwload()
530 if (bootcmdresp.magic != cpu_to_le32(BOOT_CMD_MAGIC_NUMBER)) { in if_usb_receive_fwload()
531 if (bootcmdresp.magic == cpu_to_le32(CMD_TYPE_REQUEST) || in if_usb_receive_fwload()
532 bootcmdresp.magic == cpu_to_le32(CMD_TYPE_DATA) || in if_usb_receive_fwload()
533 bootcmdresp.magic == cpu_to_le32(CMD_TYPE_INDICATION)) { in if_usb_receive_fwload()
534 if (!cardp->bootcmdresp) in if_usb_receive_fwload()
[all …]
Dif_usb.h36 struct bootcmdresp struct
60 int8_t bootcmdresp; member
/Linux-v5.10/drivers/net/wireless/marvell/libertas_tf/
Dif_usb.h33 struct bootcmdresp { struct
51 int8_t bootcmdresp; argument
Dif_usb.c465 struct bootcmdresp bcmdresp; in if_usb_receive_fwload()
493 if (cardp->bootcmdresp <= 0) { in if_usb_receive_fwload()
499 cardp->bootcmdresp = 1; in if_usb_receive_fwload()
510 if (!cardp->bootcmdresp) in if_usb_receive_fwload()
512 cardp->bootcmdresp = -1; in if_usb_receive_fwload()
524 cardp->bootcmdresp = 1; in if_usb_receive_fwload()
838 cardp->bootcmdresp = 0; in if_usb_prog_firmware()
848 } while (cardp->bootcmdresp == 0 && j < 10); in if_usb_prog_firmware()
849 } while (cardp->bootcmdresp == 0 && i < 5); in if_usb_prog_firmware()
851 if (cardp->bootcmdresp <= 0) { in if_usb_prog_firmware()