Lines Matching defs:pending

1229  * Determine the number of pending commands by counting the bits in the SCSI
1238 u32 pending = 0;
1242 pending += sbitmap_weight(&sdev->budget_map);
1244 return pending;
1248 * Wait until all pending SCSI commands and TMFs have finished or the timeout
1357 * Wait until all pending SCSI commands and TMFs have finished or the timeout
1981 * and a request to turn them on is pending. By doing this way,
3048 * Clear the pending command in the controller and wait until
3146 bool pending;
3187 pending = test_bit(lrbp->task_tag,
3189 if (pending) {
3196 if (!pending) {
3209 pending = test_bit(lrbp->task_tag,
3211 if (pending)
3215 if (!pending) {
5587 * to complete the pending transfers and free the resources associated with
6469 * ufshcd_abort_all - Abort all pending commands.
6482 /* Clear pending task management requests */
6572 * if host reset is required then skip clearing the pending
6855 unsigned long flags, pending, issued;
6860 pending = ufshcd_readl(hba, REG_UTP_TASK_REQ_DOOR_BELL);
6861 issued = hba->outstanding_tasks & ~pending;
7402 /* clear the commands that were pending for corresponding LUN */
7453 * Abort the pending command in device by sending UFS_ABORT_TASK task management
7473 /* cmd pending in the device */
7474 dev_err(hba->dev, "%s: cmd pending in the device. tag = %d\n",
7479 * cmd not pending in the device, check if it is
7482 dev_err(hba->dev, "%s: cmd at tag %d not pending in the device.\n",
8875 * the only pending command is a START STOP UNIT command. Handle the
10429 * registering UFS controller interrupt handler, clear any pending UFS
10436 * Make sure that UFS interrupts are disabled and any pending interrupt