Lines Matching refs:fw
171 const struct firmware *fw; in ag6xx_setup() local
211 err = request_firmware(&fw, fwname, &hdev->dev); in ag6xx_setup()
217 fw_ptr = fw->data; in ag6xx_setup()
221 skb = __hci_cmd_sync_ev(hdev, 0xfc2f, fw->size, fw->data, in ag6xx_setup()
225 release_firmware(fw); in ag6xx_setup()
230 release_firmware(fw); in ag6xx_setup()
249 err = request_firmware(&fw, fwname, &hdev->dev); in ag6xx_setup()
255 fw_ptr = fw->data; in ag6xx_setup()
269 while (fw->size > fw_ptr - fw->data) { in ag6xx_setup()
282 if (fw->data + fw->size <= pbn->data + plen) { in ag6xx_setup()
287 bt_dev_info(hdev, "Patching %td/%zu", (fw_ptr - fw->data), in ag6xx_setup()
288 fw->size); in ag6xx_setup()
299 release_firmware(fw); in ag6xx_setup()