• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/block/

Lines Matching defs:PhysicalDeviceInfo

1011   CommandMailbox->PhysicalDeviceInfo.CommandOpcode = DAC960_V2_IOCTL;
1012 CommandMailbox->PhysicalDeviceInfo.CommandControlBits
1014 CommandMailbox->PhysicalDeviceInfo.CommandControlBits
1016 CommandMailbox->PhysicalDeviceInfo.DataTransferSize =
1018 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.LogicalUnit = LogicalUnit;
1019 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.TargetID = TargetID;
1020 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.Channel = Channel;
1021 CommandMailbox->PhysicalDeviceInfo.IOCTL_Opcode =
1023 CommandMailbox->PhysicalDeviceInfo.DataTransferMemoryAddress
1027 CommandMailbox->PhysicalDeviceInfo.DataTransferMemoryAddress
1030 CommandMailbox->PhysicalDeviceInfo.DataTransferSize;
2107 DAC960_V2_PhysicalDeviceInfo_T *PhysicalDeviceInfo;
2115 PhysicalDeviceInfo = kmalloc(sizeof(DAC960_V2_PhysicalDeviceInfo_T),
2117 if (PhysicalDeviceInfo == NULL)
2120 PhysicalDeviceInfo;
2121 memcpy(PhysicalDeviceInfo, NewPhysicalDeviceInfo,
2127 kfree(PhysicalDeviceInfo);
2327 DAC960_V2_PhysicalDeviceInfo_T *PhysicalDeviceInfo =
2330 (DAC960_SCSI_Inquiry_T *) &PhysicalDeviceInfo->SCSI_InquiryData;
2337 if (PhysicalDeviceInfo == NULL) break;
2342 PhysicalDeviceInfo->Channel,
2343 PhysicalDeviceInfo->TargetID,
2344 (PhysicalDeviceInfo->TargetID < 10 ? " " : ""),
2346 if (PhysicalDeviceInfo->NegotiatedSynchronousMegaTransfers == 0)
2348 (PhysicalDeviceInfo->NegotiatedDataWidthBits == 16
2352 (PhysicalDeviceInfo->NegotiatedDataWidthBits == 16
2354 (PhysicalDeviceInfo->NegotiatedSynchronousMegaTransfers
2355 * PhysicalDeviceInfo->NegotiatedDataWidthBits/8));
2358 if (PhysicalDeviceInfo->PhysicalDeviceState ==
2362 (PhysicalDeviceInfo->PhysicalDeviceState
2365 : PhysicalDeviceInfo->PhysicalDeviceState
2368 : PhysicalDeviceInfo->PhysicalDeviceState
2371 : PhysicalDeviceInfo->PhysicalDeviceState
2374 : PhysicalDeviceInfo->PhysicalDeviceState
2377 : PhysicalDeviceInfo->PhysicalDeviceState
2380 : PhysicalDeviceInfo->PhysicalDeviceState
2383 : PhysicalDeviceInfo->PhysicalDeviceState
2386 PhysicalDeviceInfo->ConfigurableDeviceSize);
2387 if (PhysicalDeviceInfo->ParityErrors == 0 &&
2388 PhysicalDeviceInfo->SoftErrors == 0 &&
2389 PhysicalDeviceInfo->HardErrors == 0 &&
2390 PhysicalDeviceInfo->MiscellaneousErrors == 0 &&
2391 PhysicalDeviceInfo->CommandTimeouts == 0 &&
2392 PhysicalDeviceInfo->Retries == 0 &&
2393 PhysicalDeviceInfo->Aborts == 0 &&
2394 PhysicalDeviceInfo->PredictedFailuresDetected == 0)
2398 PhysicalDeviceInfo->ParityErrors,
2399 PhysicalDeviceInfo->SoftErrors,
2400 PhysicalDeviceInfo->HardErrors,
2401 PhysicalDeviceInfo->MiscellaneousErrors);
2404 PhysicalDeviceInfo->CommandTimeouts,
2405 PhysicalDeviceInfo->Retries,
2406 PhysicalDeviceInfo->Aborts,
2407 PhysicalDeviceInfo->PredictedFailuresDetected);
4727 DAC960_V2_PhysicalDeviceInfo_T *PhysicalDeviceInfo =
4732 while (PhysicalDeviceInfo != NULL &&
4734 PhysicalDeviceInfo->Channel ||
4736 PhysicalDeviceInfo->Channel &&
4738 PhysicalDeviceInfo->TargetID ||
4740 PhysicalDeviceInfo->TargetID &&
4742 PhysicalDeviceInfo->LogicalUnit)))))
4746 PhysicalDeviceInfo->Channel,
4747 PhysicalDeviceInfo->TargetID);
4752 kfree(PhysicalDeviceInfo);
4767 PhysicalDeviceInfo =
4772 if (PhysicalDeviceInfo == NULL ||
4774 PhysicalDeviceInfo->Channel) ||
4776 PhysicalDeviceInfo->TargetID) ||
4778 PhysicalDeviceInfo->LogicalUnit))
4780 PhysicalDeviceInfo =
4786 PhysicalDeviceInfo == NULL)
4790 kfree(PhysicalDeviceInfo);
4791 PhysicalDeviceInfo = NULL;
4797 (PhysicalDeviceInfo != NULL
4799 if (PhysicalDeviceInfo != NULL)
4801 memset(PhysicalDeviceInfo, 0,
4803 PhysicalDeviceInfo->PhysicalDeviceState =
4819 PhysicalDeviceInfo;
4826 if (PhysicalDeviceInfo != NULL)
4829 PhysicalDeviceInfo->PhysicalDeviceState)
4859 PhysicalDeviceInfo->ParityErrors) ||
4861 PhysicalDeviceInfo->SoftErrors) ||
4863 PhysicalDeviceInfo->HardErrors) ||
4865 PhysicalDeviceInfo->MiscellaneousErrors) ||
4867 PhysicalDeviceInfo->CommandTimeouts) ||
4869 PhysicalDeviceInfo->Retries) ||
4871 PhysicalDeviceInfo->Aborts) ||
4873 PhysicalDeviceInfo->PredictedFailuresDetected))
4897 if ((PhysicalDeviceInfo->PhysicalDeviceState
4899 PhysicalDeviceInfo->PhysicalDeviceState
4904 memcpy(PhysicalDeviceInfo, NewPhysicalDeviceInfo,
4917 DAC960_V2_PhysicalDeviceInfo_T *PhysicalDeviceInfo =
4921 if (PhysicalDeviceInfo == NULL) break;
4924 PhysicalDeviceInfo->Channel,
4925 PhysicalDeviceInfo->TargetID);
4928 kfree(PhysicalDeviceInfo);
5152 CommandMailbox->PhysicalDeviceInfo.CommandOpcode = DAC960_V2_IOCTL;
5153 CommandMailbox->PhysicalDeviceInfo.DataTransferSize =
5155 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.LogicalUnit =
5157 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.TargetID =
5159 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.Channel =
5161 CommandMailbox->PhysicalDeviceInfo.IOCTL_Opcode =
5163 CommandMailbox->PhysicalDeviceInfo.DataTransferMemoryAddress
5167 CommandMailbox->PhysicalDeviceInfo.DataTransferMemoryAddress
5170 CommandMailbox->PhysicalDeviceInfo.DataTransferSize;
6181 CommandMailbox->PhysicalDeviceInfo.CommandOpcode = DAC960_V2_IOCTL;
6182 CommandMailbox->PhysicalDeviceInfo.CommandControlBits
6184 CommandMailbox->PhysicalDeviceInfo.CommandControlBits
6186 CommandMailbox->PhysicalDeviceInfo.DataTransferSize =
6188 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.TargetID = TargetID;
6189 CommandMailbox->PhysicalDeviceInfo.PhysicalDevice.Channel = Channel;
6190 CommandMailbox->PhysicalDeviceInfo.IOCTL_Opcode =