Home
last modified time | relevance | path

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

/hal_nuvoton-latest/m46x/StdDriver/drv_emac/
DsynopGMAC_Dev.c49 …orig_data = synopGMACReadReg((u32 *)gmacdev->MacBase,GmacGmiiAddr); //set the mdc clock to the use… in synopGMAC_set_mdc_clk_div()
52 synopGMACWriteReg((u32 *)gmacdev->MacBase, GmacGmiiAddr ,orig_data); in synopGMAC_set_mdc_clk_div()
66 data = synopGMACReadReg((u32 *)gmacdev->MacBase,GmacGmiiAddr); in synopGMAC_get_mdc_clk_div()
156 …status = synopGMAC_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, PHY_CONTROL_REG, Mii_L… in synopGMAC_phy_loopback()
158 …status = synopGMAC_write_phy_reg((u32 *)gmacdev->MacBase, gmacdev->PhyBase, PHY_CONTROL_REG, Mii_N… in synopGMAC_phy_loopback()
175 data = synopGMACReadReg((u32 *)gmacdev->MacBase, GmacVersion ); in synopGMAC_read_version()
177 TR("The data read from %08x is %08x\n",(gmacdev->MacBase+GmacVersion),data); in synopGMAC_read_version()
257 synopGMACClearBits((u32 *)gmacdev->MacBase, GmacConfig, GmacWatchdog); in synopGMAC_wd_enable()
269 synopGMACSetBits((u32 *)gmacdev->MacBase, GmacConfig, GmacWatchdog); in synopGMAC_wd_disable()
281 synopGMACSetBits((u32 *)gmacdev->MacBase, GmacConfig, GmacJabber); in synopGMAC_jab_enable()
[all …]
DsynopGMAC_network_interface.c539 mac_status_reg = synopGMACReadReg((u32 *)gmacdev->MacBase, GmacInterruptStatus); in synopGMAC0_intr_handler()
542 status = synopGMACReadReg((u32 *)gmacdev->MacBase, GmacTSStatus); in synopGMAC0_intr_handler()
552 LPIReg = synopGMACReadReg((u32 *)gmacdev->MacBase, GmacLPICtrlSts); in synopGMAC0_intr_handler()
557 reg = synopGMACReadReg((u32 *)gmacdev->MacBase, GmacRgmiiCtrlSts); in synopGMAC0_intr_handler()
560 synopGMACWriteReg((u32 *)gmacdev->MacBase, GmacInterruptStatus ,mac_status_reg); in synopGMAC0_intr_handler()
686 synopGMACClearBits((u32 *)gmacdev->MacBase,GmacConfig,GmacMiiGmii); in synopGMAC_set_speed()
689 synopGMACSetBits((u32 *)gmacdev->MacBase,GmacConfig,GmacMiiGmii); in synopGMAC_set_speed()
690 synopGMACSetBits((u32 *)gmacdev->MacBase,GmacConfig,GmacFESpeed100); in synopGMAC_set_speed()
693 synopGMACSetBits((u32 *)gmacdev->MacBase,GmacConfig,GmacMiiGmii); in synopGMAC_set_speed()
694 synopGMACClearBits((u32 *)gmacdev->MacBase,GmacConfig,GmacFESpeed100); in synopGMAC_set_speed()
[all …]
DsynopGMAC_Dev.h151 u64 MacBase; /* base address of MAC registers */ member