Home
last modified time | relevance | path

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

/openbmc/qemu/hw/net/
H A De1000.c1220 static const uint8_t mac_reg_access[0x8000] = { variable
1271 if (!(mac_reg_access[index] & MAC_ACCESS_FLAG_NEEDED) in e1000_mmio_write()
1272 || (s->compat_flags & (mac_reg_access[index] >> 2))) { in e1000_mmio_write()
1273 if (mac_reg_access[index] & MAC_ACCESS_PARTIAL) { in e1000_mmio_write()
1298 if (!(mac_reg_access[index] & MAC_ACCESS_FLAG_NEEDED) in e1000_mmio_read()
1299 || (s->compat_flags & (mac_reg_access[index] >> 2))) { in e1000_mmio_read()
1300 if (mac_reg_access[index] & MAC_ACCESS_PARTIAL) { in e1000_mmio_read()
H A De1000e_core.c2200 e1000e_get_reg_index_with_offset(const uint16_t *mac_reg_access, hwaddr addr) in e1000e_get_reg_index_with_offset() argument
2203 return index + (mac_reg_access[index] & 0xfffe); in e1000e_get_reg_index_with_offset()
3247 static const uint16_t mac_reg_access[E1000E_MAC_SIZE] = { variable
3277 uint16_t index = e1000e_get_reg_index_with_offset(mac_reg_access, addr); in e1000e_core_write()
3280 if (mac_reg_access[index] & MAC_ACCESS_PARTIAL) { in e1000e_core_write()
3296 uint16_t index = e1000e_get_reg_index_with_offset(mac_reg_access, addr); in e1000e_core_read()
3299 if (mac_reg_access[index] & MAC_ACCESS_PARTIAL) { in e1000e_core_read()
H A Digb_core.c2643 igb_get_reg_index_with_offset(const uint16_t *mac_reg_access, hwaddr addr) in igb_get_reg_index_with_offset() argument
2646 return index + (mac_reg_access[index] & 0xfffe); in igb_get_reg_index_with_offset()
4142 static const uint16_t mac_reg_access[E1000E_MAC_SIZE] = { variable
4241 uint16_t index = igb_get_reg_index_with_offset(mac_reg_access, addr); in igb_core_write()
4244 if (mac_reg_access[index] & MAC_ACCESS_PARTIAL) { in igb_core_write()
4260 uint16_t index = igb_get_reg_index_with_offset(mac_reg_access, addr); in igb_core_read()
4263 if (mac_reg_access[index] & MAC_ACCESS_PARTIAL) { in igb_core_read()