Lines Matching defs:chip
409 const struct rtw_chip_info *chip = rtwdev->chip;
411 const struct rtw_fwcd_segs *segs = chip->fwcd_segs;
412 u32 prep_size = chip->fw_rxff_size + sizeof(struct rtw_fwcd_hdr);
488 u32 size = rtwdev->chip->fw_rxff_size;
519 u32 rxff = rtwdev->chip->fw_rxff_size;
866 const struct rtw_chip_info *chip = rtwdev->chip;
886 chip->ops->set_channel(rtwdev, center_chan, bandwidth,
910 const struct rtw_chip_info *chip = rtwdev->chip;
914 chip->ops->phy_calibration(rtwdev);
979 const struct rtw_chip_info *chip = rtwdev->chip;
990 if (!chip->fix_rf_phy_num)
1332 const struct rtw_chip_info *chip = rtwdev->chip;
1340 if (chip->wow_fw_name) {
1353 const struct rtw_chip_info *chip = rtwdev->chip;
1355 if (rtw_disable_lps_deep_mode || !chip->lps_deep_mode_supported ||
1359 if ((chip->lps_deep_mode_supported & BIT(LPS_DEEP_MODE_PG)) &&
1363 if ((chip->lps_deep_mode_supported & BIT(LPS_DEEP_MODE_LCLK)) &&
1372 const struct rtw_chip_info *chip = rtwdev->chip;
1409 chip->ops->phy_set_param(rtwdev);
1561 const struct rtw_chip_info *chip = rtwdev->chip;
1580 ht_cap->ampdu_density = chip->ampdu_density;
1648 len = rtwdev->chip->max_scan_ie_len;
1651 rtwdev->chip->id == RTW_CHIP_TYPE_8822C)
1660 const struct rtw_chip_info *chip)
1665 if (chip->band & RTW_BAND_2G) {
1669 if (chip->ht_supported)
1674 if (chip->band & RTW_BAND_5G) {
1678 if (chip->ht_supported)
1680 if (chip->vht_supported)
1692 const struct rtw_chip_info *chip)
1714 const struct rtw_chip_info *chip = rtwdev->chip;
1717 if (!chip->ops->config_txrx_mode || rtwdev->hal.txrx_1ss == txrx_1ss)
1722 chip->ops->config_txrx_mode(rtwdev, BB_PATH_A, BB_PATH_A, false);
1724 chip->ops->config_txrx_mode(rtwdev, hal->antenna_tx,
1739 if (rtwdev->chip->id == RTW_CHIP_TYPE_8822C &&
1812 fw_name = rtwdev->chip->wow_fw_name;
1817 fw_name = rtwdev->chip->fw_name;
1841 const struct rtw_chip_info *chip = rtwdev->chip;
1877 hal->rf_phy_num = chip->fix_rf_phy_num ? chip->fix_rf_phy_num :
1880 efuse->physical_size = chip->phy_efuse_size;
1881 efuse->logical_size = chip->log_efuse_size;
1882 efuse->protect_size = chip->ptct_efuse_size;
2070 rtw_err(rtwdev, "failed to setup chip parameters\n");
2076 rtw_err(rtwdev, "failed to setup chip efuse info\n");
2082 rtw_err(rtwdev, "failed to setup chip board info\n");
2110 const struct rtw_chip_info *chip = rtwdev->chip;
2173 if (chip->wow_fw_name) {
2237 max_tx_headroom = rtwdev->chip->tx_pkt_desc_sz;
2277 if (!sta_mode_only && rtwdev->chip->id == RTW_CHIP_TYPE_8822C) {
2287 hw->wiphy->wowlan = rtwdev->chip->wowlan_stub;
2288 hw->wiphy->max_sched_scan_ssids = rtwdev->chip->max_sched_scan_ssids;
2290 rtw_set_supported_band(hw, rtwdev->chip);
2324 const struct rtw_chip_info *chip = rtwdev->chip;
2327 rtw_unset_supported_band(hw, chip);