Lines Matching refs:mac
29 e1000x_inc_reg_if_not_full(uint32_t *mac, int index) in e1000x_inc_reg_if_not_full() argument
31 if (mac[index] != UINT32_MAX) { in e1000x_inc_reg_if_not_full()
32 mac[index]++; in e1000x_inc_reg_if_not_full()
37 e1000x_grow_8reg_if_not_full(uint32_t *mac, int index, int size) in e1000x_grow_8reg_if_not_full() argument
39 uint64_t sum = mac[index] | (uint64_t)mac[index + 1] << 32; in e1000x_grow_8reg_if_not_full()
46 mac[index] = sum; in e1000x_grow_8reg_if_not_full()
47 mac[index + 1] = sum >> 32; in e1000x_grow_8reg_if_not_full()
51 e1000x_vlan_enabled(uint32_t *mac) in e1000x_vlan_enabled() argument
53 return ((mac[CTRL] & E1000_CTRL_VME) != 0); in e1000x_vlan_enabled()
63 e1000x_vlan_rx_filter_enabled(uint32_t *mac) in e1000x_vlan_rx_filter_enabled() argument
65 return ((mac[RCTL] & E1000_RCTL_VFE) != 0); in e1000x_vlan_rx_filter_enabled()
69 e1000x_fcs_len(uint32_t *mac) in e1000x_fcs_len() argument
74 return (mac[RCTL] & E1000_RCTL_SECRC) ? 0 : 4; in e1000x_fcs_len()
78 e1000x_update_regs_on_link_down(uint32_t *mac, uint16_t *phy) in e1000x_update_regs_on_link_down() argument
80 mac[STATUS] &= ~E1000_STATUS_LU; in e1000x_update_regs_on_link_down()
87 e1000x_update_regs_on_link_up(uint32_t *mac, uint16_t *phy) in e1000x_update_regs_on_link_up() argument
89 mac[STATUS] |= E1000_STATUS_LU; in e1000x_update_regs_on_link_up()
93 void e1000x_update_rx_total_stats(uint32_t *mac,
106 bool e1000x_rx_ready(PCIDevice *d, uint32_t *mac);
110 bool e1000x_rx_vlan_filter(uint32_t *mac, const struct vlan_header *vhdr);
112 bool e1000x_rx_group_filter(uint32_t *mac, const struct eth_header *ehdr);
114 bool e1000x_hw_rx_enabled(uint32_t *mac);
116 bool e1000x_is_oversized(uint32_t *mac, size_t size);
118 void e1000x_restart_autoneg(uint32_t *mac, uint16_t *phy, QEMUTimer *timer);
123 void e1000x_update_regs_on_autoneg_done(uint32_t *mac, uint16_t *phy);
125 void e1000x_increase_size_stats(uint32_t *mac, const int *size_regs, int size);
145 void e1000x_timestamp(uint32_t *mac, int64_t timadj, size_t lo, size_t hi);
146 void e1000x_set_timinca(uint32_t *mac, int64_t *timadj, uint32_t val);