Home
last modified time | relevance | path

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

/openbmc/linux/drivers/base/firmware_loader/
H A Dfirmware.h68 struct fw_state fw_st; member
93 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_check() local
95 return fw_st->status == status; in __fw_state_check()
100 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_wait_common() local
103 ret = wait_for_completion_killable_timeout(&fw_st->completion, timeout); in __fw_state_wait_common()
104 if (ret != 0 && fw_st->status == FW_STATUS_ABORTED) in __fw_state_wait_common()
115 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_set() local
117 WRITE_ONCE(fw_st->status, status); in __fw_state_set()
127 complete_all(&fw_st->completion); in __fw_state_set()
H A 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()