Home
last modified time | relevance | path

Searched refs:sc_dev (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/drivers/infiniband/hw/irdma/
Dhw.c78 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()
[all …]
Dverbs.c18 struct irdma_hw_attrs *hw_attrs = &rf->sc_dev.hw_attrs; in irdma_query_device()
26 props->fw_ver = (u64)irdma_fw_major_ver(&rf->sc_dev) << 32 | in irdma_query_device()
27 irdma_fw_minor_ver(&rf->sc_dev); in irdma_query_device()
106 props->max_msg_sz = iwdev->rf->sc_dev.hw_attrs.max_hw_outbound_msg_size; in irdma_query_port()
128 pfn = ((uintptr_t)ucontext->iwdev->rf->sc_dev.hw_regs[IRDMA_DB_ADDR_OFFSET] + in irdma_mmap_legacy()
254 iwdev->rf->sc_dev.hw_attrs.max_hw_device_pages) { in irdma_alloc_push_page()
280 struct irdma_uk_attrs *uk_attrs = &iwdev->rf->sc_dev.hw_attrs.uk_attrs; in irdma_alloc_ucontext()
305 uresp.max_pds = iwdev->rf->sc_dev.hw_attrs.max_hw_pds; in irdma_alloc_ucontext()
306 uresp.wq_size = iwdev->rf->sc_dev.hw_attrs.max_qp_wr * 2; in irdma_alloc_ucontext()
312 u64 bar_off = (uintptr_t)iwdev->rf->sc_dev.hw_regs[IRDMA_DB_ADDR_OFFSET]; in irdma_alloc_ucontext()
[all …]
Dmain.c98 irdma_log_invalid_mtu(l2params.mtu, &iwdev->rf->sc_dev); in irdma_iidc_event_handler()
125 pe_criterr = readl(iwdev->rf->sc_dev.hw_regs[IRDMA_GLPE_CRITERR]); in irdma_iidc_event_handler()
Dutils.c533 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_cleanup_pending_cqp_op()
570 cqp_timeout.compl_cqp_cmds = atomic64_read(&rf->sc_dev.cqp->completed_ops); in irdma_wait_event()
578 irdma_check_cqp_progress(&cqp_timeout, &rf->sc_dev); in irdma_wait_event()
699 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_handle_cqp_op()
790 return &(container_of(dev, struct irdma_pci_f, sc_dev))->iwdev->ibdev; in to_ibdev()
1159 dma_free_coherent(rf->sc_dev.hw->device, iwqp->q2_ctx_mem.size, in irdma_free_qp_rsrc()
1162 dma_free_coherent(rf->sc_dev.hw->device, iwqp->kqp.dma_mem.size, in irdma_free_qp_rsrc()
1898 if (!rf->sc_dev.ceq_valid) in irdma_cqp_ws_node_cmd()
Dmain.h299 struct irdma_sc_dev sc_dev; member
410 return container_of(dev, struct irdma_pci_f, sc_dev); in dev_to_rf()
Dcm.c2205 if (irdma_puda_create_ah(&iwdev->rf->sc_dev, &ah_info, wait, in irdma_cm_create_ah()
2223 irdma_puda_free_ah(&iwdev->rf->sc_dev, cm_node->ah); in irdma_cm_free_ah()
2285 cm_node->dev = &iwdev->rf->sc_dev; in irdma_make_cm_node()
3154 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_receive_ilq()
3266 cm_core->dev = &iwdev->rf->sc_dev; in irdma_setup_cm_core()
3624 dma_free_coherent(iwdev->rf->sc_dev.hw->device, in irdma_free_lsmm_rsrc()
3659 dev = &iwdev->rf->sc_dev; in irdma_accept()
4149 dev = &iwdev->rf->sc_dev; in irdma_cm_event_connected()