Lines Matching refs:sc_dev
78 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_puda_ce_handler()
107 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_process_ceq()
215 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_process_aeq()
453 irdma_ena_intr(&rf->sc_dev, rf->iw_msixtbl[0].idx); in irdma_dpc()
466 irdma_ena_intr(&rf->sc_dev, iwceq->msix_idx); in irdma_ceq_dpc()
551 ibdev_err(to_ibdev(&iwceq->rf->sc_dev), "expected irq = %d received irq = %d\n", in irdma_ceq_handler()
569 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_destroy_irq()
592 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_destroy_cqp()
631 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_destroy_aeq()
636 rf->sc_dev.irq_ops->irdma_cfg_aeq(&rf->sc_dev, rf->iw_msixtbl->idx, false); in irdma_destroy_aeq()
667 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_destroy_ceq()
702 rf->sc_dev.irq_ops->irdma_cfg_ceq(&rf->sc_dev, in irdma_del_ceq_0()
712 rf->sc_dev.ceq_valid = false; in irdma_del_ceq_0()
735 rf->sc_dev.irq_ops->irdma_cfg_ceq(&rf->sc_dev, msix_vec->ceq_id, in irdma_del_ceqs()
738 irdma_cqp_ceq_cmd(&rf->sc_dev, &iwceq->sc_ceq, in irdma_del_ceqs()
740 dma_free_coherent(rf->sc_dev.hw->device, iwceq->mem.size, in irdma_del_ceqs()
756 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_destroy_ccq()
842 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_create_hmc_objs()
931 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_create_cqp()
1035 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_create_ccq()
1145 rf->sc_dev.irq_ops->irdma_cfg_ceq(&rf->sc_dev, ceq_id, msix_vec->idx, true); in irdma_cfg_ceq_vector()
1174 rf->sc_dev.irq_ops->irdma_cfg_aeq(&rf->sc_dev, msix_vec->idx, true); in irdma_cfg_aeq_vector()
1194 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_create_ceq()
1199 ceq_size = min(rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_CQ].cnt, in irdma_create_ceq()
1218 status = irdma_cqp_ceq_cmd(&rf->sc_dev, &iwceq->sc_ceq, in irdma_create_ceq()
1249 num_ceqs = min(rf->msix_count, rf->sc_dev.hmc_fpm_misc.max_ceqs); in irdma_setup_ceq_0()
1275 irdma_ena_intr(&rf->sc_dev, msix_vec->idx); in irdma_setup_ceq_0()
1284 rf->sc_dev.ceq_valid = true; in irdma_setup_ceq_0()
1307 num_ceqs = min(rf->msix_count, rf->sc_dev.hmc_fpm_misc.max_ceqs); in irdma_setup_ceqs()
1326 irdma_ena_intr(&rf->sc_dev, msix_vec->idx); in irdma_setup_ceqs()
1382 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_create_aeq()
1384 struct irdma_hmc_info *hmc_info = rf->sc_dev.hmc_info; in irdma_create_aeq()
1448 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_setup_aeq()
1557 status = irdma_cfg_fpm_val(&rf->sc_dev, qpcnt); in irdma_hmc_setup()
1572 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_del_init_mem()
1604 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_initialize_dev()
1641 status = irdma_sc_dev_init(rf->rdma_ver, &rf->sc_dev, &info); in irdma_initialize_dev()
1666 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_rt_deinit_hw()
1770 irdma_del_hmc_objects(&rf->sc_dev, rf->sc_dev.hmc_info, true, in irdma_ctrl_deinit_hw()
1798 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_rt_init_hw()
1847 status = irdma_hmc_init_pble(&rf->sc_dev, in irdma_rt_init_hw()
1866 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev == IRDMA_GEN_1) in irdma_rt_init_hw()
1899 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_ctrl_init_hw()
2022 rf->max_cqe = rf->sc_dev.hw_attrs.uk_attrs.max_hw_cq_size; in irdma_initialize_hw_rsrc()
2023 rf->max_qp = rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_QP].cnt; in irdma_initialize_hw_rsrc()
2024 rf->max_mr = rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_MR].cnt; in irdma_initialize_hw_rsrc()
2025 rf->max_cq = rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_CQ].cnt; in irdma_initialize_hw_rsrc()
2026 rf->max_pd = rf->sc_dev.hw_attrs.max_hw_pds; in irdma_initialize_hw_rsrc()
2027 rf->arp_table_size = rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_ARP].cnt; in irdma_initialize_hw_rsrc()
2028 rf->max_ah = rf->sc_dev.hmc_info->hmc_obj[IRDMA_HMC_IW_FSIAV].cnt; in irdma_initialize_hw_rsrc()
2078 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_cqp_ce_handler()