Home
last modified time | relevance | path

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

/external/u-boot/drivers/qe/
Duec_phy.c113 static void config_genmii_advert (struct uec_mii_info *mii_info);
114 static void genmii_setup_forced (struct uec_mii_info *mii_info);
115 static void genmii_restart_aneg (struct uec_mii_info *mii_info);
116 static int gbit_config_aneg (struct uec_mii_info *mii_info);
117 static int genmii_config_aneg (struct uec_mii_info *mii_info);
118 static int genmii_update_link (struct uec_mii_info *mii_info);
119 static int genmii_read_status (struct uec_mii_info *mii_info);
120 u16 uec_phy_read(struct uec_mii_info *mii_info, u16 regnum);
121 void uec_phy_write(struct uec_mii_info *mii_info, u16 regnum, u16 val);
213 void mii_clear_phy_interrupt (struct uec_mii_info *mii_info) in mii_clear_phy_interrupt() argument
[all …]
Duec_phy.h211 int (*init) (struct uec_mii_info * mii_info);
214 int (*suspend) (struct uec_mii_info * mii_info);
217 int (*config_aneg) (struct uec_mii_info * mii_info);
220 int (*read_status) (struct uec_mii_info * mii_info);
223 int (*ack_interrupt) (struct uec_mii_info * mii_info);
226 int (*config_intr) (struct uec_mii_info * mii_info);
229 void (*close) (struct uec_mii_info * mii_info);
232 struct phy_info *uec_get_phy_info (struct uec_mii_info *mii_info);
236 void mii_clear_phy_interrupt (struct uec_mii_info *mii_info);
237 void mii_configure_phy_interrupt (struct uec_mii_info *mii_info,
Duec.c421 struct uec_mii_info *mii_info; in init_phy() local
432 mii_info = malloc(sizeof(*mii_info)); in init_phy()
433 if (!mii_info) { in init_phy()
437 memset(mii_info, 0, sizeof(*mii_info)); in init_phy()
440 mii_info->speed = SPEED_1000; in init_phy()
442 mii_info->speed = SPEED_100; in init_phy()
445 mii_info->duplex = DUPLEX_FULL; in init_phy()
446 mii_info->pause = 0; in init_phy()
447 mii_info->link = 1; in init_phy()
449 mii_info->advertising = (ADVERTISED_10baseT_Half | in init_phy()
[all …]
Duec.h732 struct uec_mii_info *mii_info; member