Lines Matching refs:fwControl
720 struct fw_control_info *fwControl; in pm8001_update_flash() local
748 fwControl = in pm8001_update_flash()
750 fwControl->len = IOCTL_BUF_SIZE; /* IN */ in pm8001_update_flash()
751 fwControl->size = partitionSize + HEADER_LEN;/* IN */ in pm8001_update_flash()
752 fwControl->retcode = 0;/* OUT */ in pm8001_update_flash()
753 fwControl->offset = loopNumber * IOCTL_BUF_SIZE;/*OUT */ in pm8001_update_flash()
759 fwControl->len = in pm8001_update_flash()
761 memcpy((u8 *)fwControl->buffer, in pm8001_update_flash()
767 memcpy((u8 *)fwControl->buffer, in pm8001_update_flash()
780 if (fwControl->retcode > FLASH_UPDATE_IN_PROGRESS) { in pm8001_update_flash()
781 pm8001_ha->fw_status = fwControl->retcode; in pm8001_update_flash()