Lines Matching refs:clc
388 const struct mt7921_clc *clc; in mt7921_load_clc() local
440 for (offset = 0; offset < len; offset += le32_to_cpu(clc->len)) { in mt7921_load_clc()
441 clc = (const struct mt7921_clc *)(clc_base + offset); in mt7921_load_clc()
444 if (phy->clc[clc->idx]) in mt7921_load_clc()
448 if (clc->idx == MT7921_CLC_POWER && in mt7921_load_clc()
449 u8_get_bits(clc->type, MT_EE_HW_TYPE_ENCAP) != hw_encap) in mt7921_load_clc()
452 phy->clc[clc->idx] = devm_kmemdup(mdev->dev, clc, in mt7921_load_clc()
453 le32_to_cpu(clc->len), in mt7921_load_clc()
456 if (!phy->clc[clc->idx]) { in mt7921_load_clc()
1052 struct mt7921_clc *clc, in __mt7921_mcu_set_clc() argument
1073 if (!clc) in __mt7921_mcu_set_clc()
1076 pos = clc->data; in __mt7921_mcu_set_clc()
1077 for (i = 0; i < clc->nr_country; i++) { in __mt7921_mcu_set_clc()
1117 for (i = 0; i < ARRAY_SIZE(phy->clc); i++) { in mt7921_mcu_set_clc()
1119 phy->clc[i], i); in mt7921_mcu_set_clc()
1125 phy->clc[i], i); in mt7921_mcu_set_clc()