Home
last modified time | relevance | path

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

/bsp/nuvoton/libraries/m460/rtt_port/emac/
A DsynopGMAC_Dev.c65 data = synopGMACReadReg(gmacdev->MacBase, GmacGmiiAddr); in synopGMAC_get_mdc_clk_div()
179 data = synopGMACReadReg(gmacdev->MacBase, GmacVersion); in synopGMAC_read_version()
505 status = synopGMACReadReg(gmacdev->MacBase, GmacConfig); in synopGMAC_pad_crc_strip_disable()
521 data = synopGMACReadReg(gmacdev->MacBase, GmacConfig); in synopGMAC_back_off_limit()
1132 data = synopGMACReadReg(gmacdev->MacBase, MacHigh); in synopGMAC_get_mac_addr()
1136 data = synopGMACReadReg(gmacdev->MacBase, MacLow); in synopGMAC_get_mac_addr()
1761 data = synopGMACReadReg(gmacdev->DmaBase, DmaStatus); in synopGMAC_clear_interrupt()
1774 data = synopGMACReadReg(gmacdev->DmaBase, DmaStatus); in synopGMAC_get_interrupt_type()
1804 synopGMACReadReg(gmacdev->DmaBase, DmaInterrupt); in synopGMAC_get_ie()
1843 data = synopGMACReadReg(gmacdev->DmaBase, DmaControl); in synopGMAC_enable_dma_rx()
[all …]
A DsynopGMAC_plat.c19 u32 synopGMACReadReg(u32 RegBase, u32 RegOffset) in synopGMACReadReg() function
50 u32 data = synopGMACReadReg(RegBase, RegOffset) | BitPos; in synopGMACSetBits()
63 u32 data = synopGMACReadReg(RegBase, RegOffset) & (~BitPos); in synopGMACClearBits()
76 u32 data = synopGMACReadReg(RegBase, RegOffset) & BitPos; in synopGMACCheckBits()
A DsynopGMAC_plat.h36 u32 synopGMACReadReg(u32 RegBase, u32 RegOffset);
A Ddrv_emac.c161 u32GmacIntSts = synopGMACReadReg(gmacdev->MacBase, GmacInterruptStatus); in nu_gmac_isr()
165 status = synopGMACReadReg(gmacdev->MacBase, GmacTSStatus); in nu_gmac_isr()
175 dma_status_reg = synopGMACReadReg(gmacdev->DmaBase, DmaStatus); in nu_gmac_isr()
410 NU_EMAC_TRACE("DmaTxBaseAddr = %08x\n", synopGMACReadReg(gmacdev->DmaBase, DmaTxBaseAddr)); in nu_gmac_init()
415 NU_EMAC_TRACE("DmaRxBaseAddr = %08x\n", synopGMACReadReg(gmacdev->DmaBase, DmaRxBaseAddr)); in nu_gmac_init()
/bsp/nuvoton/libraries/ma35/rtt_port/gmac/
A DsynopGMAC_Dev.c65 data = synopGMACReadReg(gmacdev->MacBase, GmacGmiiAddr); in synopGMAC_get_mdc_clk_div()
179 data = synopGMACReadReg(gmacdev->MacBase, GmacVersion); in synopGMAC_read_version()
505 status = synopGMACReadReg(gmacdev->MacBase, GmacConfig); in synopGMAC_pad_crc_strip_disable()
521 data = synopGMACReadReg(gmacdev->MacBase, GmacConfig); in synopGMAC_back_off_limit()
1132 data = synopGMACReadReg(gmacdev->MacBase, MacHigh); in synopGMAC_get_mac_addr()
1136 data = synopGMACReadReg(gmacdev->MacBase, MacLow); in synopGMAC_get_mac_addr()
1761 data = synopGMACReadReg(gmacdev->DmaBase, DmaStatus); in synopGMAC_clear_interrupt()
1774 data = synopGMACReadReg(gmacdev->DmaBase, DmaStatus); in synopGMAC_get_interrupt_type()
1804 synopGMACReadReg(gmacdev->DmaBase, DmaInterrupt); in synopGMAC_get_ie()
1843 data = synopGMACReadReg(gmacdev->DmaBase, DmaControl); in synopGMAC_enable_dma_rx()
[all …]
A DsynopGMAC_plat.c19 u32 synopGMACReadReg(u32 RegBase, u32 RegOffset) in synopGMACReadReg() function
46 u32 data = synopGMACReadReg(RegBase, RegOffset) | BitPos; in synopGMACSetBits()
59 u32 data = synopGMACReadReg(RegBase, RegOffset) & (~BitPos); in synopGMACClearBits()
72 u32 data = synopGMACReadReg(RegBase, RegOffset) & BitPos; in synopGMACCheckBits()
A Ddrv_gmac.c191 u32GmacIntSts = synopGMACReadReg(gmacdev->MacBase, GmacInterruptStatus); in nu_gmac_isr()
195 status = synopGMACReadReg(gmacdev->MacBase, GmacTSStatus); in nu_gmac_isr()
204 dma_status_reg = synopGMACReadReg(gmacdev->DmaBase, DmaStatus); in nu_gmac_isr()
221 synopGMACReadReg(gmacdev->MacBase, GmacInterruptStatus), in nu_gmac_isr()
222 synopGMACReadReg(gmacdev->MacBase, GmacInterruptMask)); in nu_gmac_isr()
224 if (synopGMACReadReg(gmacdev->MacBase, GmacInterruptStatus) & GmacRgmiiIntSts) in nu_gmac_isr()
228 synopGMACReadReg(gmacdev->MacBase, GmacRgmiiCtrlSts)); in nu_gmac_isr()
229 synopGMACReadReg(gmacdev->MacBase, GmacRgmiiCtrlSts); in nu_gmac_isr()
360 NU_GMAC_TRACE("%s: op:%08x\n", psNuGMAC->name, synopGMACReadReg(gmacdev->DmaBase, DmaControl)); in nu_gmac_link_monitor()
434 LOG_D("DmaTxBaseAddr = %08x\n", synopGMACReadReg(gmacdev->DmaBase, DmaTxBaseAddr)); in nu_gmac_init()
[all …]
A DsynopGMAC_plat.h37 u32 synopGMACReadReg(u32 RegBase, u32 RegOffset);
/bsp/loongson/ls1cdev/drivers/net/
A DsynopGMAC_plat.h143 static u32 synopGMACReadReg(u32 RegBase, u32 RegOffset) in synopGMACReadReg() function
196 data = synopGMACReadReg(RegBase, RegOffset); in synopGMACSetBits()
218 data = synopGMACReadReg(RegBase, RegOffset); in synopGMACClearBits()
240 data = synopGMACReadReg(RegBase, RegOffset); in synopGMACCheckBits()
A DsynopGMAC_Dev.c45 data = synopGMACReadReg(gmacdev->MacBase,GmacGmiiAddr); in synopGMAC_get_mdc_clk_div()
168 data = synopGMACReadReg(gmacdev->MacBase, GmacVersion ); in synopGMAC_read_version()
185 data = synopGMACReadReg(gmacdev->DmaBase, DmaBusMode); in synopGMAC_reset()
507 data = synopGMACReadReg(gmacdev->MacBase, GmacConfig); in synopGMAC_back_off_limit()
1182 data = synopGMACReadReg(gmacdev->MacBase,MacHigh); in synopGMAC_get_mac_addr()
1186 data = synopGMACReadReg(gmacdev->MacBase,MacLow); in synopGMAC_get_mac_addr()
2359 data = synopGMACReadReg(gmacdev->DmaBase, DmaStatus); in synopGMAC_clear_interrupt()
2376 data = synopGMACReadReg(gmacdev->DmaBase, DmaStatus); in synopGMAC_get_interrupt_type()
2459 data = synopGMACReadReg(gmacdev->DmaBase, DmaControl); in synopGMAC_enable_dma_rx()
2475 data = synopGMACReadReg(gmacdev->DmaBase, DmaControl); in synopGMAC_enable_dma_tx()
[all …]
A DsynopGMAC.c308 DEBUG_MES("DmaRxBaseAddr = %08x\n", synopGMACReadReg(gmacdev->DmaBase, DmaRxBaseAddr)); in eth_init()
536 test_data = synopGMACReadReg(gmacdev->DmaBase, DmaStatus); in rt_eth_tx()
771 dma_status_reg = synopGMACReadReg(gmacdev->DmaBase, DmaStatus); in eth_rx_irq()
781 gmacstatus = synopGMACReadReg(gmacdev->MacBase, GmacStatus); in eth_rx_irq()
/bsp/loongson/ls2kdev/drivers/net/
A DsynopGMAC_plat.h136 static u32 synopGMACReadReg(u64 RegBase, u32 RegOffset) in synopGMACReadReg() function
186 data = synopGMACReadReg(RegBase, RegOffset); in synopGMACSetBits()
208 data = synopGMACReadReg(RegBase, RegOffset); in synopGMACClearBits()
229 data = synopGMACReadReg(RegBase, RegOffset); in synopGMACCheckBits()
A DsynopGMAC_Dev.c45 data = synopGMACReadReg(gmacdev->MacBase, GmacGmiiAddr); in synopGMAC_get_mdc_clk_div()
185 data = synopGMACReadReg(gmacdev -> MacBase, GmacVersion); in synopGMAC_read_version()
202 data = synopGMACReadReg(gmacdev -> DmaBase, DmaBusMode); in synopGMAC_reset()
523 data = synopGMACReadReg(gmacdev -> MacBase, GmacConfig); in synopGMAC_back_off_limit()
1220 data = synopGMACReadReg(gmacdev -> MacBase, MacHigh); in synopGMAC_get_mac_addr()
1224 data = synopGMACReadReg(gmacdev -> MacBase, MacLow); in synopGMAC_get_mac_addr()
2440 data = synopGMACReadReg(gmacdev->DmaBase, DmaStatus); in synopGMAC_clear_interrupt()
2457 data = synopGMACReadReg(gmacdev->DmaBase, DmaStatus); in synopGMAC_get_interrupt_type()
2540 data = synopGMACReadReg(gmacdev->DmaBase, DmaControl); in synopGMAC_enable_dma_rx()
2556 data = synopGMACReadReg(gmacdev->DmaBase, DmaControl); in synopGMAC_enable_dma_tx()
[all …]
A DsynopGMAC.c331 DEBUG_MES("DmaRxBaseAddr = %08x\n", synopGMACReadReg(gmacdev->DmaBase, DmaRxBaseAddr)); in eth_init()
560 test_data = synopGMACReadReg(gmacdev->DmaBase, DmaStatus); in rt_eth_tx()
605 …rt_kprintf("host receive descriptor address pointer = 0x%08x\n", synopGMACReadReg(gmacdev->DmaBase… in rt_eth_rx()
606 … rt_kprintf("host receive buffer = 0x%08x\n", synopGMACReadReg(gmacdev->DmaBase, DmaRxCurrAddr)); in rt_eth_rx()
808 dma_status_reg = synopGMACReadReg(gmacdev->DmaBase, DmaStatus); in eth_rx_irq()
818 gmacstatus = synopGMACReadReg(gmacdev->MacBase, GmacStatus); in eth_rx_irq()

Completed in 49 milliseconds