Home
last modified time | relevance | path

Searched refs:n_regs (Results 1 – 9 of 9) sorted by relevance

/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/
H A Dtestmode.c102 int n_regs = ARRAY_SIZE(reg_backup_list); in mt7615_tm_reg_backup_restore() local
107 for (i = 0; i < n_regs; i++) in mt7615_tm_reg_backup_restore()
112 rf_backup_list[i].reg, b[n_regs + i]); in mt7615_tm_reg_backup_restore()
119 b = devm_kzalloc(dev->mt76.dev, 4 * (n_regs + n_rf_regs), in mt7615_tm_reg_backup_restore()
125 for (i = 0; i < n_regs; i++) in mt7615_tm_reg_backup_restore()
128 b[n_regs + i] = mt7615_rf_rr(dev, rf_backup_list[i].wf, in mt7615_tm_reg_backup_restore()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/
H A Dtestmode.c337 int n_regs = ARRAY_SIZE(reg_backup_list); in mt7915_tm_reg_backup_restore() local
362 for (i = 0; i < n_regs; i++) in mt7915_tm_reg_backup_restore()
368 b = devm_kzalloc(dev->mt76.dev, 4 * n_regs, GFP_KERNEL); in mt7915_tm_reg_backup_restore()
373 for (i = 0; i < n_regs; i++) in mt7915_tm_reg_backup_restore()
/freebsd/sys/contrib/dev/rtw89/
H A Dfw.c810 u32 n_regs, i; in rtw89_fw_download_hdr()
847 n_regs = le32_to_cpu(elm->size) / sizeof(tbl->regs[0]); in __rtw89_fw_download_main()
848 regs = kcalloc(n_regs, sizeof(tbl->regs[0]), GFP_KERNEL); in __rtw89_fw_download_main()
852 for (i = 0; i < n_regs; i++) { in __rtw89_fw_download_main()
857 tbl->n_regs = n_regs; in __rtw89_fw_download_main()
568 u32 n_regs, i; rtw89_build_phy_tbl_from_elm() local
H A Drtw8852b_table.c22861 .n_regs = ARRAY_SIZE(rtw89_8852b_phy_bb_regs),
22867 .n_regs = ARRAY_SIZE(rtw89_8852b_phy_bb_reg_gain),
22873 .n_regs = ARRAY_SIZE(rtw89_8852b_phy_radioa_regs),
22880 .n_regs = ARRAY_SIZE(rtw89_8852b_phy_radiob_regs),
22887 .n_regs = ARRAY_SIZE(rtw89_8852b_phy_nctl_regs),
H A Drtw8852a_table.c[all...]
H A Drtw8851b_table.c14833 .n_regs = ARRAY_SIZE(rtw89_8851b_phy_bb_regs),
14839 .n_regs = ARRAY_SIZE(rtw89_8851b_phy_bb_reg_gain),
14845 .n_regs = ARRAY_SIZE(rtw89_8851b_phy_radioa_regs),
14852 .n_regs = ARRAY_SIZE(rtw89_8851b_phy_nctl_regs),
H A Dphy.c1477 for (i = 0; i < table->n_regs; i++) { in rtw89_phy0_phy1_offset()
1574 for (i = headline_size; i < table->n_regs; i++) { in rtw89_phy_load_txpwr_byrate()
H A Drtw8852c_table.c[all...]
H A Dcore.h3852 u32 n_regs;
4072 u32 n_regs;
3222 u32 n_regs; global() member