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

/drivers/net/wireless/libertas/
H A Dif_usb.h35 struct bootcmdresp struct
55 /* bootcmdresp == 0 means command is pending
56 * bootcmdresp < 0 means error
57 * bootcmdresp > 0 is a BOOT_CMD_RESP_* from firmware
59 int8_t bootcmdresp; member in struct:if_usb_card
H A Dif_usb.c588 struct bootcmdresp bootcmdresp; local
612 if (cardp->bootcmdresp <= 0) {
613 memcpy (&bootcmdresp, skb->data + IPFIELD_ALIGN_OFFSET,
614 sizeof(bootcmdresp));
619 cardp->bootcmdresp = BOOT_CMD_RESP_OK;
624 if (bootcmdresp.magic != cpu_to_le32(BOOT_CMD_MAGIC_NUMBER)) {
625 if (bootcmdresp.magic == cpu_to_le32(CMD_TYPE_REQUEST) ||
626 bootcmdresp.magic == cpu_to_le32(CMD_TYPE_DATA) ||
627 bootcmdresp
[all...]
/drivers/net/wireless/libertas_tf/
H A Dif_usb.h37 struct bootcmdresp { struct
55 int8_t bootcmdresp; member in struct:if_usb_card
H A Dif_usb.c477 struct bootcmdresp bcmdresp;
505 if (cardp->bootcmdresp <= 0) {
511 cardp->bootcmdresp = 1;
522 if (!cardp->bootcmdresp)
524 cardp->bootcmdresp = -1;
536 cardp->bootcmdresp = 1;
845 cardp->bootcmdresp = 0;
855 } while (cardp->bootcmdresp == 0 && j < 10);
856 } while (cardp->bootcmdresp == 0 && i < 5);
858 if (cardp->bootcmdresp <
[all...]

Completed in 48 milliseconds