Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/base/firmware_loader/
Dfirmware.h63 struct fw_state fw_st; member
83 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_check() local
85 return fw_st->status == status; in __fw_state_check()
90 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_wait_common() local
93 ret = wait_for_completion_killable_timeout(&fw_st->completion, timeout); in __fw_state_wait_common()
94 if (ret != 0 && fw_st->status == FW_STATUS_ABORTED) in __fw_state_wait_common()
105 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_set() local
107 WRITE_ONCE(fw_st->status, status); in __fw_state_set()
110 complete_all(&fw_st->completion); in __fw_state_set()
Dmain.c154 struct fw_state *fw_st = &fw_priv->fw_st; in fw_state_init() local
156 init_completion(&fw_st->completion); in fw_state_init()
157 fw_st->status = FW_STATUS_UNKNOWN; in fw_state_init()