Lines Matching refs:Count
1693 Count, Maximum Blocks per Command, Controller Scatter/Gather Limit, and
1830 Count, Maximum Blocks per Command, Controller Scatter/Gather Limit, and
6430 int Count, int *EOF, void *Data)
6447 if (Count >= BytesAvailable)
6449 Count = BytesAvailable;
6452 if (Count <= 0) return 0;
6454 memcpy(Page, &StatusMessage[Offset], Count);
6455 return Count;
6464 int Count, int *EOF, void *Data)
6468 if (Count >= BytesAvailable)
6470 Count = BytesAvailable;
6473 if (Count <= 0) return 0;
6475 memcpy(Page, &Controller->CombinedStatusBuffer[Offset], Count);
6476 return Count;
6485 int Count, int *EOF, void *Data)
6516 if (Count >= BytesAvailable)
6518 Count = BytesAvailable;
6521 if (Count <= 0) return 0;
6523 memcpy(Page, &Controller->CurrentStatusBuffer[Offset], Count);
6524 return Count;
6533 int Count, int *EOF, void *Data)
6537 if (Count >= BytesAvailable)
6539 Count = BytesAvailable;
6542 if (Count <= 0) return 0;
6544 memcpy(Page, &Controller->UserStatusBuffer[Offset], Count);
6545 return Count;
6555 unsigned long Count, void *Data)
6560 if (Count > sizeof(CommandBuffer)-1) return -EINVAL;
6561 if (copy_from_user(CommandBuffer, Buffer, Count)) return -EFAULT;
6562 CommandBuffer[Count] = '\0';
6568 ? Count : -EBUSY);
6571 ? Count : -EBUSY);