Home
last modified time | relevance | path

Searched refs:vf_mbox_queue (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/marvell/octeon_ep/
Doctep_cn9k_pf.c375 u32 vf, active_vfs, active_rings_per_vf, vf_mbox_queue; in octep_poll_pfvf_mailbox() local
384 vf_mbox_queue = vf * active_rings_per_vf; in octep_poll_pfvf_mailbox()
386 if (vf_mbox_queue < 64) { in octep_poll_pfvf_mailbox()
387 if (!(reg0 & (0x1UL << vf_mbox_queue))) in octep_poll_pfvf_mailbox()
390 if (!(reg1 & (0x1UL << (vf_mbox_queue - 64)))) in octep_poll_pfvf_mailbox()
394 if (!oct->mbox[vf_mbox_queue]) { in octep_poll_pfvf_mailbox()
398 schedule_work(&oct->mbox[vf_mbox_queue]->wk.work); in octep_poll_pfvf_mailbox()
Doctep_pfvf_mbox.c103 u32 max_rings_per_vf, vf_mbox_queue; in octep_send_notification() local
114 vf_mbox_queue = vf_id * max_rings_per_vf; in octep_send_notification()
115 if (!oct->mbox[vf_mbox_queue]) { in octep_send_notification()
119 mbox = oct->mbox[vf_mbox_queue]; in octep_send_notification()
Doctep_cnxk_pf.c404 u32 vf, active_vfs, active_rings_per_vf, vf_mbox_queue; in octep_poll_pfvf_mailbox_cnxk_pf() local
412 vf_mbox_queue = vf * active_rings_per_vf; in octep_poll_pfvf_mailbox_cnxk_pf()
413 if (!(reg0 & (0x1UL << vf_mbox_queue))) in octep_poll_pfvf_mailbox_cnxk_pf()
416 if (!oct->mbox[vf_mbox_queue]) { in octep_poll_pfvf_mailbox_cnxk_pf()
420 schedule_work(&oct->mbox[vf_mbox_queue]->wk.work); in octep_poll_pfvf_mailbox_cnxk_pf()