Lines Matching refs:btdata
2856 struct btusb_data *btdata = hci_get_drvdata(hdev); in btusb_dump_hdr_qca() local
2859 btdata->qca_dump.controller_id); in btusb_dump_hdr_qca()
2863 btdata->qca_dump.fw_version); in btusb_dump_hdr_qca()
2871 btdata->qca_dump.id_vendor, btdata->qca_dump.id_product); in btusb_dump_hdr_qca()
2906 struct btusb_data *btdata = hci_get_drvdata(hdev); in handle_dump_pkt_qca() local
2907 struct usb_device *udev = btdata->udev; in handle_dump_pkt_qca()
2940 set_bit(BTUSB_HW_SSR_ACTIVE, &btdata->flags); in handle_dump_pkt_qca()
2955 btdata->qca_dump.ram_dump_size = dump_size; in handle_dump_pkt_qca()
2956 btdata->qca_dump.ram_dump_seqno = 0; in handle_dump_pkt_qca()
2969 if (!btdata->qca_dump.ram_dump_size) { in handle_dump_pkt_qca()
2975 if ((seqno > btdata->qca_dump.ram_dump_seqno + 1) && (seqno != QCA_LAST_SEQUENCE_NUM)) { in handle_dump_pkt_qca()
2976 dump_size = QCA_MEMDUMP_PKT_SIZE * (seqno - btdata->qca_dump.ram_dump_seqno - 1); in handle_dump_pkt_qca()
2980 btdata->qca_dump.ram_dump_seqno, seqno); in handle_dump_pkt_qca()
2981 btdata->qca_dump.ram_dump_seqno = seqno; in handle_dump_pkt_qca()
2988 btdata->qca_dump.ram_dump_seqno++; in handle_dump_pkt_qca()
2992 btdata->qca_dump.ram_dump_seqno, btdata->qca_dump.ram_dump_size); in handle_dump_pkt_qca()
3000 if (btdata->qca_dump.ram_dump_size) in handle_dump_pkt_qca()
3002 btdata->qca_dump.ram_dump_size = 0; in handle_dump_pkt_qca()
3003 btdata->qca_dump.ram_dump_seqno = 0; in handle_dump_pkt_qca()
3004 clear_bit(BTUSB_HW_SSR_ACTIVE, &btdata->flags); in handle_dump_pkt_qca()
3110 struct btusb_data *btdata = hci_get_drvdata(hdev); in btusb_setup_qca_download_fw() local
3111 struct usb_device *udev = btdata->udev; in btusb_setup_qca_download_fw()
3313 struct btusb_data *btdata = hci_get_drvdata(hdev); in btusb_setup_qca() local
3314 struct usb_device *udev = btdata->udev; in btusb_setup_qca()
3360 btdata->qca_dump.fw_version = le32_to_cpu(ver.patch_version); in btusb_setup_qca()
3361 btdata->qca_dump.controller_id = le32_to_cpu(ver.rom_version); in btusb_setup_qca()