Searched refs:dl_cmd (Results 1 – 1 of 1) sorted by relevance
822 struct rtl_download_cmd *dl_cmd; in rtl_download_firmware() local831 dl_cmd = kmalloc(sizeof(*dl_cmd), GFP_KERNEL); in rtl_download_firmware()832 if (!dl_cmd) in rtl_download_firmware()838 dl_cmd->index = j++; in rtl_download_firmware()839 if (dl_cmd->index == 0x7f) in rtl_download_firmware()843 dl_cmd->index |= 0x80; /* data end */ in rtl_download_firmware()847 frag_num, dl_cmd->index); in rtl_download_firmware()848 memcpy(dl_cmd->data, data, frag_len); in rtl_download_firmware()851 skb = __hci_cmd_sync(hdev, 0xfc20, frag_len + 1, dl_cmd, in rtl_download_firmware()884 kfree(dl_cmd); in rtl_download_firmware()