Lines Matching defs:pf
23 struct enetc_pf *pf = enetc_si_priv(si);
26 schedule_work(&pf->msg_task);
33 struct enetc_pf *pf = container_of(work, struct enetc_pf, msg_task);
34 struct enetc_hw *hw = &pf->si->hw;
47 for (i = 0; i < pf->num_vfs; i++) {
54 enetc_msg_handle_rxmsg(pf, i, &msg_code);
66 struct enetc_pf *pf = enetc_si_priv(si);
72 msg = &pf->rxmsg[idx];
95 struct enetc_pf *pf = enetc_si_priv(si);
99 msg = &pf->rxmsg[idx];
107 int enetc_msg_psi_init(struct enetc_pf *pf)
109 struct enetc_si *si = pf->si;
113 snprintf(pf->msg_int_name, sizeof(pf->msg_int_name), "%s-vfmsg",
116 err = request_irq(vector, enetc_msg_psi_msix, 0, pf->msg_int_name, si);
127 INIT_WORK(&pf->msg_task, enetc_msg_task);
129 for (i = 0; i < pf->num_vfs; i++) {
149 void enetc_msg_psi_free(struct enetc_pf *pf)
151 struct enetc_si *si = pf->si;
154 cancel_work_sync(&pf->msg_task);
159 for (i = 0; i < pf->num_vfs; i++)