Home
last modified time | relevance | path

Searched refs:magic_len (Results 1 – 4 of 4) sorted by relevance

/drivers/net/wireless/ath/ath10k/
Dtestmode.c144 size_t len, magic_len, ie_len; in ath10k_tm_fetch_utf_firmware_api_2() local
168 magic_len = strlen(ATH10K_FIRMWARE_MAGIC) + 1; in ath10k_tm_fetch_utf_firmware_api_2()
170 if (len < magic_len) { in ath10k_tm_fetch_utf_firmware_api_2()
176 if (memcmp(data, ATH10K_FIRMWARE_MAGIC, magic_len) != 0) { in ath10k_tm_fetch_utf_firmware_api_2()
183 magic_len = ALIGN(magic_len, 4); in ath10k_tm_fetch_utf_firmware_api_2()
185 len -= magic_len; in ath10k_tm_fetch_utf_firmware_api_2()
186 data += magic_len; in ath10k_tm_fetch_utf_firmware_api_2()
Dcore.c821 size_t len, magic_len, ie_len; in ath10k_core_fetch_board_data_api_n() local
834 magic_len = strlen(ATH10K_BOARD_MAGIC) + 1; in ath10k_core_fetch_board_data_api_n()
835 if (len < magic_len) { in ath10k_core_fetch_board_data_api_n()
842 if (memcmp(data, ATH10K_BOARD_MAGIC, magic_len)) { in ath10k_core_fetch_board_data_api_n()
849 magic_len = ALIGN(magic_len, 4); in ath10k_core_fetch_board_data_api_n()
850 if (len < magic_len) { in ath10k_core_fetch_board_data_api_n()
857 data += magic_len; in ath10k_core_fetch_board_data_api_n()
858 len -= magic_len; in ath10k_core_fetch_board_data_api_n()
1012 size_t magic_len, len, ie_len; in ath10k_core_fetch_firmware_api_n() local
1030 magic_len = strlen(ATH10K_FIRMWARE_MAGIC) + 1; in ath10k_core_fetch_firmware_api_n()
[all …]
/drivers/net/wan/
Dhdlc_ppp.c212 unsigned int magic_len = 0; in ppp_tx_cp() local
221 magic_len = sizeof(magic); in ppp_tx_cp()
224 sizeof(struct cp_header) + magic_len + len); in ppp_tx_cp()
234 cp->len = htons(sizeof(struct cp_header) + magic_len + len); in ppp_tx_cp()
236 if (magic_len) in ppp_tx_cp()
237 memcpy(skb_put(skb, magic_len), &magic, magic_len); in ppp_tx_cp()
245 for (i = 0; i < min_t(unsigned int, magic_len + len, DEBUG_CP); i++) { in ppp_tx_cp()
/drivers/net/wireless/ath/ath6kl/
Dinit.c946 size_t magic_len, len, ie_len; in ath6kl_fetch_fw_apin() local
964 magic_len = strlen(ATH6KL_FIRMWARE_MAGIC) + 1; in ath6kl_fetch_fw_apin()
966 if (len < magic_len) { in ath6kl_fetch_fw_apin()
971 if (memcmp(data, ATH6KL_FIRMWARE_MAGIC, magic_len) != 0) { in ath6kl_fetch_fw_apin()
976 len -= magic_len; in ath6kl_fetch_fw_apin()
977 data += magic_len; in ath6kl_fetch_fw_apin()