Lines Matching defs:core
66 IGBCore *core; member
101 igb_raise_legacy_irq(IGBCore *core) in igb_raise_legacy_irq()
109 igb_lower_legacy_irq(IGBCore *core) in igb_lower_legacy_irq()
115 static void igb_msix_notify(IGBCore *core, unsigned int cause) in igb_msix_notify()
176 igb_intrmgr_initialize_all_timers(IGBCore *core, bool create) in igb_intrmgr_initialize_all_timers()
198 igb_intrmgr_resume(IGBCore *core) in igb_intrmgr_resume()
208 igb_intrmgr_reset(IGBCore *core) in igb_intrmgr_reset()
221 igb_intrmgr_pci_unint(IGBCore *core) in igb_intrmgr_pci_unint()
231 igb_intrmgr_pci_realize(IGBCore *core) in igb_intrmgr_pci_realize()
237 igb_rx_csum_enabled(IGBCore *core) in igb_rx_csum_enabled()
243 igb_rx_use_legacy_descriptor(IGBCore *core) in igb_rx_use_legacy_descriptor()
262 igb_rx_queue_desctyp_get(IGBCore *core, const E1000ERingInfo *r) in igb_rx_queue_desctyp_get()
268 igb_rx_use_ps_descriptor(IGBCore *core, const E1000ERingInfo *r) in igb_rx_use_ps_descriptor()
276 igb_rss_enabled(IGBCore *core) in igb_rss_enabled()
291 igb_rss_get_hash_type(IGBCore *core, struct NetRxPkt *pkt) in igb_rss_get_hash_type()
371 igb_rss_calc_hash(IGBCore *core, struct NetRxPkt *pkt, E1000E_RSSInfo *info) in igb_rss_calc_hash()
408 igb_rss_parse_packet(IGBCore *core, struct NetRxPkt *pkt, bool tx, in igb_rss_parse_packet()
439 igb_tx_insert_vlan(IGBCore *core, uint16_t qn, struct igb_tx *tx, in igb_tx_insert_vlan()
461 igb_setup_tx_offloads(IGBCore *core, struct igb_tx *tx) in igb_setup_tx_offloads()
490 static void igb_tx_pkt_mac_callback(void *core, in igb_tx_pkt_mac_callback()
521 static bool igb_tx_pkt_switch(IGBCore *core, struct igb_tx *tx, in igb_tx_pkt_switch()
547 igb_tx_pkt_send(IGBCore *core, struct igb_tx *tx, int queue_index) in igb_tx_pkt_send()
568 igb_on_tx_done_update_stats(IGBCore *core, struct NetTxPkt *tx_pkt, int qn) in igb_on_tx_done_update_stats()
604 igb_process_tx_desc(IGBCore *core, in igb_process_tx_desc()
682 static uint32_t igb_tx_wb_eic(IGBCore *core, int queue_idx) in igb_tx_wb_eic()
692 static uint32_t igb_rx_wb_eic(IGBCore *core, int queue_idx) in igb_rx_wb_eic()
703 igb_ring_empty(IGBCore *core, const E1000ERingInfo *r) in igb_ring_empty()
710 igb_ring_base(IGBCore *core, const E1000ERingInfo *r) in igb_ring_base()
719 igb_ring_head_descr(IGBCore *core, const E1000ERingInfo *r) in igb_ring_head_descr()
725 igb_ring_advance(IGBCore *core, const E1000ERingInfo *r, uint32_t count) in igb_ring_advance()
735 igb_ring_free_descr_num(IGBCore *core, const E1000ERingInfo *r) in igb_ring_free_descr_num()
754 igb_ring_enabled(IGBCore *core, const E1000ERingInfo *r) in igb_ring_enabled()
771 igb_tx_ring_init(IGBCore *core, IGB_TxRing *txr, int idx) in igb_tx_ring_init()
803 igb_rx_ring_init(IGBCore *core, E1000E_RxRing *rxr, int idx) in igb_rx_ring_init()
830 igb_txdesc_writeback(IGBCore *core, dma_addr_t base, in igb_txdesc_writeback()
865 igb_tx_enabled(IGBCore *core, const E1000ERingInfo *txi) in igb_tx_enabled()
877 igb_start_xmit(IGBCore *core, const IGB_TxRing *txr) in igb_start_xmit()
917 igb_rxbufsize(IGBCore *core, const E1000ERingInfo *r) in igb_rxbufsize()
929 igb_has_rxbufs(IGBCore *core, const E1000ERingInfo *r, size_t total_size) in igb_has_rxbufs()
941 igb_rxhdrbufsize(IGBCore *core, const E1000ERingInfo *r) in igb_rxhdrbufsize()
949 igb_start_recv(IGBCore *core) in igb_start_recv()
961 igb_can_receive(IGBCore *core) in igb_can_receive()
987 igb_receive(IGBCore *core, const uint8_t *buf, size_t size) in igb_receive()
998 igb_rx_l3_cso_enabled(IGBCore *core) in igb_rx_l3_cso_enabled()
1004 igb_rx_l4_cso_enabled(IGBCore *core) in igb_rx_l4_cso_enabled()
1009 static bool igb_rx_is_oversized(IGBCore *core, const struct eth_header *ehdr, in igb_rx_is_oversized()
1018 static uint16_t igb_receive_assign(IGBCore *core, const struct iovec *iov, in igb_receive_assign()
1225 igb_read_lgcy_rx_descr(IGBCore *core, struct e1000_rx_desc *desc, in igb_read_lgcy_rx_descr()
1232 igb_read_adv_rx_single_buf_descr(IGBCore *core, union e1000_adv_rx_desc *desc, in igb_read_adv_rx_single_buf_descr()
1239 igb_read_adv_rx_split_buf_descr(IGBCore *core, union e1000_adv_rx_desc *desc, in igb_read_adv_rx_split_buf_descr()
1275 igb_read_rx_descr(IGBCore *core, in igb_read_rx_descr()
1306 igb_verify_csum_in_sw(IGBCore *core, in igb_verify_csum_in_sw()
1344 igb_build_rx_metadata_common(IGBCore *core, in igb_build_rx_metadata_common()
1426 igb_write_lgcy_rx_descr(IGBCore *core, struct e1000_rx_desc *desc, in igb_write_lgcy_rx_descr()
1446 igb_rx_ps_descriptor_split_always(IGBCore *core, const E1000ERingInfo *r) in igb_rx_ps_descriptor_split_always()
1453 igb_rx_desc_get_packet_type(IGBCore *core, struct NetRxPkt *pkt, uint16_t etqf) in igb_rx_desc_get_packet_type()
1494 igb_write_adv_rx_descr(IGBCore *core, union e1000_adv_rx_desc *desc, in igb_write_adv_rx_descr()
1542 igb_write_adv_ps_rx_descr(IGBCore *core, in igb_write_adv_ps_rx_descr()
1572 igb_write_rx_descr(IGBCore *core, in igb_write_rx_descr()
1594 igb_pci_dma_write_rx_desc(IGBCore *core, PCIDevice *dev, dma_addr_t addr, in igb_pci_dma_write_rx_desc()
1626 igb_update_rx_stats(IGBCore *core, const E1000ERingInfo *rxi, in igb_update_rx_stats()
1644 igb_rx_descr_threshold_hit(IGBCore *core, const E1000ERingInfo *rxi) in igb_rx_descr_threshold_hit()
1651 igb_do_ps(IGBCore *core, in igb_do_ps()
1734 igb_write_hdr_frag_to_rx_buffers(IGBCore *core, in igb_write_hdr_frag_to_rx_buffers()
1750 igb_write_header_to_rx_buffers(IGBCore *core, in igb_write_header_to_rx_buffers()
1788 igb_write_payload_frag_to_rx_buffers(IGBCore *core, in igb_write_payload_frag_to_rx_buffers()
1826 igb_write_payload_to_rx_buffers(IGBCore *core, in igb_write_payload_to_rx_buffers()
1862 igb_write_to_rx_buffers(IGBCore *core, in igb_write_to_rx_buffers()
1895 igb_write_packet_to_guest(IGBCore *core, struct NetRxPkt *pkt, in igb_write_packet_to_guest()
1957 igb_rx_strip_vlan(IGBCore *core, const E1000ERingInfo *rxi) in igb_rx_strip_vlan()
1971 igb_rx_fix_l4_csum(IGBCore *core, struct NetRxPkt *pkt) in igb_rx_fix_l4_csum()
1981 igb_receive_iov(IGBCore *core, const struct iovec *iov, int iovcnt) in igb_receive_iov()
1987 igb_receive_internal(IGBCore *core, const struct iovec *iov, int iovcnt, in igb_receive_internal()
2108 igb_have_autoneg(IGBCore *core) in igb_have_autoneg()
2113 static void igb_update_flowctl_status(IGBCore *core) in igb_update_flowctl_status()
2124 igb_link_down(IGBCore *core) in igb_link_down()
2131 igb_set_phy_ctrl(IGBCore *core, uint16_t val) in igb_set_phy_ctrl()
2141 void igb_core_set_link_status(IGBCore *core) in igb_core_set_link_status()
2167 igb_set_ctrl(IGBCore *core, int index, uint32_t val) in igb_set_ctrl()
2195 igb_set_rfctl(IGBCore *core, int index, uint32_t val) in igb_set_rfctl()
2215 igb_calc_rxdesclen(IGBCore *core) in igb_calc_rxdesclen()
2226 igb_set_rx_control(IGBCore *core, int index, uint32_t val) in igb_set_rx_control()
2259 igb_eitr_should_postpone(IGBCore *core, int idx) in igb_eitr_should_postpone()
2264 static void igb_send_msix(IGBCore *core, uint32_t causes) in igb_send_msix()
2278 igb_fix_icr_asserted(IGBCore *core) in igb_fix_icr_asserted()
2288 static void igb_raise_interrupts(IGBCore *core, size_t index, uint32_t causes) in igb_raise_interrupts()
2346 static void igb_lower_interrupts(IGBCore *core, size_t index, uint32_t causes) in igb_lower_interrupts()
2366 static void igb_set_eics(IGBCore *core, int index, uint32_t val) in igb_set_eics()
2375 static void igb_set_eims(IGBCore *core, int index, uint32_t val) in igb_set_eims()
2384 static void mailbox_interrupt_to_vf(IGBCore *core, uint16_t vfn) in mailbox_interrupt_to_vf()
2395 static void mailbox_interrupt_to_pf(IGBCore *core) in mailbox_interrupt_to_pf()
2400 static void igb_set_pfmailbox(IGBCore *core, int index, uint32_t val) in igb_set_pfmailbox()
2434 static void igb_set_vfmailbox(IGBCore *core, int index, uint32_t val) in igb_set_vfmailbox()
2462 void igb_core_vf_reset(IGBCore *core, uint16_t vfn) in igb_core_vf_reset()
2482 static void igb_w1c(IGBCore *core, int index, uint32_t val) in igb_w1c()
2487 static void igb_set_eimc(IGBCore *core, int index, uint32_t val) in igb_set_eimc()
2498 static void igb_set_eiac(IGBCore *core, int index, uint32_t val) in igb_set_eiac()
2513 static void igb_set_eiam(IGBCore *core, int index, uint32_t val) in igb_set_eiam()
2527 static void igb_set_eicr(IGBCore *core, int index, uint32_t val) in igb_set_eicr()
2541 static void igb_set_vtctrl(IGBCore *core, int index, uint32_t val) in igb_set_vtctrl()
2551 static void igb_set_vteics(IGBCore *core, int index, uint32_t val) in igb_set_vteics()
2559 static void igb_set_vteims(IGBCore *core, int index, uint32_t val) in igb_set_vteims()
2567 static void igb_set_vteimc(IGBCore *core, int index, uint32_t val) in igb_set_vteimc()
2575 static void igb_set_vteiac(IGBCore *core, int index, uint32_t val) in igb_set_vteiac()
2583 static void igb_set_vteiam(IGBCore *core, int index, uint32_t val) in igb_set_vteiam()
2591 static void igb_set_vteicr(IGBCore *core, int index, uint32_t val) in igb_set_vteicr()
2599 static void igb_set_vtivar(IGBCore *core, int index, uint32_t val) in igb_set_vtivar()
2631 IGBCore *core = opaque; in igb_autoneg_timer() local
2672 igb_phy_reg_write(IGBCore *core, uint32_t addr, uint16_t data) in igb_phy_reg_write()
2684 igb_set_mdic(IGBCore *core, int index, uint32_t val) in igb_set_mdic()
2716 igb_set_rdt(IGBCore *core, int index, uint32_t val) in igb_set_rdt()
2724 igb_set_status(IGBCore *core, int index, uint32_t val) in igb_set_status()
2732 igb_set_ctrlext(IGBCore *core, int index, uint32_t val) in igb_set_ctrlext()
2751 igb_set_pbaclr(IGBCore *core, int index, uint32_t val) in igb_set_pbaclr()
2769 igb_set_fcrth(IGBCore *core, int index, uint32_t val) in igb_set_fcrth()
2775 igb_set_fcrtl(IGBCore *core, int index, uint32_t val) in igb_set_fcrtl()
2792 igb_set_dlen(IGBCore *core, int index, uint32_t val) in igb_set_dlen()
2798 igb_set_dbal(IGBCore *core, int index, uint32_t val) in igb_set_dbal()
2804 igb_set_tdt(IGBCore *core, int index, uint32_t val) in igb_set_tdt()
2816 igb_set_ics(IGBCore *core, int index, uint32_t val) in igb_set_ics()
2823 igb_set_imc(IGBCore *core, int index, uint32_t val) in igb_set_imc()
2830 igb_set_ims(IGBCore *core, int index, uint32_t val) in igb_set_ims()
2835 static void igb_nsicr(IGBCore *core) in igb_nsicr()
2848 static void igb_set_icr(IGBCore *core, int index, uint32_t val) in igb_set_icr()
2855 igb_mac_readreg(IGBCore *core, int index) in igb_mac_readreg()
2861 igb_mac_ics_read(IGBCore *core, int index) in igb_mac_ics_read()
2868 igb_mac_ims_read(IGBCore *core, int index) in igb_mac_ims_read()
2875 igb_mac_swsm_read(IGBCore *core, int index) in igb_mac_swsm_read()
2883 igb_mac_eitr_read(IGBCore *core, int index) in igb_mac_eitr_read()
2888 static uint32_t igb_mac_vfmailbox_read(IGBCore *core, int index) in igb_mac_vfmailbox_read()
2899 igb_mac_icr_read(IGBCore *core, int index) in igb_mac_icr_read()
2921 igb_mac_read_clr4(IGBCore *core, int index) in igb_mac_read_clr4()
2930 igb_mac_read_clr8(IGBCore *core, int index) in igb_mac_read_clr8()
2940 igb_get_ctrl(IGBCore *core, int index) in igb_get_ctrl()
2955 static uint32_t igb_get_status(IGBCore *core, int index) in igb_get_status()
2997 igb_mac_writereg(IGBCore *core, int index, uint32_t val) in igb_mac_writereg()
3003 igb_mac_setmacaddr(IGBCore *core, int index, uint32_t val) in igb_mac_setmacaddr()
3018 igb_set_eecd(IGBCore *core, int index, uint32_t val) in igb_set_eecd()
3028 igb_set_eerd(IGBCore *core, int index, uint32_t val) in igb_set_eerd()
3045 igb_set_eitr(IGBCore *core, int index, uint32_t val) in igb_set_eitr()
3056 igb_update_rx_offloads(IGBCore *core) in igb_update_rx_offloads()
3069 igb_set_rxcsum(IGBCore *core, int index, uint32_t val) in igb_set_rxcsum()
3076 igb_set_gcr(IGBCore *core, int index, uint32_t val) in igb_set_gcr()
3082 static uint32_t igb_get_systiml(IGBCore *core, int index) in igb_get_systiml()
3088 static uint32_t igb_get_rxsatrh(IGBCore *core, int index) in igb_get_rxsatrh()
3094 static uint32_t igb_get_txstmph(IGBCore *core, int index) in igb_get_txstmph()
3100 static void igb_set_timinca(IGBCore *core, int index, uint32_t val) in igb_set_timinca()
3105 static void igb_set_timadjh(IGBCore *core, int index, uint32_t val) in igb_set_timadjh()
4239 igb_core_write(IGBCore *core, hwaddr addr, uint64_t val, unsigned size) in igb_core_write()
4257 igb_core_read(IGBCore *core, hwaddr addr, unsigned size) in igb_core_read()
4276 igb_autoneg_resume(IGBCore *core) in igb_autoneg_resume()
4287 igb_core_pci_realize(IGBCore *core, in igb_core_pci_realize()
4313 igb_core_pci_uninit(IGBCore *core) in igb_core_pci_uninit()
4464 static void igb_reset(IGBCore *core, bool sw) in igb_reset()
4507 igb_core_reset(IGBCore *core) in igb_core_reset()
4512 void igb_core_pre_save(IGBCore *core) in igb_core_pre_save()
4535 igb_core_post_load(IGBCore *core) in igb_core_post_load()