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.c2198 e1000e_get_reg_index_with_offset(const uint16_t *mac_reg_access, hwaddr addr) in e1000e_get_reg_index_with_offset() argument
2201 return index + (mac_reg_access[index] & 0xfffe); in e1000e_get_reg_index_with_offset()
3245 static const uint16_t mac_reg_access[E1000E_MAC_SIZE] = { variable
3275 uint16_t index = e1000e_get_reg_index_with_offset(mac_reg_access, addr); in e1000e_core_write()
3278 if (mac_reg_access[index] & MAC_ACCESS_PARTIAL) { in e1000e_core_write()
3294 uint16_t index = e1000e_get_reg_index_with_offset(mac_reg_access, addr); in e1000e_core_read()
3297 if (mac_reg_access[index] & MAC_ACCESS_PARTIAL) { in e1000e_core_read()
H A Digb_core.c2641 igb_get_reg_index_with_offset(const uint16_t *mac_reg_access, hwaddr addr) in igb_get_reg_index_with_offset() argument
2644 return index + (mac_reg_access[index] & 0xfffe); in igb_get_reg_index_with_offset()
4140 static const uint16_t mac_reg_access[E1000E_MAC_SIZE] = { variable
4239 uint16_t index = igb_get_reg_index_with_offset(mac_reg_access, addr); in igb_core_write()
4242 if (mac_reg_access[index] & MAC_ACCESS_PARTIAL) { in igb_core_write()
4258 uint16_t index = igb_get_reg_index_with_offset(mac_reg_access, addr); in igb_core_read()
4261 if (mac_reg_access[index] & MAC_ACCESS_PARTIAL) { in igb_core_read()