Searched refs:sc_dev (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/infiniband/hw/irdma/ |
D | hw.c | 77 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_puda_ce_handler() 106 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_process_ceq() 213 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_process_aeq() 438 irdma_ena_intr(&rf->sc_dev, rf->iw_msixtbl[0].idx); in irdma_dpc() 451 irdma_ena_intr(&rf->sc_dev, iwceq->msix_idx); in irdma_ceq_dpc() 534 ibdev_err(to_ibdev(&iwceq->rf->sc_dev), "expected irq = %d received irq = %d\n", in irdma_ceq_handler() 552 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_destroy_irq() 569 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_destroy_cqp() 611 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_destroy_aeq() 616 rf->sc_dev.irq_ops->irdma_cfg_aeq(&rf->sc_dev, rf->iw_msixtbl->idx, false); in irdma_destroy_aeq() [all …]
|
D | verbs.c | 18 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() 295 uk_attrs = &iwdev->rf->sc_dev.hw_attrs.uk_attrs; in irdma_alloc_ucontext() 303 uresp.max_pds = iwdev->rf->sc_dev.hw_attrs.max_hw_pds; in irdma_alloc_ucontext() 304 uresp.wq_size = iwdev->rf->sc_dev.hw_attrs.max_qp_wr * 2; in irdma_alloc_ucontext() 310 u64 bar_off = (uintptr_t)iwdev->rf->sc_dev.hw_regs[IRDMA_DB_ADDR_OFFSET]; in irdma_alloc_ucontext() [all …]
|
D | main.c | 98 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()
|
D | main.h | 296 struct irdma_sc_dev sc_dev; member 405 return container_of(dev, struct irdma_pci_f, sc_dev); in dev_to_rf()
|
D | utils.c | 533 struct irdma_sc_dev *dev = &rf->sc_dev; in irdma_cleanup_pending_cqp_op() 570 cqp_timeout.compl_cqp_cmds = rf->sc_dev.cqp_cmd_stats[IRDMA_OP_CMPL_CMDS]; 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() 765 return &(container_of(dev, struct irdma_pci_f, sc_dev))->iwdev->ibdev; in to_ibdev() 1134 dma_free_coherent(rf->sc_dev.hw->device, iwqp->q2_ctx_mem.size, in irdma_free_qp_rsrc() 1137 dma_free_coherent(rf->sc_dev.hw->device, iwqp->kqp.dma_mem.size, in irdma_free_qp_rsrc() 2014 if (!rf->sc_dev.ceq_valid) in irdma_cqp_ws_node_cmd()
|
D | cm.c | 2156 if (irdma_puda_create_ah(&iwdev->rf->sc_dev, &ah_info, wait, in irdma_cm_create_ah() 2174 irdma_puda_free_ah(&iwdev->rf->sc_dev, cm_node->ah); in irdma_cm_free_ah() 2232 cm_node->dev = &iwdev->rf->sc_dev; in irdma_make_cm_node() 3100 if (iwdev->rf->sc_dev.hw_attrs.uk_attrs.hw_rev >= IRDMA_GEN_2) { in irdma_receive_ilq() 3211 cm_core->dev = &iwdev->rf->sc_dev; in irdma_setup_cm_core() 3569 dma_free_coherent(iwdev->rf->sc_dev.hw->device, in irdma_free_lsmm_rsrc() 3605 dev = &iwdev->rf->sc_dev; in irdma_accept() 4085 dev = &iwdev->rf->sc_dev; in irdma_cm_event_connected()
|