Lines Matching refs:chg_id
85 u16 chg_id) in iwl_phy_db_get_section() argument
96 if (chg_id >= phy_db->n_group_papd) in iwl_phy_db_get_section()
98 return &phy_db->calib_ch_group_papd[chg_id]; in iwl_phy_db_get_section()
100 if (chg_id >= phy_db->n_group_txp) in iwl_phy_db_get_section()
102 return &phy_db->calib_ch_group_txp[chg_id]; in iwl_phy_db_get_section()
111 u16 chg_id) in iwl_phy_db_free_section() argument
114 iwl_phy_db_get_section(phy_db, type, chg_id); in iwl_phy_db_free_section()
154 u16 chg_id = 0; in iwl_phy_db_set_section() local
169 chg_id = le16_to_cpup((__le16 *)phy_db_notif->data); in iwl_phy_db_set_section()
175 phy_db->calib_ch_group_papd = kcalloc(chg_id + 1, in iwl_phy_db_set_section()
180 phy_db->n_group_papd = chg_id + 1; in iwl_phy_db_set_section()
183 chg_id = le16_to_cpup((__le16 *)phy_db_notif->data); in iwl_phy_db_set_section()
189 phy_db->calib_ch_group_txp = kcalloc(chg_id + 1, in iwl_phy_db_set_section()
194 phy_db->n_group_txp = chg_id + 1; in iwl_phy_db_set_section()
198 entry = iwl_phy_db_get_section(phy_db, type, chg_id); in iwl_phy_db_set_section()