Lines Matching refs:ecntrl
180 u32 ecntrl, maccfg2; in adjust_link() local
188 ecntrl = in_be32(®s->ecntrl); in adjust_link()
189 ecntrl &= ~ECNTRL_R100; in adjust_link()
210 ecntrl |= ECNTRL_R100; in adjust_link()
217 out_be32(®s->ecntrl, ecntrl); in adjust_link()
552 out_be32(®s->ecntrl, ECNTRL_INIT_SETTINGS); in tsec_init()
601 u32 ecntrl; in tsec_get_interface() local
603 ecntrl = in_be32(®s->ecntrl); in tsec_get_interface()
605 if (ecntrl & ECNTRL_SGMII_MODE) in tsec_get_interface()
608 if (ecntrl & ECNTRL_TBI_MODE) { in tsec_get_interface()
609 if (ecntrl & ECNTRL_REDUCED_MODE) in tsec_get_interface()
615 if (ecntrl & ECNTRL_REDUCED_MODE) { in tsec_get_interface()
618 if (ecntrl & ECNTRL_REDUCED_MII_MODE) in tsec_get_interface()