Home
last modified time | relevance | path

Searched refs:phy_db_notif (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/contrib/dev/iwlwifi/
H A Diwl-phy-db.c149 struct iwl_calib_res_notif_phy_db *phy_db_notif = in iwl_phy_db_set_section() local
156 if (pkt_len < sizeof(*phy_db_notif)) in iwl_phy_db_set_section()
159 type = le16_to_cpu(phy_db_notif->type); in iwl_phy_db_set_section()
160 size = le16_to_cpu(phy_db_notif->length); in iwl_phy_db_set_section()
162 if (pkt_len < sizeof(*phy_db_notif) + size) in iwl_phy_db_set_section()
169 chg_id = le16_to_cpup((__le16 *)phy_db_notif->data); in iwl_phy_db_set_section()
183 chg_id = le16_to_cpup((__le16 *)phy_db_notif->data); in iwl_phy_db_set_section()
203 entry->data = kmemdup(phy_db_notif->data, size, GFP_ATOMIC); in iwl_phy_db_set_section()
/freebsd/sys/dev/iwm/
H A Dif_iwm_phy_db.c279 struct iwm_calib_res_notif_phy_db *phy_db_notif = in iwm_phy_db_set_section() local
281 enum iwm_phy_db_section_type type = le16toh(phy_db_notif->type); in iwm_phy_db_set_section()
282 uint16_t size = le16toh(phy_db_notif->length); in iwm_phy_db_set_section()
290 chg_id = le16toh(*(uint16_t *)phy_db_notif->data); in iwm_phy_db_set_section()
304 chg_id = le16toh(*(uint16_t *)phy_db_notif->data); in iwm_phy_db_set_section()
330 memcpy(entry->data, phy_db_notif->data, size); in iwm_phy_db_set_section()