Home
last modified time | relevance | path

Searched refs:uic_cmd (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/scsi/ufs/
Dufshcd.c2092 ufshcd_dispatch_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd) in ufshcd_dispatch_uic_cmd() argument
2096 hba->active_uic_cmd = uic_cmd; in ufshcd_dispatch_uic_cmd()
2099 ufshcd_writel(hba, uic_cmd->argument1, REG_UIC_COMMAND_ARG_1); in ufshcd_dispatch_uic_cmd()
2100 ufshcd_writel(hba, uic_cmd->argument2, REG_UIC_COMMAND_ARG_2); in ufshcd_dispatch_uic_cmd()
2101 ufshcd_writel(hba, uic_cmd->argument3, REG_UIC_COMMAND_ARG_3); in ufshcd_dispatch_uic_cmd()
2103 ufshcd_add_uic_command_trace(hba, uic_cmd, "send"); in ufshcd_dispatch_uic_cmd()
2106 ufshcd_writel(hba, uic_cmd->command & COMMAND_OPCODE_MASK, in ufshcd_dispatch_uic_cmd()
2119 ufshcd_wait_for_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd) in ufshcd_wait_for_uic_cmd() argument
2124 if (wait_for_completion_timeout(&uic_cmd->done, in ufshcd_wait_for_uic_cmd()
2126 ret = uic_cmd->argument2 & MASK_UIC_COMMAND_RESULT; in ufshcd_wait_for_uic_cmd()
[all …]
Dufshcd.h1032 int ufshcd_send_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd);