Searched refs:diskInformation (Results 1 – 2 of 2) sorted by relevance
711 usb_device_capacity_information_struct_t diskInformation; in USB_DeviceMscUfiReadCapacityCommand() local717 diskInformation.logicalUnitNumber = logicalUnitNumber; in USB_DeviceMscUfiReadCapacityCommand()718 diskInformation.lengthOfEachLba = 0U; in USB_DeviceMscUfiReadCapacityCommand()719 diskInformation.totalLbaNumberSupports = 0U; in USB_DeviceMscUfiReadCapacityCommand()728 … (void *)&diskInformation)) in USB_DeviceMscUfiReadCapacityCommand()734 (void *)&diskInformation); in USB_DeviceMscUfiReadCapacityCommand()743 if ((0U != diskInformation.lengthOfEachLba) && (0U != diskInformation.totalLbaNumberSupports)) in USB_DeviceMscUfiReadCapacityCommand()745 …mscHandle->luInformations[logicalUnitNumber].totalLbaNumberSupports = diskInformation.totalLbaNumb… in USB_DeviceMscUfiReadCapacityCommand()746 …mscHandle->luInformations[logicalUnitNumber].lengthOfEachLba = diskInformation.lengthOfEach… in USB_DeviceMscUfiReadCapacityCommand()796 usb_device_capacity_information_struct_t diskInformation; in USB_DeviceMscUfiReadFormatCapacityCommand() local[all …]
1014 usb_device_lba_information_struct_t diskInformation; in USB_DeviceMscEvent() local1035 … (class_handle_t)mscHandle, kUSB_DeviceMscEventGetLbaInformation, (void *)&diskInformation); in USB_DeviceMscEvent()1036 if (0U >= diskInformation.logicalUnitNumberSupported) in USB_DeviceMscEvent()1038 diskInformation.logicalUnitNumberSupported = 0U; in USB_DeviceMscEvent()1042 … mscHandle->logicalUnitNumber = (uint8_t)diskInformation.logicalUnitNumberSupported - 1U; in USB_DeviceMscEvent()1045 if (0U == diskInformation.logicalUnitNumberSupported) in USB_DeviceMscEvent()1053 if (((0U == diskInformation.logicalUnitInformations[index].lengthOfEachLba) || in USB_DeviceMscEvent()1054 (0U == diskInformation.logicalUnitInformations[index].totalLbaNumberSupports))) in USB_DeviceMscEvent()1060 … mscHandle->luInformations[index] = diskInformation.logicalUnitInformations[index]; in USB_DeviceMscEvent()