gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:poke_mac (0.00 seconds)
t2ex
t2ex_source/driver/tef_em1d/netdrv/src/smsc9118.c - 26.8KB - 904 lines
287:         wait_mii(inf);
288:         poke_mac(inf, MII_DATA, dat);
289:         poke_mac(inf, MII_ACC, (MII_ACC_PHYADR(adr) | MII_ACC_MIIRINDA(reg) |
290:                                 MII_ACC_MIIBZY | MII_ACC_MIIWnR));
301: wait_mii(inf); 302: poke_mac(inf, MII_ACC, (MII_ACC_PHYADR(adr) | MII_ACC_MIIRINDA(reg) | 303: MII_ACC_MIIBZY));
416: /* Setting of MAC address */ 417: poke_mac(inf, ADDRH, *((UH *)&inf->eaddr.c[4])); 418: poke_mac(inf, ADDRL, *((UW *)&inf->eaddr.c[0])); 419: 420: /* Disable multicast filter */ 421: poke_mac(inf, HASHH, 0); 422: poke_mac(inf, HASHL, 0); 423:
442: if (isFDX(inf)) cr |= MAC_CR_FDPX; 443: poke_mac(inf, MAC_CR, cr); 444:
792: wait_reg(inf, TX_CFG, TX_CFG_STOP, 0); 793: poke_mac(inf, MAC_CR, 794: peek_mac(inf, MAC_CR) & ~(MAC_CR_TXEN | MAC_CR_RXEN));