Searched refs:E1000_READ_REG (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_stat.c96 igb_ks->gprc.value.ul += E1000_READ_REG(hw, E1000_GPRC);
97 igb_ks->gptc.value.ul += E1000_READ_REG(hw, E1000_GPTC);
98 igb_ks->prc64.value.ul += E1000_READ_REG(hw, E1000_PRC64);
99 igb_ks->prc127.value.ul += E1000_READ_REG(hw, E1000_PRC127);
100 igb_ks->prc255.value.ul += E1000_READ_REG(hw, E1000_PRC255);
101 igb_ks->prc511.value.ul += E1000_READ_REG(hw, E1000_PRC511);
102 igb_ks->prc1023.value.ul += E1000_READ_REG(hw, E1000_PRC1023);
103 igb_ks->prc1522.value.ul += E1000_READ_REG(hw, E1000_PRC1522);
104 igb_ks->ptc64.value.ul += E1000_READ_REG(hw, E1000_PTC64);
105 igb_ks->ptc127.value.ul += E1000_READ_REG(h
[all...]
H A Digb_gld.c58 igb->stat_mprc += E1000_READ_REG(hw, E1000_MPRC);
63 igb->stat_bprc += E1000_READ_REG(hw, E1000_BPRC);
68 igb->stat_mptc += E1000_READ_REG(hw, E1000_MPTC);
73 igb->stat_bptc += E1000_READ_REG(hw, E1000_BPTC);
78 igb->stat_rnbc += E1000_READ_REG(hw, E1000_RNBC);
83 igb->stat_rxerrc += E1000_READ_REG(hw, E1000_RXERRC);
84 igb->stat_algnerrc += E1000_READ_REG(hw, E1000_ALGNERRC);
86 E1000_READ_REG(hw, E1000_RLEC);
87 igb->stat_crcerrs += E1000_READ_REG(hw, E1000_CRCERRS);
88 igb->stat_cexterr += E1000_READ_REG(h
[all...]
H A De1000_osdep.h111 #define E1000_WRITE_FLUSH(a) (void) E1000_READ_REG(a, E1000_STATUS)
117 #define E1000_READ_REG(hw, reg) \ macro
H A Digb_main.c1349 pba = E1000_READ_REG(hw, E1000_RXPBS);
1355 pba = E1000_READ_REG(hw, E1000_RXPBS);
1370 pba = E1000_READ_REG(hw, E1000_PBA);
2143 rxdctl = E1000_READ_REG(hw, E1000_RXDCTL(rx_ring->index));
2173 rctl = E1000_READ_REG(hw, E1000_RCTL);
2277 (E1000_READ_REG(hw, E1000_MANC) & E1000_MANC_RCV_TCO_EN)) {
2343 reg_val = E1000_READ_REG(hw,
2365 reg_val = E1000_READ_REG(hw, E1000_TXDCTL(tx_ring->index));
2391 reg_val = E1000_READ_REG(hw, E1000_TCTL);
2464 rxcsum = E1000_READ_REG(h
[all...]
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_stat.c215 e1000g_ksp->Mpc.value.ul += E1000_READ_REG(hw, E1000_MPC);
216 e1000g_ksp->Rlec.value.ul += E1000_READ_REG(hw, E1000_RLEC);
217 e1000g_ksp->Xonrxc.value.ul += E1000_READ_REG(hw, E1000_XONRXC);
218 e1000g_ksp->Xontxc.value.ul += E1000_READ_REG(hw, E1000_XONTXC);
219 e1000g_ksp->Xoffrxc.value.ul += E1000_READ_REG(hw, E1000_XOFFRXC);
220 e1000g_ksp->Xofftxc.value.ul += E1000_READ_REG(hw, E1000_XOFFTXC);
221 e1000g_ksp->Fcruc.value.ul += E1000_READ_REG(hw, E1000_FCRUC);
228 E1000_READ_REG(hw, E1000_SYMERRS);
231 E1000_READ_REG(hw, E1000_PRC64);
233 E1000_READ_REG(h
[all...]
H A De1000g_workarounds.c101 if (E1000_READ_REG(hw, E1000_TDT(0)) !=
102 E1000_READ_REG(hw, E1000_TDH(0))) {
107 if (E1000_READ_REG(hw, E1000_TDFT) != E1000_READ_REG(hw, E1000_TDFH)) {
112 if (E1000_READ_REG(hw, E1000_TDFTS) !=
113 E1000_READ_REG(hw, E1000_TDFHS)) {
119 tctl = E1000_READ_REG(hw, E1000_TCTL);
H A De1000_osdep.h106 #define E1000_WRITE_FLUSH(a) (void)E1000_READ_REG(a, E1000_STATUS)
136 #define E1000_READ_REG(hw, reg) (\ macro
H A De1000g_rx.c246 size = E1000_READ_REG(hw, E1000_RDLEN(0));
322 rxdctl = E1000_READ_REG(hw, E1000_RXDCTL(0));
370 reg_val = E1000_READ_REG(hw, E1000_RFCTL);
920 rctl = E1000_READ_REG(hw, E1000_RCTL);
925 rxdctl = E1000_READ_REG(hw, E1000_RXDCTL(0));
H A De1000g_main.c1464 pba = E1000_READ_REG(hw, E1000_PBA);
1711 if ((E1000_READ_REG(hw, E1000_STATUS) &
1723 link_up = (E1000_READ_REG(hw, E1000_STATUS) &
1981 fext_nvm11 = E1000_READ_REG(hw, E1000_FEXTNVM11);
1986 tdlen = E1000_READ_REG(hw, E1000_TDLEN(0));
2296 icr = E1000_READ_REG(&Adapter->shared, E1000_ICR);
2334 icr = E1000_READ_REG(&Adapter->shared, E1000_ICR);
2487 uint32_t rctl = E1000_READ_REG(hw, E1000_RCTL);
2533 locked = E1000_READ_REG(hw, E1000_FWSM) &
2828 rctl = E1000_READ_REG(
[all...]
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_mac.c181 u32 status = E1000_READ_REG(hw, E1000_STATUS);
286 reg = E1000_READ_REG(hw, E1000_STATUS);
304 status = E1000_READ_REG(hw, E1000_STATUS);
662 E1000_READ_REG(hw, E1000_CRCERRS);
663 E1000_READ_REG(hw, E1000_SYMERRS);
664 E1000_READ_REG(hw, E1000_MPC);
665 E1000_READ_REG(hw, E1000_SCC);
666 E1000_READ_REG(hw, E1000_ECOL);
667 E1000_READ_REG(hw, E1000_MCC);
668 E1000_READ_REG(h
[all...]
H A De1000_82571.c208 u32 eecd = E1000_READ_REG(hw, E1000_EECD);
379 mac->arc_subsystem_valid = !!(E1000_READ_REG(hw, E1000_FWSM) &
407 swsm2 = E1000_READ_REG(hw, E1000_SWSM2);
425 swsm = E1000_READ_REG(hw, E1000_SWSM);
535 swsm = E1000_READ_REG(hw, E1000_SWSM);
549 swsm = E1000_READ_REG(hw, E1000_SWSM);
553 if (E1000_READ_REG(hw, E1000_SWSM) & E1000_SWSM_SWESMBI)
581 swsm = E1000_READ_REG(hw, E1000_SWSM);
602 extcnf_ctrl = E1000_READ_REG(hw, E1000_EXTCNF_CTRL);
606 extcnf_ctrl = E1000_READ_REG(h
[all...]
H A De1000_80003es2lan.c143 u32 eecd = E1000_READ_REG(hw, E1000_EECD);
227 mac->arc_subsystem_valid = !!(E1000_READ_REG(hw, E1000_FWSM) &
416 swfw_sync = E1000_READ_REG(hw, E1000_SW_FW_SYNC);
458 swfw_sync = E1000_READ_REG(hw, E1000_SW_FW_SYNC);
642 if (E1000_READ_REG(hw, E1000_EEMNGCTL) & mask)
843 ctrl = E1000_READ_REG(hw, E1000_CTRL);
873 E1000_READ_REG(hw, E1000_ICR);
934 reg_data = E1000_READ_REG(hw, E1000_TXDCTL(0));
940 reg_data = E1000_READ_REG(hw, E1000_TXDCTL(1));
946 reg_data = E1000_READ_REG(h
[all...]
H A De1000_82540.c120 u32 eecd = E1000_READ_REG(hw, E1000_EECD);
290 ctrl = E1000_READ_REG(hw, E1000_CTRL);
312 manc = E1000_READ_REG(hw, E1000_MANC);
317 E1000_READ_REG(hw, E1000_ICR);
375 txdctl = E1000_READ_REG(hw, E1000_TXDCTL(0));
390 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT);
419 ctrl = E1000_READ_REG(hw, E1000_CTRL);
634 if (!(E1000_READ_REG(hw, E1000_MANC) & E1000_MANC_SMBUS_EN))
652 E1000_READ_REG(hw, E1000_PRC64);
653 E1000_READ_REG(h
[all...]
H A De1000_82575.c143 reg = E1000_READ_REG(hw, E1000_MDIC);
151 reg = E1000_READ_REG(hw, E1000_MDICNFG);
192 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT);
333 u32 eecd = E1000_READ_REG(hw, E1000_EECD);
451 !!(E1000_READ_REG(hw, E1000_FWSM) & E1000_FWSM_MODE_MASK);
692 mdic = E1000_READ_REG(hw, E1000_MDIC);
701 mdic = E1000_READ_REG(hw, E1000_MDICNFG);
715 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT);
904 data = E1000_READ_REG(hw, E1000_82580_PHY_POWER_MGMT);
951 data = E1000_READ_REG(h
[all...]
H A De1000_manage.c83 hicr = E1000_READ_REG(hw, E1000_HICR);
90 hicr = E1000_READ_REG(hw, E1000_HICR);
113 u32 fwsm = E1000_READ_REG(hw, E1000_FWSM);
327 hicr = E1000_READ_REG(hw, E1000_HICR);
350 manc = E1000_READ_REG(hw, E1000_MANC);
356 fwsm = E1000_READ_REG(hw, E1000_FWSM);
357 factps = E1000_READ_REG(hw, E1000_FACTPS);
368 factps = E1000_READ_REG(hw, E1000_FACTPS);
417 hicr = E1000_READ_REG(hw, E1000_HICR);
437 hicr = E1000_READ_REG(h
[all...]
H A De1000_82542.c218 ctrl = E1000_READ_REG(hw, E1000_CTRL);
227 E1000_READ_REG(hw, E1000_ICR);
289 ctrl = E1000_READ_REG(hw, E1000_CTRL);
375 u32 ctrl = E1000_READ_REG(hw, E1000_CTRL);
394 u32 ctrl = E1000_READ_REG(hw, E1000_CTRL);
548 E1000_READ_REG(hw, E1000_PRC64);
549 E1000_READ_REG(hw, E1000_PRC127);
550 E1000_READ_REG(hw, E1000_PRC255);
551 E1000_READ_REG(hw, E1000_PRC511);
552 E1000_READ_REG(h
[all...]
H A De1000_82543.c644 ctrl = E1000_READ_REG(hw, E1000_CTRL);
697 ctrl = E1000_READ_REG(hw, E1000_CTRL);
720 ctrl = E1000_READ_REG(hw, E1000_CTRL);
872 ctrl_ext = E1000_READ_REG(hw, E1000_CTRL_EXT);
923 ctrl = E1000_READ_REG(hw, E1000_CTRL);
945 E1000_READ_REG(hw, E1000_ICR);
986 ctrl = E1000_READ_REG(hw, E1000_CTRL);
1068 ctrl = E1000_READ_REG(hw, E1000_CTRL) | E1000_CTRL_SLU;
1155 ctrl = E1000_READ_REG(hw, E1000_CTRL);
1177 if (!(E1000_READ_REG(h
[all...]
H A De1000_82541.c132 u32 eecd = E1000_READ_REG(hw, E1000_EECD);
315 ctrl = E1000_READ_REG(hw, E1000_CTRL);
344 manc = E1000_READ_REG(hw, E1000_MANC);
352 ledctl = E1000_READ_REG(hw, E1000_LEDCTL);
363 E1000_READ_REG(hw, E1000_ICR);
419 txdctl = E1000_READ_REG(hw, E1000_TXDCTL(0));
514 ledctl = E1000_READ_REG(hw, E1000_LEDCTL);
542 ctrl = E1000_READ_REG(hw, E1000_CTRL);
566 ledctl = E1000_READ_REG(hw, E1000_LEDCTL);
1231 if (!(E1000_READ_REG(h
[all...]
H A De1000_i210.c104 swfw_sync = E1000_READ_REG(hw, E1000_SW_FW_SYNC);
149 swfw_sync = E1000_READ_REG(hw, E1000_SW_FW_SYNC);
172 swsm = E1000_READ_REG(hw, E1000_SWSM);
188 swsm = E1000_READ_REG(hw, E1000_SWSM);
205 swsm = E1000_READ_REG(hw, E1000_SWSM);
209 if (E1000_READ_REG(hw, E1000_SWSM) & E1000_SWSM_SWESMBI)
351 E1000_READ_REG(hw, E1000_SRWR)) {
386 invm_dword = E1000_READ_REG(hw, E1000_INVM_DATA_REG(i));
603 eec = E1000_READ_REG(hw, E1000_EECD);
629 flup = E1000_READ_REG(h
[all...]
H A De1000_ich8lan.c249 if (!(E1000_READ_REG(hw, E1000_FWSM) &
257 mac_reg = E1000_READ_REG(hw, E1000_CTRL_EXT);
280 mac_reg = E1000_READ_REG(hw, E1000_FEXTNVM3);
286 mac_reg = E1000_READ_REG(hw, E1000_CTRL);
303 } while (!(E1000_READ_REG(hw, E1000_CTRL_EXT) &
319 u32 mac_reg, fwsm = E1000_READ_REG(hw, E1000_FWSM);
354 mac_reg = E1000_READ_REG(hw, E1000_CTRL_EXT);
390 mac_reg = E1000_READ_REG(hw, E1000_CTRL_EXT);
653 (((E1000_READ_REG(hw, E1000_STRAP) >> 1) & 0x1F) + 1)
1010 u32 fextnvm6 = E1000_READ_REG(h
[all...]
H A De1000_nvm.c150 u32 eecd = E1000_READ_REG(hw, E1000_EECD);
202 eecd = E1000_READ_REG(hw, E1000_EECD);
211 eecd = E1000_READ_REG(hw, E1000_EECD);
240 reg = E1000_READ_REG(hw, E1000_EERD);
242 reg = E1000_READ_REG(hw, E1000_EEWR);
263 u32 eecd = E1000_READ_REG(hw, E1000_EECD);
269 eecd = E1000_READ_REG(hw, E1000_EECD);
275 eecd = E1000_READ_REG(hw, E1000_EECD);
298 u32 eecd = E1000_READ_REG(hw, E1000_EECD);
342 eecd = E1000_READ_REG(h
[all...]
H A De1000_vf.c228 status = E1000_READ_REG(hw, E1000_STATUS);
269 ctrl = E1000_READ_REG(hw, E1000_CTRL);
554 if (!(E1000_READ_REG(hw, E1000_STATUS) & E1000_STATUS_LU))
H A De1000_mbx.c324 u32 v2p_mailbox = E1000_READ_REG(hw, E1000_V2PMAILBOX(0));
561 u32 mbvficr = E1000_READ_REG(hw, E1000_MBVFICR);
623 u32 vflre = E1000_READ_REG(hw, E1000_VFLRE);
658 p2v_mailbox = E1000_READ_REG(hw, E1000_P2VMAILBOX(vf_number));
H A De1000_phy.c205 manc = E1000_READ_REG(hw, E1000_MANC);
312 mdic = E1000_READ_REG(hw, E1000_MDIC);
378 mdic = E1000_READ_REG(hw, E1000_MDIC);
435 i2ccmd = E1000_READ_REG(hw, E1000_I2CCMD);
494 i2ccmd = E1000_READ_REG(hw, E1000_I2CCMD);
548 data_local = E1000_READ_REG(hw, E1000_I2CCMD);
608 i2ccmd = E1000_READ_REG(hw, E1000_I2CCMD);
893 kmrnctrlsta = E1000_READ_REG(hw, E1000_KMRNCTRLSTA);
2024 ctrl = E1000_READ_REG(hw, E1000_CTRL);
2868 ctrl = E1000_READ_REG(h
[all...]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A De1000.c153 #define E1000_READ_REG(a, reg) ( \ macro
168 #define E1000_WRITE_FLUSH(a) {uint32_t x; x = E1000_READ_REG(a, STATUS);}
252 eecd = E1000_READ_REG(hw, EECD);
306 eecd = E1000_READ_REG(hw, EECD);
315 eecd = E1000_READ_REG(hw, EECD);
341 eecd = E1000_READ_REG(hw, EECD);
347 eecd = E1000_READ_REG(hw, EECD);
352 eecd = E1000_READ_REG(hw, EECD);
393 eecd = E1000_READ_REG(hw, EECD);
443 eecd = E1000_READ_REG(h
[all...]

Completed in 260 milliseconds

12