Lines Matching refs:dl_cmd
794 struct rtl_download_cmd *dl_cmd;
803 dl_cmd = kmalloc(sizeof(struct rtl_download_cmd), GFP_KERNEL);
804 if (!dl_cmd)
810 dl_cmd->index = j++;
811 if (dl_cmd->index == 0x7f)
815 dl_cmd->index |= 0x80; /* data end */
819 frag_num, dl_cmd->index);
820 memcpy(dl_cmd->data, data, frag_len);
823 skb = __hci_cmd_sync(hdev, 0xfc20, frag_len + 1, dl_cmd,
856 kfree(dl_cmd);