Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/mach-socfpga/
Dmisc_arria10.c44 static void arria10_dwmac_reset(const u8 of_reset_id, const u8 phymode) in arria10_dwmac_reset() argument
48 if (of_reset_id == EMAC0_RESET) { in arria10_dwmac_reset()
50 } else if (of_reset_id == EMAC1_RESET) { in arria10_dwmac_reset()
52 } else if (of_reset_id == EMAC2_RESET) { in arria10_dwmac_reset()
55 printf("GMAC: Invalid reset ID (%i)!\n", of_reset_id); in arria10_dwmac_reset()
59 clrsetbits_le32(&sysmgr_regs->emac[of_reset_id - EMAC0_RESET], in arria10_dwmac_reset()
Dmisc_gen5.c41 static void gen5_dwmac_reset(const u8 of_reset_id, const u8 phymode) in gen5_dwmac_reset() argument
45 if (of_reset_id == EMAC0_RESET) { in gen5_dwmac_reset()
48 } else if (of_reset_id == EMAC1_RESET) { in gen5_dwmac_reset()
52 printf("GMAC: Invalid reset ID (%i)!\n", of_reset_id); in gen5_dwmac_reset()
Dreset_manager_s10.c99 void socfpga_emac_manage_reset(const unsigned int of_reset_id, u32 state) in socfpga_emac_manage_reset() argument
105 switch (of_reset_id) { in socfpga_emac_manage_reset()
119 printf("GMAC: Invalid reset ID (%i)!\n", of_reset_id); in socfpga_emac_manage_reset()
Dmisc.c167 int socfpga_eth_reset_common(void (*resetfn)(const u8 of_reset_id, in socfpga_eth_reset_common() argument
/external/u-boot/arch/arm/mach-socfpga/include/mach/
Dmisc.h9 void dwmac_deassert_reset(const unsigned int of_reset_id, const u32 phymode);
Dreset_manager.h13 int socfpga_eth_reset_common(void (*resetfn)(const u8 of_reset_id,
Dreset_manager_s10.h111 void socfpga_emac_manage_reset(const unsigned int of_reset_id, u32 state);