Searched refs:fwControl (Results 1 – 1 of 1) sorted by relevance
719 struct fw_control_info *fwControl; in pm8001_update_flash() local750 fwControl = in pm8001_update_flash()752 fwControl->len = IOCTL_BUF_SIZE; /* IN */ in pm8001_update_flash()753 fwControl->size = partitionSize + HEADER_LEN;/* IN */ in pm8001_update_flash()754 fwControl->retcode = 0;/* OUT */ in pm8001_update_flash()755 fwControl->offset = loopNumber * IOCTL_BUF_SIZE;/*OUT */ in pm8001_update_flash()766 fwControl->len = fc_len; in pm8001_update_flash()767 memcpy((u8 *)fwControl->buffer, read_buf, fc_len); in pm8001_update_flash()770 memcpy((u8 *)fwControl->buffer, read_buf, IOCTL_BUF_SIZE); in pm8001_update_flash()781 if (fwControl->retcode > FLASH_UPDATE_IN_PROGRESS) { in pm8001_update_flash()[all …]