Searched refs:dump_data (Results 1 - 8 of 8) sorted by relevance

/linux-4.1.27/drivers/net/wireless/ath/ath10k/
H A Ddebug.c909 struct ath10k_dump_file_data *dump_data; ath10k_build_dump_file() local
911 int hdr_len = sizeof(*dump_data); ath10k_build_dump_file()
935 dump_data = (struct ath10k_dump_file_data *)(buf); ath10k_build_dump_file()
936 strlcpy(dump_data->df_magic, "ATH10K-FW-DUMP", ath10k_build_dump_file()
937 sizeof(dump_data->df_magic)); ath10k_build_dump_file()
938 dump_data->len = cpu_to_le32(len); ath10k_build_dump_file()
940 dump_data->version = cpu_to_le32(ATH10K_FW_CRASH_DUMP_VERSION); ath10k_build_dump_file()
942 memcpy(dump_data->uuid, &crash_data->uuid, sizeof(dump_data->uuid)); ath10k_build_dump_file()
943 dump_data->chip_id = cpu_to_le32(ar->chip_id); ath10k_build_dump_file()
944 dump_data->bus_type = cpu_to_le32(0); ath10k_build_dump_file()
945 dump_data->target_version = cpu_to_le32(ar->target_version); ath10k_build_dump_file()
946 dump_data->fw_version_major = cpu_to_le32(ar->fw_version_major); ath10k_build_dump_file()
947 dump_data->fw_version_minor = cpu_to_le32(ar->fw_version_minor); ath10k_build_dump_file()
948 dump_data->fw_version_release = cpu_to_le32(ar->fw_version_release); ath10k_build_dump_file()
949 dump_data->fw_version_build = cpu_to_le32(ar->fw_version_build); ath10k_build_dump_file()
950 dump_data->phy_capability = cpu_to_le32(ar->phy_capability); ath10k_build_dump_file()
951 dump_data->hw_min_tx_power = cpu_to_le32(ar->hw_min_tx_power); ath10k_build_dump_file()
952 dump_data->hw_max_tx_power = cpu_to_le32(ar->hw_max_tx_power); ath10k_build_dump_file()
953 dump_data->ht_cap_info = cpu_to_le32(ar->ht_cap_info); ath10k_build_dump_file()
954 dump_data->vht_cap_info = cpu_to_le32(ar->vht_cap_info); ath10k_build_dump_file()
955 dump_data->num_rf_chains = cpu_to_le32(ar->num_rf_chains); ath10k_build_dump_file()
957 strlcpy(dump_data->fw_ver, ar->hw->wiphy->fw_version, ath10k_build_dump_file()
958 sizeof(dump_data->fw_ver)); ath10k_build_dump_file()
960 dump_data->kernel_ver_code = 0; ath10k_build_dump_file()
961 strlcpy(dump_data->kernel_ver, init_utsname()->release, ath10k_build_dump_file()
962 sizeof(dump_data->kernel_ver)); ath10k_build_dump_file()
964 dump_data->tv_sec = cpu_to_le64(crash_data->timestamp.tv_sec); ath10k_build_dump_file()
965 dump_data->tv_nsec = cpu_to_le64(crash_data->timestamp.tv_nsec); ath10k_build_dump_file()
979 return dump_data; ath10k_build_dump_file()
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/
H A Dmac80211.c882 struct iwl_fw_error_dump_data **dump_data) iwl_mvm_dump_fifos()
901 fifo_hdr = (void *)(*dump_data)->data; iwl_mvm_dump_fifos()
910 (*dump_data)->type = cpu_to_le32(IWL_FW_ERROR_DUMP_RXF); iwl_mvm_dump_fifos()
911 (*dump_data)->len = cpu_to_le32(fifo_len + sizeof(*fifo_hdr)); iwl_mvm_dump_fifos()
952 *dump_data = iwl_fw_error_next_data(*dump_data); iwl_mvm_dump_fifos()
960 fifo_hdr = (void *)(*dump_data)->data; iwl_mvm_dump_fifos()
969 (*dump_data)->type = cpu_to_le32(IWL_FW_ERROR_DUMP_TXF); iwl_mvm_dump_fifos()
970 (*dump_data)->len = cpu_to_le32(fifo_len + sizeof(*fifo_hdr)); iwl_mvm_dump_fifos()
1001 *dump_data = iwl_fw_error_next_data(*dump_data); iwl_mvm_dump_fifos()
1023 struct iwl_fw_error_dump_data *dump_data; iwl_mvm_fw_error_dump() local
1065 sizeof(*dump_data) + iwl_mvm_fw_error_dump()
1075 sizeof(*dump_data) + iwl_mvm_fw_error_dump()
1081 sizeof(*dump_data) * 2 + iwl_mvm_fw_error_dump()
1091 file_len += sizeof(*dump_data) + sizeof(*dump_mem) + iwl_mvm_fw_error_dump()
1095 file_len += sizeof(*dump_data) + sizeof(*dump_trig) + iwl_mvm_fw_error_dump()
1100 file_len += sizeof(*dump_data) + sizeof(*dump_mem) + smem_len; iwl_mvm_fw_error_dump()
1104 file_len += sizeof(*dump_data) + sizeof(*dump_mem) + sram2_len; iwl_mvm_fw_error_dump()
1116 dump_data = (void *)dump_file->data; iwl_mvm_fw_error_dump()
1118 dump_data->type = cpu_to_le32(IWL_FW_ERROR_DUMP_DEV_FW_INFO); iwl_mvm_fw_error_dump()
1119 dump_data->len = cpu_to_le32(sizeof(*dump_info)); iwl_mvm_fw_error_dump()
1120 dump_info = (void *) dump_data->data; iwl_mvm_fw_error_dump()
1133 dump_data = iwl_fw_error_next_data(dump_data); iwl_mvm_fw_error_dump()
1136 iwl_mvm_dump_fifos(mvm, &dump_data); iwl_mvm_fw_error_dump()
1139 dump_data->type = cpu_to_le32(IWL_FW_ERROR_DUMP_ERROR_INFO); iwl_mvm_fw_error_dump()
1140 dump_data->len = cpu_to_le32(sizeof(*dump_trig) + iwl_mvm_fw_error_dump()
1142 dump_trig = (void *)dump_data->data; iwl_mvm_fw_error_dump()
1148 dump_data = iwl_fw_error_next_data(dump_data); iwl_mvm_fw_error_dump()
1151 dump_data->type = cpu_to_le32(IWL_FW_ERROR_DUMP_MEM); iwl_mvm_fw_error_dump()
1152 dump_data->len = cpu_to_le32(sram_len + sizeof(*dump_mem)); iwl_mvm_fw_error_dump()
1153 dump_mem = (void *)dump_data->data; iwl_mvm_fw_error_dump()
1160 dump_data = iwl_fw_error_next_data(dump_data); iwl_mvm_fw_error_dump()
1161 dump_data->type = cpu_to_le32(IWL_FW_ERROR_DUMP_MEM); iwl_mvm_fw_error_dump()
1162 dump_data->len = cpu_to_le32(smem_len + sizeof(*dump_mem)); iwl_mvm_fw_error_dump()
1163 dump_mem = (void *)dump_data->data; iwl_mvm_fw_error_dump()
1171 dump_data = iwl_fw_error_next_data(dump_data); iwl_mvm_fw_error_dump()
1172 dump_data->type = cpu_to_le32(IWL_FW_ERROR_DUMP_MEM); iwl_mvm_fw_error_dump()
1173 dump_data->len = cpu_to_le32(sram2_len + sizeof(*dump_mem)); iwl_mvm_fw_error_dump()
1174 dump_mem = (void *)dump_data->data; iwl_mvm_fw_error_dump()
1183 dump_data = iwl_fw_error_next_data(dump_data); iwl_mvm_fw_error_dump()
1184 dump_data->type = cpu_to_le32(IWL_FW_ERROR_DUMP_MEM); iwl_mvm_fw_error_dump()
1185 dump_data->len = cpu_to_le32(IWL8260_ICCM_LEN + iwl_mvm_fw_error_dump()
1187 dump_mem = (void *)dump_data->data; iwl_mvm_fw_error_dump()
881 iwl_mvm_dump_fifos(struct iwl_mvm *mvm, struct iwl_fw_error_dump_data **dump_data) iwl_mvm_dump_fifos() argument
/linux-4.1.27/tools/firewire/
H A Dnosy-dump.c678 dump_data(unsigned char *data, int length) dump_data() function
727 dump_data((unsigned char *) packet + (offset / 8 + 4), data_length); decode_link_packet()
828 dump_data((unsigned char *) data + 4, length - 4); print_packet()
/linux-4.1.27/drivers/net/wireless/iwlwifi/pcie/
H A Dtrans.c2229 struct iwl_trans_dump_data *dump_data; iwl_trans_pcie_dump_data() local
2235 len = sizeof(*dump_data); iwl_trans_pcie_dump_data()
2283 dump_data = vzalloc(len); iwl_trans_pcie_dump_data()
2284 if (!dump_data) iwl_trans_pcie_dump_data()
2288 data = (void *)dump_data->data; iwl_trans_pcie_dump_data()
2385 dump_data->len = len; iwl_trans_pcie_dump_data()
2387 return dump_data; iwl_trans_pcie_dump_data()
2429 .dump_data = iwl_trans_pcie_dump_data,
/linux-4.1.27/drivers/net/wireless/iwlwifi/
H A Diwl-trans.h490 * @dump_data: return a vmalloc'ed buffer with debug data, maybe containing last
550 struct iwl_trans_dump_data *(*dump_data)(struct iwl_trans *trans); member in struct:iwl_trans_ops
769 if (!trans->ops->dump_data) iwl_trans_dump_data()
771 return trans->ops->dump_data(trans); iwl_trans_dump_data()
/linux-4.1.27/drivers/usb/host/
H A Disp1362.h934 static void __attribute__((unused)) dump_data(char *buf, int len) dump_data() function
980 dump_data(buf, PTD_GET_LEN(ptd)); dump_ptd_out_data()
990 dump_data(buf, PTD_GET_COUNT(ptd)); dump_ptd_in_data()
1004 dump_data(ep->data, ep->length); list_for_each_entry()
H A Disp1362-hcd.c2424 dump_data((u8 *)ref + offset, j); isp1362_chip_test()
2425 dump_data((u8 *)tst + offset, j); isp1362_chip_test()
2438 dump_data((u8 *)tst, ISP1362_BUF_SIZE / 2); isp1362_chip_test()
2454 dump_data((u8 *)tst, ISP1362_BUF_SIZE); isp1362_chip_test()
2465 dump_data(((u8 *)ref) + offset, PTD_HEADER_SIZE + test_size); isp1362_chip_test()
2466 dump_data((u8 *)tst, PTD_HEADER_SIZE + test_size); isp1362_chip_test()
/linux-4.1.27/drivers/net/fddi/skfp/
H A Dskfddi.c136 void dump_data(unsigned char *Data, int length);
1525 void dump_data(unsigned char *Data, int length) dump_data() function
1544 } // dump_data
1546 #define dump_data(data,len) macro
1599 dump_data(skb->data, len); mac_drv_rx_complete()

Completed in 412 milliseconds