Lines Matching refs:rf_path

653 u32 rtw89_phy_read_rf(struct rtw89_dev *rtwdev, enum rtw89_rf_path rf_path,  in rtw89_phy_read_rf()  argument
660 if (rf_path >= rtwdev->chip->rf_path_num) { in rtw89_phy_read_rf()
661 rtw89_err(rtwdev, "unsupported rf path (%d)\n", rf_path); in rtw89_phy_read_rf()
666 direct_addr = base_addr[rf_path] + (addr << 2); in rtw89_phy_read_rf()
676 enum rtw89_rf_path rf_path, u32 addr, u32 mask) in rtw89_phy_read_rf_a() argument
692 val = FIELD_PREP(B_SWSI_READ_ADDR_PATH_V1, rf_path) | in rtw89_phy_read_rf_a()
708 u32 rtw89_phy_read_rf_v1(struct rtw89_dev *rtwdev, enum rtw89_rf_path rf_path, in rtw89_phy_read_rf_v1() argument
713 if (rf_path >= rtwdev->chip->rf_path_num) { in rtw89_phy_read_rf_v1()
714 rtw89_err(rtwdev, "unsupported rf path (%d)\n", rf_path); in rtw89_phy_read_rf_v1()
719 return rtw89_phy_read_rf(rtwdev, rf_path, addr, mask); in rtw89_phy_read_rf_v1()
721 return rtw89_phy_read_rf_a(rtwdev, rf_path, addr, mask); in rtw89_phy_read_rf_v1()
725 bool rtw89_phy_write_rf(struct rtw89_dev *rtwdev, enum rtw89_rf_path rf_path, in rtw89_phy_write_rf() argument
732 if (rf_path >= rtwdev->chip->rf_path_num) { in rtw89_phy_write_rf()
733 rtw89_err(rtwdev, "unsupported rf path (%d)\n", rf_path); in rtw89_phy_write_rf()
738 direct_addr = base_addr[rf_path] + (addr << 2); in rtw89_phy_write_rf()
751 enum rtw89_rf_path rf_path, u32 addr, u32 mask, in rtw89_phy_write_rf_a() argument
778 FIELD_PREP(B_SWSI_DATA_PATH_V1, rf_path) | in rtw89_phy_write_rf_a()
787 bool rtw89_phy_write_rf_v1(struct rtw89_dev *rtwdev, enum rtw89_rf_path rf_path, in rtw89_phy_write_rf_v1() argument
792 if (rf_path >= rtwdev->chip->rf_path_num) { in rtw89_phy_write_rf_v1()
793 rtw89_err(rtwdev, "unsupported rf path (%d)\n", rf_path); in rtw89_phy_write_rf_v1()
798 return rtw89_phy_write_rf(rtwdev, rf_path, addr, mask, data); in rtw89_phy_write_rf_v1()
800 return rtw89_phy_write_rf_a(rtwdev, rf_path, addr, mask, data); in rtw89_phy_write_rf_v1()
814 enum rtw89_rf_path rf_path, in rtw89_phy_config_bb_reg() argument
1034 enum rtw89_rf_path rf_path, in rtw89_phy_config_bb_gain() argument
1075 enum rtw89_rf_path rf_path, in rtw89_phy_cofig_rf_reg_store() argument
1083 rf_path, info->curr_idx); in rtw89_phy_cofig_rf_reg_store()
1122 enum rtw89_rf_path rf_path, in rtw89_phy_config_rf_reg() argument
1138 rtw89_write_rf(rtwdev, rf_path, reg->addr, 0xfffff, reg->data); in rtw89_phy_config_rf_reg()
1139 rtw89_phy_cofig_rf_reg_store(rtwdev, reg, rf_path, in rtw89_phy_config_rf_reg()
1146 enum rtw89_rf_path rf_path, in rtw89_phy_config_rf_reg_v1() argument
1149 rtw89_write_rf(rtwdev, rf_path, reg->addr, RFREG_MASK, reg->data); in rtw89_phy_config_rf_reg_v1()
1154 rtw89_phy_cofig_rf_reg_store(rtwdev, reg, rf_path, in rtw89_phy_config_rf_reg_v1()
1245 enum rtw89_rf_path rf_path, in rtw89_phy_init_reg() argument
1250 enum rtw89_rf_path rf_path = table->rf_path; in rtw89_phy_init_reg() local
1305 config(rtwdev, reg, rf_path, extra_data); in rtw89_phy_init_reg()
1335 enum rtw89_rf_path rf_path, void *data); in rtw89_phy_init_rf_reg()
1347 rf_reg_info->rf_path = rf_table->rf_path; in rtw89_phy_init_rf_reg()
1352 rf_reg_info->rf_path); in rtw89_phy_init_rf_reg()