Searched refs:dr32 (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/dlink/ |
D | dl2k.c | 16 #define dr32(reg) ioread32(ioaddr + (reg)) macro 414 mode = dr32(ASICCtrl); in rio_set_led_mode() 536 dw32(DebugCtrl, dr32(DebugCtrl) | 0x0230); in rio_hw_init() 588 dw32(RxDMAIntCtrl, dr32(RxDMAIntCtrl) | 0x7 << 10); in rio_hw_init() 595 dw32(MACCtrl, dr32(MACCtrl) | AutoVLANuntagging); in rio_hw_init() 599 dw32(MACCtrl, dr32(MACCtrl) | StatsEnable | RxEnable | TxEnable); in rio_hw_init() 700 dev->name, dr32(TxStatus)); in rio_tx_timeout() 752 dw32(DMACtrl, dr32(DMACtrl) | 0x00001000); in start_xmit() 764 if (!dr32(TFDListPtr0)) { in start_xmit() 796 tx_status = dr32(TxStatus); in rio_interrupt() [all …]
|
/drivers/net/ethernet/dec/tulip/ |
D | de2104x.c | 366 #define dr32(reg) ioread32(de->regs + (reg)) macro 500 status = dr32(MacStatus); in de_interrupt() 505 status, dr32(MacMode), in de_interrupt() 729 macmode = dr32(MacMode) & ~(AcceptAllMulticast | AcceptAllPhys); in __de_set_rx_mode() 800 if (macmode != dr32(MacMode)) in __de_set_rx_mode() 824 u32 tmp = dr32(RxMissed); /* self-clearing */ in __de_get_stats() 844 return (dr32(MacStatus) & (RxState | TxState)) ? 1 : 0; in de_is_running() 852 macmode = dr32(MacMode); in de_stop_rxtx() 855 dr32(MacMode); in de_stop_rxtx() 875 macmode = dr32(MacMode); in de_start_rxtx() [all …]
|
D | dmfe.c | 145 #define dr32(reg) ioread32(ioaddr + (reg)) macro 792 db->cr5_data = dr32(DCR5); in dmfe_interrupt() 1154 tmp_cr8 = dr32(DCR8); in dmfe_timer() 1286 dw32(DCR5, dr32(DCR5)); in dmfe_dynamic_reset() 1608 ((dr32(DCR9) & CR9_CRDOUT) ? 1 : 0); in read_srom_word() 1890 phy_data = (dr32(DCR9) >> 19) & 0x1; in dmfe_phy_read_1bit() 2103 dw32(DCR5, dr32(DCR5)); in dmfe_suspend()
|