Home
last modified time | relevance | path

Searched refs:mac_cr (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/drivers/ethernet/
Deth_smsc911x.c327 uint32_t mac_cr = 0U; in smsc_enable_mac_xmit() local
329 smsc_mac_regread(SMSC9220_MAC_CR, &mac_cr); in smsc_enable_mac_xmit()
331 mac_cr |= (1 << 3); /* xmit enable */ in smsc_enable_mac_xmit()
332 mac_cr |= (1 << 28); /* Heartbeat disable */ in smsc_enable_mac_xmit()
334 smsc_mac_regwrite(SMSC9220_MAC_CR, mac_cr); in smsc_enable_mac_xmit()
339 uint32_t mac_cr = 0U; in smsc_enable_mac_recv() local
341 smsc_mac_regread(SMSC9220_MAC_CR, &mac_cr); in smsc_enable_mac_recv()
342 mac_cr |= (1 << 2); /* Recv enable */ in smsc_enable_mac_recv()
343 smsc_mac_regwrite(SMSC9220_MAC_CR, mac_cr); in smsc_enable_mac_recv()