Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/base/firmware_loader/
Dfirmware.h70 struct fw_state fw_st; member
95 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_check() local
97 return fw_st->status == status; in __fw_state_check()
102 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_wait_common() local
105 ret = wait_for_completion_killable_timeout(&fw_st->completion, timeout); in __fw_state_wait_common()
106 if (ret != 0 && fw_st->status == FW_STATUS_ABORTED) in __fw_state_wait_common()
117 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_set() local
119 WRITE_ONCE(fw_st->status, status); in __fw_state_set()
129 complete_all(&fw_st->completion); in __fw_state_set()
Dmain.c99 struct fw_state *fw_st = &fw_priv->fw_st; in fw_state_init() local
101 init_completion(&fw_st->completion); in fw_state_init()
102 fw_st->status = FW_STATUS_UNKNOWN; in fw_state_init()