Lines Matching refs:firmware

205 				const struct firmware *firmware)  in ath3k_load_firmware()  argument
210 int count = firmware->size; in ath3k_load_firmware()
221 0, 0, firmware->data, FW_HDR_SIZE, in ath3k_load_firmware()
237 memcpy(send_buf, firmware->data + sent, size); in ath3k_load_firmware()
274 const struct firmware *firmware) in ath3k_load_fwfile() argument
281 count = firmware->size; in ath3k_load_fwfile()
292 firmware->data, size, USB_CTRL_SET_TIMEOUT, in ath3k_load_fwfile()
310 memcpy(send_buf, firmware->data + sent, size); in ath3k_load_fwfile()
358 const struct firmware *firmware; in ath3k_load_patch() local
383 ret = request_firmware(&firmware, filename, &udev->dev); in ath3k_load_patch()
389 pt_rom_version = get_unaligned_le32(firmware->data + in ath3k_load_patch()
390 firmware->size - 8); in ath3k_load_patch()
391 pt_build_version = get_unaligned_le32(firmware->data + in ath3k_load_patch()
392 firmware->size - 4); in ath3k_load_patch()
397 release_firmware(firmware); in ath3k_load_patch()
401 ret = ath3k_load_fwfile(udev, firmware); in ath3k_load_patch()
402 release_firmware(firmware); in ath3k_load_patch()
411 const struct firmware *firmware; in ath3k_load_syscfg() local
446 ret = request_firmware(&firmware, filename, &udev->dev); in ath3k_load_syscfg()
452 ret = ath3k_load_fwfile(udev, firmware); in ath3k_load_syscfg()
453 release_firmware(firmware); in ath3k_load_syscfg()
461 const struct firmware *firmware; in ath3k_probe() local
504 ret = request_firmware(&firmware, ATH3K_FIRMWARE, &udev->dev); in ath3k_probe()
515 ret = ath3k_load_firmware(udev, firmware); in ath3k_probe()
516 release_firmware(firmware); in ath3k_probe()