Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/pm8001/
H A Dpm8001_ctl.c719 struct fw_control_info *fwControl; in pm8001_update_flash() local
750 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 …]