Searched refs:magic_len (Results 1 – 4 of 4) sorted by relevance
/drivers/net/wireless/ath/ath11k/ |
D | core.c | 273 size_t len, magic_len; in ath11k_core_fetch_board_data_api_n() local 295 magic_len = strlen(ATH11K_BOARD_MAGIC) + 1; in ath11k_core_fetch_board_data_api_n() 296 if (len < magic_len) { in ath11k_core_fetch_board_data_api_n() 303 if (memcmp(data, ATH11K_BOARD_MAGIC, magic_len)) { in ath11k_core_fetch_board_data_api_n() 310 magic_len = ALIGN(magic_len, 4); in ath11k_core_fetch_board_data_api_n() 311 if (len < magic_len) { in ath11k_core_fetch_board_data_api_n() 318 data += magic_len; in ath11k_core_fetch_board_data_api_n() 319 len -= magic_len; in ath11k_core_fetch_board_data_api_n()
|
/drivers/net/wan/ |
D | hdlc_ppp.c | 209 unsigned int magic_len = 0; in ppp_tx_cp() local 218 magic_len = sizeof(magic); in ppp_tx_cp() 221 sizeof(struct cp_header) + magic_len + len); in ppp_tx_cp() 231 cp->len = htons(sizeof(struct cp_header) + magic_len + len); in ppp_tx_cp() 233 if (magic_len) in ppp_tx_cp() 234 skb_put_data(skb, &magic, magic_len); in ppp_tx_cp() 242 for (i = 0; i < min_t(unsigned int, magic_len + len, DEBUG_CP); i++) { in ppp_tx_cp()
|
/drivers/net/wireless/ath/ath10k/ |
D | core.c | 1372 size_t len, magic_len; in ath10k_core_fetch_board_data_api_n() local 1388 magic_len = strlen(ATH10K_BOARD_MAGIC) + 1; in ath10k_core_fetch_board_data_api_n() 1389 if (len < magic_len) { in ath10k_core_fetch_board_data_api_n() 1396 if (memcmp(data, ATH10K_BOARD_MAGIC, magic_len)) { in ath10k_core_fetch_board_data_api_n() 1403 magic_len = ALIGN(magic_len, 4); in ath10k_core_fetch_board_data_api_n() 1404 if (len < magic_len) { in ath10k_core_fetch_board_data_api_n() 1411 data += magic_len; in ath10k_core_fetch_board_data_api_n() 1412 len -= magic_len; in ath10k_core_fetch_board_data_api_n() 1838 size_t magic_len, len, ie_len; in ath10k_core_fetch_firmware_api_n() local 1854 magic_len = strlen(ATH10K_FIRMWARE_MAGIC) + 1; in ath10k_core_fetch_firmware_api_n() [all …]
|
/drivers/net/wireless/ath/ath6kl/ |
D | init.c | 955 size_t magic_len, len, ie_len; in ath6kl_fetch_fw_apin() local 975 magic_len = strlen(ATH6KL_FIRMWARE_MAGIC) + 1; in ath6kl_fetch_fw_apin() 977 if (len < magic_len) { in ath6kl_fetch_fw_apin() 979 len, magic_len); in ath6kl_fetch_fw_apin() 984 if (memcmp(data, ATH6KL_FIRMWARE_MAGIC, magic_len) != 0) { in ath6kl_fetch_fw_apin() 986 magic_len); in ath6kl_fetch_fw_apin() 991 len -= magic_len; in ath6kl_fetch_fw_apin() 992 data += magic_len; in ath6kl_fetch_fw_apin()
|