• Home
  • Raw
  • Download

Lines Matching refs:fm_info

18 struct fm_eth_info fm_info[] = {  variable
96 for (i = 0; i < ARRAY_SIZE(fm_info); i++) { in fm_standard_init()
97 if ((fm_info[i].enabled) && (fm_info[i].index == 1)) in fm_standard_init()
98 fm_eth_initialize(reg, &fm_info[i]); in fm_standard_init()
106 for (i = 0; i < ARRAY_SIZE(fm_info); i++) { in fm_standard_init()
107 if ((fm_info[i].enabled) && (fm_info[i].index == 2)) in fm_standard_init()
108 fm_eth_initialize(reg, &fm_info[i]); in fm_standard_init()
120 for (i = 0; i < ARRAY_SIZE(fm_info); i++) { in fm_port_to_index()
121 if (fm_info[i].port == port) in fm_port_to_index()
137 for (i = 0; i < ARRAY_SIZE(fm_info); i++) { in fman_enet_init()
140 enet_if = fman_port_enet_if(fm_info[i].port); in fman_enet_init()
142 fm_info[i].enabled = 1; in fman_enet_init()
143 fm_info[i].enet_if = enet_if; in fman_enet_init()
145 fm_info[i].enabled = 0; in fman_enet_init()
159 fm_info[i].enabled = 0; in fm_disable_port()
172 fm_info[i].enabled = 1; in fm_enable_port()
183 fm_info[i].bus = bus; in fm_info_set_mdio()
193 fm_info[i].phy_addr = address; in fm_info_set_phy_address()
209 return fm_info[i].phy_addr; in fm_info_get_phy_address()
223 if (fm_info[i].enabled) in fm_info_get_enet_if()
224 return fm_info[i].enet_if; in fm_info_get_enet_if()
319 for (i = 0; i < ARRAY_SIZE(fm_info); i++) in fdt_fixup_fman_ethernet()
320 ft_fixup_port(blob, &fm_info[i], "fsl,fman-memac"); in fdt_fixup_fman_ethernet()
322 for (i = 0; i < ARRAY_SIZE(fm_info); i++) { in fdt_fixup_fman_ethernet()
326 if (fm_info[i].type == FM_ETH_1G_E) { in fdt_fixup_fman_ethernet()
327 if (ft_fixup_port(blob, &fm_info[i], "fsl,fman-dtsec")) in fdt_fixup_fman_ethernet()
328 ft_fixup_port(blob, &fm_info[i], in fdt_fixup_fman_ethernet()
331 if (ft_fixup_port(blob, &fm_info[i], "fsl,fman-tgec")) in fdt_fixup_fman_ethernet()
332 ft_fixup_port(blob, &fm_info[i], in fdt_fixup_fman_ethernet()