Lines Matching refs:efct

50 	struct efct *efct = hw->os;  in efct_hw_read_max_dump_size()  local
55 if (PCI_FUNC(efct->pci->devfn) != 0) in efct_hw_read_max_dump_size()
85 struct efct *efct = hw->os; in __efct_read_topology_cb() local
158 efc_domain_cb(efct->efcport, EFC_HW_DOMAIN_FOUND, &drec); in __efct_read_topology_cb()
170 struct efct *efct = hw->os; in efct_hw_cb_link() local
178 efct->efcport->link_status = EFC_LINK_STATUS_UP; in efct_hw_cb_link()
188 efc_domain_cb(efct->efcport, EFC_HW_DOMAIN_FOUND, in efct_hw_cb_link()
214 efct->efcport->link_status = EFC_LINK_STATUS_DOWN; in efct_hw_cb_link()
216 d = efct->efcport->domain; in efct_hw_cb_link()
218 efc_domain_cb(efct->efcport, EFC_HW_DOMAIN_LOST, d); in efct_hw_cb_link()
278 if (sli_setup(&hw->sli, hw->os, pdev, ((struct efct *)os)->reg)) { in efct_hw_setup()
487 struct efct *efct = hw->os; in efct_hw_setup_io() local
518 dma->virt = dma_alloc_coherent(&efct->pci->dev, in efct_hw_setup_io()
563 dma->virt = dma_alloc_coherent(&efct->pci->dev, in efct_hw_setup_io()
612 struct efct *efct = hw->os; in efct_hw_init_prereg_io() local
620 req.virt = dma_alloc_coherent(&efct->pci->dev, req.size, &req.phys, in efct_hw_init_prereg_io()
665 dma_free_coherent(&efct->pci->dev, req.size, req.virt, req.phys); in efct_hw_init_prereg_io()
1176 struct efct *efct = hw->os; in efct_hw_rx_buffer_alloc() local
1192 prq->dma.virt = dma_alloc_coherent(&efct->pci->dev, in efct_hw_rx_buffer_alloc()
1210 struct efct *efct = hw->os; in efct_hw_rx_buffer_free() local
1216 dma_free_coherent(&efct->pci->dev, in efct_hw_rx_buffer_free()
1229 struct efct *efct = hw->os; in efct_hw_rx_allocate() local
1246 efc_log_err(efct, "rx_buffer_alloc hdr_buf failed\n"); in efct_hw_rx_allocate()
1262 efc_log_err(efct, "rx_buffer_alloc fb_buf failed\n"); in efct_hw_rx_allocate()
1551 struct efct *efct = base; in efct_issue_mbox_rqst() local
1552 struct efct_hw *hw = &efct->hw; in efct_issue_mbox_rqst()
1569 efc_log_err(efct, "issue mbox rqst failure rc:%d\n", rc); in efct_issue_mbox_rqst()
2563 struct efct *efct = efc->base; in efct_efc_bls_send() local
2565 return efct_hw_bls_send(efct, type, bls, NULL, NULL); in efct_efc_bls_send()
2569 efct_hw_bls_send(struct efct *efct, u32 type, struct sli_bls_params *bls_params, in efct_hw_bls_send() argument
2572 struct efct_hw *hw = &efct->hw; in efct_hw_bls_send()
2697 struct efct *efct = efc->base; in efct_els_hw_srrs_send() local
2699 struct efct_hw *hw = &efct->hw; in efct_els_hw_srrs_send()
3396 struct efct *efct = hw->os; in efct_hw_teardown() local
3425 dma_free_coherent(&efct->pci->dev, in efct_hw_teardown()
3434 dma_free_coherent(&efct->pci->dev, in efct_hw_teardown()
3449 dma_free_coherent(&efct->pci->dev, in efct_hw_teardown()
3454 dma_free_coherent(&efct->pci->dev, in efct_hw_teardown()