Lines Matching defs:si
22 struct enetc_si *si = (struct enetc_si *)data;
23 struct enetc_pf *pf = enetc_si_priv(si);
25 enetc_msg_disable_mr_int(&si->hw);
34 struct enetc_hw *hw = &pf->si->hw;
64 static int enetc_msg_alloc_mbx(struct enetc_si *si, int idx)
66 struct enetc_pf *pf = enetc_si_priv(si);
67 struct device *dev = &si->pdev->dev;
68 struct enetc_hw *hw = &si->hw;
93 static void enetc_msg_free_mbx(struct enetc_si *si, int idx)
95 struct enetc_pf *pf = enetc_si_priv(si);
96 struct enetc_hw *hw = &si->hw;
100 dma_free_coherent(&si->pdev->dev, msg->size, msg->vaddr, msg->dma);
109 struct enetc_si *si = pf->si;
114 si->ndev->name);
115 vector = pci_irq_vector(si->pdev, ENETC_SI_INT_IDX);
116 err = request_irq(vector, enetc_msg_psi_msix, 0, pf->msg_int_name, si);
118 dev_err(&si->pdev->dev,
124 enetc_wr(&si->hw, ENETC_SIMSIVR, ENETC_SI_INT_IDX);
130 err = enetc_msg_alloc_mbx(si, i);
136 enetc_msg_enable_mr_int(&si->hw);
142 enetc_msg_free_mbx(si, i);
144 free_irq(vector, si);
151 struct enetc_si *si = pf->si;
157 enetc_msg_disable_mr_int(&si->hw);
160 enetc_msg_free_mbx(si, i);
163 free_irq(pci_irq_vector(si->pdev, ENETC_SI_INT_IDX), si);