Lines Matching full:helper
16 const struct firmware *helper, const struct firmware *mainfw) in lbs_fw_loaded() argument
22 /* User must free helper/mainfw */ in lbs_fw_loaded()
23 priv->fw_callback(priv, ret, helper, mainfw); in lbs_fw_loaded()
79 /* No main firmware needed for this helper --> success! */ in helper_firmware_cb()
99 if (!iter->helper) { in load_next_firmware_from_table()
111 do_load_firmware(priv, iter->helper, helper_firmware_cb); in load_next_firmware_from_table()
121 * either a helper firmware and a main firmware (2-stage), or just the helper.
128 * terminated by an entry with a NULL helper name
164 * terminated by an entry with a NULL helper name
165 * @helper: On success, the helper firmware; caller must free
174 const struct firmware **helper, in lbs_get_firmware() argument
180 BUG_ON(helper == NULL); in lbs_get_firmware()
185 while (iter && iter->helper) { in lbs_get_firmware()
189 if (*helper == NULL) { in lbs_get_firmware()
190 ret = request_firmware(helper, iter->helper, dev); in lbs_get_firmware()
205 /* Clear the helper to ensure we don't have in lbs_get_firmware()
208 release_firmware(*helper); in lbs_get_firmware()
209 *helper = NULL; in lbs_get_firmware()
213 if (*helper && *mainfw) in lbs_get_firmware()
221 release_firmware(*helper); in lbs_get_firmware()
222 *helper = NULL; in lbs_get_firmware()