Lines Matching refs:advertising
590 u16 advertising; member
758 np->advertising= mdio_read(dev, MII_ADVERTISE); in natsemi_init_media()
760 if ((np->advertising & ADVERTISE_ALL) != ADVERTISE_ALL in natsemi_init_media()
767 (np->advertising & in natsemi_init_media()
770 (np->advertising & in natsemi_init_media()
778 np->advertising); in natsemi_init_media()
1157 || np->advertising != mdio_read(dev, MII_ADVERTISE)) in init_phy_fixup()
1161 mdio_write(dev, MII_ADVERTISE, np->advertising); in init_phy_fixup()
1683 np->advertising & mdio_read(dev, MII_LPA)); in check_link()
2398 np->advertising, lpa); in netdev_error()
2827 ecmd->advertising = 0; in netdev_get_ecmd()
2828 if (np->advertising & ADVERTISE_10HALF) in netdev_get_ecmd()
2829 ecmd->advertising |= ADVERTISED_10baseT_Half; in netdev_get_ecmd()
2830 if (np->advertising & ADVERTISE_10FULL) in netdev_get_ecmd()
2831 ecmd->advertising |= ADVERTISED_10baseT_Full; in netdev_get_ecmd()
2832 if (np->advertising & ADVERTISE_100HALF) in netdev_get_ecmd()
2833 ecmd->advertising |= ADVERTISED_100baseT_Half; in netdev_get_ecmd()
2834 if (np->advertising & ADVERTISE_100FULL) in netdev_get_ecmd()
2835 ecmd->advertising |= ADVERTISED_100baseT_Full; in netdev_get_ecmd()
2863 ecmd->advertising |= ADVERTISED_TP; in netdev_get_ecmd()
2867 ecmd->advertising |= ADVERTISED_MII; in netdev_get_ecmd()
2871 ecmd->advertising |= ADVERTISED_FIBRE; in netdev_get_ecmd()
2878 ecmd->advertising |= ADVERTISED_Autoneg; in netdev_get_ecmd()
2880 np->advertising & mdio_read(dev, MII_LPA)); in netdev_get_ecmd()
2905 if ((ecmd->advertising & (ADVERTISED_10baseT_Half | in netdev_set_ecmd()
2950 np->advertising &= ~(ADVERTISE_ALL | ADVERTISE_100BASE4); in netdev_set_ecmd()
2951 if (ecmd->advertising & ADVERTISED_10baseT_Half) in netdev_set_ecmd()
2952 np->advertising |= ADVERTISE_10HALF; in netdev_set_ecmd()
2953 if (ecmd->advertising & ADVERTISED_10baseT_Full) in netdev_set_ecmd()
2954 np->advertising |= ADVERTISE_10FULL; in netdev_set_ecmd()
2955 if (ecmd->advertising & ADVERTISED_100baseT_Half) in netdev_set_ecmd()
2956 np->advertising |= ADVERTISE_100HALF; in netdev_set_ecmd()
2957 if (ecmd->advertising & ADVERTISED_100baseT_Full) in netdev_set_ecmd()
2958 np->advertising |= ADVERTISE_100FULL; in netdev_set_ecmd()
3086 np->advertising = data->val_in; in netdev_ioctl()
3093 np->advertising = data->val_in; in netdev_ioctl()