Searched refs:IGBVF_MSIX_VEC_NUM (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/net/ |
H A D | igb_core.h | 48 #define IGBVF_MSIX_VEC_NUM (3) macro
|
H A D | igbvf.c | 259 ret = msix_init(dev, IGBVF_MSIX_VEC_NUM, &s->msix, IGBVF_MSIX_BAR_IDX, 0, in igbvf_pci_realize() 265 for (i = 0; i < IGBVF_MSIX_VEC_NUM; i++) { in igbvf_pci_realize()
|
H A D | igb_core.c | 122 vfn = 8 - (cause + 2) / IGBVF_MSIX_VEC_NUM; in igb_msix_notify() 126 vector = (cause + 2) % IGBVF_MSIX_VEC_NUM; in igb_msix_notify() 2390 causes = (ent & 0x3) << (22 - vfn * IGBVF_MSIX_VEC_NUM); in mailbox_interrupt_to_vf() 2556 igb_set_eics(core, EICS, (val & 0x7) << (22 - vfn * IGBVF_MSIX_VEC_NUM)); in igb_set_vteics() 2564 igb_set_eims(core, EIMS, (val & 0x7) << (22 - vfn * IGBVF_MSIX_VEC_NUM)); in igb_set_vteims() 2572 igb_set_eimc(core, EIMC, (val & 0x7) << (22 - vfn * IGBVF_MSIX_VEC_NUM)); in igb_set_vteimc() 2580 igb_set_eiac(core, EIAC, (val & 0x7) << (22 - vfn * IGBVF_MSIX_VEC_NUM)); in igb_set_vteiac() 2588 igb_set_eiam(core, EIAM, (val & 0x7) << (22 - vfn * IGBVF_MSIX_VEC_NUM)); in igb_set_vteiam() 2596 igb_set_eicr(core, EICR, (val & 0x7) << (22 - vfn * IGBVF_MSIX_VEC_NUM)); in igb_set_vteicr() 2611 ent = E1000_IVAR_VALID | (24 - vfn * IGBVF_MSIX_VEC_NUM - (2 - (val & 0x7))); in igb_set_vtivar() [all …]
|