Lines Matching +full:async +full:- +full:enum
8 * SPDX-License-Identifier: GPL-2.0-or-later
32 #define TYPE_UFS_BUS "ufs-bus"
35 typedef enum UfsRequestState {
43 typedef enum UfsReqResult {
49 #define UFS_INVALID_SLOT (-1)
53 int slot; /* -1 when it's a MCQ request */
71 return req->sq != NULL; in ufs_mcq_req()
106 QEMUBH *bh; /* Bottom half to process requests in async */
155 return u->mcq_op_reg[qid].sq.tp; in ufs_mcq_sq_tail()
160 u->mcq_op_reg[qid].sq.tp = db; in ufs_mcq_update_sq_tail()
165 return u->mcq_op_reg[qid].sq.hp; in ufs_mcq_sq_head()
170 u->mcq_op_reg[qid].sq.hp = db; in ufs_mcq_update_sq_head()
180 return u->mcq_op_reg[qid].cq.tp; in ufs_mcq_cq_tail()
185 u->mcq_op_reg[qid].cq.tp = db; in ufs_mcq_update_cq_tail()
190 return u->mcq_op_reg[qid].cq.hp; in ufs_mcq_cq_head()
195 u->mcq_op_reg[qid].cq.hp = db; in ufs_mcq_update_cq_head()
206 #define TYPE_UFS_LU "ufs-lu"
209 typedef enum UfsQueryFlagPerm {
217 typedef enum UfsQueryAttrPerm {