Searched refs:dl_cmd (Results 1 – 1 of 1) sorted by relevance
817 struct rtl_download_cmd *dl_cmd; in rtl_download_firmware() local826 dl_cmd = kmalloc(sizeof(*dl_cmd), GFP_KERNEL); in rtl_download_firmware()827 if (!dl_cmd) in rtl_download_firmware()833 dl_cmd->index = j++; in rtl_download_firmware()834 if (dl_cmd->index == 0x7f) in rtl_download_firmware()838 dl_cmd->index |= 0x80; /* data end */ in rtl_download_firmware()842 frag_num, dl_cmd->index); in rtl_download_firmware()843 memcpy(dl_cmd->data, data, frag_len); in rtl_download_firmware()846 skb = __hci_cmd_sync(hdev, 0xfc20, frag_len + 1, dl_cmd, in rtl_download_firmware()879 kfree(dl_cmd); in rtl_download_firmware()