Searched refs:uic_cmd (Results 1 – 2 of 2) sorted by relevance
/drivers/scsi/ufs/ |
D | ufshcd.c | 2220 ufshcd_dispatch_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd) in ufshcd_dispatch_uic_cmd() argument 2224 hba->active_uic_cmd = uic_cmd; in ufshcd_dispatch_uic_cmd() 2227 ufshcd_writel(hba, uic_cmd->argument1, REG_UIC_COMMAND_ARG_1); in ufshcd_dispatch_uic_cmd() 2228 ufshcd_writel(hba, uic_cmd->argument2, REG_UIC_COMMAND_ARG_2); in ufshcd_dispatch_uic_cmd() 2229 ufshcd_writel(hba, uic_cmd->argument3, REG_UIC_COMMAND_ARG_3); in ufshcd_dispatch_uic_cmd() 2231 ufshcd_add_uic_command_trace(hba, uic_cmd, "send"); in ufshcd_dispatch_uic_cmd() 2234 ufshcd_writel(hba, uic_cmd->command & COMMAND_OPCODE_MASK, in ufshcd_dispatch_uic_cmd() 2247 ufshcd_wait_for_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd) in ufshcd_wait_for_uic_cmd() argument 2252 if (wait_for_completion_timeout(&uic_cmd->done, in ufshcd_wait_for_uic_cmd() 2254 ret = uic_cmd->argument2 & MASK_UIC_COMMAND_RESULT; in ufshcd_wait_for_uic_cmd() [all …]
|
D | ufshcd.h | 1221 int ufshcd_send_uic_cmd(struct ufs_hba *hba, struct uic_command *uic_cmd);
|