• Home
  • Raw
  • Download

Lines Matching refs:fw_priv

66 struct fw_priv {  struct
91 static inline bool __fw_state_check(struct fw_priv *fw_priv, in __fw_state_check() argument
94 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_check()
99 static inline int __fw_state_wait_common(struct fw_priv *fw_priv, long timeout) in __fw_state_wait_common() argument
101 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_wait_common()
113 static inline void __fw_state_set(struct fw_priv *fw_priv, in __fw_state_set() argument
116 struct fw_state *fw_st = &fw_priv->fw_st; in __fw_state_set()
126 list_del_init(&fw_priv->pending_list); in __fw_state_set()
132 static inline void fw_state_aborted(struct fw_priv *fw_priv) in fw_state_aborted() argument
134 __fw_state_set(fw_priv, FW_STATUS_ABORTED); in fw_state_aborted()
137 static inline bool fw_state_is_aborted(struct fw_priv *fw_priv) in fw_state_is_aborted() argument
139 return __fw_state_check(fw_priv, FW_STATUS_ABORTED); in fw_state_is_aborted()
142 static inline void fw_state_start(struct fw_priv *fw_priv) in fw_state_start() argument
144 __fw_state_set(fw_priv, FW_STATUS_LOADING); in fw_state_start()
147 static inline void fw_state_done(struct fw_priv *fw_priv) in fw_state_done() argument
149 __fw_state_set(fw_priv, FW_STATUS_DONE); in fw_state_done()
155 void fw_free_paged_buf(struct fw_priv *fw_priv);
156 int fw_grow_paged_buf(struct fw_priv *fw_priv, int pages_needed);
157 int fw_map_paged_buf(struct fw_priv *fw_priv);
158 bool fw_is_paged_buf(struct fw_priv *fw_priv);
160 static inline void fw_free_paged_buf(struct fw_priv *fw_priv) {} in fw_free_paged_buf() argument
161 static inline int fw_grow_paged_buf(struct fw_priv *fw_priv, int pages_needed) { return -ENXIO; } in fw_grow_paged_buf() argument
162 static inline int fw_map_paged_buf(struct fw_priv *fw_priv) { return -ENXIO; } in fw_map_paged_buf() argument
163 static inline bool fw_is_paged_buf(struct fw_priv *fw_priv) { return false; } in fw_is_paged_buf() argument