Lines Matching refs:free_slot
315 * @free_slot: pointer to variable with available slot value
319 * in @free_slot.
321 static bool ufshcd_get_tm_free_slot(struct ufs_hba *hba, int *free_slot)
326 if (!free_slot)
335 *free_slot = tag;
3592 int free_slot;
3603 wait_event(hba->tm_tag_wq, ufshcd_get_tm_free_slot(hba, &free_slot));
3608 task_req_descp += free_slot;
3618 task_tag = hba->nutrs + free_slot;
3632 __set_bit(free_slot, &hba->outstanding_tasks);
3633 ufshcd_writel(hba, 1 << free_slot, REG_UTP_TASK_REQ_DOOR_BELL);
3639 test_bit(free_slot, &hba->tm_condition),
3644 if (ufshcd_clear_tm_cmd(hba, free_slot))
3646 __func__, free_slot);
3649 err = ufshcd_task_req_compl(hba, free_slot, tm_response);
3652 clear_bit(free_slot, &hba->tm_condition);
3653 ufshcd_put_tm_slot(hba, free_slot);