Lines Matching refs:chg_id
87 u16 chg_id) in iwl_phy_db_get_section() argument
98 if (chg_id >= phy_db->n_group_papd) in iwl_phy_db_get_section()
100 return &phy_db->calib_ch_group_papd[chg_id]; in iwl_phy_db_get_section()
102 if (chg_id >= phy_db->n_group_txp) in iwl_phy_db_get_section()
104 return &phy_db->calib_ch_group_txp[chg_id]; in iwl_phy_db_get_section()
113 u16 chg_id) in iwl_phy_db_free_section() argument
116 iwl_phy_db_get_section(phy_db, type, chg_id); in iwl_phy_db_free_section()
156 u16 chg_id = 0; in iwl_phy_db_set_section() local
171 chg_id = le16_to_cpup((__le16 *)phy_db_notif->data); in iwl_phy_db_set_section()
177 phy_db->calib_ch_group_papd = kcalloc(chg_id + 1, in iwl_phy_db_set_section()
182 phy_db->n_group_papd = chg_id + 1; in iwl_phy_db_set_section()
185 chg_id = le16_to_cpup((__le16 *)phy_db_notif->data); in iwl_phy_db_set_section()
191 phy_db->calib_ch_group_txp = kcalloc(chg_id + 1, in iwl_phy_db_set_section()
196 phy_db->n_group_txp = chg_id + 1; in iwl_phy_db_set_section()
200 entry = iwl_phy_db_get_section(phy_db, type, chg_id); in iwl_phy_db_set_section()