Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/scsi/pm8001/
Dpm8001_ctl.c721 struct fw_control_info *fwControl; in pm8001_update_flash() local
749 fwControl = in pm8001_update_flash()
751 fwControl->len = IOCTL_BUF_SIZE; /* IN */ in pm8001_update_flash()
752 fwControl->size = partitionSize + HEADER_LEN;/* IN */ in pm8001_update_flash()
753 fwControl->retcode = 0;/* OUT */ in pm8001_update_flash()
754 fwControl->offset = loopNumber * IOCTL_BUF_SIZE;/*OUT */ in pm8001_update_flash()
760 fwControl->len = in pm8001_update_flash()
762 memcpy((u8 *)fwControl->buffer, in pm8001_update_flash()
768 memcpy((u8 *)fwControl->buffer, in pm8001_update_flash()
781 if (fwControl->retcode > FLASH_UPDATE_IN_PROGRESS) { in pm8001_update_flash()
[all …]