Searched defs:grf5101_encode (Results 1 - 1 of 1) sorted by relevance

/vbox/src/VBox/Devices/PC/ipxe/src/drivers/net/rtl818x/
H A Drtl8180_grf5101.c33 static const int grf5101_encode[] = { variable
45 phy_config = grf5101_encode[(data >> 8) & 0xF];
46 phy_config |= grf5101_encode[(data >> 4) & 0xF] << 4;
47 phy_config |= grf5101_encode[data & 0xF] << 8;
48 phy_config |= grf5101_encode[(addr >> 1) & 0xF] << 12;
50 phy_config |= grf5101_encode[(data & 0xf000) >> 12] << 24;

Completed in 82 milliseconds