Searched refs:phycap_map (Results 1 – 6 of 6) sorted by relevance
| /freebsd-14.2/sys/contrib/dev/rtw89/ |
| H A D | efuse.c | 307 u8 *phycap_map = NULL; in rtw89_parse_phycap_map() local 313 phycap_map = kmalloc(phycap_size, GFP_KERNEL); in rtw89_parse_phycap_map() 314 if (!phycap_map) in rtw89_parse_phycap_map() 317 ret = rtw89_dump_physical_efuse_map(rtwdev, phycap_map, in rtw89_parse_phycap_map() 324 ret = rtwdev->chip->ops->read_phycap(rtwdev, phycap_map); in rtw89_parse_phycap_map() 331 kfree(phycap_map); in rtw89_parse_phycap_map()
|
| H A D | rtw8852b.c | 668 if (phycap_map[offset] == PWR_K_CHK_VALUE) in rtw8852b_phycap_parsing_power_cal() 685 tssi->tssi_trim[i][j] = phycap_map[ofst]; in rtw8852b_phycap_parsing_tssi() 687 if (phycap_map[ofst] != 0xff) in rtw8852b_phycap_parsing_tssi() 707 u8 *phycap_map) in rtw8852b_phycap_parsing_thermal_trim() argument 755 u8 *phycap_map) in rtw8852b_phycap_parsing_pa_bias_trim() argument 817 data = phycap_map[comp_addrs[path][i] - phycap_addr]; in rtw8852b_phycap_parsing_gain_comp() 827 rtw8852b_phycap_parsing_power_cal(rtwdev, phycap_map); in rtw8852b_read_phycap() 828 rtw8852b_phycap_parsing_tssi(rtwdev, phycap_map); in rtw8852b_read_phycap() 829 rtw8852b_phycap_parsing_thermal_trim(rtwdev, phycap_map); in rtw8852b_read_phycap() 830 rtw8852b_phycap_parsing_pa_bias_trim(rtwdev, phycap_map); in rtw8852b_read_phycap() [all …]
|
| H A D | rtw8851b.c | 537 tssi->tssi_trim[i][j] = phycap_map[ofst]; in rtw8851b_phycap_parsing_tssi() 539 if (phycap_map[ofst] != 0xff) in rtw8851b_phycap_parsing_tssi() 559 u8 *phycap_map) in rtw8851b_phycap_parsing_thermal_trim() argument 567 info->thermal_trim[i] = phycap_map[thm_trim_addr[i] - addr]; in rtw8851b_phycap_parsing_thermal_trim() 607 u8 *phycap_map) in rtw8851b_phycap_parsing_pa_bias_trim() argument 615 info->pa_bias_trim[i] = phycap_map[pabias_trim_addr[i] - addr]; in rtw8851b_phycap_parsing_pa_bias_trim() 668 data = phycap_map[comp_addrs[path][i] - phycap_addr]; in rtw8851b_phycap_parsing_gain_comp() 678 rtw8851b_phycap_parsing_tssi(rtwdev, phycap_map); in rtw8851b_read_phycap() 679 rtw8851b_phycap_parsing_thermal_trim(rtwdev, phycap_map); in rtw8851b_read_phycap() 680 rtw8851b_phycap_parsing_pa_bias_trim(rtwdev, phycap_map); in rtw8851b_read_phycap() [all …]
|
| H A D | rtw8852a.c | 560 static void rtw8852a_phycap_parsing_tssi(struct rtw89_dev *rtwdev, u8 *phycap_map) in rtw8852a_phycap_parsing_tssi() argument 573 tssi->tssi_trim[i][j] = phycap_map[ofst]; in rtw8852a_phycap_parsing_tssi() 575 if (phycap_map[ofst] != 0xff) in rtw8852a_phycap_parsing_tssi() 595 u8 *phycap_map) in rtw8852a_phycap_parsing_thermal_trim() argument 603 info->thermal_trim[i] = phycap_map[thm_trim_addr[i] - addr]; in rtw8852a_phycap_parsing_thermal_trim() 643 u8 *phycap_map) in rtw8852a_phycap_parsing_pa_bias_trim() argument 651 info->pa_bias_trim[i] = phycap_map[pabias_trim_addr[i] - addr]; in rtw8852a_phycap_parsing_pa_bias_trim() 688 static int rtw8852a_read_phycap(struct rtw89_dev *rtwdev, u8 *phycap_map) in rtw8852a_read_phycap() argument 690 rtw8852a_phycap_parsing_tssi(rtwdev, phycap_map); in rtw8852a_read_phycap() 691 rtw8852a_phycap_parsing_thermal_trim(rtwdev, phycap_map); in rtw8852a_read_phycap() [all …]
|
| H A D | rtw8852c.c | 465 tssi->tssi_trim[i][j] = phycap_map[ofst]; in rtw8852c_phycap_parsing_tssi() 467 if (phycap_map[ofst] != 0xff) in rtw8852c_phycap_parsing_tssi() 474 tssi->tssi_trim_6g[i][j] = phycap_map[ofst]; in rtw8852c_phycap_parsing_tssi() 476 if (phycap_map[ofst] != 0xff) in rtw8852c_phycap_parsing_tssi() 497 u8 *phycap_map) in rtw8852c_phycap_parsing_thermal_trim() argument 505 info->thermal_trim[i] = phycap_map[thm_trim_addr[i] - addr]; in rtw8852c_phycap_parsing_thermal_trim() 545 u8 *phycap_map) in rtw8852c_phycap_parsing_pa_bias_trim() argument 553 info->pa_bias_trim[i] = phycap_map[pabias_trim_addr[i] - addr]; in rtw8852c_phycap_parsing_pa_bias_trim() 592 rtw8852c_phycap_parsing_tssi(rtwdev, phycap_map); in rtw8852c_read_phycap() 593 rtw8852c_phycap_parsing_thermal_trim(rtwdev, phycap_map); in rtw8852c_read_phycap() [all …]
|
| H A D | core.h | 3016 int (*read_phycap)(struct rtw89_dev *rtwdev, u8 *phycap_map);
|