Lines Matching refs:new1
6321 u16 orig, new1; in rtl8152_set_speed() local
6338 new1 = orig & ~(ADVERTISE_10HALF | ADVERTISE_10FULL | in rtl8152_set_speed()
6341 new1 |= ADVERTISE_10HALF; in rtl8152_set_speed()
6345 new1 |= ADVERTISE_10FULL; in rtl8152_set_speed()
6350 new1 |= ADVERTISE_100HALF; in rtl8152_set_speed()
6354 new1 |= ADVERTISE_100FULL; in rtl8152_set_speed()
6358 if (orig != new1) { in rtl8152_set_speed()
6359 r8152_mdio_write(tp, MII_ADVERTISE, new1); in rtl8152_set_speed()
6360 tp->mii.advertising = new1; in rtl8152_set_speed()
6365 new1 = orig & ~(ADVERTISE_1000FULL | in rtl8152_set_speed()
6369 new1 |= ADVERTISE_1000FULL; in rtl8152_set_speed()
6373 if (orig != new1) in rtl8152_set_speed()
6374 r8152_mdio_write(tp, MII_CTRL1000, new1); in rtl8152_set_speed()
6379 new1 = orig & ~MDIO_AN_10GBT_CTRL_ADV2_5G; in rtl8152_set_speed()
6382 new1 |= MDIO_AN_10GBT_CTRL_ADV2_5G; in rtl8152_set_speed()
6386 if (orig != new1) in rtl8152_set_speed()
6387 ocp_reg_write(tp, OCP_10GBT_CTRL, new1); in rtl8152_set_speed()
9286 u16 old, new1; in rtl8152_set_pauseparam() local
9308 new1 = (old & ~(ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM)) | mii_advertise_flowctrl(cap); in rtl8152_set_pauseparam()
9309 if (old != new1) in rtl8152_set_pauseparam()
9310 r8152_mdio_write(tp, MII_ADVERTISE, new1); in rtl8152_set_pauseparam()