• Home
  • Raw
  • Download

Lines Matching refs:iwl_trans

1201 	struct iwl_trans *iwl_trans;  in iwl_pci_probe()  local
1219 iwl_trans = iwl_trans_pcie_alloc(pdev, ent, trans); in iwl_pci_probe()
1220 if (IS_ERR(iwl_trans)) in iwl_pci_probe()
1221 return PTR_ERR(iwl_trans); in iwl_pci_probe()
1223 trans_pcie = IWL_TRANS_GET_PCIE_TRANS(iwl_trans); in iwl_pci_probe()
1225 iwl_trans->hw_rf_id = iwl_read32(iwl_trans, CSR_HW_RF_ID); in iwl_pci_probe()
1235 CSR_HW_REV_TYPE(iwl_trans->hw_rev)) && in iwl_pci_probe()
1238 CSR_HW_REV_STEP(iwl_trans->hw_rev)) && in iwl_pci_probe()
1241 CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id)) && in iwl_pci_probe()
1243 CSR_HW_RFID_IS_CDB(iwl_trans->hw_rf_id)) && in iwl_pci_probe()
1253 iwl_trans->cfg = dev_info->cfg; in iwl_pci_probe()
1254 iwl_trans->name = dev_info->name; in iwl_pci_probe()
1267 if (CSR_HW_REV_TYPE(iwl_trans->hw_rev) == IWL_CFG_MAC_TYPE_SNJ) in iwl_pci_probe()
1268 iwl_trans->trans_cfg = &iwl_so_trans_cfg; in iwl_pci_probe()
1284 (iwl_trans->hw_rev & CSR_HW_REV_TYPE_MSK) == CSR_HW_REV_TYPE_7265D) in iwl_pci_probe()
1285 iwl_trans->cfg = cfg_7265d; in iwl_pci_probe()
1288 if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_TY) { in iwl_pci_probe()
1289 iwl_trans->cfg = &iwlax210_2ax_cfg_ty_gf_a0; in iwl_pci_probe()
1290 } else if (CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id) == in iwl_pci_probe()
1292 iwl_trans->cfg = &iwlax210_2ax_cfg_so_jf_b0; in iwl_pci_probe()
1293 } else if (CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id) == in iwl_pci_probe()
1295 iwl_trans->cfg = &iwlax211_2ax_cfg_so_gf_a0; in iwl_pci_probe()
1296 } else if (CSR_HW_RFID_TYPE(iwl_trans->hw_rf_id) == in iwl_pci_probe()
1298 iwl_trans->cfg = &iwlax411_2ax_cfg_so_gf4_a0; in iwl_pci_probe()
1308 if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_QU_C0) { in iwl_pci_probe()
1309 if (iwl_trans->cfg == &iwl_ax201_cfg_qu_hr) in iwl_pci_probe()
1310 iwl_trans->cfg = &iwl_ax201_cfg_qu_c0_hr_b0; in iwl_pci_probe()
1311 else if (iwl_trans->cfg == &killer1650s_2ax_cfg_qu_b0_hr_b0) in iwl_pci_probe()
1312 iwl_trans->cfg = &killer1650s_2ax_cfg_qu_c0_hr_b0; in iwl_pci_probe()
1313 else if (iwl_trans->cfg == &killer1650i_2ax_cfg_qu_b0_hr_b0) in iwl_pci_probe()
1314 iwl_trans->cfg = &killer1650i_2ax_cfg_qu_c0_hr_b0; in iwl_pci_probe()
1318 if (iwl_trans->hw_rev == CSR_HW_REV_TYPE_QUZ) { in iwl_pci_probe()
1319 if (iwl_trans->cfg == &iwl_ax201_cfg_qu_hr) in iwl_pci_probe()
1320 iwl_trans->cfg = &iwl_ax201_cfg_quz_hr; in iwl_pci_probe()
1321 else if (iwl_trans->cfg == &killer1650s_2ax_cfg_qu_b0_hr_b0) in iwl_pci_probe()
1322 iwl_trans->cfg = &iwl_ax1650s_cfg_quz_hr; in iwl_pci_probe()
1323 else if (iwl_trans->cfg == &killer1650i_2ax_cfg_qu_b0_hr_b0) in iwl_pci_probe()
1324 iwl_trans->cfg = &iwl_ax1650i_cfg_quz_hr; in iwl_pci_probe()
1332 if (!iwl_trans->cfg) { in iwl_pci_probe()
1336 iwl_trans->hw_rev, iwl_trans->hw_rf_id); in iwl_pci_probe()
1340 iwl_trans->cfg = cfg; in iwl_pci_probe()
1344 if (!iwl_trans->name) in iwl_pci_probe()
1345 iwl_trans->name = iwl_trans->cfg->name; in iwl_pci_probe()
1347 if (iwl_trans->trans_cfg->mq_rx_supported) { in iwl_pci_probe()
1348 if (WARN_ON(!iwl_trans->cfg->num_rbds)) { in iwl_pci_probe()
1352 trans_pcie->num_rx_bufs = iwl_trans->cfg->num_rbds; in iwl_pci_probe()
1357 ret = iwl_trans_init(iwl_trans); in iwl_pci_probe()
1361 pci_set_drvdata(pdev, iwl_trans); in iwl_pci_probe()
1362 iwl_trans->drv = iwl_drv_start(iwl_trans); in iwl_pci_probe()
1364 if (IS_ERR(iwl_trans->drv)) { in iwl_pci_probe()
1365 ret = PTR_ERR(iwl_trans->drv); in iwl_pci_probe()
1370 iwl_trans_pcie_dbgfs_register(iwl_trans); in iwl_pci_probe()
1375 iwl_trans_pcie_free(iwl_trans); in iwl_pci_probe()
1381 struct iwl_trans *trans = pci_get_drvdata(pdev); in iwl_pci_remove()
1406 struct iwl_trans *trans = pci_get_drvdata(pdev); in iwl_pci_resume()