Lines Matching refs:qca_memdump

161 	struct qca_memdump_info *qca_memdump;  member
1023 struct qca_memdump_info *qca_memdump = qca->qca_memdump; in qca_controller_memdump() local
1042 if (!qca_memdump) { in qca_controller_memdump()
1043 qca_memdump = kzalloc(sizeof(struct qca_memdump_info), in qca_controller_memdump()
1045 if (!qca_memdump) { in qca_controller_memdump()
1050 qca->qca_memdump = qca_memdump; in qca_controller_memdump()
1069 qca_memdump->ram_dump_size = __le32_to_cpu(dump->dump_size); in qca_controller_memdump()
1070 if (!(qca_memdump->ram_dump_size)) { in qca_controller_memdump()
1072 kfree(qca_memdump); in qca_controller_memdump()
1081 skb_pull(skb, sizeof(qca_memdump->ram_dump_size)); in qca_controller_memdump()
1082 qca_memdump->current_seq_no = 0; in qca_controller_memdump()
1083 qca_memdump->received_dump = 0; in qca_controller_memdump()
1084 ret = hci_devcd_init(hu->hdev, qca_memdump->ram_dump_size); in qca_controller_memdump()
1088 kfree(qca->qca_memdump); in qca_controller_memdump()
1089 qca->qca_memdump = NULL; in qca_controller_memdump()
1099 qca_memdump->ram_dump_size); in qca_controller_memdump()
1108 kfree(qca_memdump); in qca_controller_memdump()
1121 while ((seq_no > qca_memdump->current_seq_no + 1) && in qca_controller_memdump()
1125 qca_memdump->current_seq_no); in qca_controller_memdump()
1126 rx_size = qca_memdump->received_dump; in qca_controller_memdump()
1128 if (rx_size > qca_memdump->ram_dump_size) { in qca_controller_memdump()
1131 qca_memdump->received_dump); in qca_controller_memdump()
1136 qca_memdump->received_dump += QCA_DUMP_PACKET_SIZE; in qca_controller_memdump()
1137 qca_memdump->current_seq_no++; in qca_controller_memdump()
1140 rx_size = qca_memdump->received_dump + skb->len; in qca_controller_memdump()
1141 if (rx_size <= qca_memdump->ram_dump_size) { in qca_controller_memdump()
1143 (seq_no != qca_memdump->current_seq_no)) { in qca_controller_memdump()
1152 qca_memdump->current_seq_no += 1; in qca_controller_memdump()
1153 qca_memdump->received_dump = rx_size; in qca_controller_memdump()
1157 qca_memdump->current_seq_no); in qca_controller_memdump()
1163 qca_memdump->received_dump, in qca_controller_memdump()
1164 qca_memdump->ram_dump_size); in qca_controller_memdump()
1167 kfree(qca->qca_memdump); in qca_controller_memdump()
1168 qca->qca_memdump = NULL; in qca_controller_memdump()
1622 if (qca->qca_memdump) { in qca_hw_error()
1623 kfree(qca->qca_memdump); in qca_hw_error()
1624 qca->qca_memdump = NULL; in qca_hw_error()